source: trunk/Lucide/plugins/lupoppler/lupichoice.cpp @ 367

Last change on this file since 367 was 367, checked in by dmik, 11 years ago

Merged bramches/kmk (r294:365) to trunk.

  • Property svn:executable set to *
File size: 7.2 KB
Line 
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: CDDL 1.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the COMMON DEVELOPMENT AND
5 * DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use
6 * this file except in compliance with the License. You may obtain a copy of
7 * the License at http://www.sun.com/cddl/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Initial Developer of the Original Code is
15 * Dmitry A. Kuminov, netlabs.org.
16 * Portions created by the Initial Developer are Copyright (C) 2006
17 * the Initial Developer. All Rights Reserved.
18 *
19 * Contributor(s):
20 *
21 * Alternatively, the contents of this file may be used under the terms of
22 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
23 * in which case the provisions of the LGPL are applicable instead of those
24 * above. If you wish to allow use of your version of this file only under the
25 * terms of the LGPL, and not to allow others to use your version of this file
26 * under the terms of the CDDL, indicate your decision by deleting the
27 * provisions above and replace them with the notice and other provisions
28 * required by the LGPL. If you do not delete the provisions above, a recipient
29 * may use your version of this file under the terms of any one of the CDDL
30 * or the LGPL.
31 *
32 * ***** END LICENSE BLOCK ***** */
33
34
35
36/*
37 *  This file was generated by the SOM Compiler and Emitter Framework.
38 *  Generated using template emitter:
39 *      SOM Emitter emitxtm: 2.23.1.9
40 */
41
42#ifndef SOM_Module_lupichoice_Source
43#define SOM_Module_lupichoice_Source
44#endif
45#define LuPopplerInputChoice_Class_Source
46
47#include "lupichoice.xih"
48
49
50SOM_Scope long  SOMLINK getCount(LuPopplerInputChoice *somSelf,
51                                  Environment *ev)
52{
53    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
54    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","getCount");
55
56    return (LuPopplerInputChoice_parent_LuInputChoice_getCount(somSelf,
57                                                               ev));
58}
59
60SOM_Scope string  SOMLINK getChoice(LuPopplerInputChoice *somSelf,
61                                     Environment *ev, long aNumber)
62{
63    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
64    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","getChoice");
65
66    return (LuPopplerInputChoice_parent_LuInputChoice_getChoice(somSelf,
67                                                                ev,
68                                                                aNumber));
69}
70
71SOM_Scope void  SOMLINK select(LuPopplerInputChoice *somSelf,
72                                Environment *ev, long aNumber)
73{
74    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
75    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","select");
76
77    LuPopplerInputChoice_parent_LuInputChoice_select(somSelf,
78                                                     ev, aNumber);
79}
80
81SOM_Scope void  SOMLINK toggle(LuPopplerInputChoice *somSelf,
82                                Environment *ev, long aNumber)
83{
84    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
85    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","toggle");
86
87    LuPopplerInputChoice_parent_LuInputChoice_toggle(somSelf,
88                                                     ev, aNumber);
89}
90
91SOM_Scope void  SOMLINK deselectAll(LuPopplerInputChoice *somSelf,
92                                     Environment *ev)
93{
94    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
95    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","deselectAll");
96
97    LuPopplerInputChoice_parent_LuInputChoice_deselectAll(somSelf,
98                                                          ev);
99}
100
101SOM_Scope void  SOMLINK setChoiceText(LuPopplerInputChoice *somSelf,
102                                       Environment *ev, string aText)
103{
104    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
105    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","setChoiceText");
106
107    LuPopplerInputChoice_parent_LuInputChoice_setChoiceText(somSelf,
108                                                            ev,
109                                                            aText);
110}
111
112SOM_Scope string  SOMLINK getChoiceText(LuPopplerInputChoice *somSelf,
113                                         Environment *ev)
114{
115    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
116    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","getChoiceText");
117
118    return (LuPopplerInputChoice_parent_LuInputChoice_getChoiceText(somSelf,
119                                                                    ev));
120}
121
122SOM_Scope boolean  SOMLINK isSelected(LuPopplerInputChoice *somSelf,
123                                       Environment *ev, long aNumber)
124{
125    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
126    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","isSelected");
127
128    return (LuPopplerInputChoice_parent_LuInputChoice_isSelected(somSelf,
129                                                                 ev,
130                                                                 aNumber));
131}
132
133SOM_Scope boolean  SOMLINK isComboBox(LuPopplerInputChoice *somSelf,
134                                       Environment *ev)
135{
136    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
137    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","isComboBox");
138
139    return (LuPopplerInputChoice_parent_LuInputChoice_isComboBox(somSelf,
140                                                                 ev));
141}
142
143SOM_Scope boolean  SOMLINK isEditable(LuPopplerInputChoice *somSelf,
144                                       Environment *ev)
145{
146    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
147    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","isEditable");
148
149    return (LuPopplerInputChoice_parent_LuInputChoice_isEditable(somSelf,
150                                                                 ev));
151}
152
153SOM_Scope boolean  SOMLINK isMultiSelectable(LuPopplerInputChoice *somSelf,
154                                              Environment *ev)
155{
156    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
157    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","isMultiSelectable");
158
159    return (LuPopplerInputChoice_parent_LuInputChoice_isMultiSelectable(somSelf,
160                                                                        ev));
161}
162
163SOM_Scope boolean  SOMLINK isSpellCheckable(LuPopplerInputChoice *somSelf,
164                                             Environment *ev)
165{
166    LuPopplerInputChoiceData *somThis = LuPopplerInputChoiceGetData(somSelf);
167    LuPopplerInputChoiceMethodDebug("LuPopplerInputChoice","isSpellCheckable");
168
169    return (LuPopplerInputChoice_parent_LuInputChoice_isSpellCheckable(somSelf,
170                                                                       ev));
171}
172
Note: See TracBrowser for help on using the repository browser.