Line | |
---|
1 | #ifndef luibutton_idl |
---|
2 | #define lupibutton_idl |
---|
3 | |
---|
4 | #include <luibutton.idl> |
---|
5 | #include <lupifield.idl> |
---|
6 | |
---|
7 | interface FormWidgetButton; // declared in poppler/Form.h |
---|
8 | |
---|
9 | /** |
---|
10 | * LuPopplerInputButton represents a form button in the PDF document. |
---|
11 | * |
---|
12 | * This interface exposes the FormWidgetButton poppler class. |
---|
13 | */ |
---|
14 | interface LuPopplerInputButton : LuPopplerInputField, LuInputButton |
---|
15 | { |
---|
16 | void init_widgetButton( inout somInitCtrl ctrl, in LuPopplerDocument aDoc, |
---|
17 | in long aPagenum, in Page aPage, |
---|
18 | in FormWidgetButton aFormWidgetButton ); |
---|
19 | |
---|
20 | #ifdef __SOMIDL__ |
---|
21 | |
---|
22 | implementation |
---|
23 | { |
---|
24 | releaseorder: init_widgetButton; |
---|
25 | |
---|
26 | init_widgetButton: init; |
---|
27 | somDestruct: override; |
---|
28 | |
---|
29 | getButtonType: override; |
---|
30 | getState: override; |
---|
31 | setState: override; |
---|
32 | getText: override; |
---|
33 | getSiblings: override; |
---|
34 | |
---|
35 | FormWidgetButton widget; |
---|
36 | |
---|
37 | passthru C_h_before = "" |
---|
38 | "" |
---|
39 | "#include <Form.h>" |
---|
40 | ""; |
---|
41 | |
---|
42 | passthru C_xh_before = "" |
---|
43 | "" |
---|
44 | "#include <Form.h>" |
---|
45 | ""; |
---|
46 | }; |
---|
47 | |
---|
48 | #endif // __SOMIDL__ |
---|
49 | }; |
---|
50 | |
---|
51 | #endif // lupibutton_idl |
---|
52 | |
---|
Note: See
TracBrowser
for help on using the repository browser.