Line | |
---|
1 | #ifndef lupitext_idl |
---|
2 | #define lupitext_idl |
---|
3 | |
---|
4 | #include <luitext.idl> |
---|
5 | #include <lupifield.idl> |
---|
6 | |
---|
7 | interface FormWidgetText; // declared in poppler/Form.h |
---|
8 | |
---|
9 | /** |
---|
10 | * LuPopplerInputText represents a text field in the PDF document. |
---|
11 | * |
---|
12 | * This interface exposes the FormWidgetText poppler class. |
---|
13 | */ |
---|
14 | interface LuPopplerInputText : LuPopplerInputField, LuInputText |
---|
15 | { |
---|
16 | void init_widgetText( inout somInitCtrl ctrl, in LuPopplerDocument aDoc, |
---|
17 | in long aPagenum, in Page aPage, |
---|
18 | in FormWidgetText aFormWidgetText ); |
---|
19 | |
---|
20 | #ifdef __SOMIDL__ |
---|
21 | |
---|
22 | implementation |
---|
23 | { |
---|
24 | releaseorder: init_widgetText; |
---|
25 | |
---|
26 | init_widgetText: init; |
---|
27 | somDestruct: override; |
---|
28 | |
---|
29 | getContents: override; |
---|
30 | setContents: override; |
---|
31 | isMultiLine: override; |
---|
32 | isPassword: override; |
---|
33 | isFileName: override; |
---|
34 | isSpellCheckable: override; |
---|
35 | isScrollable: override; |
---|
36 | isComb: override; |
---|
37 | isRichText: override; |
---|
38 | getMaximumLength: override; |
---|
39 | |
---|
40 | FormWidgetText widget; |
---|
41 | string contents; |
---|
42 | |
---|
43 | passthru C_h_before = "" |
---|
44 | "" |
---|
45 | "#include <Form.h>" |
---|
46 | ""; |
---|
47 | |
---|
48 | passthru C_xh_before = "" |
---|
49 | "" |
---|
50 | "#include <Form.h>" |
---|
51 | ""; |
---|
52 | }; |
---|
53 | |
---|
54 | #endif // __SOMIDL__ |
---|
55 | |
---|
56 | }; |
---|
57 | |
---|
58 | #endif // lupitext_idl |
---|
Note: See
TracBrowser
for help on using the repository browser.