Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / ext / print / XS / PrintDialogData.xs
1 #############################################################################
2 ## Name:        ext/print/XS/PrintDialogData.xs
3 ## Purpose:     XS for Wx::PrintDialogData
4 ## Author:      Mattia Barbon
5 ## Modified by:
6 ## Created:     02/06/2001
7 ## RCS-ID:      $Id: PrintDialogData.xs 2315 2008-01-18 21:47:17Z mbarbon $
8 ## Copyright:   (c) 2001, 2004-2005, 2008 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::PrintDialogData
16
17 wxPrintDialogData*
18 wxPrintDialogData::new()
19
20 void
21 wxPrintDialogData::Destroy()
22   CODE:
23     delete THIS;
24
25 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
26
27 bool
28 wxPrintDialogData::IsOk()
29
30 #endif
31
32 void
33 wxPrintDialogData::EnableHelp( enable )
34     bool enable
35
36 void
37 wxPrintDialogData::EnablePageNumbers( enable )
38     bool enable
39
40 void
41 wxPrintDialogData::EnablePrintToFile( enable )
42      bool enable
43
44 void
45 wxPrintDialogData::EnableSelection( enable )
46     bool enable
47
48 bool
49 wxPrintDialogData::GetAllPages()
50
51 bool
52 wxPrintDialogData::GetCollate()
53
54 int
55 wxPrintDialogData::GetFromPage()
56
57 int
58 wxPrintDialogData::GetMaxPage()
59
60 int
61 wxPrintDialogData::GetMinPage()
62
63 int
64 wxPrintDialogData::GetNoCopies()
65
66 wxPrintData*
67 wxPrintDialogData::GetPrintData()
68   CODE:
69     RETVAL = &THIS->GetPrintData();
70   OUTPUT:
71     RETVAL
72
73 bool
74 wxPrintDialogData::GetPrintToFile()
75
76 bool
77 wxPrintDialogData::GetSelection()
78
79 int
80 wxPrintDialogData::GetToPage()
81
82 void
83 wxPrintDialogData::SetCollate( collate )
84     bool collate
85
86 void
87 wxPrintDialogData::SetFromPage( page )
88     int page
89
90 void
91 wxPrintDialogData::SetMaxPage( page )
92     int page
93
94 void
95 wxPrintDialogData::SetMinPage( page )
96     int page
97
98 void
99 wxPrintDialogData::SetNoCopies( n )
100     int n
101
102 void
103 wxPrintDialogData::SetPrintData( printData )
104     wxPrintData* printData
105   CODE:
106     THIS->SetPrintData( *printData );
107
108 void
109 wxPrintDialogData::SetPrintToFile( flag )
110     bool flag
111
112 void
113 wxPrintDialogData::SetSelection( selection )
114     bool selection
115
116 #if WXPERL_W_VERSION_GE( 2, 5, 3 ) && WXPERL_W_VERSION_LE( 2, 5, 3 )
117
118 void
119 wxPrintDialogData::SetSetupDialog( flag )
120     bool flag
121
122 #endif
123
124 void
125 wxPrintDialogData::SetToPage( page )
126     int page