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 352 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 372 of file ws_draw_item.h.

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

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 385 of file ws_draw_item.h.

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

Member Function Documentation

◆ Append()

void WS_DRAW_ITEM_LIST::Append ( WS_DRAW_ITEM_BASE aItem)
inline

Definition at line 458 of file ws_draw_item.h.

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

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 117 of file ws_painter.cpp.

118 {
119  std::function<bool( wxString* )> wsResolver =
120  [ this ]( wxString* token ) -> bool
121  {
122  bool tokenUpdated = false;
123 
124  if( token->IsSameAs( wxT( "KICAD_VERSION" ) ) )
125  {
126  *token = wxString::Format( wxT( "%s%s %s" ),
127  productName,
128  Pgm().App().GetAppName(),
129  GetBuildVersion() );
130  tokenUpdated = true;
131  }
132  else if( token->IsSameAs( wxT( "#" ) ) )
133  {
134  *token = wxString::Format( wxT( "%d" ), m_sheetNumber );
135  tokenUpdated = true;
136  }
137  else if( token->IsSameAs( wxT( "##" ) ) )
138  {
139  *token = wxString::Format( wxT( "%d" ), m_sheetCount );
140  tokenUpdated = true;
141  }
142  else if( token->IsSameAs( wxT( "SHEETNAME" ) ) )
143  {
144  *token = m_sheetFullName;
145  tokenUpdated = true;
146  }
147  else if( token->IsSameAs( wxT( "FILENAME" ) ) )
148  {
149  wxFileName fn( m_fileName );
150  *token = fn.GetFullName();
151  tokenUpdated = true;
152  }
153  else if( token->IsSameAs( wxT( "PAPER" ) ) )
154  {
155  *token = m_paperFormat ? *m_paperFormat : wxString( "" );
156  tokenUpdated = true;
157  }
158  else if( token->IsSameAs( wxT( "LAYER" ) ) )
159  {
160  *token = m_sheetLayer ? *m_sheetLayer : wxString( "" );
161  tokenUpdated = true;
162  }
163  else if( token->IsSameAs( wxT( "ISSUE_DATE" ) ) )
164  {
165  *token = m_titleBlock ? m_titleBlock->GetDate() : wxString( "" );
166  tokenUpdated = true;
167  }
168  else if( token->IsSameAs( wxT( "REVISION" ) ) )
169  {
170  *token = m_titleBlock ? m_titleBlock->GetRevision() : wxString( "" );
171  tokenUpdated = true;
172  }
173  else if( token->IsSameAs( wxT( "TITLE" ) ) )
174  {
175  *token = m_titleBlock ? m_titleBlock->GetTitle() : wxString( "" );
176  tokenUpdated = true;
177  }
178  else if( token->IsSameAs( wxT( "COMPANY" ) ) )
179  {
180  *token = m_titleBlock ? m_titleBlock->GetCompany() : wxString( "" );
181  tokenUpdated = true;
182  }
183  else if( token->Left( token->Len() - 1 ).IsSameAs( wxT( "COMMENT" ) ) )
184  {
185  wxChar c = token->Last();
186 
187  switch( c )
188  {
189  case '0':
190  case '1':
191  case '2':
192  case '3':
193  case '4':
194  case '5':
195  case '6':
196  case '7':
197  case '8':
198  case '9':
199  *token = m_titleBlock ? m_titleBlock->GetComment( c - '0' )
200  : wxString( "" );
201  tokenUpdated = true;
202  }
203  }
204 
205  if( tokenUpdated )
206  {
207  *token = ExpandTextVars( *token, nullptr, m_project );
208  return true;
209  }
210 
211  return false;
212  };
213 
214  return ExpandTextVars( aTextbase, &wsResolver, m_project );
215 }
const wxString * m_paperFormat
Definition: ws_draw_item.h:365
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:369
const TITLE_BLOCK * m_titleBlock
Definition: ws_draw_item.h:364
const wxString * m_sheetLayer
Definition: ws_draw_item.h:368
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:367
wxString ExpandTextVars(const wxString &aSource, const std::function< bool(wxString *)> *aLocalResolver, const PROJECT *aProject, const std::function< bool(wxString *)> *aFallbackResolver)
Expand '${var-name}' templates in text.
Definition: common.cpp:384
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:201
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 453 of file ws_draw_item.cpp.

455 {
457 
458  m_titleBlock = &aTitleBlock;
459  m_paperFormat = &aPageInfo.GetType();
460 
461  // Build the basic layout shape, if the layout list is empty
462  if( model.GetCount() == 0 && !model.VoidListAllowed() )
463  model.SetPageLayout();
464 
465  model.SetupDrawEnvironment( aPageInfo, m_milsToIu );
466 
467  for( WS_DATA_ITEM* wsItem : model.GetItems() )
468  {
469  // Generate it only if the page option allows this
470  if( wsItem->GetPage1Option() == FIRST_PAGE_ONLY && m_sheetNumber != 1 )
471  continue;
472  else if( wsItem->GetPage1Option() == SUBSEQUENT_PAGES && m_sheetNumber == 1 )
473  continue;
474 
475  wsItem->SyncDrawItems( this, nullptr );
476  }
477 }
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:365
Work sheet structure type definitions.
Definition: ws_data_item.h:93
const TITLE_BLOCK * m_titleBlock
Definition: ws_draw_item.h:364
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:98
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_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ GetAllItems()

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

Definition at line 489 of file ws_draw_item.h.

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

References m_graphicList.

◆ GetDefaultPenSize()

int WS_DRAW_ITEM_LIST::GetDefaultPenSize ( ) const
inline

Definition at line 429 of file ws_draw_item.h.

429 { 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 469 of file ws_draw_item.h.

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

References m_graphicList, m_idx, and NULL.

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

◆ GetNext()

WS_DRAW_ITEM_BASE* WS_DRAW_ITEM_LIST::GetNext ( )
inline

Definition at line 479 of file ws_draw_item.h.

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

References m_graphicList, m_idx, and NULL.

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

◆ GetTextVars()

void WS_DRAW_ITEM_LIST::GetTextVars ( wxArrayString *  aVars)
static

Definition at line 89 of file ws_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" ) );
98  aVars->push_back( wxT( "ISSUE_DATE" ) );
99  aVars->push_back( wxT( "REVISION" ) );
100  aVars->push_back( wxT( "TITLE" ) );
101  aVars->push_back( wxT( "COMPANY" ) );
102  aVars->push_back( wxT( "COMMENT0" ) );
103  aVars->push_back( wxT( "COMMENT1" ) );
104  aVars->push_back( wxT( "COMMENT2" ) );
105  aVars->push_back( wxT( "COMMENT3" ) );
106  aVars->push_back( wxT( "COMMENT4" ) );
107  aVars->push_back( wxT( "COMMENT5" ) );
108  aVars->push_back( wxT( "COMMENT6" ) );
109  aVars->push_back( wxT( "COMMENT7" ) );
110  aVars->push_back( wxT( "COMMENT8" ) );
111  aVars->push_back( wxT( "COMMENT9" ) );
112 }

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 486 of file ws_draw_item.cpp.

487 {
488  std::vector<WS_DRAW_ITEM_BASE*> second_items;
489 
490  for( WS_DRAW_ITEM_BASE* item = GetFirst(); item; item = GetNext() )
491  {
492  if( item->Type() == WSG_BITMAP_T )
493  item->PrintWsItem( aSettings );
494  else
495  second_items.push_back( item );
496  }
497 
498  for( auto item : second_items )
499  item->PrintWsItem( aSettings );
500 }
WS_DRAW_ITEM_BASE * GetNext()
Definition: ws_draw_item.h:479
WS_DRAW_ITEM_BASE * GetFirst()
Definition: ws_draw_item.h:469

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

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

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 428 of file ws_draw_item.h.

428 { 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 407 of file ws_draw_item.h.

408  {
409  m_fileName = aFileName;
410  }

References m_fileName.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), PrintPageLayout(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ 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 435 of file ws_draw_item.h.

436  {
437  m_milsToIu = aScale;
438  }

References m_milsToIu.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), PrintPageLayout(), DRC_TEST_PROVIDER_MISC::testTextVars(), 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 402 of file ws_draw_item.h.

402 { m_paperFormat = aFormatName; }
const wxString * m_paperFormat
Definition: ws_draw_item.h:365

References m_paperFormat.

◆ SetProject()

void WS_DRAW_ITEM_LIST::SetProject ( const PROJECT aProject)
inline

◆ 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 453 of file ws_draw_item.h.

454  {
455  m_sheetCount = aSheetCount;
456  }

References m_sheetCount.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), PrintPageLayout(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetSheetLayer()

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

Set the sheet layer to draw/plot.

Definition at line 423 of file ws_draw_item.h.

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

References m_sheetLayer.

Referenced by PrintPageLayout(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetSheetName()

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

Set the sheet name to draw/plot.

Definition at line 415 of file ws_draw_item.h.

416  {
417  m_sheetFullName = aSheetName;
418  }
wxString m_sheetFullName
Definition: ws_draw_item.h:367

References m_sheetFullName.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), PrintPageLayout(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

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

445  {
446  m_sheetNumber = aSheetNumber;
447  }

References m_sheetNumber.

Referenced by KIGFX::WS_PROXY_VIEW_ITEM::buildDrawList(), PlotWorkSheet(), PrintPageLayout(), DRC_TEST_PROVIDER_MISC::testTextVars(), and ERC_TESTER::TestTextVars().

◆ SetTitleBlock()

void WS_DRAW_ITEM_LIST::SetTitleBlock ( const TITLE_BLOCK aTblock)
inline

Set the title block (mainly for page layout editor)

Definition at line 397 of file ws_draw_item.h.

397 { m_titleBlock = aTblock; }
const TITLE_BLOCK * m_titleBlock
Definition: ws_draw_item.h:364

References m_titleBlock.

Member Data Documentation

◆ m_fileName

wxString WS_DRAW_ITEM_LIST::m_fileName
protected

Definition at line 366 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 355 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 356 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 357 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 365 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 359 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 369 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 362 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 367 of file ws_draw_item.h.

Referenced by SetSheetName().

◆ m_sheetLayer

const wxString* WS_DRAW_ITEM_LIST::m_sheetLayer
protected

Definition at line 368 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 361 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 364 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: