KiCad PCB EDA Suite
WS_DRAW_ITEM_LIST Class Reference

#include <ws_draw_item.h>

Public Member Functions

 WS_DRAW_ITEM_LIST ()
 
 ~WS_DRAW_ITEM_LIST ()
 
void SetProject (const PROJECT *aProject)
 
void SetTitleBlock (const TITLE_BLOCK *aTblock)
 Set the title block (mainly for page layout editor) More...
 
void SetPaperFormat (const wxString *aFormatName)
 Set the paper format name (mainly for page layout 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 aScale)
 Function SetMilsToIUfactor Set the scalar to convert pages units (mils) to draw/plot units. More...
 
void SetSheetNumber (int aSheetNumber)
 Function SetSheetNumber Set the value of the sheet number, for basic inscriptions. More...
 
void SetSheetCount (int aSheetCount)
 Function SetSheetCount Set the value of the count of sheets, for basic inscriptions. More...
 
void Append (WS_DRAW_ITEM_BASE *aItem)
 
void Remove (WS_DRAW_ITEM_BASE *aItem)
 
WS_DRAW_ITEM_BASEGetFirst ()
 
WS_DRAW_ITEM_BASEGetNext ()
 
void GetAllItems (std::vector< WS_DRAW_ITEM_BASE * > *aList)
 
void Print (RENDER_SETTINGS *aSettings)
 Draws the item list created by BuildWorkSheetGraphicList. More...
 
void BuildWorkSheetGraphicList (const PAGE_INFO &aPageInfo, const TITLE_BLOCK &aTitleBlock)
 Function BuildWorkSheetGraphicList is a core function for drawing or plotting the page layout with the frame and the basic inscriptions. More...
 
wxString BuildFullText (const wxString &aTextbase)
 Function BuildFullText returns 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< WS_DRAW_ITEM_BASE * > m_graphicList
 
unsigned m_idx
 
double m_milsToIu
 
int m_penSize
 
int m_sheetNumber
 
int m_sheetCount
 
const TITLE_BLOCKm_titleBlock
 
const wxString * m_paperFormat
 
wxString m_fileName
 
wxString m_sheetFullName
 
const wxString * m_sheetLayer
 
const PROJECTm_project
 

Detailed Description

Definition at line 353 of file ws_draw_item.h.

Constructor & Destructor Documentation

◆ WS_DRAW_ITEM_LIST()

WS_DRAW_ITEM_LIST::WS_DRAW_ITEM_LIST ( )
inline

Definition at line 373 of file ws_draw_item.h.

374  {
375  m_idx = 0;
376  m_milsToIu = 1.0;
377  m_penSize = 1;
378  m_sheetNumber = 1;
379  m_sheetCount = 1;
380  m_sheetLayer = nullptr;
381  m_titleBlock = nullptr;
382  m_paperFormat = nullptr;
383  m_project = nullptr;
384  }
const wxString * m_paperFormat
Definition: ws_draw_item.h:366
const PROJECT * m_project
Definition: ws_draw_item.h:370
const TITLE_BLOCK * m_titleBlock
Definition: ws_draw_item.h:365
const wxString * m_sheetLayer
Definition: ws_draw_item.h:369

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

◆ ~WS_DRAW_ITEM_LIST()

WS_DRAW_ITEM_LIST::~WS_DRAW_ITEM_LIST ( )
inline

Definition at line 386 of file ws_draw_item.h.

387  {
388  // Items in the m_graphicList are owned by their respective WORKSHEET_DATAITEMs.
389  // for( WS_DRAW_ITEM_BASE* item : m_graphicList )
390  // delete item;
391  }

Member Function Documentation

◆ Append()

void WS_DRAW_ITEM_LIST::Append ( WS_DRAW_ITEM_BASE aItem)
inline

Definition at line 459 of file ws_draw_item.h.

460  {
461  m_graphicList.push_back( aItem );
462  }
std::vector< WS_DRAW_ITEM_BASE * > m_graphicList
Definition: ws_draw_item.h:356

References m_graphicList.

Referenced by WS_DATA_ITEM::SyncDrawItems(), WS_DATA_ITEM_POLYGONS::SyncDrawItems(), WS_DATA_ITEM_TEXT::SyncDrawItems(), and WS_DATA_ITEM_BITMAP::SyncDrawItems().

◆ BuildFullText()

wxString WS_DRAW_ITEM_LIST::BuildFullText ( const wxString &  aTextbase)

Function BuildFullText returns 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 116 of file ws_painter.cpp.

117 {
118  std::function<bool( wxString* )> wsResolver =
119  [ this ]( wxString* token ) -> bool
120  {
121  bool tokenUpdated = false;
122 
123  if( token->IsSameAs( wxT( "KICAD_VERSION" ) ) )
124  {
125  *token = wxString::Format( wxT( "%s%s %s" ),
126  productName,
127  Pgm().App().GetAppName(),
128  GetBuildVersion() );
129  tokenUpdated = true;
130  }
131  else if( token->IsSameAs( wxT( "#" ) ) )
132  {
133  *token = wxString::Format( wxT( "%d" ), m_sheetNumber );
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_sheetFullName;
144  tokenUpdated = true;
145  }
146  else if( token->IsSameAs( wxT( "FILENAME" ) ) )
147  {
148  wxFileName fn( m_fileName );
149  *token = fn.GetFullName();
150  tokenUpdated = true;
151  }
152  else if( token->IsSameAs( wxT( "PAPER" ) ) )
153  {
154  *token = m_paperFormat ? *m_paperFormat : wxString( "" );
155  tokenUpdated = true;
156  }
157  else if( token->IsSameAs( wxT( "LAYER" ) ) )
158  {
159  *token = m_sheetLayer ? *m_sheetLayer : wxString( "" );
160  tokenUpdated = true;
161  }
162  else if( token->IsSameAs( wxT( "ISSUE_DATE" ) ) )
163  {
164  *token = m_titleBlock ? m_titleBlock->GetDate() : wxString( "" );
165  tokenUpdated = true;
166  }
167  else if( token->IsSameAs( wxT( "REVISION" ) ) )
168  {
169  *token = m_titleBlock ? m_titleBlock->GetRevision() : wxString( "" );
170  tokenUpdated = true;
171  }
172  else if( token->IsSameAs( wxT( "TITLE" ) ) )
173  {
174  *token = m_titleBlock ? m_titleBlock->GetTitle() : wxString( "" );
175  tokenUpdated = true;
176  }
177  else if( token->IsSameAs( wxT( "COMPANY" ) ) )
178  {
179  *token = m_titleBlock ? m_titleBlock->GetCompany() : wxString( "" );
180  tokenUpdated = true;
181  }
182  else if( token->Left( token->Len() - 1 ).IsSameAs( wxT( "COMMENT" ) ) )
183  {
184  wxChar c = token->Last();
185 
186  switch( c )
187  {
188  case '0':
189  case '1':
190  case '2':
191  case '3':
192  case '4':
193  case '5':
194  case '6':
195  case '7':
196  case '8':
197  case '9':
198  *token = m_titleBlock ? m_titleBlock->GetComment( c - '0' )
199  : wxString( "" );
200  tokenUpdated = true;
201  }
202  }
203 
204  if( tokenUpdated )
205  {
206  *token = ExpandTextVars( *token, nullptr, m_project );
207  return true;
208  }
209 
210  return false;
211  };
212 
213  return ExpandTextVars( aTextbase, &wsResolver, m_project );
214 }
const wxString * m_paperFormat
Definition: ws_draw_item.h:366
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.
Definition: single_top.cpp:104
const wxString & GetComment(int aIdx) const
Definition: title_block.h:110
const PROJECT * m_project
Definition: ws_draw_item.h:370
const TITLE_BLOCK * m_titleBlock
Definition: ws_draw_item.h:365
const wxString * m_sheetLayer
Definition: ws_draw_item.h:369
wxString GetBuildVersion()
Get the full KiCad version string.
const wxString & GetRevision() const
Definition: title_block.h:89
const wxString & GetCompany() const
Definition: title_block.h:99
wxString m_sheetFullName
Definition: ws_draw_item.h:368
const wxString & GetDate() const
Definition: title_block.h:79
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, CPTREE &aTree)
Function Format outputs a PTREE into s-expression format via an OUTPUTFORMATTER derivative.
Definition: ptree.cpp:205
wxString ExpandTextVars(const wxString &aSource, const std::function< bool(wxString *)> *aLocalResolver, const PROJECT *aProject)
Expand '${var-name}' templates in text.
Definition: common.cpp:382
const wxString & GetTitle() const
Definition: title_block.h:65
static const wxString productName
Definition: ws_painter.cpp:43

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

Referenced by WS_DATA_ITEM_TEXT::SyncDrawItems().

◆ BuildWorkSheetGraphicList()

void WS_DRAW_ITEM_LIST::BuildWorkSheetGraphicList ( const PAGE_INFO aPageInfo,
const TITLE_BLOCK aTitleBlock 
)

Function BuildWorkSheetGraphicList is a core function for drawing or plotting the page layout with the frame and the basic inscriptions.

Before calling this function, some parameters should be initialized by calling: SetPenSize( aPenWidth ); SetMilsToIUfactor( aScalar ); 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 465 of file ws_draw_item.cpp.

467 {
469 
470  m_titleBlock = &aTitleBlock;
471  m_paperFormat = &aPageInfo.GetType();
472 
473  // Build the basic layout shape, if the layout list is empty
474  if( model.GetCount() == 0 && !model.VoidListAllowed() )
475  model.SetPageLayout();
476 
477  model.SetupDrawEnvironment( aPageInfo, m_milsToIu );
478 
479  for( WS_DATA_ITEM* wsItem : model.GetItems() )
480  {
481  // Generate it only if the page option allows this
482  if( wsItem->GetPage1Option() == FIRST_PAGE_ONLY && m_sheetNumber != 1 )
483  continue;
484  else if( wsItem->GetPage1Option() == SUBSEQUENT_PAGES && m_sheetNumber == 1 )
485  continue;
486 
487  wsItem->SyncDrawItems( this, nullptr );
488  }
489 }
WS_DATA_MODEL handles the graphic items list to draw/plot the frame and title block.
Definition: ws_data_model.h:39
const wxString * m_paperFormat
Definition: ws_draw_item.h:366
Work sheet structure type definitions.
Definition: ws_data_item.h:93
const TITLE_BLOCK * m_titleBlock
Definition: ws_draw_item.h:365
void SetPageLayout(const wxString &aFullFileName=wxEmptyString, bool Append=false)
Populates the list with a custom layout, or the default layout, if no custom layout available.
const wxString & GetType() const
Definition: page_info.h:97
std::vector< WS_DATA_ITEM * > & GetItems()
static WS_DATA_MODEL & GetTheInstance()
static function: returns the instance of WS_DATA_MODEL used in the application
void SetupDrawEnvironment(const PAGE_INFO &aPageInfo, double aMilsToIU)
bool VoidListAllowed()
unsigned GetCount() const

References FIRST_PAGE_ONLY, WS_DATA_MODEL::GetCount(), WS_DATA_MODEL::GetItems(), WS_DATA_MODEL::GetTheInstance(), PAGE_INFO::GetType(), m_milsToIu, m_paperFormat, m_sheetNumber, m_titleBlock, WS_DATA_MODEL::SetPageLayout(), WS_DATA_MODEL::SetupDrawEnvironment(), SUBSEQUENT_PAGES, and WS_DATA_MODEL::VoidListAllowed().

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), PrintPageLayout(), DRC_TEXTVAR_TESTER::RunDRC(), and ERC_TESTER::TestTextVars().

◆ GetAllItems()

void WS_DRAW_ITEM_LIST::GetAllItems ( std::vector< WS_DRAW_ITEM_BASE * > *  aList)
inline

Definition at line 490 of file ws_draw_item.h.

491  {
492  *aList = m_graphicList;
493  }
std::vector< WS_DRAW_ITEM_BASE * > m_graphicList
Definition: ws_draw_item.h:356

References m_graphicList.

◆ GetDefaultPenSize()

int WS_DRAW_ITEM_LIST::GetDefaultPenSize ( ) const
inline

Definition at line 430 of file ws_draw_item.h.

430 { return m_penSize; }

References m_penSize.

Referenced by WS_DATA_ITEM::SyncDrawItems(), and WS_DATA_ITEM_TEXT::SyncDrawItems().

◆ GetFirst()

WS_DRAW_ITEM_BASE* WS_DRAW_ITEM_LIST::GetFirst ( )
inline

Definition at line 470 of file ws_draw_item.h.

471  {
472  m_idx = 0;
473 
474  if( m_graphicList.size() )
475  return m_graphicList[0];
476  else
477  return NULL;
478  }
#define NULL
std::vector< WS_DRAW_ITEM_BASE * > m_graphicList
Definition: ws_draw_item.h:356

References m_graphicList, m_idx, and NULL.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::HitTestWorksheetItems(), PlotWorkSheet(), Print(), DRC_TEXTVAR_TESTER::RunDRC(), ERC_TESTER::TestTextVars(), and KIGFX::WS_PROXY_VIEW_ITEM::ViewDraw().

◆ GetNext()

WS_DRAW_ITEM_BASE* WS_DRAW_ITEM_LIST::GetNext ( )
inline

Definition at line 480 of file ws_draw_item.h.

481  {
482  m_idx++;
483 
484  if( m_graphicList.size() > m_idx )
485  return m_graphicList[m_idx];
486  else
487  return NULL;
488  }
#define NULL
std::vector< WS_DRAW_ITEM_BASE * > m_graphicList
Definition: ws_draw_item.h:356

References m_graphicList, m_idx, and NULL.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::HitTestWorksheetItems(), PlotWorkSheet(), Print(), DRC_TEXTVAR_TESTER::RunDRC(), ERC_TESTER::TestTextVars(), and KIGFX::WS_PROXY_VIEW_ITEM::ViewDraw().

◆ GetTextVars()

void WS_DRAW_ITEM_LIST::GetTextVars ( wxArrayString *  aVars)
static

Definition at line 88 of file ws_painter.cpp.

89 {
90  aVars->push_back( wxT( "KICAD_VERSION" ) );
91  aVars->push_back( wxT( "#" ) );
92  aVars->push_back( wxT( "##" ) );
93  aVars->push_back( wxT( "SHEETNAME" ) );
94  aVars->push_back( wxT( "FILENAME" ) );
95  aVars->push_back( wxT( "PAPER" ) );
96  aVars->push_back( wxT( "LAYER" ) );
97  aVars->push_back( wxT( "ISSUE_DATE" ) );
98  aVars->push_back( wxT( "REVISION" ) );
99  aVars->push_back( wxT( "TITLE" ) );
100  aVars->push_back( wxT( "COMPANY" ) );
101  aVars->push_back( wxT( "COMMENT0" ) );
102  aVars->push_back( wxT( "COMMENT1" ) );
103  aVars->push_back( wxT( "COMMENT2" ) );
104  aVars->push_back( wxT( "COMMENT3" ) );
105  aVars->push_back( wxT( "COMMENT4" ) );
106  aVars->push_back( wxT( "COMMENT5" ) );
107  aVars->push_back( wxT( "COMMENT6" ) );
108  aVars->push_back( wxT( "COMMENT7" ) );
109  aVars->push_back( wxT( "COMMENT8" ) );
110  aVars->push_back( wxT( "COMMENT9" ) );
111 }

Referenced by PROPERTIES_FRAME::onScintillaCharAdded().

◆ Print()

void WS_DRAW_ITEM_LIST::Print ( RENDER_SETTINGS aSettings)

Draws the item list created by BuildWorkSheetGraphicList.

Definition at line 498 of file ws_draw_item.cpp.

499 {
500  std::vector<WS_DRAW_ITEM_BASE*> second_items;
501 
502  for( WS_DRAW_ITEM_BASE* item = GetFirst(); item; item = GetNext() )
503  {
504  if( item->Type() == WSG_BITMAP_T )
505  item->PrintWsItem( aSettings );
506  else
507  second_items.push_back( item );
508  }
509 
510  for( auto item : second_items )
511  item->PrintWsItem( aSettings );
512 }
WS_DRAW_ITEM_BASE * GetNext()
Definition: ws_draw_item.h:480
WS_DRAW_ITEM_BASE * GetFirst()
Definition: ws_draw_item.h:470

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

Referenced by PrintPageLayout().

◆ Remove()

void WS_DRAW_ITEM_LIST::Remove ( WS_DRAW_ITEM_BASE aItem)
inline

Definition at line 464 of file ws_draw_item.h.

465  {
466  auto newEnd = std::remove( m_graphicList.begin(), m_graphicList.end(), aItem );
467  m_graphicList.erase( newEnd, m_graphicList.end() );
468  }
std::vector< WS_DRAW_ITEM_BASE * > m_graphicList
Definition: ws_draw_item.h:356

References m_graphicList.

Referenced by WS_DATA_ITEM::SyncDrawItems(), WS_DATA_ITEM_POLYGONS::SyncDrawItems(), WS_DATA_ITEM_TEXT::SyncDrawItems(), and WS_DATA_ITEM_BITMAP::SyncDrawItems().

◆ SetDefaultPenSize()

void WS_DRAW_ITEM_LIST::SetDefaultPenSize ( int  aPenSize)
inline

Definition at line 429 of file ws_draw_item.h.

429 { m_penSize = aPenSize; }

References m_penSize.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), and PrintPageLayout().

◆ SetFileName()

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

Set the filename to draw/plot.

Definition at line 408 of file ws_draw_item.h.

409  {
410  m_fileName = aFileName;
411  }

References m_fileName.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), and PrintPageLayout().

◆ SetMilsToIUfactor()

void WS_DRAW_ITEM_LIST::SetMilsToIUfactor ( double  aScale)
inline

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

Definition at line 436 of file ws_draw_item.h.

437  {
438  m_milsToIu = aScale;
439  }

References m_milsToIu.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), PrintPageLayout(), DRC_TEXTVAR_TESTER::RunDRC(), and ERC_TESTER::TestTextVars().

◆ SetPaperFormat()

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

Set the paper format name (mainly for page layout editor)

Definition at line 403 of file ws_draw_item.h.

403 { m_paperFormat = aFormatName; }
const wxString * m_paperFormat
Definition: ws_draw_item.h:366

References m_paperFormat.

◆ SetProject()

void WS_DRAW_ITEM_LIST::SetProject ( const PROJECT aProject)
inline

Definition at line 393 of file ws_draw_item.h.

393 { m_project = aProject; }
const PROJECT * m_project
Definition: ws_draw_item.h:370

References m_project.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), and PrintPageLayout().

◆ SetSheetCount()

void WS_DRAW_ITEM_LIST::SetSheetCount ( int  aSheetCount)
inline

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

Definition at line 454 of file ws_draw_item.h.

455  {
456  m_sheetCount = aSheetCount;
457  }

References m_sheetCount.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), and PrintPageLayout().

◆ SetSheetLayer()

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

Set the sheet layer to draw/plot.

Definition at line 424 of file ws_draw_item.h.

425  {
426  m_sheetLayer = &aSheetLayer;
427  }
const wxString * m_sheetLayer
Definition: ws_draw_item.h:369

References m_sheetLayer.

Referenced by PrintPageLayout().

◆ SetSheetName()

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

Set the sheet name to draw/plot.

Definition at line 416 of file ws_draw_item.h.

417  {
418  m_sheetFullName = aSheetName;
419  }
wxString m_sheetFullName
Definition: ws_draw_item.h:368

References m_sheetFullName.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), and PrintPageLayout().

◆ SetSheetNumber()

void WS_DRAW_ITEM_LIST::SetSheetNumber ( int  aSheetNumber)
inline

Function SetSheetNumber Set the value of the sheet number, for basic inscriptions.

Definition at line 445 of file ws_draw_item.h.

446  {
447  m_sheetNumber = aSheetNumber;
448  }

References m_sheetNumber.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), and PrintPageLayout().

◆ SetTitleBlock()

void WS_DRAW_ITEM_LIST::SetTitleBlock ( const TITLE_BLOCK aTblock)
inline

Set the title block (mainly for page layout editor)

Definition at line 398 of file ws_draw_item.h.

398 { m_titleBlock = aTblock; }
const TITLE_BLOCK * m_titleBlock
Definition: ws_draw_item.h:365

References m_titleBlock.

Member Data Documentation

◆ m_fileName

wxString WS_DRAW_ITEM_LIST::m_fileName
protected

Definition at line 367 of file ws_draw_item.h.

Referenced by SetFileName().

◆ m_graphicList

std::vector<WS_DRAW_ITEM_BASE*> WS_DRAW_ITEM_LIST::m_graphicList
protected

Definition at line 356 of file ws_draw_item.h.

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

◆ m_idx

unsigned WS_DRAW_ITEM_LIST::m_idx
protected

Definition at line 357 of file ws_draw_item.h.

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

◆ m_milsToIu

double WS_DRAW_ITEM_LIST::m_milsToIu
protected

Definition at line 358 of file ws_draw_item.h.

Referenced by BuildWorkSheetGraphicList(), SetMilsToIUfactor(), and WS_DRAW_ITEM_LIST().

◆ m_paperFormat

const wxString* WS_DRAW_ITEM_LIST::m_paperFormat
protected

Definition at line 366 of file ws_draw_item.h.

Referenced by BuildWorkSheetGraphicList(), SetPaperFormat(), and WS_DRAW_ITEM_LIST().

◆ m_penSize

int WS_DRAW_ITEM_LIST::m_penSize
protected

Definition at line 360 of file ws_draw_item.h.

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

◆ m_project

const PROJECT* WS_DRAW_ITEM_LIST::m_project
protected

Definition at line 370 of file ws_draw_item.h.

Referenced by SetProject(), and WS_DRAW_ITEM_LIST().

◆ m_sheetCount

int WS_DRAW_ITEM_LIST::m_sheetCount
protected

Definition at line 363 of file ws_draw_item.h.

Referenced by SetSheetCount(), and WS_DRAW_ITEM_LIST().

◆ m_sheetFullName

wxString WS_DRAW_ITEM_LIST::m_sheetFullName
protected

Definition at line 368 of file ws_draw_item.h.

Referenced by SetSheetName().

◆ m_sheetLayer

const wxString* WS_DRAW_ITEM_LIST::m_sheetLayer
protected

Definition at line 369 of file ws_draw_item.h.

Referenced by SetSheetLayer(), and WS_DRAW_ITEM_LIST().

◆ m_sheetNumber

int WS_DRAW_ITEM_LIST::m_sheetNumber
protected

Definition at line 362 of file ws_draw_item.h.

Referenced by BuildWorkSheetGraphicList(), SetSheetNumber(), and WS_DRAW_ITEM_LIST().

◆ m_titleBlock

const TITLE_BLOCK* WS_DRAW_ITEM_LIST::m_titleBlock
protected

Definition at line 365 of file ws_draw_item.h.

Referenced by BuildWorkSheetGraphicList(), SetTitleBlock(), and WS_DRAW_ITEM_LIST().


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