1 #############################################################################
2 ## Name: ext/print/XS/PageSetupDialogData.xs
3 ## Purpose: XS for Wx::PageSetupDialogData
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: PageSetupDialogData.xs 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright: (c) 2001, 2004 Mattia Barbon
9 ## Licence: This program is free software; you can redistribute it and/or
10 ## modify it under the same terms as Perl itself
11 #############################################################################
13 #include <wx/cmndata.h>
15 MODULE=Wx PACKAGE=Wx::PageSetupDialogData
17 wxPageSetupDialogData*
18 wxPageSetupDialogData::new()
21 wxPageSetupDialogData::Destroy()
26 wxPageSetupDialogData::EnableHelp( flag )
30 wxPageSetupDialogData::EnableMargins( flag )
34 wxPageSetupDialogData::EnableOrientation( flag )
38 wxPageSetupDialogData::EnablePaper( flag )
42 wxPageSetupDialogData::EnablePrinter( flag )
46 wxPageSetupDialogData::GetDefaultMinMargins()
49 wxPageSetupDialogData::GetEnableMargins()
52 wxPageSetupDialogData::GetEnableOrientation()
55 wxPageSetupDialogData::GetEnablePaper()
58 wxPageSetupDialogData::GetEnablePrinter()
61 wxPageSetupDialogData::GetEnableHelp()
64 wxPageSetupDialogData::GetDefaultInfo()
67 wxPageSetupDialogData::GetMarginTopLeft()
69 RETVAL = new wxPoint( THIS->GetMarginTopLeft() );
74 wxPageSetupDialogData::GetMarginBottomRight()
76 RETVAL = new wxPoint( THIS->GetMarginBottomRight() );
81 wxPageSetupDialogData::GetMinMarginTopLeft()
83 RETVAL = new wxPoint( THIS->GetMinMarginTopLeft() );
88 wxPageSetupDialogData::GetMinMarginBottomRight()
90 RETVAL = new wxPoint( THIS->GetMinMarginBottomRight() );
95 wxPageSetupDialogData::GetPaperId()
98 wxPageSetupDialogData::GetPaperSize()
100 RETVAL = new wxSize( THIS->GetPaperSize() );
105 wxPageSetupDialogData::GetPrintData()
107 RETVAL = &THIS->GetPrintData();
112 wxPageSetupDialogData::SetDefaultInfo( flag )
116 wxPageSetupDialogData::SetDefaultMinMargins( flag )
120 wxPageSetupDialogData::SetMarginTopLeft( point )
124 wxPageSetupDialogData::SetMarginBottomRight( point )
128 wxPageSetupDialogData::SetMinMarginTopLeft( point )
132 wxPageSetupDialogData::SetMinMarginBottomRight( point )
136 wxPageSetupDialogData::SetPaperId( id )
140 wxPageSetupDialogData::SetPaperSize( size )
144 wxPageSetupDialogData::SetPrintData( printData )
145 wxPrintData* printData
147 THIS->SetPrintData( *printData );