Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / print / XS / PageSetupDialogData.xs
1 #############################################################################
2 ## Name:        ext/print/XS/PageSetupDialogData.xs
3 ## Purpose:     XS for Wx::PageSetupDialogData
4 ## Author:      Mattia Barbon
5 ## Modified by:
6 ## Created:     04/05/2001
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 #############################################################################
12
13 #include <wx/cmndata.h>
14
15 MODULE=Wx PACKAGE=Wx::PageSetupDialogData
16
17 wxPageSetupDialogData*
18 wxPageSetupDialogData::new()
19
20 void
21 wxPageSetupDialogData::Destroy()
22   CODE:
23     delete THIS;
24
25 void
26 wxPageSetupDialogData::EnableHelp( flag )
27     bool flag
28
29 void
30 wxPageSetupDialogData::EnableMargins( flag )
31     bool flag
32
33 void
34 wxPageSetupDialogData::EnableOrientation( flag )
35     bool flag
36
37 void
38 wxPageSetupDialogData::EnablePaper( flag )
39     bool flag
40
41 void
42 wxPageSetupDialogData::EnablePrinter( flag )
43     bool flag
44
45 bool
46 wxPageSetupDialogData::GetDefaultMinMargins()
47
48 bool
49 wxPageSetupDialogData::GetEnableMargins()
50
51 bool
52 wxPageSetupDialogData::GetEnableOrientation()
53
54 bool
55 wxPageSetupDialogData::GetEnablePaper()
56
57 bool
58 wxPageSetupDialogData::GetEnablePrinter()
59
60 bool
61 wxPageSetupDialogData::GetEnableHelp()
62
63 bool
64 wxPageSetupDialogData::GetDefaultInfo()
65
66 wxPoint*
67 wxPageSetupDialogData::GetMarginTopLeft()
68   CODE:
69     RETVAL = new wxPoint( THIS->GetMarginTopLeft() );
70   OUTPUT:
71     RETVAL
72
73 wxPoint*
74 wxPageSetupDialogData::GetMarginBottomRight()
75   CODE:
76     RETVAL = new wxPoint( THIS->GetMarginBottomRight() );
77   OUTPUT:
78     RETVAL
79
80 wxPoint*
81 wxPageSetupDialogData::GetMinMarginTopLeft()
82   CODE:
83     RETVAL = new wxPoint( THIS->GetMinMarginTopLeft() );
84   OUTPUT:
85     RETVAL
86
87 wxPoint*
88 wxPageSetupDialogData::GetMinMarginBottomRight()
89   CODE:
90     RETVAL = new wxPoint( THIS->GetMinMarginBottomRight() );
91   OUTPUT:
92     RETVAL
93
94 wxPaperSize
95 wxPageSetupDialogData::GetPaperId()
96
97 wxSize*
98 wxPageSetupDialogData::GetPaperSize()
99   CODE:
100     RETVAL = new wxSize( THIS->GetPaperSize() );
101   OUTPUT:
102     RETVAL
103
104 wxPrintData*
105 wxPageSetupDialogData::GetPrintData()
106   CODE:
107     RETVAL = &THIS->GetPrintData();
108   OUTPUT:
109     RETVAL
110
111 void
112 wxPageSetupDialogData::SetDefaultInfo( flag )
113     bool flag
114
115 void
116 wxPageSetupDialogData::SetDefaultMinMargins( flag )
117     bool flag
118
119 void
120 wxPageSetupDialogData::SetMarginTopLeft( point )
121     wxPoint point
122
123 void
124 wxPageSetupDialogData::SetMarginBottomRight( point )
125     wxPoint point
126
127 void
128 wxPageSetupDialogData::SetMinMarginTopLeft( point )
129     wxPoint point
130
131 void
132 wxPageSetupDialogData::SetMinMarginBottomRight( point )
133     wxPoint point
134
135 void
136 wxPageSetupDialogData::SetPaperId( id )
137     wxPaperSize id
138
139 void
140 wxPageSetupDialogData::SetPaperSize( size )
141     wxSize size
142
143 void
144 wxPageSetupDialogData::SetPrintData( printData )
145     wxPrintData* printData
146   CODE:
147     THIS->SetPrintData( *printData );
148