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 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 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)
 Return the full text corresponding to the aTextbase, after replacing format symbols by the corresponding value. More...
 

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_sheetFullName
 
wxString m_pageNumber
 The actual page number displayed in the title block. More...
 
const wxString * m_sheetLayer
 
const PROJECTm_project
 

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

380  {
381  m_idx = 0;
382  m_milsToIu = 1.0;
383  m_penSize = 1;
384  m_pageNumber = "1";
385  m_sheetCount = 1;
386  m_sheetLayer = nullptr;
387  m_titleBlock = nullptr;
388  m_paperFormat = nullptr;
389  m_project = nullptr;
390  m_isFirstPage = true;
391  }
bool m_isFirstPage
Is this the first page or not.
Definition: ds_draw_item.h:570
const TITLE_BLOCK * m_titleBlock
Definition: ds_draw_item.h:573
const PROJECT * m_project
Definition: ds_draw_item.h:579
wxString m_pageNumber
The actual page number displayed in the title block.
Definition: ds_draw_item.h:577
int m_sheetCount
The number of sheets.
Definition: ds_draw_item.h:571
const wxString * m_sheetLayer
Definition: ds_draw_item.h:578
const wxString * m_paperFormat
Definition: ds_draw_item.h:574

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

◆ ~DS_DRAW_ITEM_LIST()

DS_DRAW_ITEM_LIST::~DS_DRAW_ITEM_LIST ( )
inline

Definition at line 393 of file ds_draw_item.h.

394  {
395  // Items in the m_graphicList are owned by their respective DS_DATA_ITEMs.
396  // for( DS_DRAW_ITEM_BASE* item : m_graphicList )
397  // delete item;
398  }

Member Function Documentation

◆ Append()

void DS_DRAW_ITEM_LIST::Append ( DS_DRAW_ITEM_BASE aItem)
inline

Definition at line 473 of file ds_draw_item.h.

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

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( aFullSheetName );

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

501 {
503 
504  m_titleBlock = &aTitleBlock;
505  m_paperFormat = &aPageInfo.GetType();
506 
507  // Build the basic layout shape, if the layout list is empty
508  if( model.GetCount() == 0 && !model.VoidListAllowed() )
509  model.LoadDrawingSheet();
510 
511  model.SetupDrawEnvironment( aPageInfo, m_milsToIu );
512 
513  for( DS_DATA_ITEM* wsItem : model.GetItems() )
514  {
515  // Generate it only if the page option allows this
516  if( wsItem->GetPage1Option() == FIRST_PAGE_ONLY && !m_isFirstPage )
517  continue;
518  else if( wsItem->GetPage1Option() == SUBSEQUENT_PAGES && m_isFirstPage )
519  continue;
520 
521  wsItem->SyncDrawItems( this, nullptr );
522  }
523 }
bool m_isFirstPage
Is this the first page or not.
Definition: ds_draw_item.h:570
Handle the graphic items list to draw/plot the frame and title block.
Definition: ds_data_model.h:38
const TITLE_BLOCK * m_titleBlock
Definition: ds_draw_item.h:573
std::vector< DS_DATA_ITEM * > & GetItems()
const wxString & GetType() const
Definition: page_info.h:94
static DS_DATA_MODEL & GetTheInstance()
static function: returns the instance of DS_DATA_MODEL used in the application
Drawing sheet structure type definitions.
Definition: ds_data_item.h:95
const wxString * m_paperFormat
Definition: ds_draw_item.h:574
void SetupDrawEnvironment(const PAGE_INFO &aPageInfo, double aMilsToIU)
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.
unsigned GetCount() const
bool VoidListAllowed()
Definition: ds_data_model.h:88

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)

Return the full text corresponding to the aTextbase, after replacing format symbols by the corresponding value.

Basic texts in Ki_WorkSheetData struct use format notation like "Title %T" to identify at run time the full text to display. Currently format identifier is % followed by a letter or 2 letters

%% = replaced by % K = Kicad version Z = paper format name (A4, USLetter) Y = company name D = date R = revision S = sheet number N = number of sheets Cx = comment (x = 0 to 9 to identify the comment) F = filename P = sheet path or sheet full name T = title Other fields like Developer, Verifier, Approver could use Cx and are seen as comments for format

Parameters
aTextbase= the text with format symbols
Returns
the text, after replacing the format symbols by the actual value

Definition at line 104 of file ds_painter.cpp.

105 {
106  std::function<bool( wxString* )> wsResolver =
107  [ this ]( wxString* token ) -> bool
108  {
109  bool tokenUpdated = false;
110 
111  if( token->IsSameAs( wxT( "KICAD_VERSION" ) ) && PgmOrNull() )
112  {
113  // TODO: it'd be nice to get the Python script name/version here for when
114  // PgmOrNull() is null...
115 
116  *token = wxString::Format( wxT( "%s%s %s" ),
117  productName,
118  Pgm().App().GetAppName(),
119  GetBuildVersion() );
120  tokenUpdated = true;
121  }
122  else if( token->IsSameAs( wxT( "#" ) ) )
123  {
124  *token = wxString::Format( wxT( "%s" ), m_pageNumber );
125  tokenUpdated = true;
126  }
127  else if( token->IsSameAs( wxT( "##" ) ) )
128  {
129  *token = wxString::Format( wxT( "%d" ), m_sheetCount );
130  tokenUpdated = true;
131  }
132  else if( token->IsSameAs( wxT( "SHEETNAME" ) ) )
133  {
134  *token = m_sheetFullName;
135  tokenUpdated = true;
136  }
137  else if( token->IsSameAs( wxT( "FILENAME" ) ) )
138  {
139  wxFileName fn( m_fileName );
140  *token = fn.GetFullName();
141  tokenUpdated = true;
142  }
143  else if( token->IsSameAs( wxT( "PAPER" ) ) )
144  {
145  *token = m_paperFormat ? *m_paperFormat : wxString( "" );
146  tokenUpdated = true;
147  }
148  else if( token->IsSameAs( wxT( "LAYER" ) ) )
149  {
150  *token = m_sheetLayer ? *m_sheetLayer : wxString( "" );
151  tokenUpdated = true;
152  }
153  else if( m_titleBlock )
154  {
156  // no need for tokenUpdated; TextVarResolver() did a full resolve
157  return true;
158  }
159 
160  if( tokenUpdated )
161  {
162  *token = ExpandTextVars( *token, m_project );
163  return true;
164  }
165 
166  return false;
167  };
168 
169  return ExpandTextVars( aTextbase, &wsResolver, nullptr, m_project );
170 }
const TITLE_BLOCK * m_titleBlock
Definition: ds_draw_item.h:573
wxString ExpandTextVars(const wxString &aSource, const PROJECT *aProject)
Definition: common.cpp:57
const PROJECT * m_project
Definition: ds_draw_item.h:579
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.
Definition: single_top.cpp:106
static const wxString productName
Definition: ds_painter.cpp:43
wxString m_pageNumber
The actual page number displayed in the title block.
Definition: ds_draw_item.h:577
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
wxString GetBuildVersion()
Get the full KiCad version string.
int m_sheetCount
The number of sheets.
Definition: ds_draw_item.h:571
wxString m_sheetFullName
Definition: ds_draw_item.h:576
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
const wxString * m_sheetLayer
Definition: ds_draw_item.h:578
const wxString * m_paperFormat
Definition: ds_draw_item.h:574
bool TextVarResolver(wxString *aToken, const PROJECT *aProject) const
Definition: title_block.cpp:91

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

505  {
506  *aList = m_graphicList;
507  }
std::vector< DS_DRAW_ITEM_BASE * > m_graphicList
Definition: ds_draw_item.h:564

References m_graphicList.

◆ GetDefaultPenSize()

int DS_DRAW_ITEM_LIST::GetDefaultPenSize ( ) const
inline

Definition at line 437 of file ds_draw_item.h.

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

485  {
486  m_idx = 0;
487 
488  if( m_graphicList.size() )
489  return m_graphicList[0];
490  else
491  return nullptr;
492  }
std::vector< DS_DRAW_ITEM_BASE * > m_graphicList
Definition: ds_draw_item.h:564

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

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

495  {
496  m_idx++;
497 
498  if( m_graphicList.size() > m_idx )
499  return m_graphicList[m_idx];
500  else
501  return nullptr;
502  }
std::vector< DS_DRAW_ITEM_BASE * > m_graphicList
Definition: ds_draw_item.h:564

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 89 of file ds_painter.cpp.

90 {
91  aVars->push_back( wxT( "KICAD_VERSION" ) );
92  aVars->push_back( wxT( "#" ) );
93  aVars->push_back( wxT( "##" ) );
94  aVars->push_back( wxT( "SHEETNAME" ) );
95  aVars->push_back( wxT( "FILENAME" ) );
96  aVars->push_back( wxT( "PAPER" ) );
97  aVars->push_back( wxT( "LAYER" ) );
99 }
static void GetContextualTextVars(wxArrayString *aVars)
Definition: title_block.cpp:73

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

533 {
534  std::vector<DS_DRAW_ITEM_BASE*> second_items;
535 
536  for( DS_DRAW_ITEM_BASE* item = GetFirst(); item; item = GetNext() )
537  {
538  if( item->Type() == WSG_BITMAP_T )
539  item->PrintWsItem( aSettings );
540  else
541  second_items.push_back( item );
542  }
543 
544  for( auto item : second_items )
545  item->PrintWsItem( aSettings );
546 }
Base class to handle basic graphic items.
Definition: ds_draw_item.h:58
DS_DRAW_ITEM_BASE * GetNext()
Definition: ds_draw_item.h:494
DS_DRAW_ITEM_BASE * GetFirst()
Definition: ds_draw_item.h:484

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

479  {
480  auto newEnd = std::remove( m_graphicList.begin(), m_graphicList.end(), aItem );
481  m_graphicList.erase( newEnd, m_graphicList.end() );
482  }
std::vector< DS_DRAW_ITEM_BASE * > m_graphicList
Definition: ds_draw_item.h:564

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

436 { 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 415 of file ds_draw_item.h.

416  {
417  m_fileName = aFileName;
418  }

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

463 { m_isFirstPage = aIsFirstPage; }
bool m_isFirstPage
Is this the first page or not.
Definition: ds_draw_item.h:570

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

443  {
444  m_milsToIu = aMils2Iu;
445  }

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

456  {
457  m_pageNumber = aPageNumber;
458  }
wxString m_pageNumber
The actual page number displayed in the title block.
Definition: ds_draw_item.h:577

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

410 { m_paperFormat = aFormatName; }
const wxString * m_paperFormat
Definition: ds_draw_item.h:574

References m_paperFormat.

◆ SetProject()

void DS_DRAW_ITEM_LIST::SetProject ( const PROJECT aProject)
inline

◆ SetSheetCount()

void DS_DRAW_ITEM_LIST::SetSheetCount ( int  aSheetCount)
inline

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

Definition at line 468 of file ds_draw_item.h.

469  {
470  m_sheetCount = aSheetCount;
471  }
int m_sheetCount
The number of sheets.
Definition: ds_draw_item.h:571

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

432  {
433  m_sheetLayer = &aSheetLayer;
434  }
const wxString * m_sheetLayer
Definition: ds_draw_item.h:578

References m_sheetLayer.

Referenced by 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 423 of file ds_draw_item.h.

424  {
425  m_sheetFullName = aSheetName;
426  }
wxString m_sheetFullName
Definition: ds_draw_item.h:576

References m_sheetFullName.

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

◆ SetTitleBlock()

void DS_DRAW_ITEM_LIST::SetTitleBlock ( const TITLE_BLOCK aTblock)
inline

Set the title block (mainly for drawing sheet editor)

Definition at line 405 of file ds_draw_item.h.

405 { m_titleBlock = aTblock; }
const TITLE_BLOCK * m_titleBlock
Definition: ds_draw_item.h:573

References m_titleBlock.

Member Data Documentation

◆ m_fileName

wxString DS_DRAW_ITEM_LIST::m_fileName
protected

Definition at line 575 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 564 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 565 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 570 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 577 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 574 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 568 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 579 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetProject().

◆ m_sheetCount

int DS_DRAW_ITEM_LIST::m_sheetCount
protected

The number of sheets.

Definition at line 571 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetSheetCount().

◆ m_sheetFullName

wxString DS_DRAW_ITEM_LIST::m_sheetFullName
protected

Definition at line 576 of file ds_draw_item.h.

Referenced by SetSheetName().

◆ m_sheetLayer

const wxString* DS_DRAW_ITEM_LIST::m_sheetLayer
protected

Definition at line 578 of file ds_draw_item.h.

Referenced by DS_DRAW_ITEM_LIST(), and SetSheetLayer().

◆ m_titleBlock

const TITLE_BLOCK* DS_DRAW_ITEM_LIST::m_titleBlock
protected

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