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
 
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...
 
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_titleBlock = nullptr;
395 m_project = nullptr;
396 m_isFirstPage = true;
397 m_properties = nullptr;
398 }
int m_sheetCount
The number of sheets.
Definition: ds_draw_item.h:548
const std::map< wxString, wxString > * m_properties
Definition: ds_draw_item.h:559
const TITLE_BLOCK * m_titleBlock
Definition: ds_draw_item.h:550
const PROJECT * m_project
Definition: ds_draw_item.h:557
bool m_isFirstPage
Is this the first page or not.
Definition: ds_draw_item.h:547
wxString m_pageNumber
The actual page number displayed in the title block.
Definition: ds_draw_item.h:555

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

◆ ~DS_DRAW_ITEM_LIST()

DS_DRAW_ITEM_LIST::~DS_DRAW_ITEM_LIST ( )
inline

Definition at line 400 of file ds_draw_item.h.

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

Member Function Documentation

◆ Append()

void DS_DRAW_ITEM_LIST::Append ( DS_DRAW_ITEM_BASE aItem)
inline

Definition at line 472 of file ds_draw_item.h.

473 {
474 m_graphicList.push_back( aItem );
475 }
std::vector< DS_DRAW_ITEM_BASE * > m_graphicList
Definition: ds_draw_item.h:541

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 492 of file ds_draw_item.cpp.

494{
496
497 m_titleBlock = &aTitleBlock;
498 m_paperFormat = aPageInfo.GetType();
499
500 // Build the basic layout shape, if the layout list is empty
501 if( model.GetCount() == 0 && !model.VoidListAllowed() )
502 model.LoadDrawingSheet();
503
504 model.SetupDrawEnvironment( aPageInfo, m_milsToIu );
505
506 for( DS_DATA_ITEM* wsItem : model.GetItems() )
507 {
508 // Generate it only if the page option allows this
509 if( wsItem->GetPage1Option() == FIRST_PAGE_ONLY && !m_isFirstPage )
510 continue;
511 else if( wsItem->GetPage1Option() == SUBSEQUENT_PAGES && m_isFirstPage )
512 continue;
513
514 wsItem->SyncDrawItems( this, nullptr );
515 }
516}
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.
wxString m_paperFormat
Definition: ds_draw_item.h:551
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;
160 tokenUpdated = true;
161 }
162 else if( token->IsSameAs( wxT( "LAYER" ) ) )
163 {
164 *token = m_sheetLayer;
165 tokenUpdated = true;
166 }
167 else if( m_titleBlock )
168 {
169 // no need for tokenUpdated; TITLE_BLOCK::TextVarResolver() does a full
170 // resolve
171 if( m_titleBlock->TextVarResolver( token, m_project ) )
172 return true;
173 }
174 else if( m_properties && m_properties->count( *token ) )
175 {
176 *token = m_properties->at( *token );
177 tokenUpdated = true;
178 }
179
180 if( tokenUpdated )
181 {
182 *token = ExpandTextVars( *token, m_project );
183 return true;
184 }
185
186 if( m_project && m_project->TextVarResolver( token ) )
187 return true;
188
189 return false;
190 };
191
192 return ExpandTextVars( aTextbase, &wsResolver );
193}
wxString GetBuildVersion()
Get the full KiCad version string.
wxString m_sheetPath
Definition: ds_draw_item.h:554
wxString m_sheetLayer
Definition: ds_draw_item.h:556
wxString m_sheetName
Definition: ds_draw_item.h:553
virtual bool TextVarResolver(wxString *aToken) const
Definition: project.cpp:70
bool TextVarResolver(wxString *aToken, const PROJECT *aProject) const
Definition: title_block.cpp:96
wxString ExpandTextVars(const wxString &aSource, const PROJECT *aProject)
Definition: common.cpp:58
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 503 of file ds_draw_item.h.

504 {
505 *aList = m_graphicList;
506 }

References m_graphicList.

◆ GetDefaultPenSize()

int DS_DRAW_ITEM_LIST::GetDefaultPenSize ( ) const
inline

Definition at line 445 of file ds_draw_item.h.

445{ 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 483 of file ds_draw_item.h.

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

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 455 of file ds_draw_item.h.

455{ 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 493 of file ds_draw_item.h.

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

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 525 of file ds_draw_item.cpp.

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

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 477 of file ds_draw_item.h.

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

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 444 of file ds_draw_item.h.

444{ 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 427 of file ds_draw_item.h.

427{ 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 465 of file ds_draw_item.h.

465{ 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 450 of file ds_draw_item.h.

450{ 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 460 of file ds_draw_item.h.

460{ 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 422 of file ds_draw_item.h.

422{ 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 417 of file ds_draw_item.h.

417{ 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 470 of file ds_draw_item.h.

470{ 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 442 of file ds_draw_item.h.

442{ 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 432 of file ds_draw_item.h.

432{ 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 437 of file ds_draw_item.h.

437{ 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 412 of file ds_draw_item.h.

412{ m_titleBlock = aTblock; }

References m_titleBlock.

Member Data Documentation

◆ m_fileName

wxString DS_DRAW_ITEM_LIST::m_fileName
protected

Definition at line 552 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 541 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 542 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 547 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 555 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetPageNumber().

◆ m_paperFormat

wxString DS_DRAW_ITEM_LIST::m_paperFormat
protected

Definition at line 551 of file ds_draw_item.h.

Referenced by BuildDrawItemsList(), and SetPaperFormat().

◆ m_penSize

int DS_DRAW_ITEM_LIST::m_penSize
protected

Definition at line 545 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 557 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 559 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 548 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetSheetCount().

◆ m_sheetLayer

wxString DS_DRAW_ITEM_LIST::m_sheetLayer
protected

Definition at line 556 of file ds_draw_item.h.

Referenced by SetSheetLayer().

◆ m_sheetName

wxString DS_DRAW_ITEM_LIST::m_sheetName
protected

Definition at line 553 of file ds_draw_item.h.

Referenced by SetSheetName().

◆ m_sheetPath

wxString DS_DRAW_ITEM_LIST::m_sheetPath
protected

Definition at line 554 of file ds_draw_item.h.

Referenced by SetSheetPath().

◆ m_titleBlock

const TITLE_BLOCK* DS_DRAW_ITEM_LIST::m_titleBlock
protected

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