2
#ifndef _DIALOG_SVG_PRINT_H_
3
#define _DIALOG_SVG_PRINT_H_
6
#include <dialog_SVG_print_base.h>
14
class DIALOG_SVG_PRINT : public DIALOG_SVG_PRINT_base
17
PCB_BASE_FRAME* m_parent;
19
wxConfigBase* m_config;
20
LAYER_MSK m_printMaskLayer;
21
wxCheckBox* m_boxSelectLayer[32];
23
wxString m_outputDirectory;
25
// Static member to store options
26
static bool m_printMirror;
27
static bool m_oneFileOnly;
30
DIALOG_SVG_PRINT( EDA_DRAW_FRAME* parent );
31
~DIALOG_SVG_PRINT() {}
34
void OnCloseWindow( wxCloseEvent& event );
36
void OnButtonPlot( wxCommandEvent& event );
37
void OnButtonCancelClick( wxCommandEvent& event );
38
void OnOutputDirectoryBrowseClicked( wxCommandEvent& event );
40
void ExportSVGFile( bool aOnlyOneFile );
41
bool PageIsBoardBoundarySize()
43
return m_rbSvgPageSizeOpt->GetSelection() == 2;
47
return m_rbSvgPageSizeOpt->GetSelection() == 0;
49
bool CreateSVGFile( const wxString& FullFileName );
53
#endif // _DIALOG_SVG_PRINT_H_