ToolMap
Loading...
Searching...
No Matches
pdfexportwizard.h
1/***************************************************************************
2 pdfexportwizard.h
3 -------------------
4 copyright : (C) 2011 CREALP Lucien Schreiber
5 ***************************************************************************/
6
7/***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15#ifndef _PDFEXPORTWIZARD_H_
16#define _PDFEXPORTWIZARD_H_
17
18#include <wx/wxprec.h>
19
20#ifndef WX_PRECOMP
21#include <wx/wx.h>
22#endif
23
24#include <wx/wizard.h>
25
26#include "pdfdocument.h"
27
28class PdfExportWizard : public wxWizard {
29 private:
30 wxWizardPageSimple* m_PageLayout;
31 wxWizardPageSimple* m_PagePaper;
32 wxWizardPageSimple* m_PageDecoration;
33
34 // controls
35 // page layout
36 wxRadioButton* m_ExportOnePageCtrl;
37 wxRadioButton* m_ExportMultiPageCtrl;
38 wxRadioButton* m_ExportOneColCtrl;
39 wxRadioButton* m_ExportTwoColCtrl;
40
41 // page paper
42 wxChoice* m_PaperSizeCtrl;
43 wxRadioButton* m_PaperPortraitCtrl;
44 wxRadioButton* m_PaperLandscapeCtrl;
45
46 // page decoration
47 wxCheckBox* m_DecorationSimpleCtrl;
48
49 void _CreateControls();
50
51 void OnRadioOnePageClick(wxCommandEvent& event);
52
53 void OnRadioMultiplePageClick(wxCommandEvent& event);
54
55 void OnLastPage(wxWizardEvent& event);
56
57 wxString* m_TextBtnNext;
58
59 public:
60 PdfExportWizard(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export Data Model Layout"));
61
62 virtual ~PdfExportWizard();
63
64 int ShowWizard();
65
66 bool GetWizardChoices(PdfDocument& document);
67};
68
69#endif
Definition pdfdocument.h:37
Definition pdfexportwizard.h:28