1 | |
---|
2 | /* |
---|
3 | * This file was generated by the SOM Compiler. |
---|
4 | * FileName: ludjvu.xh. |
---|
5 | * Generated using: |
---|
6 | * SOM Precompiler somipc: 2.29.1.17 |
---|
7 | * SOM Emitter emitxh: 2.47 |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef SOM_LuDjvuDocument_xh |
---|
11 | #define SOM_LuDjvuDocument_xh |
---|
12 | |
---|
13 | class LuDjvuDocument; |
---|
14 | |
---|
15 | #define LuDjvuDocument_MajorVersion 0 |
---|
16 | #define LuDjvuDocument_MinorVersion 0 |
---|
17 | |
---|
18 | /* C++ SOM defs */ |
---|
19 | #include <somcls.xh> |
---|
20 | #include <somcm.xh> |
---|
21 | |
---|
22 | /* C++ parent defs */ |
---|
23 | #ifndef SOM_LuDocument_xh |
---|
24 | #include <ludoc.xh> |
---|
25 | #endif |
---|
26 | |
---|
27 | #ifndef LuDjvuDocument_API |
---|
28 | #define LuDjvuDocument_API |
---|
29 | /* |
---|
30 | * -- The Class API |
---|
31 | */ |
---|
32 | |
---|
33 | /* |
---|
34 | * Start of bindings for IDL types |
---|
35 | */ |
---|
36 | |
---|
37 | class SOMClass; |
---|
38 | class SOMObject; |
---|
39 | |
---|
40 | /* |
---|
41 | * End of bindings for IDL types. |
---|
42 | */ |
---|
43 | |
---|
44 | /* A procedure to create the LuDjvuDocument Class */ |
---|
45 | SOMEXTERN SOMClass * SOMLINK LuDjvuDocumentNewClass( |
---|
46 | integer4 majorVersion, |
---|
47 | integer4 minorVersion); |
---|
48 | |
---|
49 | /* The API to the LuDjvuDocument class object, and the methods it introduces. */ |
---|
50 | SOMEXTERNS struct LuDjvuDocumentClassDataStructure { |
---|
51 | SOMClass *classObject; |
---|
52 | } SOMDLINK LuDjvuDocumentClassData; |
---|
53 | #define _LuDjvuDocument LuDjvuDocumentClassData.classObject |
---|
54 | |
---|
55 | /* The API to parentMtabs for LuDjvuDocument, and the instance data it introduces. */ |
---|
56 | SOMEXTERNS struct LuDjvuDocumentCClassDataStructure { |
---|
57 | somMethodTabs parentMtab; |
---|
58 | somDToken instanceDataToken; |
---|
59 | } SOMDLINK LuDjvuDocumentCClassData; |
---|
60 | |
---|
61 | /* |
---|
62 | * -- Typedefs for LuDjvuDocument Method Procedures |
---|
63 | */ |
---|
64 | SOMEXTERN { |
---|
65 | |
---|
66 | /* |
---|
67 | * -- Typedefs for Reintroduced Wrapper Methods |
---|
68 | */ |
---|
69 | typedef boolean SOMLINK somTP_LuDjvuDocument_loadFile(LuDjvuDocument *somSelf, Environment *ev, |
---|
70 | string filename, |
---|
71 | string password, |
---|
72 | string* error); |
---|
73 | typedef somTP_LuDjvuDocument_loadFile *somTD_LuDjvuDocument_loadFile; |
---|
74 | typedef short SOMLINK somTP_LuDjvuDocument_getBpp(LuDjvuDocument *somSelf, Environment *ev); |
---|
75 | typedef somTP_LuDjvuDocument_getBpp *somTD_LuDjvuDocument_getBpp; |
---|
76 | typedef boolean SOMLINK somTP_LuDjvuDocument_isScalable(LuDjvuDocument *somSelf, Environment *ev); |
---|
77 | typedef somTP_LuDjvuDocument_isScalable *somTD_LuDjvuDocument_isScalable; |
---|
78 | typedef boolean SOMLINK somTP_LuDjvuDocument_isFixedImage(LuDjvuDocument *somSelf, Environment *ev); |
---|
79 | typedef somTP_LuDjvuDocument_isFixedImage *somTD_LuDjvuDocument_isFixedImage; |
---|
80 | typedef boolean SOMLINK somTP_LuDjvuDocument_isRotable(LuDjvuDocument *somSelf, Environment *ev); |
---|
81 | typedef somTP_LuDjvuDocument_isRotable *somTD_LuDjvuDocument_isRotable; |
---|
82 | typedef long SOMLINK somTP_LuDjvuDocument_getPageCount(LuDjvuDocument *somSelf, Environment *ev); |
---|
83 | typedef somTP_LuDjvuDocument_getPageCount *somTD_LuDjvuDocument_getPageCount; |
---|
84 | typedef void SOMLINK somTP_LuDjvuDocument_getPageSize(LuDjvuDocument *somSelf, Environment *ev, |
---|
85 | long pagenum, |
---|
86 | double* width, |
---|
87 | double* height); |
---|
88 | typedef somTP_LuDjvuDocument_getPageSize *somTD_LuDjvuDocument_getPageSize; |
---|
89 | typedef void SOMLINK somTP_LuDjvuDocument_renderPageToPixbuf(LuDjvuDocument *somSelf, Environment *ev, |
---|
90 | long pagenum, |
---|
91 | long src_x, |
---|
92 | long src_y, |
---|
93 | long src_width, |
---|
94 | long src_height, |
---|
95 | double scale, |
---|
96 | long rotation, |
---|
97 | LuPixbuf* pixbuf); |
---|
98 | typedef somTP_LuDjvuDocument_renderPageToPixbuf *somTD_LuDjvuDocument_renderPageToPixbuf; |
---|
99 | typedef boolean SOMLINK somTP_LuDjvuDocument_isAsynchRenderingSupported(LuDjvuDocument *somSelf, Environment *ev); |
---|
100 | typedef somTP_LuDjvuDocument_isAsynchRenderingSupported *somTD_LuDjvuDocument_isAsynchRenderingSupported; |
---|
101 | typedef void SOMLINK somTP_LuDjvuDocument_renderPageToPixbufAsynch(LuDjvuDocument *somSelf, Environment *ev, |
---|
102 | long pagenum, |
---|
103 | long src_x, |
---|
104 | long src_y, |
---|
105 | long src_width, |
---|
106 | long src_height, |
---|
107 | double scale, |
---|
108 | long rotation, |
---|
109 | LuPixbuf* pixbuf, |
---|
110 | LuDocument_asynchCallbackFn fnd, |
---|
111 | LuDocument_asynchCallbackFn fna, |
---|
112 | somToken fndata); |
---|
113 | typedef somTP_LuDjvuDocument_renderPageToPixbufAsynch *somTD_LuDjvuDocument_renderPageToPixbufAsynch; |
---|
114 | typedef boolean SOMLINK somTP_LuDjvuDocument_isRenderIntoPS(LuDjvuDocument *somSelf, Environment *ev); |
---|
115 | typedef somTP_LuDjvuDocument_isRenderIntoPS *somTD_LuDjvuDocument_isRenderIntoPS; |
---|
116 | typedef void SOMLINK somTP_LuDjvuDocument_renderPageToPS(LuDjvuDocument *somSelf, Environment *ev, |
---|
117 | long pagenum, |
---|
118 | long src_x, |
---|
119 | long src_y, |
---|
120 | long src_width, |
---|
121 | long src_height, |
---|
122 | double scale, |
---|
123 | long rotation, |
---|
124 | unsigned long hps, |
---|
125 | somMToken rect); |
---|
126 | typedef somTP_LuDjvuDocument_renderPageToPS *somTD_LuDjvuDocument_renderPageToPS; |
---|
127 | typedef boolean SOMLINK somTP_LuDjvuDocument_isHaveText(LuDjvuDocument *somSelf, Environment *ev); |
---|
128 | typedef somTP_LuDjvuDocument_isHaveText *somTD_LuDjvuDocument_isHaveText; |
---|
129 | typedef LuDocument_LuRectSequence* SOMLINK somTP_LuDjvuDocument_getSelectionRectangles(LuDjvuDocument *somSelf, Environment *ev, |
---|
130 | long pagenum, |
---|
131 | LuRectangle* selection); |
---|
132 | typedef somTP_LuDjvuDocument_getSelectionRectangles *somTD_LuDjvuDocument_getSelectionRectangles; |
---|
133 | typedef void SOMLINK somTP_LuDjvuDocument_freeRectangles(Environment *ev, |
---|
134 | LuDocument_LuRectSequence* rectangles); |
---|
135 | typedef somTP_LuDjvuDocument_freeRectangles *somTD_LuDjvuDocument_freeRectangles; |
---|
136 | typedef string SOMLINK somTP_LuDjvuDocument_getText(LuDjvuDocument *somSelf, Environment *ev, |
---|
137 | long pagenum, |
---|
138 | LuRectangle* selection); |
---|
139 | typedef somTP_LuDjvuDocument_getText *somTD_LuDjvuDocument_getText; |
---|
140 | typedef boolean SOMLINK somTP_LuDjvuDocument_isHaveLinks(LuDjvuDocument *somSelf, Environment *ev); |
---|
141 | typedef somTP_LuDjvuDocument_isHaveLinks *somTD_LuDjvuDocument_isHaveLinks; |
---|
142 | typedef LuDocument_LuLinkMapSequence* SOMLINK somTP_LuDjvuDocument_getLinkMapping(LuDjvuDocument *somSelf, Environment *ev, |
---|
143 | long pagenum); |
---|
144 | typedef somTP_LuDjvuDocument_getLinkMapping *somTD_LuDjvuDocument_getLinkMapping; |
---|
145 | typedef void SOMLINK somTP_LuDjvuDocument_freeLinkMapping(Environment *ev, |
---|
146 | LuDocument_LuLinkMapSequence* mapping); |
---|
147 | typedef somTP_LuDjvuDocument_freeLinkMapping *somTD_LuDjvuDocument_freeLinkMapping; |
---|
148 | typedef boolean SOMLINK somTP_LuDjvuDocument_isSaveable(LuDjvuDocument *somSelf, Environment *ev); |
---|
149 | typedef somTP_LuDjvuDocument_isSaveable *somTD_LuDjvuDocument_isSaveable; |
---|
150 | typedef boolean SOMLINK somTP_LuDjvuDocument_saveAs(LuDjvuDocument *somSelf, Environment *ev, |
---|
151 | string filename); |
---|
152 | typedef somTP_LuDjvuDocument_saveAs *somTD_LuDjvuDocument_saveAs; |
---|
153 | typedef boolean SOMLINK somTP_LuDjvuDocument_isPostScriptExportable(LuDjvuDocument *somSelf, Environment *ev); |
---|
154 | typedef somTP_LuDjvuDocument_isPostScriptExportable *somTD_LuDjvuDocument_isPostScriptExportable; |
---|
155 | typedef boolean SOMLINK somTP_LuDjvuDocument_exportToPostScript(LuDjvuDocument *somSelf, Environment *ev, |
---|
156 | string filename, |
---|
157 | long first_page, |
---|
158 | long last_page, |
---|
159 | double width, |
---|
160 | double height, |
---|
161 | boolean* brkExport); |
---|
162 | typedef somTP_LuDjvuDocument_exportToPostScript *somTD_LuDjvuDocument_exportToPostScript; |
---|
163 | typedef boolean SOMLINK somTP_LuDjvuDocument_isHaveFontInfo(LuDjvuDocument *somSelf, Environment *ev); |
---|
164 | typedef somTP_LuDjvuDocument_isHaveFontInfo *somTD_LuDjvuDocument_isHaveFontInfo; |
---|
165 | typedef LuDocument_LuFontInfoSequence* SOMLINK somTP_LuDjvuDocument_getFontInfo(LuDjvuDocument *somSelf, Environment *ev); |
---|
166 | typedef somTP_LuDjvuDocument_getFontInfo *somTD_LuDjvuDocument_getFontInfo; |
---|
167 | typedef void SOMLINK somTP_LuDjvuDocument_freeFontInfo(Environment *ev, |
---|
168 | LuDocument_LuFontInfoSequence* fonts); |
---|
169 | typedef somTP_LuDjvuDocument_freeFontInfo *somTD_LuDjvuDocument_freeFontInfo; |
---|
170 | typedef boolean SOMLINK somTP_LuDjvuDocument_isHaveIndex(LuDjvuDocument *somSelf, Environment *ev); |
---|
171 | typedef somTP_LuDjvuDocument_isHaveIndex *somTD_LuDjvuDocument_isHaveIndex; |
---|
172 | typedef LuIndexNode* SOMLINK somTP_LuDjvuDocument_getIndex(LuDjvuDocument *somSelf, Environment *ev); |
---|
173 | typedef somTP_LuDjvuDocument_getIndex *somTD_LuDjvuDocument_getIndex; |
---|
174 | typedef LuDocumentInfo* SOMLINK somTP_LuDjvuDocument_getDocumentInfo(LuDjvuDocument *somSelf, Environment *ev); |
---|
175 | typedef somTP_LuDjvuDocument_getDocumentInfo *somTD_LuDjvuDocument_getDocumentInfo; |
---|
176 | typedef void SOMLINK somTP_LuDjvuDocument_freeDocumentInfo(Environment *ev, |
---|
177 | LuDocumentInfo* info); |
---|
178 | typedef somTP_LuDjvuDocument_freeDocumentInfo *somTD_LuDjvuDocument_freeDocumentInfo; |
---|
179 | typedef boolean SOMLINK somTP_LuDjvuDocument_getThumbnailSize(LuDjvuDocument *somSelf, Environment *ev, |
---|
180 | long pagenum, |
---|
181 | short suggested_width, |
---|
182 | short* width, |
---|
183 | short* height); |
---|
184 | typedef somTP_LuDjvuDocument_getThumbnailSize *somTD_LuDjvuDocument_getThumbnailSize; |
---|
185 | typedef LuPixbuf* SOMLINK somTP_LuDjvuDocument_getThumbnail(LuDjvuDocument *somSelf, Environment *ev, |
---|
186 | long pagenum, |
---|
187 | short suggested_width); |
---|
188 | typedef somTP_LuDjvuDocument_getThumbnail *somTD_LuDjvuDocument_getThumbnail; |
---|
189 | typedef LuDocument_LuRectSequence* SOMLINK somTP_LuDjvuDocument_searchText(LuDjvuDocument *somSelf, Environment *ev, |
---|
190 | long pagenum, |
---|
191 | string text, |
---|
192 | boolean caseSensitive); |
---|
193 | typedef somTP_LuDjvuDocument_searchText *somTD_LuDjvuDocument_searchText; |
---|
194 | typedef void SOMLINK somTP_LuDjvuDocument_somDefaultInit(LuDjvuDocument *somSelf, |
---|
195 | som3InitCtrl* ctrl); |
---|
196 | typedef somTP_LuDjvuDocument_somDefaultInit *somTD_LuDjvuDocument_somDefaultInit; |
---|
197 | typedef void SOMLINK somTP_LuDjvuDocument_somDestruct(LuDjvuDocument *somSelf, |
---|
198 | octet doFree, |
---|
199 | som3DestructCtrl* ctrl); |
---|
200 | typedef somTP_LuDjvuDocument_somDestruct *somTD_LuDjvuDocument_somDestruct; |
---|
201 | typedef void SOMLINK somTP_LuDjvuDocument_somDefaultCopyInit(LuDjvuDocument *somSelf, |
---|
202 | som3InitCtrl* ctrl, |
---|
203 | SOMObject* fromObj); |
---|
204 | typedef somTP_LuDjvuDocument_somDefaultCopyInit *somTD_LuDjvuDocument_somDefaultCopyInit; |
---|
205 | typedef LuDjvuDocument* SOMLINK somTP_LuDjvuDocument_somDefaultAssign(LuDjvuDocument *somSelf, |
---|
206 | som3AssignCtrl* ctrl, |
---|
207 | SOMObject* fromObj); |
---|
208 | typedef somTP_LuDjvuDocument_somDefaultAssign *somTD_LuDjvuDocument_somDefaultAssign; |
---|
209 | typedef void SOMLINK somTP_LuDjvuDocument_somDefaultConstCopyInit(LuDjvuDocument *somSelf, |
---|
210 | som3InitCtrl* ctrl, |
---|
211 | SOMObject* fromObj); |
---|
212 | typedef somTP_LuDjvuDocument_somDefaultConstCopyInit *somTD_LuDjvuDocument_somDefaultConstCopyInit; |
---|
213 | typedef void SOMLINK somTP_LuDjvuDocument_somDefaultVCopyInit(LuDjvuDocument *somSelf, |
---|
214 | som3InitCtrl* ctrl, |
---|
215 | SOMObject* fromObj); |
---|
216 | typedef somTP_LuDjvuDocument_somDefaultVCopyInit *somTD_LuDjvuDocument_somDefaultVCopyInit; |
---|
217 | typedef void SOMLINK somTP_LuDjvuDocument_somDefaultConstVCopyInit(LuDjvuDocument *somSelf, |
---|
218 | som3InitCtrl* ctrl, |
---|
219 | SOMObject* fromObj); |
---|
220 | typedef somTP_LuDjvuDocument_somDefaultConstVCopyInit *somTD_LuDjvuDocument_somDefaultConstVCopyInit; |
---|
221 | typedef LuDjvuDocument* SOMLINK somTP_LuDjvuDocument_somDefaultConstAssign(LuDjvuDocument *somSelf, |
---|
222 | som3AssignCtrl* ctrl, |
---|
223 | SOMObject* fromObj); |
---|
224 | typedef somTP_LuDjvuDocument_somDefaultConstAssign *somTD_LuDjvuDocument_somDefaultConstAssign; |
---|
225 | typedef LuDjvuDocument* SOMLINK somTP_LuDjvuDocument_somDefaultVAssign(LuDjvuDocument *somSelf, |
---|
226 | som3AssignCtrl* ctrl, |
---|
227 | SOMObject* fromObj); |
---|
228 | typedef somTP_LuDjvuDocument_somDefaultVAssign *somTD_LuDjvuDocument_somDefaultVAssign; |
---|
229 | typedef LuDjvuDocument* SOMLINK somTP_LuDjvuDocument_somDefaultConstVAssign(LuDjvuDocument *somSelf, |
---|
230 | som3AssignCtrl* ctrl, |
---|
231 | SOMObject* fromObj); |
---|
232 | typedef somTP_LuDjvuDocument_somDefaultConstVAssign *somTD_LuDjvuDocument_somDefaultConstVAssign; |
---|
233 | typedef void SOMLINK somTP_LuDjvuDocument_somInit(LuDjvuDocument *somSelf); |
---|
234 | typedef somTP_LuDjvuDocument_somInit *somTD_LuDjvuDocument_somInit; |
---|
235 | typedef void SOMLINK somTP_LuDjvuDocument_somFree(LuDjvuDocument *somSelf); |
---|
236 | typedef somTP_LuDjvuDocument_somFree *somTD_LuDjvuDocument_somFree; |
---|
237 | typedef void SOMLINK somTP_LuDjvuDocument_somUninit(LuDjvuDocument *somSelf); |
---|
238 | typedef somTP_LuDjvuDocument_somUninit *somTD_LuDjvuDocument_somUninit; |
---|
239 | typedef SOMClass* SOMLINK somTP_LuDjvuDocument_somGetClass(LuDjvuDocument *somSelf); |
---|
240 | typedef somTP_LuDjvuDocument_somGetClass *somTD_LuDjvuDocument_somGetClass; |
---|
241 | typedef string SOMLINK somTP_LuDjvuDocument_somGetClassName(LuDjvuDocument *somSelf); |
---|
242 | typedef somTP_LuDjvuDocument_somGetClassName *somTD_LuDjvuDocument_somGetClassName; |
---|
243 | typedef long SOMLINK somTP_LuDjvuDocument_somGetSize(LuDjvuDocument *somSelf); |
---|
244 | typedef somTP_LuDjvuDocument_somGetSize *somTD_LuDjvuDocument_somGetSize; |
---|
245 | typedef boolean SOMLINK somTP_LuDjvuDocument_somIsA(LuDjvuDocument *somSelf, |
---|
246 | SOMClass* aClassObj); |
---|
247 | typedef somTP_LuDjvuDocument_somIsA *somTD_LuDjvuDocument_somIsA; |
---|
248 | typedef boolean SOMLINK somTP_LuDjvuDocument_somIsInstanceOf(LuDjvuDocument *somSelf, |
---|
249 | SOMClass* aClassObj); |
---|
250 | typedef somTP_LuDjvuDocument_somIsInstanceOf *somTD_LuDjvuDocument_somIsInstanceOf; |
---|
251 | typedef boolean SOMLINK somTP_LuDjvuDocument_somRespondsTo(LuDjvuDocument *somSelf, |
---|
252 | somId mId); |
---|
253 | typedef somTP_LuDjvuDocument_somRespondsTo *somTD_LuDjvuDocument_somRespondsTo; |
---|
254 | typedef boolean SOMLINK somTP_LuDjvuDocument_somDispatch(LuDjvuDocument *somSelf, |
---|
255 | somToken* retValue, |
---|
256 | somId methodId, |
---|
257 | va_list ap); |
---|
258 | typedef somTP_LuDjvuDocument_somDispatch *somTD_LuDjvuDocument_somDispatch; |
---|
259 | typedef boolean SOMLINK somTP_LuDjvuDocument_somClassDispatch(LuDjvuDocument *somSelf, |
---|
260 | SOMClass* clsObj, |
---|
261 | somToken* retValue, |
---|
262 | somId methodId, |
---|
263 | va_list ap); |
---|
264 | typedef somTP_LuDjvuDocument_somClassDispatch *somTD_LuDjvuDocument_somClassDispatch; |
---|
265 | typedef boolean SOMLINK somTP_LuDjvuDocument_somCastObj(LuDjvuDocument *somSelf, |
---|
266 | SOMClass* cls); |
---|
267 | typedef somTP_LuDjvuDocument_somCastObj *somTD_LuDjvuDocument_somCastObj; |
---|
268 | typedef boolean SOMLINK somTP_LuDjvuDocument_somResetObj(LuDjvuDocument *somSelf); |
---|
269 | typedef somTP_LuDjvuDocument_somResetObj *somTD_LuDjvuDocument_somResetObj; |
---|
270 | typedef void SOMLINK somTP_LuDjvuDocument_somDispatchV(LuDjvuDocument *somSelf, |
---|
271 | somId methodId, |
---|
272 | somId descriptor, |
---|
273 | va_list ap); |
---|
274 | typedef somTP_LuDjvuDocument_somDispatchV *somTD_LuDjvuDocument_somDispatchV; |
---|
275 | typedef long SOMLINK somTP_LuDjvuDocument_somDispatchL(LuDjvuDocument *somSelf, |
---|
276 | somId methodId, |
---|
277 | somId descriptor, |
---|
278 | va_list ap); |
---|
279 | typedef somTP_LuDjvuDocument_somDispatchL *somTD_LuDjvuDocument_somDispatchL; |
---|
280 | typedef void* SOMLINK somTP_LuDjvuDocument_somDispatchA(LuDjvuDocument *somSelf, |
---|
281 | somId methodId, |
---|
282 | somId descriptor, |
---|
283 | va_list ap); |
---|
284 | typedef somTP_LuDjvuDocument_somDispatchA *somTD_LuDjvuDocument_somDispatchA; |
---|
285 | typedef double SOMLINK somTP_LuDjvuDocument_somDispatchD(LuDjvuDocument *somSelf, |
---|
286 | somId methodId, |
---|
287 | somId descriptor, |
---|
288 | va_list ap); |
---|
289 | typedef somTP_LuDjvuDocument_somDispatchD *somTD_LuDjvuDocument_somDispatchD; |
---|
290 | typedef SOMObject* SOMLINK somTP_LuDjvuDocument_somPrintSelf(LuDjvuDocument *somSelf); |
---|
291 | typedef somTP_LuDjvuDocument_somPrintSelf *somTD_LuDjvuDocument_somPrintSelf; |
---|
292 | typedef void SOMLINK somTP_LuDjvuDocument_somDumpSelf(LuDjvuDocument *somSelf, |
---|
293 | long level); |
---|
294 | typedef somTP_LuDjvuDocument_somDumpSelf *somTD_LuDjvuDocument_somDumpSelf; |
---|
295 | typedef void SOMLINK somTP_LuDjvuDocument_somDumpSelfInt(LuDjvuDocument *somSelf, |
---|
296 | long level); |
---|
297 | typedef somTP_LuDjvuDocument_somDumpSelfInt *somTD_LuDjvuDocument_somDumpSelfInt; |
---|
298 | } |
---|
299 | |
---|
300 | #endif /* LuDjvuDocument_API */ |
---|
301 | |
---|
302 | |
---|
303 | /* |
---|
304 | * -- This emitter treats Method Tokens as Thunks by default. |
---|
305 | * -- Use the sc modifier "nothunks" to change this default |
---|
306 | */ |
---|
307 | #undef somresolve_ |
---|
308 | #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken)) |
---|
309 | |
---|
310 | /* |
---|
311 | * -- The C++ Wrapper Class for LuDjvuDocument |
---|
312 | */ |
---|
313 | class LuDjvuDocument : public LuDocument |
---|
314 | { |
---|
315 | public: |
---|
316 | |
---|
317 | // LuDjvuDocument::new creates the class object if necessary, and then uses somNewNoInit |
---|
318 | // to allocate memory and create the object. Initialization is in ctors. |
---|
319 | void *operator new(size_t) |
---|
320 | { |
---|
321 | if (!_LuDjvuDocument) LuDjvuDocumentNewClass(LuDjvuDocument_MajorVersion,LuDjvuDocument_MinorVersion); |
---|
322 | return (void*) |
---|
323 | SOM_Resolve(_LuDjvuDocument,SOMClass,somNewNoInit) |
---|
324 | ((SOMClass *)((void*)_LuDjvuDocument)); |
---|
325 | } |
---|
326 | |
---|
327 | // LuDjvuDocument::delete uses somDestruct. |
---|
328 | void operator delete(void * obj) |
---|
329 | { |
---|
330 | if (obj && *(void**)obj) { |
---|
331 | SOM_Resolve(obj,SOMObject,somFree) |
---|
332 | ((SOMObject*)obj); |
---|
333 | } |
---|
334 | } |
---|
335 | |
---|
336 | LuDjvuDocument& operator=(LuDjvuDocument& fromObj) |
---|
337 | { |
---|
338 | this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj)); |
---|
339 | return *this; |
---|
340 | } |
---|
341 | |
---|
342 | LuDjvuDocument() |
---|
343 | { |
---|
344 | if (*(void**)this != |
---|
345 | ((somParentMtabStructPtr) |
---|
346 | (LuDjvuDocumentCClassData.parentMtab))->mtab) |
---|
347 | return; |
---|
348 | ((SOMObject*)((void*)this))->somDefaultInit(0); |
---|
349 | } |
---|
350 | |
---|
351 | LuDjvuDocument(LuDjvuDocument* fromObj) |
---|
352 | { |
---|
353 | if (*(void**)this != |
---|
354 | ((somParentMtabStructPtr) |
---|
355 | (LuDjvuDocumentCClassData.parentMtab))->mtab) |
---|
356 | return; |
---|
357 | ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj))); |
---|
358 | } |
---|
359 | |
---|
360 | #ifdef __IBMCPP__ |
---|
361 | #pragma info(nocnv,nopar) |
---|
362 | #endif |
---|
363 | LuDjvuDocument(const LuDjvuDocument* fromObj) |
---|
364 | { |
---|
365 | if (*(void**)this != |
---|
366 | ((somParentMtabStructPtr) |
---|
367 | (LuDjvuDocumentCClassData.parentMtab))->mtab) |
---|
368 | return; |
---|
369 | ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj))); |
---|
370 | } |
---|
371 | #ifdef __IBMCPP__ |
---|
372 | #pragma info(restore) |
---|
373 | #endif |
---|
374 | |
---|
375 | |
---|
376 | /* |
---|
377 | * Reintroduce inherited methods |
---|
378 | */ |
---|
379 | |
---|
380 | /* method: loadFile */ |
---|
381 | boolean loadFile(Environment *ev, |
---|
382 | string filename, |
---|
383 | string password, |
---|
384 | string* error) |
---|
385 | { |
---|
386 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,loadFile) |
---|
387 | (this, ev,filename,password,error); |
---|
388 | } |
---|
389 | |
---|
390 | |
---|
391 | /* method: getBpp */ |
---|
392 | short getBpp(Environment *ev) |
---|
393 | { |
---|
394 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getBpp) |
---|
395 | (this, ev); |
---|
396 | } |
---|
397 | |
---|
398 | |
---|
399 | /* method: isScalable */ |
---|
400 | boolean isScalable(Environment *ev) |
---|
401 | { |
---|
402 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isScalable) |
---|
403 | (this, ev); |
---|
404 | } |
---|
405 | |
---|
406 | |
---|
407 | /* method: isFixedImage */ |
---|
408 | boolean isFixedImage(Environment *ev) |
---|
409 | { |
---|
410 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isFixedImage) |
---|
411 | (this, ev); |
---|
412 | } |
---|
413 | |
---|
414 | |
---|
415 | /* method: isRotable */ |
---|
416 | boolean isRotable(Environment *ev) |
---|
417 | { |
---|
418 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isRotable) |
---|
419 | (this, ev); |
---|
420 | } |
---|
421 | |
---|
422 | |
---|
423 | /* method: getPageCount */ |
---|
424 | long getPageCount(Environment *ev) |
---|
425 | { |
---|
426 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getPageCount) |
---|
427 | (this, ev); |
---|
428 | } |
---|
429 | |
---|
430 | |
---|
431 | /* method: getPageSize */ |
---|
432 | void getPageSize(Environment *ev, |
---|
433 | long pagenum, |
---|
434 | double* width, |
---|
435 | double* height) |
---|
436 | { |
---|
437 | SOM_ResolveD(this,LuDjvuDocument,LuDocument,getPageSize) |
---|
438 | (this, ev,pagenum,width,height); |
---|
439 | } |
---|
440 | |
---|
441 | |
---|
442 | /* method: renderPageToPixbuf */ |
---|
443 | void renderPageToPixbuf(Environment *ev, |
---|
444 | long pagenum, |
---|
445 | long src_x, |
---|
446 | long src_y, |
---|
447 | long src_width, |
---|
448 | long src_height, |
---|
449 | double scale, |
---|
450 | long rotation, |
---|
451 | LuPixbuf* pixbuf) |
---|
452 | { |
---|
453 | SOM_ResolveD(this,LuDjvuDocument,LuDocument,renderPageToPixbuf) |
---|
454 | (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf); |
---|
455 | } |
---|
456 | |
---|
457 | |
---|
458 | /* method: isAsynchRenderingSupported */ |
---|
459 | boolean isAsynchRenderingSupported(Environment *ev) |
---|
460 | { |
---|
461 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isAsynchRenderingSupported) |
---|
462 | (this, ev); |
---|
463 | } |
---|
464 | |
---|
465 | |
---|
466 | /* method: renderPageToPixbufAsynch */ |
---|
467 | void renderPageToPixbufAsynch(Environment *ev, |
---|
468 | long pagenum, |
---|
469 | long src_x, |
---|
470 | long src_y, |
---|
471 | long src_width, |
---|
472 | long src_height, |
---|
473 | double scale, |
---|
474 | long rotation, |
---|
475 | LuPixbuf* pixbuf, |
---|
476 | LuDocument_asynchCallbackFn fnd, |
---|
477 | LuDocument_asynchCallbackFn fna, |
---|
478 | somToken fndata) |
---|
479 | { |
---|
480 | SOM_ResolveD(this,LuDjvuDocument,LuDocument,renderPageToPixbufAsynch) |
---|
481 | (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,fnd,fna,fndata); |
---|
482 | } |
---|
483 | |
---|
484 | |
---|
485 | /* method: isRenderIntoPS */ |
---|
486 | boolean isRenderIntoPS(Environment *ev) |
---|
487 | { |
---|
488 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isRenderIntoPS) |
---|
489 | (this, ev); |
---|
490 | } |
---|
491 | |
---|
492 | |
---|
493 | /* method: renderPageToPS */ |
---|
494 | void renderPageToPS(Environment *ev, |
---|
495 | long pagenum, |
---|
496 | long src_x, |
---|
497 | long src_y, |
---|
498 | long src_width, |
---|
499 | long src_height, |
---|
500 | double scale, |
---|
501 | long rotation, |
---|
502 | unsigned long hps, |
---|
503 | somMToken rect) |
---|
504 | { |
---|
505 | SOM_ResolveD(this,LuDjvuDocument,LuDocument,renderPageToPS) |
---|
506 | (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,hps,rect); |
---|
507 | } |
---|
508 | |
---|
509 | |
---|
510 | /* method: isHaveText */ |
---|
511 | boolean isHaveText(Environment *ev) |
---|
512 | { |
---|
513 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isHaveText) |
---|
514 | (this, ev); |
---|
515 | } |
---|
516 | |
---|
517 | |
---|
518 | /* method: getSelectionRectangles */ |
---|
519 | LuDocument_LuRectSequence* getSelectionRectangles(Environment *ev, |
---|
520 | long pagenum, |
---|
521 | LuRectangle* selection) |
---|
522 | { |
---|
523 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getSelectionRectangles) |
---|
524 | (this, ev,pagenum,selection); |
---|
525 | } |
---|
526 | |
---|
527 | |
---|
528 | /* noself procedure: freeRectangles */ |
---|
529 | static void freeRectangles(Environment *ev, |
---|
530 | LuDocument_LuRectSequence* rectangles) |
---|
531 | { |
---|
532 | ((somTD_LuDjvuDocument_freeRectangles)LuDocumentClassData.freeRectangles) |
---|
533 | ( ev,rectangles); |
---|
534 | } |
---|
535 | |
---|
536 | |
---|
537 | /* method: getText */ |
---|
538 | string getText(Environment *ev, |
---|
539 | long pagenum, |
---|
540 | LuRectangle* selection) |
---|
541 | { |
---|
542 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getText) |
---|
543 | (this, ev,pagenum,selection); |
---|
544 | } |
---|
545 | |
---|
546 | |
---|
547 | /* method: isHaveLinks */ |
---|
548 | boolean isHaveLinks(Environment *ev) |
---|
549 | { |
---|
550 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isHaveLinks) |
---|
551 | (this, ev); |
---|
552 | } |
---|
553 | |
---|
554 | |
---|
555 | /* method: getLinkMapping */ |
---|
556 | LuDocument_LuLinkMapSequence* getLinkMapping(Environment *ev, |
---|
557 | long pagenum) |
---|
558 | { |
---|
559 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getLinkMapping) |
---|
560 | (this, ev,pagenum); |
---|
561 | } |
---|
562 | |
---|
563 | |
---|
564 | /* noself procedure: freeLinkMapping */ |
---|
565 | static void freeLinkMapping(Environment *ev, |
---|
566 | LuDocument_LuLinkMapSequence* mapping) |
---|
567 | { |
---|
568 | ((somTD_LuDjvuDocument_freeLinkMapping)LuDocumentClassData.freeLinkMapping) |
---|
569 | ( ev,mapping); |
---|
570 | } |
---|
571 | |
---|
572 | |
---|
573 | /* method: isSaveable */ |
---|
574 | boolean isSaveable(Environment *ev) |
---|
575 | { |
---|
576 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isSaveable) |
---|
577 | (this, ev); |
---|
578 | } |
---|
579 | |
---|
580 | |
---|
581 | /* method: saveAs */ |
---|
582 | boolean saveAs(Environment *ev, |
---|
583 | string filename) |
---|
584 | { |
---|
585 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,saveAs) |
---|
586 | (this, ev,filename); |
---|
587 | } |
---|
588 | |
---|
589 | |
---|
590 | /* method: isPostScriptExportable */ |
---|
591 | boolean isPostScriptExportable(Environment *ev) |
---|
592 | { |
---|
593 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isPostScriptExportable) |
---|
594 | (this, ev); |
---|
595 | } |
---|
596 | |
---|
597 | |
---|
598 | /* method: exportToPostScript */ |
---|
599 | boolean exportToPostScript(Environment *ev, |
---|
600 | string filename, |
---|
601 | long first_page, |
---|
602 | long last_page, |
---|
603 | double width, |
---|
604 | double height, |
---|
605 | boolean* brkExport) |
---|
606 | { |
---|
607 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,exportToPostScript) |
---|
608 | (this, ev,filename,first_page,last_page,width,height,brkExport); |
---|
609 | } |
---|
610 | |
---|
611 | |
---|
612 | /* method: isHaveFontInfo */ |
---|
613 | boolean isHaveFontInfo(Environment *ev) |
---|
614 | { |
---|
615 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isHaveFontInfo) |
---|
616 | (this, ev); |
---|
617 | } |
---|
618 | |
---|
619 | |
---|
620 | /* method: getFontInfo */ |
---|
621 | LuDocument_LuFontInfoSequence* getFontInfo(Environment *ev) |
---|
622 | { |
---|
623 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getFontInfo) |
---|
624 | (this, ev); |
---|
625 | } |
---|
626 | |
---|
627 | |
---|
628 | /* noself procedure: freeFontInfo */ |
---|
629 | static void freeFontInfo(Environment *ev, |
---|
630 | LuDocument_LuFontInfoSequence* fonts) |
---|
631 | { |
---|
632 | ((somTD_LuDjvuDocument_freeFontInfo)LuDocumentClassData.freeFontInfo) |
---|
633 | ( ev,fonts); |
---|
634 | } |
---|
635 | |
---|
636 | |
---|
637 | /* method: isHaveIndex */ |
---|
638 | boolean isHaveIndex(Environment *ev) |
---|
639 | { |
---|
640 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,isHaveIndex) |
---|
641 | (this, ev); |
---|
642 | } |
---|
643 | |
---|
644 | |
---|
645 | /* method: getIndex */ |
---|
646 | LuIndexNode* getIndex(Environment *ev) |
---|
647 | { |
---|
648 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getIndex) |
---|
649 | (this, ev); |
---|
650 | } |
---|
651 | |
---|
652 | |
---|
653 | /* method: getDocumentInfo */ |
---|
654 | LuDocumentInfo* getDocumentInfo(Environment *ev) |
---|
655 | { |
---|
656 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getDocumentInfo) |
---|
657 | (this, ev); |
---|
658 | } |
---|
659 | |
---|
660 | |
---|
661 | /* noself procedure: freeDocumentInfo */ |
---|
662 | static void freeDocumentInfo(Environment *ev, |
---|
663 | LuDocumentInfo* info) |
---|
664 | { |
---|
665 | ((somTD_LuDjvuDocument_freeDocumentInfo)LuDocumentClassData.freeDocumentInfo) |
---|
666 | ( ev,info); |
---|
667 | } |
---|
668 | |
---|
669 | |
---|
670 | /* method: getThumbnailSize */ |
---|
671 | boolean getThumbnailSize(Environment *ev, |
---|
672 | long pagenum, |
---|
673 | short suggested_width, |
---|
674 | short* width, |
---|
675 | short* height) |
---|
676 | { |
---|
677 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getThumbnailSize) |
---|
678 | (this, ev,pagenum,suggested_width,width,height); |
---|
679 | } |
---|
680 | |
---|
681 | |
---|
682 | /* method: getThumbnail */ |
---|
683 | LuPixbuf* getThumbnail(Environment *ev, |
---|
684 | long pagenum, |
---|
685 | short suggested_width) |
---|
686 | { |
---|
687 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,getThumbnail) |
---|
688 | (this, ev,pagenum,suggested_width); |
---|
689 | } |
---|
690 | |
---|
691 | |
---|
692 | /* method: searchText */ |
---|
693 | LuDocument_LuRectSequence* searchText(Environment *ev, |
---|
694 | long pagenum, |
---|
695 | string text, |
---|
696 | boolean caseSensitive) |
---|
697 | { |
---|
698 | return SOM_ResolveD(this,LuDjvuDocument,LuDocument,searchText) |
---|
699 | (this, ev,pagenum,text,caseSensitive); |
---|
700 | } |
---|
701 | |
---|
702 | |
---|
703 | /* initializer method: somDefaultInit */ |
---|
704 | void somDefaultInit(som3InitCtrl* ctrl) |
---|
705 | { |
---|
706 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultInit) |
---|
707 | (this,ctrl); |
---|
708 | } |
---|
709 | |
---|
710 | |
---|
711 | /* method: somDestruct */ |
---|
712 | void somDestruct(octet doFree, |
---|
713 | som3DestructCtrl* ctrl) |
---|
714 | { |
---|
715 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDestruct) |
---|
716 | (this,doFree,ctrl); |
---|
717 | } |
---|
718 | |
---|
719 | |
---|
720 | /* initializer method: somDefaultCopyInit */ |
---|
721 | void somDefaultCopyInit(som3InitCtrl* ctrl, |
---|
722 | SOMObject* fromObj) |
---|
723 | { |
---|
724 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultCopyInit) |
---|
725 | (this,ctrl,fromObj); |
---|
726 | } |
---|
727 | |
---|
728 | |
---|
729 | /* method: somDefaultAssign */ |
---|
730 | LuDjvuDocument* somDefaultAssign(som3AssignCtrl* ctrl, |
---|
731 | SOMObject* fromObj) |
---|
732 | { |
---|
733 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultAssign) |
---|
734 | (this,ctrl,fromObj); |
---|
735 | } |
---|
736 | |
---|
737 | |
---|
738 | /* initializer method: somDefaultConstCopyInit */ |
---|
739 | void somDefaultConstCopyInit(som3InitCtrl* ctrl, |
---|
740 | SOMObject* fromObj) |
---|
741 | { |
---|
742 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultConstCopyInit) |
---|
743 | (this,ctrl,fromObj); |
---|
744 | } |
---|
745 | |
---|
746 | |
---|
747 | /* initializer method: somDefaultVCopyInit */ |
---|
748 | void somDefaultVCopyInit(som3InitCtrl* ctrl, |
---|
749 | SOMObject* fromObj) |
---|
750 | { |
---|
751 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultVCopyInit) |
---|
752 | (this,ctrl,fromObj); |
---|
753 | } |
---|
754 | |
---|
755 | |
---|
756 | /* initializer method: somDefaultConstVCopyInit */ |
---|
757 | void somDefaultConstVCopyInit(som3InitCtrl* ctrl, |
---|
758 | SOMObject* fromObj) |
---|
759 | { |
---|
760 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultConstVCopyInit) |
---|
761 | (this,ctrl,fromObj); |
---|
762 | } |
---|
763 | |
---|
764 | |
---|
765 | /* method: somDefaultConstAssign */ |
---|
766 | LuDjvuDocument* somDefaultConstAssign(som3AssignCtrl* ctrl, |
---|
767 | SOMObject* fromObj) |
---|
768 | { |
---|
769 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultConstAssign) |
---|
770 | (this,ctrl,fromObj); |
---|
771 | } |
---|
772 | |
---|
773 | |
---|
774 | /* method: somDefaultVAssign */ |
---|
775 | LuDjvuDocument* somDefaultVAssign(som3AssignCtrl* ctrl, |
---|
776 | SOMObject* fromObj) |
---|
777 | { |
---|
778 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultVAssign) |
---|
779 | (this,ctrl,fromObj); |
---|
780 | } |
---|
781 | |
---|
782 | |
---|
783 | /* method: somDefaultConstVAssign */ |
---|
784 | LuDjvuDocument* somDefaultConstVAssign(som3AssignCtrl* ctrl, |
---|
785 | SOMObject* fromObj) |
---|
786 | { |
---|
787 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDefaultConstVAssign) |
---|
788 | (this,ctrl,fromObj); |
---|
789 | } |
---|
790 | |
---|
791 | |
---|
792 | /* method: somInit */ |
---|
793 | void somInit() |
---|
794 | { |
---|
795 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somInit) |
---|
796 | (this); |
---|
797 | } |
---|
798 | |
---|
799 | |
---|
800 | /* method: somFree */ |
---|
801 | void somFree() |
---|
802 | { |
---|
803 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somFree) |
---|
804 | (this); |
---|
805 | } |
---|
806 | |
---|
807 | |
---|
808 | /* method: somUninit */ |
---|
809 | void somUninit() |
---|
810 | { |
---|
811 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somUninit) |
---|
812 | (this); |
---|
813 | } |
---|
814 | |
---|
815 | |
---|
816 | /* method: somGetClass */ |
---|
817 | SOMClass* somGetClass() |
---|
818 | { |
---|
819 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somGetClass) |
---|
820 | (this); |
---|
821 | } |
---|
822 | |
---|
823 | |
---|
824 | /* method: somGetClassName */ |
---|
825 | string somGetClassName() |
---|
826 | { |
---|
827 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somGetClassName) |
---|
828 | (this); |
---|
829 | } |
---|
830 | |
---|
831 | |
---|
832 | /* method: somGetSize */ |
---|
833 | long somGetSize() |
---|
834 | { |
---|
835 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somGetSize) |
---|
836 | (this); |
---|
837 | } |
---|
838 | |
---|
839 | |
---|
840 | /* method: somIsA */ |
---|
841 | boolean somIsA(SOMClass* aClassObj) |
---|
842 | { |
---|
843 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somIsA) |
---|
844 | (this,aClassObj); |
---|
845 | } |
---|
846 | |
---|
847 | |
---|
848 | /* method: somIsInstanceOf */ |
---|
849 | boolean somIsInstanceOf(SOMClass* aClassObj) |
---|
850 | { |
---|
851 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somIsInstanceOf) |
---|
852 | (this,aClassObj); |
---|
853 | } |
---|
854 | |
---|
855 | |
---|
856 | /* method: somRespondsTo */ |
---|
857 | boolean somRespondsTo(somId mId) |
---|
858 | { |
---|
859 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somRespondsTo) |
---|
860 | (this,mId); |
---|
861 | } |
---|
862 | |
---|
863 | |
---|
864 | /* va_list method: somDispatch */ |
---|
865 | |
---|
866 | /* the va_list invocation form */ |
---|
867 | boolean LuDjvuDocument_somDispatch(somToken* retValue, |
---|
868 | somId methodId, |
---|
869 | va_list ap) |
---|
870 | {return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatch) |
---|
871 | (this,retValue,methodId,ap); |
---|
872 | } |
---|
873 | |
---|
874 | /* the varargs invocation form */ |
---|
875 | boolean somDispatch(somToken* retValue, |
---|
876 | somId methodId, |
---|
877 | ...) |
---|
878 | { |
---|
879 | va_list ap; |
---|
880 | va_start(ap, methodId); |
---|
881 | boolean __somResult = |
---|
882 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatch) |
---|
883 | (this,retValue,methodId,ap); |
---|
884 | va_end(ap); |
---|
885 | return __somResult; |
---|
886 | } |
---|
887 | |
---|
888 | |
---|
889 | /* va_list method: somClassDispatch */ |
---|
890 | |
---|
891 | /* the va_list invocation form */ |
---|
892 | boolean LuDjvuDocument_somClassDispatch(SOMClass* clsObj, |
---|
893 | somToken* retValue, |
---|
894 | somId methodId, |
---|
895 | va_list ap) |
---|
896 | {return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somClassDispatch) |
---|
897 | (this,clsObj,retValue,methodId,ap); |
---|
898 | } |
---|
899 | |
---|
900 | /* the varargs invocation form */ |
---|
901 | boolean somClassDispatch(SOMClass* clsObj, |
---|
902 | somToken* retValue, |
---|
903 | somId methodId, |
---|
904 | ...) |
---|
905 | { |
---|
906 | va_list ap; |
---|
907 | va_start(ap, methodId); |
---|
908 | boolean __somResult = |
---|
909 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somClassDispatch) |
---|
910 | (this,clsObj,retValue,methodId,ap); |
---|
911 | va_end(ap); |
---|
912 | return __somResult; |
---|
913 | } |
---|
914 | |
---|
915 | |
---|
916 | /* method: somCastObj */ |
---|
917 | boolean somCastObj(SOMClass* cls) |
---|
918 | { |
---|
919 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somCastObj) |
---|
920 | (this,cls); |
---|
921 | } |
---|
922 | |
---|
923 | |
---|
924 | /* method: somResetObj */ |
---|
925 | boolean somResetObj() |
---|
926 | { |
---|
927 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somResetObj) |
---|
928 | (this); |
---|
929 | } |
---|
930 | |
---|
931 | |
---|
932 | /* va_list method: somDispatchV */ |
---|
933 | |
---|
934 | /* the va_list invocation form */ |
---|
935 | void LuDjvuDocument_somDispatchV(somId methodId, |
---|
936 | somId descriptor, |
---|
937 | va_list ap) |
---|
938 | { SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchV) |
---|
939 | (this,methodId,descriptor,ap); |
---|
940 | } |
---|
941 | |
---|
942 | /* the varargs invocation form */ |
---|
943 | void somDispatchV(somId methodId, |
---|
944 | somId descriptor, |
---|
945 | ...) |
---|
946 | { |
---|
947 | va_list ap; |
---|
948 | va_start(ap, descriptor); |
---|
949 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchV) |
---|
950 | (this,methodId,descriptor,ap); |
---|
951 | va_end(ap); |
---|
952 | } |
---|
953 | |
---|
954 | |
---|
955 | /* va_list method: somDispatchL */ |
---|
956 | |
---|
957 | /* the va_list invocation form */ |
---|
958 | long LuDjvuDocument_somDispatchL(somId methodId, |
---|
959 | somId descriptor, |
---|
960 | va_list ap) |
---|
961 | {return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchL) |
---|
962 | (this,methodId,descriptor,ap); |
---|
963 | } |
---|
964 | |
---|
965 | /* the varargs invocation form */ |
---|
966 | long somDispatchL(somId methodId, |
---|
967 | somId descriptor, |
---|
968 | ...) |
---|
969 | { |
---|
970 | va_list ap; |
---|
971 | va_start(ap, descriptor); |
---|
972 | long __somResult = |
---|
973 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchL) |
---|
974 | (this,methodId,descriptor,ap); |
---|
975 | va_end(ap); |
---|
976 | return __somResult; |
---|
977 | } |
---|
978 | |
---|
979 | |
---|
980 | /* va_list method: somDispatchA */ |
---|
981 | |
---|
982 | /* the va_list invocation form */ |
---|
983 | void* LuDjvuDocument_somDispatchA(somId methodId, |
---|
984 | somId descriptor, |
---|
985 | va_list ap) |
---|
986 | {return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchA) |
---|
987 | (this,methodId,descriptor,ap); |
---|
988 | } |
---|
989 | |
---|
990 | /* the varargs invocation form */ |
---|
991 | void* somDispatchA(somId methodId, |
---|
992 | somId descriptor, |
---|
993 | ...) |
---|
994 | { |
---|
995 | va_list ap; |
---|
996 | va_start(ap, descriptor); |
---|
997 | void* __somResult = |
---|
998 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchA) |
---|
999 | (this,methodId,descriptor,ap); |
---|
1000 | va_end(ap); |
---|
1001 | return __somResult; |
---|
1002 | } |
---|
1003 | |
---|
1004 | |
---|
1005 | /* va_list method: somDispatchD */ |
---|
1006 | |
---|
1007 | /* the va_list invocation form */ |
---|
1008 | double LuDjvuDocument_somDispatchD(somId methodId, |
---|
1009 | somId descriptor, |
---|
1010 | va_list ap) |
---|
1011 | {return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchD) |
---|
1012 | (this,methodId,descriptor,ap); |
---|
1013 | } |
---|
1014 | |
---|
1015 | /* the varargs invocation form */ |
---|
1016 | double somDispatchD(somId methodId, |
---|
1017 | somId descriptor, |
---|
1018 | ...) |
---|
1019 | { |
---|
1020 | va_list ap; |
---|
1021 | va_start(ap, descriptor); |
---|
1022 | double __somResult = |
---|
1023 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDispatchD) |
---|
1024 | (this,methodId,descriptor,ap); |
---|
1025 | va_end(ap); |
---|
1026 | return __somResult; |
---|
1027 | } |
---|
1028 | |
---|
1029 | |
---|
1030 | /* method: somPrintSelf */ |
---|
1031 | SOMObject* somPrintSelf() |
---|
1032 | { |
---|
1033 | return SOM_ResolveD(this,LuDjvuDocument,SOMObject,somPrintSelf) |
---|
1034 | (this); |
---|
1035 | } |
---|
1036 | |
---|
1037 | |
---|
1038 | /* method: somDumpSelf */ |
---|
1039 | void somDumpSelf(long level) |
---|
1040 | { |
---|
1041 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDumpSelf) |
---|
1042 | (this,level); |
---|
1043 | } |
---|
1044 | |
---|
1045 | |
---|
1046 | /* method: somDumpSelfInt */ |
---|
1047 | void somDumpSelfInt(long level) |
---|
1048 | { |
---|
1049 | SOM_ResolveD(this,LuDjvuDocument,SOMObject,somDumpSelfInt) |
---|
1050 | (this,level); |
---|
1051 | } |
---|
1052 | |
---|
1053 | |
---|
1054 | |
---|
1055 | }; /* LuDjvuDocument */ |
---|
1056 | |
---|
1057 | |
---|
1058 | |
---|
1059 | #endif /* SOM_LuDjvuDocument_xh */ |
---|