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 VECTOR2I 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 VECTOR2I &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 115 of file page_info.cpp.

116{
117 SetType( aType, aIsPortrait );
118}
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:121

References SetType().

◆ PAGE_INFO() [2/2]

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

Definition at line 104 of file page_info.cpp.

104 :
105 m_type( aType ), m_size( aSizeMils ), m_paper_id( aPaperId )
106{
108
109 // This constructor is protected, and only used by const PAGE_INFO's known
110 // only to class implementation, so no further changes to "this" object are
111 // expected.
112}
VECTOR2I m_size
mils
Definition: page_info.h:227
void updatePortrait()
Definition: page_info.cpp:97
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 273 of file page_info.cpp.

274{
275 aFormatter->Print( aNestLevel, "(paper %s", aFormatter->Quotew( GetType() ).c_str() );
276
277 // The page dimensions are only required for user defined page sizes.
278 // Internally, the page size is in mils
279 if( GetType() == PAGE_INFO::Custom )
280 aFormatter->Print( 0, " %g %g",
281 GetWidthMils() * 25.4 / 1000.0,
282 GetHeightMils() * 25.4 / 1000.0 );
283
284 if( !IsCustom() && IsPortrait() )
285 aFormatter->Print( 0, " portrait" );
286
287 aFormatter->Print( 0, ")\n" );
288}
std::string Quotew(const wxString &aWrapee) const
Definition: richio.cpp:501
int PRINTF_FUNC Print(int nestLevel, const char *fmt,...)
Format and write text to the output stream.
Definition: richio.cpp:433
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:182
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(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), 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(), 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 VECTOR2I 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 VECTOR2I( 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
VECTOR2< int > VECTOR2I
Definition: vector2d.h:590

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(), EESCHEMA_JOBS_HANDLER::doSymExportSvg(), SCH_EDIT_FRAME::GetDocumentExtents(), GetSizeIU(), ALTIUM_PCB::Parse(), SCH_PLOTTER::plotOneSheetPDF(), SCH_PLOTTER::plotOneSheetPS(), SCH_PLOTTER::plotOneSheetSVG(), KIGFX::SCH_VIEW::ResizeSheetWorkingArea(), 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 182 of file page_info.cpp.

183{
184 return m_type == Custom;
185}

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

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

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

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

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

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

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(), SCH_PLOTTER::plotOneSheetSVG(), 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 121 of file page_info.cpp.

122{
123 bool rc = true;
124
125 // all are landscape initially
126 if( aType == pageA5.GetType() )
127 *this = pageA5;
128 else if( aType == pageA4.GetType() )
129 *this = pageA4;
130 else if( aType == pageA3.GetType() )
131 *this = pageA3;
132 else if( aType == pageA2.GetType() )
133 *this = pageA2;
134 else if( aType == pageA1.GetType() )
135 *this = pageA1;
136 else if( aType == pageA0.GetType() )
137 *this = pageA0;
138 else if( aType == pageA.GetType() )
139 *this = pageA;
140 else if( aType == pageB.GetType() )
141 *this = pageB;
142 else if( aType == pageC.GetType() )
143 *this = pageC;
144 else if( aType == pageD.GetType() )
145 *this = pageD;
146 else if( aType == pageE.GetType() )
147 *this = pageE;
148 else if( aType == pageGERBER.GetType() )
149 *this = pageGERBER;
150 else if( aType == pageUSLetter.GetType() )
151 *this = pageUSLetter;
152 else if( aType == pageUSLegal.GetType() )
153 *this = pageUSLegal;
154 else if( aType == pageUSLedger.GetType() )
155 *this = pageUSLedger;
156 else if( aType == pageUser.GetType() )
157 {
158 // pageUser is const, and may not and does not hold the custom size,
159 // so customize *this later
160 *this = pageUser;
161
162 // customize:
165
167 }
168 else
169 rc = false;
170
171 if( aIsPortrait )
172 {
173 // all private PAGE_INFOs are landscape, must swap x and y
174 std::swap( m_size.y, m_size.x );
176 }
177
178 return rc;
179}
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(), SCH_PLOTTER::plotOneSheetSVG(), DIALOG_PAGES_SETTINGS::SavePageSettings(), SCH_PLOTTER::setupPlotPagePDF(), and DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample().

◆ SetWidthMils()

◆ updatePortrait()

void PAGE_INFO::updatePortrait ( )
inlineprivate

Definition at line 97 of file page_info.cpp.

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

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: