KiCad PCB EDA Suite
DS_DRAW_ITEM_LIST Class Reference

Store the list of graphic items: rect, lines, polygons and texts to draw/plot the title block and frame references, and parameters to draw/plot them. More...

#include <ds_draw_item.h>

Public Member Functions

 DS_DRAW_ITEM_LIST ()
 
 ~DS_DRAW_ITEM_LIST ()
 
void SetProject (const PROJECT *aProject)
 
void SetTitleBlock (const TITLE_BLOCK *aTblock)
 Set the title block (mainly for drawing sheet editor) More...
 
void SetProperties (const std::map< wxString, wxString > *aProps)
 Set properties used for text variable resolution. More...
 
void SetPaperFormat (const wxString *aFormatName)
 Set the paper format name (mainly for drawing sheet editor) More...
 
void SetFileName (const wxString &aFileName)
 Set the filename to draw/plot. More...
 
void SetSheetName (const wxString &aSheetName)
 Set the sheet name to draw/plot. More...
 
void SetSheetPath (const wxString &aSheetPath)
 Set the sheet path to draw/plot. More...
 
void SetSheetLayer (const wxString &aSheetLayer)
 Set the sheet layer to draw/plot. More...
 
void SetDefaultPenSize (int aPenSize)
 
int GetDefaultPenSize () const
 
void SetMilsToIUfactor (double aMils2Iu)
 Set the scalar to convert pages units (mils) to draw/plot units. More...
 
double GetMilsToIUfactor ()
 Get the scalar to convert pages units (mils) to draw/plot units. More...
 
void SetPageNumber (const wxString &aPageNumber)
 Set the value of the sheet number. More...
 
void SetIsFirstPage (bool aIsFirstPage)
 Set if the page is the first page. More...
 
void SetSheetCount (int aSheetCount)
 Set the value of the count of sheets, for basic inscriptions. More...
 
void Append (DS_DRAW_ITEM_BASE *aItem)
 
void Remove (DS_DRAW_ITEM_BASE *aItem)
 
DS_DRAW_ITEM_BASEGetFirst ()
 
DS_DRAW_ITEM_BASEGetNext ()
 
void GetAllItems (std::vector< DS_DRAW_ITEM_BASE * > *aList)
 
void Print (const RENDER_SETTINGS *aSettings)
 Draws the item list created by BuildDrawItemsList. More...
 
void BuildDrawItemsList (const PAGE_INFO &aPageInfo, const TITLE_BLOCK &aTitleBlock)
 Drawing or plot the drawing sheet. More...
 
wxString BuildFullText (const wxString &aTextbase)
 

Static Public Member Functions

static void GetTextVars (wxArrayString *aVars)
 

Protected Attributes

std::vector< DS_DRAW_ITEM_BASE * > m_graphicList
 
unsigned m_idx
 
double m_milsToIu
 
int m_penSize
 
bool m_isFirstPage
 Is this the first page or not. More...
 
int m_sheetCount
 The number of sheets. More...
 
const TITLE_BLOCKm_titleBlock
 
const wxString * m_paperFormat
 
wxString m_fileName
 
wxString m_sheetName
 
wxString m_sheetPath
 
wxString m_pageNumber
 The actual page number displayed in the title block. More...
 
const wxString * m_sheetLayer
 
const PROJECTm_project
 
const std::map< wxString, wxString > * m_properties
 

Detailed Description

Store the list of graphic items: rect, lines, polygons and texts to draw/plot the title block and frame references, and parameters to draw/plot them.

Definition at line 384 of file ds_draw_item.h.

Constructor & Destructor Documentation

◆ DS_DRAW_ITEM_LIST()

DS_DRAW_ITEM_LIST::DS_DRAW_ITEM_LIST ( )
inline

Definition at line 387 of file ds_draw_item.h.

388 {
389 m_idx = 0;
390 m_milsToIu = 1.0;
391 m_penSize = 1;
392 m_pageNumber = "1";
393 m_sheetCount = 1;
394 m_sheetLayer = nullptr;
395 m_titleBlock = nullptr;
396 m_paperFormat = nullptr;
397 m_project = nullptr;
398 m_isFirstPage = true;
399 m_properties = nullptr;
400 }
int m_sheetCount
The number of sheets.
Definition: ds_draw_item.h:550
const std::map< wxString, wxString > * m_properties
Definition: ds_draw_item.h:561
const TITLE_BLOCK * m_titleBlock
Definition: ds_draw_item.h:552
const PROJECT * m_project
Definition: ds_draw_item.h:559
bool m_isFirstPage
Is this the first page or not.
Definition: ds_draw_item.h:549
const wxString * m_paperFormat
Definition: ds_draw_item.h:553
wxString m_pageNumber
The actual page number displayed in the title block.
Definition: ds_draw_item.h:557
const wxString * m_sheetLayer
Definition: ds_draw_item.h:558

References m_idx, m_isFirstPage, m_milsToIu, m_pageNumber, m_paperFormat, m_penSize, m_project, m_properties, m_sheetCount, m_sheetLayer, and m_titleBlock.

◆ ~DS_DRAW_ITEM_LIST()

DS_DRAW_ITEM_LIST::~DS_DRAW_ITEM_LIST ( )
inline

Definition at line 402 of file ds_draw_item.h.

403 {
404 // Items in the m_graphicList are owned by their respective DS_DATA_ITEMs.
405 // for( DS_DRAW_ITEM_BASE* item : m_graphicList )
406 // delete item;
407 }

Member Function Documentation

◆ Append()

void DS_DRAW_ITEM_LIST::Append ( DS_DRAW_ITEM_BASE aItem)
inline

Definition at line 474 of file ds_draw_item.h.

475 {
476 m_graphicList.push_back( aItem );
477 }
std::vector< DS_DRAW_ITEM_BASE * > m_graphicList
Definition: ds_draw_item.h:543

References m_graphicList.

Referenced by DS_DATA_ITEM::SyncDrawItems(), DS_DATA_ITEM_POLYGONS::SyncDrawItems(), DS_DATA_ITEM_TEXT::SyncDrawItems(), and DS_DATA_ITEM_BITMAP::SyncDrawItems().

◆ BuildDrawItemsList()

void DS_DRAW_ITEM_LIST::BuildDrawItemsList ( const PAGE_INFO aPageInfo,
const TITLE_BLOCK aTitleBlock 
)

Drawing or plot the drawing sheet.

Before calling this function, some parameters should be initialized by calling: SetPenSize( aPenWidth ); SetMilsToIUfactor( aMils2Iu ); SetSheetNumber( aSheetNumber ); SetSheetCount( aSheetCount ); SetFileName( aFileName ); SetSheetName( aSheetName ); SetSheetPath( aSheetPath );

Parameters
aPageInfoThe PAGE_INFO, for page size, margins...
aTitleBlockThe sheet title block, for basic inscriptions.
aColorThe color for drawing.
aAltColorThe color for items which need to be "highlighted".

Definition at line 489 of file ds_draw_item.cpp.

491{
493
494 m_titleBlock = &aTitleBlock;
495 m_paperFormat = &aPageInfo.GetType();
496
497 // Build the basic layout shape, if the layout list is empty
498 if( model.GetCount() == 0 && !model.VoidListAllowed() )
499 model.LoadDrawingSheet();
500
501 model.SetupDrawEnvironment( aPageInfo, m_milsToIu );
502
503 for( DS_DATA_ITEM* wsItem : model.GetItems() )
504 {
505 // Generate it only if the page option allows this
506 if( wsItem->GetPage1Option() == FIRST_PAGE_ONLY && !m_isFirstPage )
507 continue;
508 else if( wsItem->GetPage1Option() == SUBSEQUENT_PAGES && m_isFirstPage )
509 continue;
510
511 wsItem->SyncDrawItems( this, nullptr );
512 }
513}
Drawing sheet structure type definitions.
Definition: ds_data_item.h:96
Handle the graphic items list to draw/plot the frame and title block.
Definition: ds_data_model.h:39
void SetupDrawEnvironment(const PAGE_INFO &aPageInfo, double aMilsToIU)
static DS_DATA_MODEL & GetTheInstance()
static function: returns the instance of DS_DATA_MODEL used in the application
unsigned GetCount() const
bool VoidListAllowed()
Definition: ds_data_model.h:88
std::vector< DS_DATA_ITEM * > & GetItems()
bool LoadDrawingSheet(const wxString &aFullFileName=wxEmptyString, bool Append=false)
Populates the list with a custom layout or the default layout if no custom layout is available.
const wxString & GetType() const
Definition: page_info.h:94
@ FIRST_PAGE_ONLY
Definition: ds_data_item.h:58
@ SUBSEQUENT_PAGES
Definition: ds_data_item.h:59

References FIRST_PAGE_ONLY, DS_DATA_MODEL::GetCount(), DS_DATA_MODEL::GetItems(), DS_DATA_MODEL::GetTheInstance(), PAGE_INFO::GetType(), DS_DATA_MODEL::LoadDrawingSheet(), m_isFirstPage, m_milsToIu, m_paperFormat, m_titleBlock, DS_DATA_MODEL::SetupDrawEnvironment(), SUBSEQUENT_PAGES, and DS_DATA_MODEL::VoidListAllowed().

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), PrintDrawingSheet(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ BuildFullText()

wxString DS_DRAW_ITEM_LIST::BuildFullText ( const wxString &  aTextbase)
Returns
the full text corresponding to the aTextbase, after replacing any text variable references.

Definition at line 113 of file ds_painter.cpp.

114{
115 std::function<bool( wxString* )> wsResolver =
116 [ this ]( wxString* token ) -> bool
117 {
118 bool tokenUpdated = false;
119
120 if( token->IsSameAs( wxT( "KICAD_VERSION" ) ) && PgmOrNull() )
121 {
122 // TODO: it'd be nice to get the Python script name/version here for when
123 // PgmOrNull() is null...
124
125 *token = wxString::Format( wxT( "%s%s %s" ),
127 Pgm().App().GetAppName(),
128 GetBuildVersion() );
129 tokenUpdated = true;
130 }
131 else if( token->IsSameAs( wxT( "#" ) ) )
132 {
133 *token = wxString::Format( wxT( "%s" ), m_pageNumber );
134 tokenUpdated = true;
135 }
136 else if( token->IsSameAs( wxT( "##" ) ) )
137 {
138 *token = wxString::Format( wxT( "%d" ), m_sheetCount );
139 tokenUpdated = true;
140 }
141 else if( token->IsSameAs( wxT( "SHEETNAME" ) ) )
142 {
143 *token = m_sheetName;
144 tokenUpdated = true;
145 }
146 else if( token->IsSameAs( wxT( "SHEETPATH" ) ) )
147 {
148 *token = m_sheetPath;
149 tokenUpdated = true;
150 }
151 else if( token->IsSameAs( wxT( "FILENAME" ) ) )
152 {
153 wxFileName fn( m_fileName );
154 *token = fn.GetFullName();
155 tokenUpdated = true;
156 }
157 else if( token->IsSameAs( wxT( "PAPER" ) ) )
158 {
159 *token = m_paperFormat ? *m_paperFormat : wxString( "" );
160 tokenUpdated = true;
161 }
162 else if( token->IsSameAs( wxT( "LAYER" ) ) )
163 {
164 *token = m_sheetLayer ? *m_sheetLayer : wxString( "" );
165 tokenUpdated = true;
166 }
167 else if( m_titleBlock )
168 {
169 // no need for tokenUpdated; TITLE_BLOCK::TextVarResolver() does a full
170 // resolve
171 return m_titleBlock->TextVarResolver( token, m_project );
172 }
173 else if( m_properties && m_properties->count( *token ) )
174 {
175 *token = m_properties->at( *token );
176 tokenUpdated = true;
177 }
178
179 if( tokenUpdated )
180 {
181 *token = ExpandTextVars( *token, m_project );
182 return true;
183 }
184
185 return false;
186 };
187
188 return ExpandTextVars( aTextbase, &wsResolver, nullptr, m_project );
189}
wxString GetBuildVersion()
Get the full KiCad version string.
wxString m_sheetPath
Definition: ds_draw_item.h:556
wxString m_sheetName
Definition: ds_draw_item.h:555
bool TextVarResolver(wxString *aToken, const PROJECT *aProject) const
Definition: title_block.cpp:95
wxString ExpandTextVars(const wxString &aSource, const PROJECT *aProject)
Definition: common.cpp:57
PGM_BASE * PgmOrNull()
similar to PGM_BASE& Pgm(), but return a reference that can be nullptr when running a shared lib from...
Definition: cvpcb.cpp:125
static const wxString productName
Definition: ds_painter.cpp:43
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
Definition: ptree.cpp:200
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.
Definition: single_top.cpp:111

References ExpandTextVars(), Format(), GetBuildVersion(), Pgm(), PgmOrNull(), and productName.

Referenced by DS_DATA_ITEM_TEXT::SyncDrawItems().

◆ GetAllItems()

void DS_DRAW_ITEM_LIST::GetAllItems ( std::vector< DS_DRAW_ITEM_BASE * > *  aList)
inline

Definition at line 505 of file ds_draw_item.h.

506 {
507 *aList = m_graphicList;
508 }

References m_graphicList.

◆ GetDefaultPenSize()

int DS_DRAW_ITEM_LIST::GetDefaultPenSize ( ) const
inline

Definition at line 447 of file ds_draw_item.h.

447{ return m_penSize; }

References m_penSize.

Referenced by DS_DATA_ITEM::SyncDrawItems(), and DS_DATA_ITEM_TEXT::SyncDrawItems().

◆ GetFirst()

DS_DRAW_ITEM_BASE * DS_DRAW_ITEM_LIST::GetFirst ( )
inline

Definition at line 485 of file ds_draw_item.h.

486 {
487 m_idx = 0;
488
489 if( m_graphicList.size() )
490 return m_graphicList[0];
491 else
492 return nullptr;
493 }

References m_graphicList, and m_idx.

Referenced by DS_PROXY_VIEW_ITEM::HitTestDrawingSheetItems(), PlotDrawingSheet(), Print(), DRC_TEST_PROVIDER_MISC::testTextVars(), ERC_TESTER::TestTextVars(), and DS_PROXY_VIEW_ITEM::ViewDraw().

◆ GetMilsToIUfactor()

double DS_DRAW_ITEM_LIST::GetMilsToIUfactor ( )
inline

Get the scalar to convert pages units (mils) to draw/plot units.

Definition at line 457 of file ds_draw_item.h.

457{ return m_milsToIu; }

References m_milsToIu.

Referenced by DS_DATA_ITEM_BITMAP::SyncDrawItems().

◆ GetNext()

DS_DRAW_ITEM_BASE * DS_DRAW_ITEM_LIST::GetNext ( )
inline

Definition at line 495 of file ds_draw_item.h.

496 {
497 m_idx++;
498
499 if( m_graphicList.size() > m_idx )
500 return m_graphicList[m_idx];
501 else
502 return nullptr;
503 }

References m_graphicList, and m_idx.

Referenced by DS_PROXY_VIEW_ITEM::HitTestDrawingSheetItems(), PlotDrawingSheet(), Print(), DRC_TEST_PROVIDER_MISC::testTextVars(), ERC_TESTER::TestTextVars(), and DS_PROXY_VIEW_ITEM::ViewDraw().

◆ GetTextVars()

void DS_DRAW_ITEM_LIST::GetTextVars ( wxArrayString *  aVars)
static

Definition at line 97 of file ds_painter.cpp.

98{
99 aVars->push_back( wxT( "KICAD_VERSION" ) );
100 aVars->push_back( wxT( "#" ) );
101 aVars->push_back( wxT( "##" ) );
102 aVars->push_back( wxT( "SHEETNAME" ) );
103 aVars->push_back( wxT( "SHEETPATH" ) );
104 aVars->push_back( wxT( "FILENAME" ) );
105 aVars->push_back( wxT( "PAPER" ) );
106 aVars->push_back( wxT( "LAYER" ) );
108}
static void GetContextualTextVars(wxArrayString *aVars)
Definition: title_block.cpp:74

References TITLE_BLOCK::GetContextualTextVars().

Referenced by PROPERTIES_FRAME::onScintillaCharAdded().

◆ Print()

void DS_DRAW_ITEM_LIST::Print ( const RENDER_SETTINGS aSettings)

Draws the item list created by BuildDrawItemsList.

Definition at line 522 of file ds_draw_item.cpp.

523{
524 std::vector<DS_DRAW_ITEM_BASE*> second_items;
525
526 for( DS_DRAW_ITEM_BASE* item = GetFirst(); item; item = GetNext() )
527 {
528 if( item->Type() == WSG_BITMAP_T )
529 item->PrintWsItem( aSettings );
530 else
531 second_items.push_back( item );
532 }
533
534 for( DS_DRAW_ITEM_BASE* item : second_items )
535 item->PrintWsItem( aSettings );
536}
Base class to handle basic graphic items.
Definition: ds_draw_item.h:59
DS_DRAW_ITEM_BASE * GetFirst()
Definition: ds_draw_item.h:485
DS_DRAW_ITEM_BASE * GetNext()
Definition: ds_draw_item.h:495
@ WSG_BITMAP_T
Definition: typeinfo.h:225

References GetFirst(), GetNext(), and WSG_BITMAP_T.

Referenced by PrintDrawingSheet().

◆ Remove()

void DS_DRAW_ITEM_LIST::Remove ( DS_DRAW_ITEM_BASE aItem)
inline

Definition at line 479 of file ds_draw_item.h.

480 {
481 auto newEnd = std::remove( m_graphicList.begin(), m_graphicList.end(), aItem );
482 m_graphicList.erase( newEnd, m_graphicList.end() );
483 }

References m_graphicList.

Referenced by DS_DATA_ITEM::SyncDrawItems(), DS_DATA_ITEM_POLYGONS::SyncDrawItems(), DS_DATA_ITEM_TEXT::SyncDrawItems(), and DS_DATA_ITEM_BITMAP::SyncDrawItems().

◆ SetDefaultPenSize()

void DS_DRAW_ITEM_LIST::SetDefaultPenSize ( int  aPenSize)
inline

Definition at line 446 of file ds_draw_item.h.

446{ m_penSize = aPenSize; }

References m_penSize.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), and PrintDrawingSheet().

◆ SetFileName()

void DS_DRAW_ITEM_LIST::SetFileName ( const wxString &  aFileName)
inline

Set the filename to draw/plot.

Definition at line 429 of file ds_draw_item.h.

429{ m_fileName = aFileName; }

References m_fileName.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), PrintDrawingSheet(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetIsFirstPage()

void DS_DRAW_ITEM_LIST::SetIsFirstPage ( bool  aIsFirstPage)
inline

Set if the page is the first page.

Definition at line 467 of file ds_draw_item.h.

467{ m_isFirstPage = aIsFirstPage; }

References m_isFirstPage.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), and PrintDrawingSheet().

◆ SetMilsToIUfactor()

void DS_DRAW_ITEM_LIST::SetMilsToIUfactor ( double  aMils2Iu)
inline

Set the scalar to convert pages units (mils) to draw/plot units.

Definition at line 452 of file ds_draw_item.h.

452{ m_milsToIu = aMils2Iu; }

References m_milsToIu.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), PrintDrawingSheet(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetPageNumber()

void DS_DRAW_ITEM_LIST::SetPageNumber ( const wxString &  aPageNumber)
inline

Set the value of the sheet number.

Definition at line 462 of file ds_draw_item.h.

462{ m_pageNumber = aPageNumber; }

References m_pageNumber.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), PrintDrawingSheet(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetPaperFormat()

void DS_DRAW_ITEM_LIST::SetPaperFormat ( const wxString *  aFormatName)
inline

Set the paper format name (mainly for drawing sheet editor)

Definition at line 424 of file ds_draw_item.h.

424{ m_paperFormat = aFormatName; }

References m_paperFormat.

◆ SetProject()

void DS_DRAW_ITEM_LIST::SetProject ( const PROJECT aProject)
inline

◆ SetProperties()

void DS_DRAW_ITEM_LIST::SetProperties ( const std::map< wxString, wxString > *  aProps)
inline

Set properties used for text variable resolution.

Definition at line 419 of file ds_draw_item.h.

419{ m_properties = aProps; }

References m_properties.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), and PrintDrawingSheet().

◆ SetSheetCount()

void DS_DRAW_ITEM_LIST::SetSheetCount ( int  aSheetCount)
inline

Set the value of the count of sheets, for basic inscriptions.

Definition at line 472 of file ds_draw_item.h.

472{ m_sheetCount = aSheetCount; }

References m_sheetCount.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), PrintDrawingSheet(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetSheetLayer()

void DS_DRAW_ITEM_LIST::SetSheetLayer ( const wxString &  aSheetLayer)
inline

Set the sheet layer to draw/plot.

Definition at line 444 of file ds_draw_item.h.

444{ m_sheetLayer = &aSheetLayer; }

References m_sheetLayer.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), PrintDrawingSheet(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetSheetName()

void DS_DRAW_ITEM_LIST::SetSheetName ( const wxString &  aSheetName)
inline

Set the sheet name to draw/plot.

Definition at line 434 of file ds_draw_item.h.

434{ m_sheetName = aSheetName; }

References m_sheetName.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), PlotDrawingSheet(), PrintDrawingSheet(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetSheetPath()

void DS_DRAW_ITEM_LIST::SetSheetPath ( const wxString &  aSheetPath)
inline

Set the sheet path to draw/plot.

Definition at line 439 of file ds_draw_item.h.

439{ m_sheetPath = aSheetPath; }

References m_sheetPath.

Referenced by DS_PROXY_VIEW_ITEM::buildDrawList(), and PlotDrawingSheet().

◆ SetTitleBlock()

void DS_DRAW_ITEM_LIST::SetTitleBlock ( const TITLE_BLOCK aTblock)
inline

Set the title block (mainly for drawing sheet editor)

Definition at line 414 of file ds_draw_item.h.

414{ m_titleBlock = aTblock; }

References m_titleBlock.

Member Data Documentation

◆ m_fileName

wxString DS_DRAW_ITEM_LIST::m_fileName
protected

Definition at line 554 of file ds_draw_item.h.

Referenced by SetFileName().

◆ m_graphicList

std::vector<DS_DRAW_ITEM_BASE*> DS_DRAW_ITEM_LIST::m_graphicList
protected

Definition at line 543 of file ds_draw_item.h.

Referenced by Append(), GetAllItems(), GetFirst(), GetNext(), and Remove().

◆ m_idx

unsigned DS_DRAW_ITEM_LIST::m_idx
protected

Definition at line 544 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), GetFirst(), and GetNext().

◆ m_isFirstPage

bool DS_DRAW_ITEM_LIST::m_isFirstPage
protected

Is this the first page or not.

Definition at line 549 of file ds_draw_item.h.

Referenced by BuildDrawItemsList(), DS_DRAW_ITEM_LIST(), and SetIsFirstPage().

◆ m_milsToIu

double DS_DRAW_ITEM_LIST::m_milsToIu
protected

◆ m_pageNumber

wxString DS_DRAW_ITEM_LIST::m_pageNumber
protected

The actual page number displayed in the title block.

Definition at line 557 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetPageNumber().

◆ m_paperFormat

const wxString* DS_DRAW_ITEM_LIST::m_paperFormat
protected

Definition at line 553 of file ds_draw_item.h.

Referenced by BuildDrawItemsList(), DS_DRAW_ITEM_LIST(), and SetPaperFormat().

◆ m_penSize

int DS_DRAW_ITEM_LIST::m_penSize
protected

Definition at line 547 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), GetDefaultPenSize(), and SetDefaultPenSize().

◆ m_project

const PROJECT* DS_DRAW_ITEM_LIST::m_project
protected

Definition at line 559 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetProject().

◆ m_properties

const std::map<wxString, wxString>* DS_DRAW_ITEM_LIST::m_properties
protected

Definition at line 561 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetProperties().

◆ m_sheetCount

int DS_DRAW_ITEM_LIST::m_sheetCount
protected

The number of sheets.

Definition at line 550 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetSheetCount().

◆ m_sheetLayer

const wxString* DS_DRAW_ITEM_LIST::m_sheetLayer
protected

Definition at line 558 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetSheetLayer().

◆ m_sheetName

wxString DS_DRAW_ITEM_LIST::m_sheetName
protected

Definition at line 555 of file ds_draw_item.h.

Referenced by SetSheetName().

◆ m_sheetPath

wxString DS_DRAW_ITEM_LIST::m_sheetPath
protected

Definition at line 556 of file ds_draw_item.h.

Referenced by SetSheetPath().

◆ m_titleBlock

const TITLE_BLOCK* DS_DRAW_ITEM_LIST::m_titleBlock
protected

Definition at line 552 of file ds_draw_item.h.

Referenced by BuildDrawItemsList(), DS_DRAW_ITEM_LIST(), and SetTitleBlock().


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