KiCad PCB EDA Suite
PAGE_INFO Class Reference

Describe 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)
 Set 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
 
bool IsCustom () const
 
void SetPortrait (bool aIsPortrait)
 Rotate the paper page 90 degrees. More...
 
bool IsPortrait () const
 
wxPrintOrientation GetWxOrientation () const
 
wxPaperSize GetPaperId () const
 
void SetWidthMils (int aWidthInMils)
 
int GetWidthMils () const
 
void SetHeightMils (int aHeightInMils)
 
int GetHeightMils () const
 
const VECTOR2IGetSizeMils () const
 
int GetWidthIU (double aIUScale) const
 Gets the page width in IU. More...
 
int GetHeightIU (double aIUScale) const
 Gets the page height in IU. More...
 
const wxSize GetSizeIU (double aIUScale) const
 Gets the page size in internal units. More...
 
void Format (OUTPUTFORMATTER *aFormatter, int aNestLevel, int aControlBits) const
 Output the page class to aFormatter in s-expression form. More...
 

Static Public Member Functions

static void SetCustomWidthMils (int aWidthInMils)
 Set 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)
 Set the height of Custom page in mils for any custom page constructed or made via SetType() after making this call. More...
 
static int GetCustomWidthMils ()
 
static int GetCustomHeightMils ()
 

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...
 
VECTOR2I 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

Describe 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 which is a compile time calculation, not runtime.

Author
Dick Hollenbeck

Definition at line 53 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 114 of file page_info.cpp.

115{
116 SetType( aType, aIsPortrait );
117}
bool SetType(const wxString &aStandardPageDescriptionName, bool aIsPortrait=false)
Set the name of the page type and also the sizes and margins commonly associated with that type name.
Definition: page_info.cpp:120

References SetType().

◆ PAGE_INFO() [2/2]

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

Definition at line 103 of file page_info.cpp.

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

References updatePortrait().

Member Function Documentation

◆ Format()

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

Output 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 272 of file page_info.cpp.

273{
274 aFormatter->Print( aNestLevel, "(paper %s", aFormatter->Quotew( GetType() ).c_str() );
275
276 // The page dimensions are only required for user defined page sizes.
277 // Internally, the page size is in mils
278 if( GetType() == PAGE_INFO::Custom )
279 aFormatter->Print( 0, " %g %g",
280 GetWidthMils() * 25.4 / 1000.0,
281 GetHeightMils() * 25.4 / 1000.0 );
282
283 if( !IsCustom() && IsPortrait() )
284 aFormatter->Print( 0, " portrait" );
285
286 aFormatter->Print( 0, ")\n" );
287}
std::string Quotew(const wxString &aWrapee) const
Definition: richio.cpp:499
int PRINTF_FUNC Print(int nestLevel, const char *fmt,...)
Format and write text to the output stream.
Definition: richio.cpp:431
static const wxChar Custom[]
"User" defined page type
Definition: page_info.h:77
int GetHeightMils() const
Definition: page_info.h:133
int GetWidthMils() const
Definition: page_info.h:130
const wxString & GetType() const
Definition: page_info.h:94
bool IsCustom() const
Definition: page_info.cpp:181
bool IsPortrait() const
Definition: page_info.h:117

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

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

◆ GetCustomHeightMils()

static int PAGE_INFO::GetCustomHeightMils ( )
inlinestatic
Returns
custom paper height in mils.

Definition at line 187 of file page_info.h.

187{ return s_user_height; }
static int s_user_height
Definition: page_info.h:233

References s_user_height.

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

◆ GetCustomWidthMils()

static int PAGE_INFO::GetCustomWidthMils ( )
inlinestatic
Returns
custom paper width in mils.

Definition at line 182 of file page_info.h.

182{ return s_user_width; }
static int s_user_width
Definition: page_info.h:234

References s_user_width.

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

◆ GetHeightIU()

int PAGE_INFO::GetHeightIU ( double  aIUScale) const
inline

Gets the page height in IU.

Parameters
aIUScaleThe IU scale, this is most likely always going to be IU_PER_MILS variable being passed. Note, this constexpr variable changes depending on application, hence why it is passed.

Definition at line 153 of file page_info.h.

153{ return aIUScale * GetHeightMils(); }

References GetHeightMils().

Referenced by SCH_PLOTTER::createHPGLFiles(), SCH_EDIT_FRAME::GetDocumentExtents(), GetSizeIU(), ALTIUM_PCB::Parse(), SCH_ALTIUM_PLUGIN::ParseSheet(), SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), KIGFX::SCH_VIEW::ResizeSheetWorkingArea(), SYMBOL_EDIT_FRAME::SVGPlotSymbol(), and PANEL_EESCHEMA_COLOR_SETTINGS::zoomFitPreview().

◆ GetHeightMils()

◆ GetPaperId()

wxPaperSize PAGE_INFO::GetPaperId ( ) const
inline
Returns
wxPrintData's style paper id associated with page type name.

Definition at line 127 of file page_info.h.

127{ return m_paper_id; }

References m_paper_id.

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

◆ GetSizeIU()

const wxSize PAGE_INFO::GetSizeIU ( double  aIUScale) const
inline

Gets the page size in internal units.

Parameters
aIUScaleThe IU scale, this is most likely always going to be IU_PER_MILS variable being passed. Note, this constexpr variable changes depending on application, hence why it is passed.

Definition at line 162 of file page_info.h.

163 {
164 return wxSize( GetWidthIU( aIUScale ), GetHeightIU( aIUScale ) );
165 }
int GetHeightIU(double aIUScale) const
Gets the page height in IU.
Definition: page_info.h:153
int GetWidthIU(double aIUScale) const
Gets the page width in IU.
Definition: page_info.h:144

References GetHeightIU(), and GetWidthIU().

Referenced by BOARD_NETLIST_UPDATER::estimateFootprintInsertionPosition(), GENDRILL_WRITER_BASE::genDrillMapFile(), SCH_BASE_FRAME::GetPageSizeIU(), GERBVIEW_FRAME::GetPageSizeIU(), PCB_BASE_FRAME::GetPageSizeIU(), PL_EDITOR_FRAME::GetPageSizeIU(), initializePlotter(), CADSTAR_SCH_ARCHIVE_LOADER::Load(), SCH_EAGLE_PLUGIN::loadSchematic(), SCH_EAGLE_PLUGIN::loadSheet(), SYMBOL_EDIT_FRAME::PrintPage(), PLEDITOR_PRINTOUT::PrintPage(), SCH_PRINTOUT::PrintPage(), SCH_SCREEN::SCH_SCREEN(), PL_EDITOR_FRAME::SetPageSettings(), GERBVIEW_FRAME::SetPageSettings(), PCB_BASE_FRAME::SetPageSettings(), and PL_EDITOR_FRAME::UpdateMsgPanelInfo().

◆ GetSizeMils()

◆ GetType()

◆ GetWidthIU()

int PAGE_INFO::GetWidthIU ( double  aIUScale) const
inline

Gets the page width in IU.

Parameters
aIUScaleThe IU scale, this is most likely always going to be IU_PER_MILS variable being passed. Note, this constexpr variable changes depending on application, hence why it is passed.

Definition at line 144 of file page_info.h.

144{ return aIUScale * GetWidthMils(); }

References GetWidthMils().

Referenced by SCH_PLOTTER::createHPGLFiles(), SCH_EDIT_FRAME::GetDocumentExtents(), GetSizeIU(), ALTIUM_PCB::Parse(), SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), KIGFX::SCH_VIEW::ResizeSheetWorkingArea(), SYMBOL_EDIT_FRAME::SVGPlotSymbol(), and PANEL_EESCHEMA_COLOR_SETTINGS::zoomFitPreview().

◆ GetWidthMils()

◆ GetWxOrientation()

wxPrintOrientation PAGE_INFO::GetWxOrientation ( ) const
inline
Returns
ws' style printing orientation (wxPORTRAIT or wxLANDSCAPE).

Definition at line 122 of file page_info.h.

122{ return IsPortrait() ? wxPORTRAIT : wxLANDSCAPE; }

References IsPortrait().

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

◆ IsCustom()

bool PAGE_INFO::IsCustom ( ) const
Returns
true if the type is Custom.

Definition at line 181 of file page_info.cpp.

182{
183 return m_type == Custom;
184}

References Custom, and m_type.

Referenced by Format(), SCH_LEGACY_PLUGIN::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
Returns
True if the object has the default page settings which are A3, landscape.

Definition at line 99 of file page_info.h.

99{ return m_type == PAGE_INFO::A3 && !m_portrait; }
static const wxChar A3[]
Definition: page_info.h:64
bool m_portrait
true if portrait, false if landscape
Definition: page_info.h:229

References A3, m_portrait, and m_type.

◆ IsPortrait()

◆ SetCustomHeightMils()

void PAGE_INFO::SetCustomHeightMils ( int  aHeightInMils)
static

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

Definition at line 238 of file page_info.cpp.

239{
240 s_user_height = clampHeight( aHeightInMils );
241}
static int clampHeight(int aHeightInMils)
Definition: page_info.cpp:216

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

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

Definition at line 232 of file page_info.cpp.

233{
234 s_user_width = clampWidth( aWidthInMils );
235}
static int clampWidth(int aWidthInMils)
Definition: page_info.cpp:201

References clampWidth(), and s_user_width.

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

◆ SetHeightMils()

◆ setMargins()

void PAGE_INFO::setMargins ( )
private

◆ SetPortrait()

void PAGE_INFO::SetPortrait ( bool  aIsPortrait)

Rotate the paper page 90 degrees.

This PAGE_INFO may either be in portrait or landscape mode. Use this function to change from one mode 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 187 of file page_info.cpp.

188{
189 if( m_portrait != aIsPortrait )
190 {
191 // swap x and y in m_size
192 m_size = wxSize( m_size.y, m_size.x );
193
194 m_portrait = aIsPortrait;
195
196 // margins are not touched, do that if you want
197 }
198}

References m_portrait, m_size, VECTOR2< T >::x, and VECTOR2< T >::y.

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

◆ SetType()

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

Set 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
true if aStandarePageDescription was a recognized type.

Definition at line 120 of file page_info.cpp.

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

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, updatePortrait(), VECTOR2< T >::x, and VECTOR2< T >::y.

Referenced by SCH_PLOTTER::createHPGLFiles(), SCH_PLOTTER::createPSFiles(), DIALOG_PAGES_SETTINGS::GetPageLayoutInfoFromDialog(), SCH_LEGACY_PLUGIN::loadPageSettings(), GERBVIEW_FRAME::LoadSettings(), PL_EDITOR_FRAME::LoadSettings(), LEGACY_PLUGIN::loadSHEET(), PAGE_INFO(), PCB_PARSER::parsePAGE_INFO(), SCH_SEXPR_PARSER::parsePAGE_INFO(), SCH_ALTIUM_PLUGIN::ParseSheet(), DIALOG_PAGES_SETTINGS::SavePageSettings(), SCH_PLOTTER::setupPlotPagePDF(), and DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample().

◆ SetWidthMils()

◆ updatePortrait()

void PAGE_INFO::updatePortrait ( )
inlineprivate

Definition at line 96 of file page_info.cpp.

97{
98 // update m_portrait based on orientation of m_size.x and m_size.y
99 m_portrait = ( m_size.y > m_size.x );
100}

References m_portrait, m_size, VECTOR2< T >::x, and VECTOR2< T >::y.

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 73 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 231 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 229 of file page_info.h.

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

◆ m_size

VECTOR2I PAGE_INFO::m_size
private

◆ m_type

wxString PAGE_INFO::m_type
private

paper type: A4, A3, etc.

Definition at line 226 of file page_info.h.

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

◆ pageA

const PAGE_INFO PAGE_INFO::pageA
staticprivate

Definition at line 211 of file page_info.h.

Referenced by SetType().

◆ pageA0

const PAGE_INFO PAGE_INFO::pageA0
staticprivate

Definition at line 210 of file page_info.h.

Referenced by SetType().

◆ pageA1

const PAGE_INFO PAGE_INFO::pageA1
staticprivate

Definition at line 209 of file page_info.h.

Referenced by SetType().

◆ pageA2

const PAGE_INFO PAGE_INFO::pageA2
staticprivate

Definition at line 208 of file page_info.h.

Referenced by SetType().

◆ pageA3

const PAGE_INFO PAGE_INFO::pageA3
staticprivate

Definition at line 207 of file page_info.h.

Referenced by SetType().

◆ pageA4

const PAGE_INFO PAGE_INFO::pageA4
staticprivate

Definition at line 206 of file page_info.h.

Referenced by SetType().

◆ pageA5

const PAGE_INFO PAGE_INFO::pageA5
staticprivate

Definition at line 205 of file page_info.h.

Referenced by SetType().

◆ pageB

const PAGE_INFO PAGE_INFO::pageB
staticprivate

Definition at line 212 of file page_info.h.

Referenced by SetType().

◆ pageC

const PAGE_INFO PAGE_INFO::pageC
staticprivate

Definition at line 213 of file page_info.h.

Referenced by SetType().

◆ pageD

const PAGE_INFO PAGE_INFO::pageD
staticprivate

Definition at line 214 of file page_info.h.

Referenced by SetType().

◆ pageE

const PAGE_INFO PAGE_INFO::pageE
staticprivate

Definition at line 215 of file page_info.h.

Referenced by SetType().

◆ pageGERBER

const PAGE_INFO PAGE_INFO::pageGERBER
staticprivate

Definition at line 216 of file page_info.h.

Referenced by SetType().

◆ pageUser

const PAGE_INFO PAGE_INFO::pageUser
staticprivate

Definition at line 222 of file page_info.h.

Referenced by SetType().

◆ pageUSLedger

const PAGE_INFO PAGE_INFO::pageUSLedger
staticprivate

Definition at line 220 of file page_info.h.

Referenced by SetType().

◆ pageUSLegal

const PAGE_INFO PAGE_INFO::pageUSLegal
staticprivate

Definition at line 219 of file page_info.h.

Referenced by SetType().

◆ pageUSLetter

const PAGE_INFO PAGE_INFO::pageUSLetter
staticprivate

Definition at line 218 of file page_info.h.

Referenced by SetType().

◆ s_user_height

int PAGE_INFO::s_user_height = 11000
staticprivate

Definition at line 233 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 234 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: