KiCad PCB EDA Suite
PAGE_INFO Class Reference

PAGE_INFO describes the page size and margins of a paper page on which to eventually print or plot. More...

#include <page_info.h>

Public Member Functions

 PAGE_INFO (const wxString &aType=PAGE_INFO::A3, bool IsPortrait=false)
 
bool SetType (const wxString &aStandardPageDescriptionName, bool aIsPortrait=false)
 Function SetType sets the name of the page type and also the sizes and margins commonly associated with that type name. More...
 
const wxString & GetType () const
 
bool IsDefault () const
 Function IsDefault. More...
 
bool IsCustom () const
 Function IsCustom returns true if the type is Custom. More...
 
void SetPortrait (bool aIsPortrait)
 Function SetPortrait will rotate the paper page 90 degrees. More...
 
bool IsPortrait () const
 
wxPrintOrientation GetWxOrientation () const
 Function GetWxOrientation. More...
 
wxPaperSize GetPaperId () const
 Function GetPaperId. More...
 
void SetWidthMils (int aWidthInMils)
 
int GetWidthMils () const
 
void SetHeightMils (int aHeightInMils)
 
int GetHeightMils () const
 
const wxSize & GetSizeMils () const
 
void Format (OUTPUTFORMATTER *aFormatter, int aNestLevel, int aControlBits) const
 Function GetStandardSizes returns the standard page types, such as "A4", "A3", etc. More...
 

Static Public Member Functions

static void SetCustomWidthMils (int aWidthInMils)
 Function SetCustomWidthMils sets the width of Custom page in mils, for any custom page constructed or made via SetType() after making this call. More...
 
static void SetCustomHeightMils (int aHeightInMils)
 Function SetCustomHeightMils sets the height of Custom page in mils, for any custom page constructed or made via SetType() after making this call. More...
 
static int GetCustomWidthMils ()
 Function GetCustomWidthMils. More...
 
static int GetCustomHeightMils ()
 Function GetCustomHeightMils. More...
 

Static Public Attributes

static const wxChar A5 [] = wxT( "A5" )
 
static const wxChar A4 [] = wxT( "A4" )
 
static const wxChar A3 [] = wxT( "A3" )
 
static const wxChar A2 [] = wxT( "A2" )
 
static const wxChar A1 [] = wxT( "A1" )
 
static const wxChar A0 [] = wxT( "A0" )
 
static const wxChar A [] = wxT( "A" )
 
static const wxChar B [] = wxT( "B" )
 
static const wxChar C [] = wxT( "C" )
 
static const wxChar D [] = wxT( "D" )
 
static const wxChar E [] = wxT( "E" )
 
static const wxChar GERBER [] = wxT( "GERBER" )
 
static const wxChar USLetter [] = wxT( "USLetter" )
 
static const wxChar USLegal [] = wxT( "USLegal" )
 
static const wxChar USLedger [] = wxT( "USLedger" )
 
static const wxChar Custom [] = wxT( "User" )
 "User" defined page type More...
 

Protected Member Functions

 PAGE_INFO (const wxSize &aSizeMils, const wxString &aName, wxPaperSize aPaperId)
 

Private Member Functions

void updatePortrait ()
 
void setMargins ()
 

Private Attributes

wxString m_type
 paper type: A4, A3, etc. More...
 
wxSize m_size
 mils More...
 
bool m_portrait
 true if portrait, false if landscape More...
 
wxPaperSize m_paper_id
 wx' style paper id. More...
 

Static Private Attributes

static const PAGE_INFO pageA5
 
static const PAGE_INFO pageA4
 
static const PAGE_INFO pageA3
 
static const PAGE_INFO pageA2
 
static const PAGE_INFO pageA1
 
static const PAGE_INFO pageA0
 
static const PAGE_INFO pageA
 
static const PAGE_INFO pageB
 
static const PAGE_INFO pageC
 
static const PAGE_INFO pageD
 
static const PAGE_INFO pageE
 
static const PAGE_INFO pageGERBER
 
static const PAGE_INFO pageUSLetter
 
static const PAGE_INFO pageUSLegal
 
static const PAGE_INFO pageUSLedger
 
static const PAGE_INFO pageUser
 
static int s_user_height = 11000
 
static int s_user_width = 17000
 

Detailed Description

PAGE_INFO describes the page size and margins of a paper page on which to eventually print or plot.

Paper sizes are often described in inches. Here paper is described in 1/1000th of an inch (mils). For convenience there are some read only accessors for internal units (IU), which is a compile time calculation, not runtime.

Author
Dick Hollenbeck

Definition at line 54 of file page_info.h.

Constructor & Destructor Documentation

◆ PAGE_INFO() [1/2]

PAGE_INFO::PAGE_INFO ( const wxString &  aType = PAGE_INFO::A3,
bool  IsPortrait = false 
)

Definition at line 113 of file page_info.cpp.

114 {
115  SetType( aType, aIsPortrait );
116 }
bool SetType(const wxString &aStandardPageDescriptionName, bool aIsPortrait=false)
Function SetType sets the name of the page type and also the sizes and margins commonly associated wi...
Definition: page_info.cpp:119

References SetType().

◆ PAGE_INFO() [2/2]

PAGE_INFO::PAGE_INFO ( const wxSize &  aSizeMils,
const wxString &  aName,
wxPaperSize  aPaperId 
)
protected

Definition at line 102 of file page_info.cpp.

102  :
103  m_type( aType ), m_size( aSizeMils ), m_paper_id( aPaperId )
104 {
105  updatePortrait();
106 
107  // This constructor is protected, and only used by const PAGE_INFO's known
108  // only to class implementation, so no further changes to "this" object are
109  // expected.
110 }
void updatePortrait()
Definition: page_info.cpp:95
wxSize m_size
mils
Definition: page_info.h:226
wxString m_type
paper type: A4, A3, etc.
Definition: page_info.h:225
wxPaperSize m_paper_id
wx' style paper id.
Definition: page_info.h:230

References updatePortrait().

Member Function Documentation

◆ Format()

void PAGE_INFO::Format ( OUTPUTFORMATTER aFormatter,
int  aNestLevel,
int  aControlBits 
) const

Function GetStandardSizes returns the standard page types, such as "A4", "A3", etc.

static wxArrayString GetStandardSizes();Function Format outputs the page class to aFormatter in s-expression form.

Parameters
aFormatterThe OUTPUTFORMATTER object to write to.
aNestLevelThe indentation next level.
aControlBitsThe control bit definition for object specific formatting.
Exceptions
IO_ERRORon write error.

Definition at line 271 of file page_info.cpp.

272 {
273  aFormatter->Print( aNestLevel, "(paper %s", aFormatter->Quotew( GetType() ).c_str() );
274 
275  // The page dimensions are only required for user defined page sizes.
276  // Internally, the page size is in mils
277  if( GetType() == PAGE_INFO::Custom )
278  aFormatter->Print( 0, " %g %g",
279  GetWidthMils() * 25.4 / 1000.0,
280  GetHeightMils() * 25.4 / 1000.0 );
281 
282  if( !IsCustom() && IsPortrait() )
283  aFormatter->Print( 0, " portrait" );
284 
285  aFormatter->Print( 0, ")\n" );
286 }
int GetHeightMils() const
Definition: page_info.h:141
static const wxChar Custom[]
"User" defined page type
Definition: page_info.h:79
const wxString & GetType() const
Definition: page_info.h:98
bool IsCustom() const
Function IsCustom returns true if the type is Custom.
Definition: page_info.cpp:180
std::string Quotew(const wxString &aWrapee)
Definition: richio.cpp:472
bool IsPortrait() const
Definition: page_info.h:122
int PRINTF_FUNC Print(int nestLevel, const char *fmt,...)
Function Print formats and writes text to the output stream.
Definition: richio.cpp:404
int GetWidthMils() const
Definition: page_info.h:138

References Custom, GetHeightMils(), GetType(), GetWidthMils(), IsCustom(), IsPortrait(), OUTPUTFORMATTER::Print(), and OUTPUTFORMATTER::Quotew().

Referenced by SCH_SEXPR_PLUGIN::Format(), and PCB_IO::formatGeneral().

◆ GetCustomHeightMils()

static int PAGE_INFO::GetCustomHeightMils ( )
inlinestatic

Function GetCustomHeightMils.

Returns
int - custom paper height in mils.

Definition at line 177 of file page_info.h.

177 { return s_user_height; }
static int s_user_height
Definition: page_info.h:232

References s_user_height.

Referenced by DIALOG_PAGES_SETTINGS::initDialog(), and PL_EDITOR_FRAME::SaveSettings().

◆ GetCustomWidthMils()

static int PAGE_INFO::GetCustomWidthMils ( )
inlinestatic

Function GetCustomWidthMils.

Returns
int - custom paper width in mils.

Definition at line 171 of file page_info.h.

171 { return s_user_width; }
static int s_user_width
Definition: page_info.h:233

References s_user_width.

Referenced by DIALOG_PAGES_SETTINGS::initDialog(), and PL_EDITOR_FRAME::SaveSettings().

◆ GetHeightMils()

◆ GetPaperId()

wxPaperSize PAGE_INFO::GetPaperId ( ) const
inline

Function GetPaperId.

Returns
wxPaperSize - wxPrintData's style paper id associated with page type name.

Definition at line 135 of file page_info.h.

135 { return m_paper_id; }
wxPaperSize m_paper_id
wx' style paper id.
Definition: page_info.h:230

References m_paper_id.

Referenced by DIALOG_PRINT_GENERIC::initPrintData(), PL_EDITOR_FRAME::ToPrinter(), and DIALOG_PRINT_USING_PRINTER::TransferDataToWindow().

◆ GetSizeMils()

◆ GetType()

◆ GetWidthMils()

◆ GetWxOrientation()

wxPrintOrientation PAGE_INFO::GetWxOrientation ( ) const
inline

Function GetWxOrientation.

Returns
ws' style printing orientation (wxPORTRAIT or wxLANDSCAPE).

Definition at line 128 of file page_info.h.

128 { return IsPortrait() ? wxPORTRAIT : wxLANDSCAPE; }
bool IsPortrait() const
Definition: page_info.h:122

References IsPortrait().

Referenced by DIALOG_PRINT_GENERIC::initPrintData(), PL_EDITOR_FRAME::ToPrinter(), and DIALOG_PRINT_USING_PRINTER::TransferDataToWindow().

◆ IsCustom()

bool PAGE_INFO::IsCustom ( ) const

Function IsCustom returns true if the type is Custom.

Definition at line 180 of file page_info.cpp.

181 {
182  return m_type == Custom;
183 }
static const wxChar Custom[]
"User" defined page type
Definition: page_info.h:79
wxString m_type
paper type: A4, A3, etc.
Definition: page_info.h:225

References Custom, and m_type.

Referenced by SCH_LEGACY_PLUGIN::Format(), Format(), DIALOG_PRINT_GENERIC::initPrintData(), PS_PLOTTER::StartPlot(), PL_EDITOR_FRAME::ToPrinter(), and DIALOG_PRINT_USING_PRINTER::TransferDataToWindow().

◆ IsDefault()

bool PAGE_INFO::IsDefault ( ) const
inline

Function IsDefault.

Returns
True if the object has the default page settings which are A3, landscape.

Definition at line 104 of file page_info.h.

104 { return m_type == PAGE_INFO::A3 && !m_portrait; }
static const wxChar A3[]
Definition: page_info.h:66
wxString m_type
paper type: A4, A3, etc.
Definition: page_info.h:225
bool m_portrait
true if portrait, false if landscape
Definition: page_info.h:228

References A3, m_portrait, and m_type.

◆ IsPortrait()

◆ SetCustomHeightMils()

void PAGE_INFO::SetCustomHeightMils ( int  aHeightInMils)
static

Function SetCustomHeightMils sets the height of Custom page in mils, for any custom page constructed or made via SetType() after making this call.

Definition at line 237 of file page_info.cpp.

238 {
239  s_user_height = clampHeight( aHeightInMils );
240 }
static int clampHeight(int aHeightInMils)
Definition: page_info.cpp:215
static int s_user_height
Definition: page_info.h:232

References clampHeight(), and s_user_height.

Referenced by PL_EDITOR_FRAME::LoadSettings(), and DIALOG_PAGES_SETTINGS::SavePageSettings().

◆ SetCustomWidthMils()

void PAGE_INFO::SetCustomWidthMils ( int  aWidthInMils)
static

Function SetCustomWidthMils sets the width of Custom page in mils, for any custom page constructed or made via SetType() after making this call.

Definition at line 231 of file page_info.cpp.

232 {
233  s_user_width = clampWidth( aWidthInMils );
234 }
static int clampWidth(int aWidthInMils)
Definition: page_info.cpp:200
static int s_user_width
Definition: page_info.h:233

References clampWidth(), and s_user_width.

Referenced by PL_EDITOR_FRAME::LoadSettings(), and DIALOG_PAGES_SETTINGS::SavePageSettings().

◆ SetHeightMils()

void PAGE_INFO::SetHeightMils ( int  aHeightInMils)

Definition at line 257 of file page_info.cpp.

258 {
259  if( m_size.y != aHeightInMils )
260  {
261  m_size.y = clampHeight( aHeightInMils );
262 
263  m_type = Custom;
264  m_paper_id = wxPAPER_NONE;
265 
266  updatePortrait();
267  }
268 }
void updatePortrait()
Definition: page_info.cpp:95
wxSize m_size
mils
Definition: page_info.h:226
static const wxChar Custom[]
"User" defined page type
Definition: page_info.h:79
wxString m_type
paper type: A4, A3, etc.
Definition: page_info.h:225
static int clampHeight(int aHeightInMils)
Definition: page_info.cpp:215
wxPaperSize m_paper_id
wx' style paper id.
Definition: page_info.h:230

References clampHeight(), Custom, m_paper_id, m_size, m_type, and updatePortrait().

Referenced by PANEL_PCBNEW_COLOR_SETTINGS::createPreviewItems(), PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), DIALOG_EXPORT_SVG::CreateSVGFile(), LIB_CONTROL::ExportSymbolAsSVG(), SCH_LEGACY_PLUGIN::loadPageSettings(), SCH_EAGLE_PLUGIN::loadSheet(), LEGACY_PLUGIN::loadSHEET(), PCB_PARSER::parsePAGE_INFO(), SCH_SEXPR_PARSER::parsePAGE_INFO(), DIALOG_PAGES_SETTINGS::SavePageSettings(), and DIALOG_PAGES_SETTINGS::UpdatePageLayoutExample().

◆ setMargins()

void PAGE_INFO::setMargins ( )
private

◆ SetPortrait()

void PAGE_INFO::SetPortrait ( bool  aIsPortrait)

Function SetPortrait will rotate the paper page 90 degrees.

This PAGE_INFO may either be in portrait or landscape mode. Use this function to change from one to the other mode.

Parameters
aIsPortraitif true and not already in portrait mode, will change this PAGE_INFO to portrait mode. Or if false and not already in landscape mode, will change this PAGE_INFO to landscape mode.

Definition at line 186 of file page_info.cpp.

187 {
188  if( m_portrait != aIsPortrait )
189  {
190  // swap x and y in m_size
191  m_size = wxSize( m_size.y, m_size.x );
192 
193  m_portrait = aIsPortrait;
194 
195  // margins are not touched, do that if you want
196  }
197 }
wxSize m_size
mils
Definition: page_info.h:226
bool m_portrait
true if portrait, false if landscape
Definition: page_info.h:228

References m_portrait, and m_size.

Referenced by DIALOG_PLOT_SCHEMATIC::createPSFile(), SCH_LEGACY_PLUGIN::loadPageSettings(), LEGACY_PLUGIN::loadSHEET(), PCB_PARSER::parsePAGE_INFO(), SCH_SEXPR_PARSER::parsePAGE_INFO(), DIALOG_PAGES_SETTINGS::SavePageSettings(), and DIALOG_PLOT_SCHEMATIC::setupPlotPagePDF().

◆ SetType()

bool PAGE_INFO::SetType ( const wxString &  aStandardPageDescriptionName,
bool  aIsPortrait = false 
)

Function SetType sets the name of the page type and also the sizes and margins commonly associated with that type name.

Parameters
aStandardPageDescriptionNameis a wxString constant giving one of: "A5" "A4" "A3" "A2" "A1" "A0" "A" "B" "C" "D" "E" "GERBER", "USLetter", "USLegal", "USLedger", or "User". If "User" then the width and height are custom, and will be set according to previous calls to static PAGE_INFO::SetUserWidthMils() and static PAGE_INFO::SetUserHeightMils();
aIsPortraitSet to true to set page orientation to portrait mode.
Returns
bool - true if aStandarePageDescription was a recognized type.

Definition at line 119 of file page_info.cpp.

120 {
121  bool rc = true;
122 
123  // all are landscape initially
124  if( aType == pageA5.GetType() )
125  *this = pageA5;
126  else if( aType == pageA4.GetType() )
127  *this = pageA4;
128  else if( aType == pageA3.GetType() )
129  *this = pageA3;
130  else if( aType == pageA2.GetType() )
131  *this = pageA2;
132  else if( aType == pageA1.GetType() )
133  *this = pageA1;
134  else if( aType == pageA0.GetType() )
135  *this = pageA0;
136  else if( aType == pageA.GetType() )
137  *this = pageA;
138  else if( aType == pageB.GetType() )
139  *this = pageB;
140  else if( aType == pageC.GetType() )
141  *this = pageC;
142  else if( aType == pageD.GetType() )
143  *this = pageD;
144  else if( aType == pageE.GetType() )
145  *this = pageE;
146  else if( aType == pageGERBER.GetType() )
147  *this = pageGERBER;
148  else if( aType == pageUSLetter.GetType() )
149  *this = pageUSLetter;
150  else if( aType == pageUSLegal.GetType() )
151  *this = pageUSLegal;
152  else if( aType == pageUSLedger.GetType() )
153  *this = pageUSLedger;
154  else if( aType == pageUser.GetType() )
155  {
156  // pageUser is const, and may not and does not hold the custom size,
157  // so customize *this later
158  *this = pageUser;
159 
160  // customize:
161  m_size.x = s_user_width;
162  m_size.y = s_user_height;
163 
164  updatePortrait();
165  }
166  else
167  rc = false;
168 
169  if( aIsPortrait )
170  {
171  // all private PAGE_INFOs are landscape, must swap x and y
172  m_size = wxSize( m_size.y, m_size.x );
173  updatePortrait();
174  }
175 
176  return rc;
177 }
static const PAGE_INFO pageA4
Definition: page_info.h:205
static const PAGE_INFO pageGERBER
Definition: page_info.h:215
void updatePortrait()
Definition: page_info.cpp:95
wxSize m_size
mils
Definition: page_info.h:226
static const PAGE_INFO pageA1
Definition: page_info.h:208
static const PAGE_INFO pageA2
Definition: page_info.h:207
static const PAGE_INFO pageUSLetter
Definition: page_info.h:217
const wxString & GetType() const
Definition: page_info.h:98
static const PAGE_INFO pageC
Definition: page_info.h:212
static const PAGE_INFO pageUser
Definition: page_info.h:221
static const PAGE_INFO pageA
Definition: page_info.h:210
static const PAGE_INFO pageB
Definition: page_info.h:211
static const PAGE_INFO pageE
Definition: page_info.h:214
static const PAGE_INFO pageUSLedger
Definition: page_info.h:219
static const PAGE_INFO pageUSLegal
Definition: page_info.h:218
static int s_user_height
Definition: page_info.h:232
static int s_user_width
Definition: page_info.h:233
static const PAGE_INFO pageA3
Definition: page_info.h:206
static const PAGE_INFO pageA0
Definition: page_info.h:209
static const PAGE_INFO pageA5
Definition: page_info.h:204
static const PAGE_INFO pageD
Definition: page_info.h:213

References GetType(), m_size, pageA, pageA0, pageA1, pageA2, pageA3, pageA4, pageA5, pageB, pageC, pageD, pageE, pageGERBER, pageUser, pageUSLedger, pageUSLegal, pageUSLetter, s_user_height, s_user_width, and updatePortrait().

Referenced by DIALOG_PLOT_SCHEMATIC::createHPGLFile(), DIALOG_PLOT_SCHEMATIC::createPSFile(), DIALOG_PAGES_SETTINGS::GetPageLayoutInfoFromDialog(), SCH_LEGACY_PLUGIN::loadPageSettings(), PL_EDITOR_FRAME::LoadSettings(), GERBVIEW_FRAME::LoadSettings(), LEGACY_PLUGIN::loadSHEET(), PAGE_INFO(), PCB_PARSER::parsePAGE_INFO(), SCH_SEXPR_PARSER::parsePAGE_INFO(), DIALOG_PAGES_SETTINGS::SavePageSettings(), DIALOG_PLOT_SCHEMATIC::setupPlotPagePDF(), and DIALOG_PAGES_SETTINGS::UpdatePageLayoutExample().

◆ SetWidthMils()

void PAGE_INFO::SetWidthMils ( int  aWidthInMils)

Definition at line 243 of file page_info.cpp.

244 {
245  if( m_size.x != aWidthInMils )
246  {
247  m_size.x = clampWidth( aWidthInMils );
248 
249  m_type = Custom;
250  m_paper_id = wxPAPER_NONE;
251 
252  updatePortrait();
253  }
254 }
static int clampWidth(int aWidthInMils)
Definition: page_info.cpp:200
void updatePortrait()
Definition: page_info.cpp:95
wxSize m_size
mils
Definition: page_info.h:226
static const wxChar Custom[]
"User" defined page type
Definition: page_info.h:79
wxString m_type
paper type: A4, A3, etc.
Definition: page_info.h:225
wxPaperSize m_paper_id
wx' style paper id.
Definition: page_info.h:230

References clampWidth(), Custom, m_paper_id, m_size, m_type, and updatePortrait().

Referenced by PANEL_PCBNEW_COLOR_SETTINGS::createPreviewItems(), PANEL_EESCHEMA_COLOR_SETTINGS::createPreviewItems(), DIALOG_EXPORT_SVG::CreateSVGFile(), LIB_CONTROL::ExportSymbolAsSVG(), SCH_LEGACY_PLUGIN::loadPageSettings(), SCH_EAGLE_PLUGIN::loadSheet(), LEGACY_PLUGIN::loadSHEET(), PCB_PARSER::parsePAGE_INFO(), SCH_SEXPR_PARSER::parsePAGE_INFO(), DIALOG_PAGES_SETTINGS::SavePageSettings(), and DIALOG_PAGES_SETTINGS::UpdatePageLayoutExample().

◆ updatePortrait()

void PAGE_INFO::updatePortrait ( )
inlineprivate

Definition at line 95 of file page_info.cpp.

96 {
97  // update m_portrait based on orientation of m_size.x and m_size.y
98  m_portrait = ( m_size.y > m_size.x );
99 }
wxSize m_size
mils
Definition: page_info.h:226
bool m_portrait
true if portrait, false if landscape
Definition: page_info.h:228

References m_portrait, and m_size.

Referenced by PAGE_INFO(), SetHeightMils(), SetType(), and SetWidthMils().

Member Data Documentation

◆ A

const wxChar PAGE_INFO::A = wxT( "A" )
static

◆ A0

const wxChar PAGE_INFO::A0 = wxT( "A0" )
static

◆ A1

const wxChar PAGE_INFO::A1 = wxT( "A1" )
static

◆ A2

const wxChar PAGE_INFO::A2 = wxT( "A2" )
static

◆ A3

const wxChar PAGE_INFO::A3 = wxT( "A3" )
static

◆ A4

◆ A5

const wxChar PAGE_INFO::A5 = wxT( "A5" )
static

◆ B

const wxChar PAGE_INFO::B = wxT( "B" )
static

◆ C

const wxChar PAGE_INFO::C = wxT( "C" )
static

◆ Custom

◆ D

const wxChar PAGE_INFO::D = wxT( "D" )
static

◆ E

const wxChar PAGE_INFO::E = wxT( "E" )
static

◆ GERBER

const wxChar PAGE_INFO::GERBER = wxT( "GERBER" )
static

Definition at line 75 of file page_info.h.

Referenced by DIALOG_PAGES_SETTINGS::SavePageSettings().

◆ m_paper_id

wxPaperSize PAGE_INFO::m_paper_id
private

wx' style paper id.

Definition at line 230 of file page_info.h.

Referenced by GetPaperId(), SetHeightMils(), and SetWidthMils().

◆ m_portrait

bool PAGE_INFO::m_portrait
private

true if portrait, false if landscape

Definition at line 228 of file page_info.h.

Referenced by IsDefault(), IsPortrait(), SetPortrait(), and updatePortrait().

◆ m_size

wxSize PAGE_INFO::m_size
private

◆ m_type

wxString PAGE_INFO::m_type
private

paper type: A4, A3, etc.

Definition at line 225 of file page_info.h.

Referenced by GetType(), IsCustom(), IsDefault(), SetHeightMils(), and SetWidthMils().

◆ pageA

const PAGE_INFO PAGE_INFO::pageA
staticprivate

Definition at line 210 of file page_info.h.

Referenced by SetType().

◆ pageA0

const PAGE_INFO PAGE_INFO::pageA0
staticprivate

Definition at line 209 of file page_info.h.

Referenced by SetType().

◆ pageA1

const PAGE_INFO PAGE_INFO::pageA1
staticprivate

Definition at line 208 of file page_info.h.

Referenced by SetType().

◆ pageA2

const PAGE_INFO PAGE_INFO::pageA2
staticprivate

Definition at line 207 of file page_info.h.

Referenced by SetType().

◆ pageA3

const PAGE_INFO PAGE_INFO::pageA3
staticprivate

Definition at line 206 of file page_info.h.

Referenced by SetType().

◆ pageA4

const PAGE_INFO PAGE_INFO::pageA4
staticprivate

Definition at line 205 of file page_info.h.

Referenced by SetType().

◆ pageA5

const PAGE_INFO PAGE_INFO::pageA5
staticprivate

Definition at line 204 of file page_info.h.

Referenced by SetType().

◆ pageB

const PAGE_INFO PAGE_INFO::pageB
staticprivate

Definition at line 211 of file page_info.h.

Referenced by SetType().

◆ pageC

const PAGE_INFO PAGE_INFO::pageC
staticprivate

Definition at line 212 of file page_info.h.

Referenced by SetType().

◆ pageD

const PAGE_INFO PAGE_INFO::pageD
staticprivate

Definition at line 213 of file page_info.h.

Referenced by SetType().

◆ pageE

const PAGE_INFO PAGE_INFO::pageE
staticprivate

Definition at line 214 of file page_info.h.

Referenced by SetType().

◆ pageGERBER

const PAGE_INFO PAGE_INFO::pageGERBER
staticprivate

Definition at line 215 of file page_info.h.

Referenced by SetType().

◆ pageUser

const PAGE_INFO PAGE_INFO::pageUser
staticprivate

Definition at line 221 of file page_info.h.

Referenced by SetType().

◆ pageUSLedger

const PAGE_INFO PAGE_INFO::pageUSLedger
staticprivate

Definition at line 219 of file page_info.h.

Referenced by SetType().

◆ pageUSLegal

const PAGE_INFO PAGE_INFO::pageUSLegal
staticprivate

Definition at line 218 of file page_info.h.

Referenced by SetType().

◆ pageUSLetter

const PAGE_INFO PAGE_INFO::pageUSLetter
staticprivate

Definition at line 217 of file page_info.h.

Referenced by SetType().

◆ s_user_height

int PAGE_INFO::s_user_height = 11000
staticprivate

Definition at line 232 of file page_info.h.

Referenced by GetCustomHeightMils(), SetCustomHeightMils(), and SetType().

◆ s_user_width

int PAGE_INFO::s_user_width = 17000
staticprivate

Definition at line 233 of file page_info.h.

Referenced by GetCustomWidthMils(), SetCustomWidthMils(), and SetType().

◆ USLedger

const wxChar PAGE_INFO::USLedger = wxT( "USLedger" )
static

◆ USLegal

const wxChar PAGE_INFO::USLegal = wxT( "USLegal" )
static

◆ USLetter

const wxChar PAGE_INFO::USLetter = wxT( "USLetter" )
static

The documentation for this class was generated from the following files: