1 | |
---|
2 | /* |
---|
3 | * This file was generated by the SOM Compiler. |
---|
4 | * FileName: ludoc.xh. |
---|
5 | * Generated using: |
---|
6 | * SOM Precompiler somipc: 2.29.1.17 |
---|
7 | * SOM Emitter emitxh: 2.47 |
---|
8 | */ |
---|
9 | |
---|
10 | #ifndef SOM_LuDocument_xh |
---|
11 | #define SOM_LuDocument_xh |
---|
12 | |
---|
13 | class LuDocument; |
---|
14 | |
---|
15 | #define LuDocument_MajorVersion 0 |
---|
16 | #define LuDocument_MinorVersion 0 |
---|
17 | |
---|
18 | /* |
---|
19 | * Passthru lines: File: "C.xh", "before" |
---|
20 | */ |
---|
21 | |
---|
22 | |
---|
23 | #include <lutypes.h> |
---|
24 | #include <lupixbuf.xh> |
---|
25 | #include <luinode.xh> |
---|
26 | |
---|
27 | |
---|
28 | /* C++ SOM defs */ |
---|
29 | #include <somcls.xh> |
---|
30 | #include <somcm.xh> |
---|
31 | |
---|
32 | /* C++ parent defs */ |
---|
33 | #ifndef SOM_SOMObject_xh |
---|
34 | #include <somobj.xh> |
---|
35 | #endif |
---|
36 | |
---|
37 | #ifndef LuDocument_API |
---|
38 | #define LuDocument_API |
---|
39 | /* |
---|
40 | * -- The Class API |
---|
41 | */ |
---|
42 | |
---|
43 | /* |
---|
44 | * Start of bindings for IDL types |
---|
45 | */ |
---|
46 | |
---|
47 | class SOMClass; |
---|
48 | class SOMObject; |
---|
49 | struct LuRectangle; |
---|
50 | #ifndef _IDL_SEQUENCE_LuRectangle_defined |
---|
51 | #define _IDL_SEQUENCE_LuRectangle_defined |
---|
52 | typedef struct { |
---|
53 | unsigned long _maximum; |
---|
54 | unsigned long _length; |
---|
55 | struct LuRectangle *_buffer; |
---|
56 | } _IDL_SEQUENCE_LuRectangle; |
---|
57 | #endif /* _IDL_SEQUENCE_LuRectangle_defined */ |
---|
58 | typedef |
---|
59 | _IDL_SEQUENCE_LuRectangle LuDocument_LuRectSequence; |
---|
60 | struct LuLinkMapping; |
---|
61 | #ifndef _IDL_SEQUENCE_LuLinkMapping_defined |
---|
62 | #define _IDL_SEQUENCE_LuLinkMapping_defined |
---|
63 | typedef struct { |
---|
64 | unsigned long _maximum; |
---|
65 | unsigned long _length; |
---|
66 | struct LuLinkMapping *_buffer; |
---|
67 | } _IDL_SEQUENCE_LuLinkMapping; |
---|
68 | #endif /* _IDL_SEQUENCE_LuLinkMapping_defined */ |
---|
69 | typedef |
---|
70 | _IDL_SEQUENCE_LuLinkMapping LuDocument_LuLinkMapSequence; |
---|
71 | struct LuFontInfo; |
---|
72 | #ifndef _IDL_SEQUENCE_LuFontInfo_defined |
---|
73 | #define _IDL_SEQUENCE_LuFontInfo_defined |
---|
74 | typedef struct { |
---|
75 | unsigned long _maximum; |
---|
76 | unsigned long _length; |
---|
77 | struct LuFontInfo *_buffer; |
---|
78 | } _IDL_SEQUENCE_LuFontInfo; |
---|
79 | #endif /* _IDL_SEQUENCE_LuFontInfo_defined */ |
---|
80 | typedef |
---|
81 | _IDL_SEQUENCE_LuFontInfo LuDocument_LuFontInfoSequence; |
---|
82 | typedef |
---|
83 | somMToken LuDocument_asynchCallbackFn; |
---|
84 | |
---|
85 | #ifndef SOM_DONT_USE_SHORT_NAMES |
---|
86 | |
---|
87 | #ifndef SOM_DONT_USE_SHORT_NAMES |
---|
88 | #ifndef SOMTGD_LuRectSequence |
---|
89 | #ifdef LuRectSequence |
---|
90 | #undef LuRectSequence |
---|
91 | #define SOMTGD_LuRectSequence 1 |
---|
92 | #else |
---|
93 | #define LuRectSequence LuDocument_LuRectSequence |
---|
94 | #endif /* LuRectSequence */ |
---|
95 | #endif /* SOMTGD_LuRectSequence */ |
---|
96 | #endif /* SOM_DONT_USE_SHORT_NAMES */ |
---|
97 | |
---|
98 | #ifndef SOM_DONT_USE_SHORT_NAMES |
---|
99 | #ifndef SOMTGD_LuLinkMapSequence |
---|
100 | #ifdef LuLinkMapSequence |
---|
101 | #undef LuLinkMapSequence |
---|
102 | #define SOMTGD_LuLinkMapSequence 1 |
---|
103 | #else |
---|
104 | #define LuLinkMapSequence LuDocument_LuLinkMapSequence |
---|
105 | #endif /* LuLinkMapSequence */ |
---|
106 | #endif /* SOMTGD_LuLinkMapSequence */ |
---|
107 | #endif /* SOM_DONT_USE_SHORT_NAMES */ |
---|
108 | |
---|
109 | #ifndef SOM_DONT_USE_SHORT_NAMES |
---|
110 | #ifndef SOMTGD_LuFontInfoSequence |
---|
111 | #ifdef LuFontInfoSequence |
---|
112 | #undef LuFontInfoSequence |
---|
113 | #define SOMTGD_LuFontInfoSequence 1 |
---|
114 | #else |
---|
115 | #define LuFontInfoSequence LuDocument_LuFontInfoSequence |
---|
116 | #endif /* LuFontInfoSequence */ |
---|
117 | #endif /* SOMTGD_LuFontInfoSequence */ |
---|
118 | #endif /* SOM_DONT_USE_SHORT_NAMES */ |
---|
119 | |
---|
120 | #ifndef SOM_DONT_USE_SHORT_NAMES |
---|
121 | #ifndef SOMTGD_asynchCallbackFn |
---|
122 | #ifdef asynchCallbackFn |
---|
123 | #undef asynchCallbackFn |
---|
124 | #define SOMTGD_asynchCallbackFn 1 |
---|
125 | #else |
---|
126 | #define asynchCallbackFn LuDocument_asynchCallbackFn |
---|
127 | #endif /* asynchCallbackFn */ |
---|
128 | #endif /* SOMTGD_asynchCallbackFn */ |
---|
129 | #endif /* SOM_DONT_USE_SHORT_NAMES */ |
---|
130 | #endif /* SOM_DONT_USE_SHORT_NAMES */ |
---|
131 | |
---|
132 | /* |
---|
133 | * End of bindings for IDL types. |
---|
134 | */ |
---|
135 | |
---|
136 | /* A procedure to create the LuDocument Class */ |
---|
137 | SOMEXTERN SOMClass * SOMLINK LuDocumentNewClass( |
---|
138 | integer4 majorVersion, |
---|
139 | integer4 minorVersion); |
---|
140 | |
---|
141 | /* The API to the LuDocument class object, and the methods it introduces. */ |
---|
142 | SOMEXTERNS struct LuDocumentClassDataStructure { |
---|
143 | SOMClass *classObject; |
---|
144 | somMToken loadFile; |
---|
145 | somMToken getBpp; |
---|
146 | somMToken isScalable; |
---|
147 | somMToken isRotable; |
---|
148 | somMToken getPageCount; |
---|
149 | somMToken getPageSize; |
---|
150 | somMToken renderPageToPixbuf; |
---|
151 | somMToken isAsynchRenderingSupported; |
---|
152 | somMToken renderPageToPixbufAsynch; |
---|
153 | somMToken isRenderIntoPS; |
---|
154 | somMToken renderPageToPS; |
---|
155 | somMToken isHaveText; |
---|
156 | somMToken getSelectionRectangles; |
---|
157 | somMethodProc *freeRectangles; |
---|
158 | somMToken getText; |
---|
159 | somMToken isHaveLinks; |
---|
160 | somMToken getLinkMapping; |
---|
161 | somMethodProc *freeLinkMapping; |
---|
162 | somMToken isSaveable; |
---|
163 | somMToken saveAs; |
---|
164 | somMToken isPostScriptExportable; |
---|
165 | somMToken exportToPostScript; |
---|
166 | somMToken isHaveFontInfo; |
---|
167 | somMToken getFontInfo; |
---|
168 | somMethodProc *freeFontInfo; |
---|
169 | somMToken isHaveIndex; |
---|
170 | somMToken getIndex; |
---|
171 | somMToken getDocumentInfo; |
---|
172 | somMethodProc *freeDocumentInfo; |
---|
173 | somMToken getThumbnailSize; |
---|
174 | somMToken getThumbnail; |
---|
175 | somMToken searchText; |
---|
176 | somMToken isFixedImage; |
---|
177 | } SOMDLINK LuDocumentClassData; |
---|
178 | #define _LuDocument LuDocumentClassData.classObject |
---|
179 | |
---|
180 | /* The API to parentMtabs for LuDocument, and the instance data it introduces. */ |
---|
181 | SOMEXTERNS struct LuDocumentCClassDataStructure { |
---|
182 | somMethodTabs parentMtab; |
---|
183 | somDToken instanceDataToken; |
---|
184 | } SOMDLINK LuDocumentCClassData; |
---|
185 | |
---|
186 | /* |
---|
187 | * -- Typedefs for LuDocument Method Procedures |
---|
188 | */ |
---|
189 | SOMEXTERN { |
---|
190 | typedef boolean SOMLINK somTP_LuDocument_loadFile(LuDocument *somSelf, Environment *ev, |
---|
191 | string filename, |
---|
192 | string password, |
---|
193 | string* error); |
---|
194 | typedef somTP_LuDocument_loadFile *somTD_LuDocument_loadFile; |
---|
195 | typedef short SOMLINK somTP_LuDocument_getBpp(LuDocument *somSelf, Environment *ev); |
---|
196 | typedef somTP_LuDocument_getBpp *somTD_LuDocument_getBpp; |
---|
197 | typedef boolean SOMLINK somTP_LuDocument_isScalable(LuDocument *somSelf, Environment *ev); |
---|
198 | typedef somTP_LuDocument_isScalable *somTD_LuDocument_isScalable; |
---|
199 | typedef boolean SOMLINK somTP_LuDocument_isFixedImage(LuDocument *somSelf, Environment *ev); |
---|
200 | typedef somTP_LuDocument_isFixedImage *somTD_LuDocument_isFixedImage; |
---|
201 | typedef boolean SOMLINK somTP_LuDocument_isRotable(LuDocument *somSelf, Environment *ev); |
---|
202 | typedef somTP_LuDocument_isRotable *somTD_LuDocument_isRotable; |
---|
203 | typedef long SOMLINK somTP_LuDocument_getPageCount(LuDocument *somSelf, Environment *ev); |
---|
204 | typedef somTP_LuDocument_getPageCount *somTD_LuDocument_getPageCount; |
---|
205 | typedef void SOMLINK somTP_LuDocument_getPageSize(LuDocument *somSelf, Environment *ev, |
---|
206 | long pagenum, |
---|
207 | double* width, |
---|
208 | double* height); |
---|
209 | typedef somTP_LuDocument_getPageSize *somTD_LuDocument_getPageSize; |
---|
210 | typedef void SOMLINK somTP_LuDocument_renderPageToPixbuf(LuDocument *somSelf, Environment *ev, |
---|
211 | long pagenum, |
---|
212 | long src_x, |
---|
213 | long src_y, |
---|
214 | long src_width, |
---|
215 | long src_height, |
---|
216 | double scale, |
---|
217 | long rotation, |
---|
218 | LuPixbuf* pixbuf); |
---|
219 | typedef somTP_LuDocument_renderPageToPixbuf *somTD_LuDocument_renderPageToPixbuf; |
---|
220 | typedef boolean SOMLINK somTP_LuDocument_isAsynchRenderingSupported(LuDocument *somSelf, Environment *ev); |
---|
221 | typedef somTP_LuDocument_isAsynchRenderingSupported *somTD_LuDocument_isAsynchRenderingSupported; |
---|
222 | typedef void SOMLINK somTP_LuDocument_renderPageToPixbufAsynch(LuDocument *somSelf, Environment *ev, |
---|
223 | long pagenum, |
---|
224 | long src_x, |
---|
225 | long src_y, |
---|
226 | long src_width, |
---|
227 | long src_height, |
---|
228 | double scale, |
---|
229 | long rotation, |
---|
230 | LuPixbuf* pixbuf, |
---|
231 | LuDocument_asynchCallbackFn fnd, |
---|
232 | LuDocument_asynchCallbackFn fna, |
---|
233 | somToken fndata); |
---|
234 | typedef somTP_LuDocument_renderPageToPixbufAsynch *somTD_LuDocument_renderPageToPixbufAsynch; |
---|
235 | typedef boolean SOMLINK somTP_LuDocument_isRenderIntoPS(LuDocument *somSelf, Environment *ev); |
---|
236 | typedef somTP_LuDocument_isRenderIntoPS *somTD_LuDocument_isRenderIntoPS; |
---|
237 | typedef void SOMLINK somTP_LuDocument_renderPageToPS(LuDocument *somSelf, Environment *ev, |
---|
238 | long pagenum, |
---|
239 | long src_x, |
---|
240 | long src_y, |
---|
241 | long src_width, |
---|
242 | long src_height, |
---|
243 | double scale, |
---|
244 | long rotation, |
---|
245 | unsigned long hps, |
---|
246 | somMToken rect); |
---|
247 | typedef somTP_LuDocument_renderPageToPS *somTD_LuDocument_renderPageToPS; |
---|
248 | typedef boolean SOMLINK somTP_LuDocument_isHaveText(LuDocument *somSelf, Environment *ev); |
---|
249 | typedef somTP_LuDocument_isHaveText *somTD_LuDocument_isHaveText; |
---|
250 | typedef LuDocument_LuRectSequence* SOMLINK somTP_LuDocument_getSelectionRectangles(LuDocument *somSelf, Environment *ev, |
---|
251 | long pagenum, |
---|
252 | LuRectangle* selection); |
---|
253 | typedef somTP_LuDocument_getSelectionRectangles *somTD_LuDocument_getSelectionRectangles; |
---|
254 | typedef void SOMLINK somTP_LuDocument_freeRectangles(Environment *ev, |
---|
255 | LuDocument_LuRectSequence* rectangles); |
---|
256 | typedef somTP_LuDocument_freeRectangles *somTD_LuDocument_freeRectangles; |
---|
257 | typedef string SOMLINK somTP_LuDocument_getText(LuDocument *somSelf, Environment *ev, |
---|
258 | long pagenum, |
---|
259 | LuRectangle* selection); |
---|
260 | typedef somTP_LuDocument_getText *somTD_LuDocument_getText; |
---|
261 | typedef boolean SOMLINK somTP_LuDocument_isHaveLinks(LuDocument *somSelf, Environment *ev); |
---|
262 | typedef somTP_LuDocument_isHaveLinks *somTD_LuDocument_isHaveLinks; |
---|
263 | typedef LuDocument_LuLinkMapSequence* SOMLINK somTP_LuDocument_getLinkMapping(LuDocument *somSelf, Environment *ev, |
---|
264 | long pagenum); |
---|
265 | typedef somTP_LuDocument_getLinkMapping *somTD_LuDocument_getLinkMapping; |
---|
266 | typedef void SOMLINK somTP_LuDocument_freeLinkMapping(Environment *ev, |
---|
267 | LuDocument_LuLinkMapSequence* mapping); |
---|
268 | typedef somTP_LuDocument_freeLinkMapping *somTD_LuDocument_freeLinkMapping; |
---|
269 | typedef boolean SOMLINK somTP_LuDocument_isSaveable(LuDocument *somSelf, Environment *ev); |
---|
270 | typedef somTP_LuDocument_isSaveable *somTD_LuDocument_isSaveable; |
---|
271 | typedef boolean SOMLINK somTP_LuDocument_saveAs(LuDocument *somSelf, Environment *ev, |
---|
272 | string filename); |
---|
273 | typedef somTP_LuDocument_saveAs *somTD_LuDocument_saveAs; |
---|
274 | typedef boolean SOMLINK somTP_LuDocument_isPostScriptExportable(LuDocument *somSelf, Environment *ev); |
---|
275 | typedef somTP_LuDocument_isPostScriptExportable *somTD_LuDocument_isPostScriptExportable; |
---|
276 | typedef boolean SOMLINK somTP_LuDocument_exportToPostScript(LuDocument *somSelf, Environment *ev, |
---|
277 | string filename, |
---|
278 | long first_page, |
---|
279 | long last_page, |
---|
280 | double width, |
---|
281 | double height, |
---|
282 | boolean* brkExport); |
---|
283 | typedef somTP_LuDocument_exportToPostScript *somTD_LuDocument_exportToPostScript; |
---|
284 | typedef boolean SOMLINK somTP_LuDocument_isHaveFontInfo(LuDocument *somSelf, Environment *ev); |
---|
285 | typedef somTP_LuDocument_isHaveFontInfo *somTD_LuDocument_isHaveFontInfo; |
---|
286 | typedef LuDocument_LuFontInfoSequence* SOMLINK somTP_LuDocument_getFontInfo(LuDocument *somSelf, Environment *ev); |
---|
287 | typedef somTP_LuDocument_getFontInfo *somTD_LuDocument_getFontInfo; |
---|
288 | typedef void SOMLINK somTP_LuDocument_freeFontInfo(Environment *ev, |
---|
289 | LuDocument_LuFontInfoSequence* fonts); |
---|
290 | typedef somTP_LuDocument_freeFontInfo *somTD_LuDocument_freeFontInfo; |
---|
291 | typedef boolean SOMLINK somTP_LuDocument_isHaveIndex(LuDocument *somSelf, Environment *ev); |
---|
292 | typedef somTP_LuDocument_isHaveIndex *somTD_LuDocument_isHaveIndex; |
---|
293 | typedef LuIndexNode* SOMLINK somTP_LuDocument_getIndex(LuDocument *somSelf, Environment *ev); |
---|
294 | typedef somTP_LuDocument_getIndex *somTD_LuDocument_getIndex; |
---|
295 | typedef LuDocumentInfo* SOMLINK somTP_LuDocument_getDocumentInfo(LuDocument *somSelf, Environment *ev); |
---|
296 | typedef somTP_LuDocument_getDocumentInfo *somTD_LuDocument_getDocumentInfo; |
---|
297 | typedef void SOMLINK somTP_LuDocument_freeDocumentInfo(Environment *ev, |
---|
298 | LuDocumentInfo* info); |
---|
299 | typedef somTP_LuDocument_freeDocumentInfo *somTD_LuDocument_freeDocumentInfo; |
---|
300 | typedef boolean SOMLINK somTP_LuDocument_getThumbnailSize(LuDocument *somSelf, Environment *ev, |
---|
301 | long pagenum, |
---|
302 | short suggested_width, |
---|
303 | short* width, |
---|
304 | short* height); |
---|
305 | typedef somTP_LuDocument_getThumbnailSize *somTD_LuDocument_getThumbnailSize; |
---|
306 | typedef LuPixbuf* SOMLINK somTP_LuDocument_getThumbnail(LuDocument *somSelf, Environment *ev, |
---|
307 | long pagenum, |
---|
308 | short suggested_width); |
---|
309 | typedef somTP_LuDocument_getThumbnail *somTD_LuDocument_getThumbnail; |
---|
310 | typedef LuDocument_LuRectSequence* SOMLINK somTP_LuDocument_searchText(LuDocument *somSelf, Environment *ev, |
---|
311 | long pagenum, |
---|
312 | string text, |
---|
313 | boolean caseSensitive); |
---|
314 | typedef somTP_LuDocument_searchText *somTD_LuDocument_searchText; |
---|
315 | |
---|
316 | /* |
---|
317 | * -- Typedefs for Reintroduced Wrapper Methods |
---|
318 | */ |
---|
319 | typedef void SOMLINK somTP_LuDocument_somDefaultInit(LuDocument *somSelf, |
---|
320 | som3InitCtrl* ctrl); |
---|
321 | typedef somTP_LuDocument_somDefaultInit *somTD_LuDocument_somDefaultInit; |
---|
322 | typedef void SOMLINK somTP_LuDocument_somDestruct(LuDocument *somSelf, |
---|
323 | octet doFree, |
---|
324 | som3DestructCtrl* ctrl); |
---|
325 | typedef somTP_LuDocument_somDestruct *somTD_LuDocument_somDestruct; |
---|
326 | typedef void SOMLINK somTP_LuDocument_somDefaultCopyInit(LuDocument *somSelf, |
---|
327 | som3InitCtrl* ctrl, |
---|
328 | SOMObject* fromObj); |
---|
329 | typedef somTP_LuDocument_somDefaultCopyInit *somTD_LuDocument_somDefaultCopyInit; |
---|
330 | typedef LuDocument* SOMLINK somTP_LuDocument_somDefaultAssign(LuDocument *somSelf, |
---|
331 | som3AssignCtrl* ctrl, |
---|
332 | SOMObject* fromObj); |
---|
333 | typedef somTP_LuDocument_somDefaultAssign *somTD_LuDocument_somDefaultAssign; |
---|
334 | typedef void SOMLINK somTP_LuDocument_somDefaultConstCopyInit(LuDocument *somSelf, |
---|
335 | som3InitCtrl* ctrl, |
---|
336 | SOMObject* fromObj); |
---|
337 | typedef somTP_LuDocument_somDefaultConstCopyInit *somTD_LuDocument_somDefaultConstCopyInit; |
---|
338 | typedef void SOMLINK somTP_LuDocument_somDefaultVCopyInit(LuDocument *somSelf, |
---|
339 | som3InitCtrl* ctrl, |
---|
340 | SOMObject* fromObj); |
---|
341 | typedef somTP_LuDocument_somDefaultVCopyInit *somTD_LuDocument_somDefaultVCopyInit; |
---|
342 | typedef void SOMLINK somTP_LuDocument_somDefaultConstVCopyInit(LuDocument *somSelf, |
---|
343 | som3InitCtrl* ctrl, |
---|
344 | SOMObject* fromObj); |
---|
345 | typedef somTP_LuDocument_somDefaultConstVCopyInit *somTD_LuDocument_somDefaultConstVCopyInit; |
---|
346 | typedef LuDocument* SOMLINK somTP_LuDocument_somDefaultConstAssign(LuDocument *somSelf, |
---|
347 | som3AssignCtrl* ctrl, |
---|
348 | SOMObject* fromObj); |
---|
349 | typedef somTP_LuDocument_somDefaultConstAssign *somTD_LuDocument_somDefaultConstAssign; |
---|
350 | typedef LuDocument* SOMLINK somTP_LuDocument_somDefaultVAssign(LuDocument *somSelf, |
---|
351 | som3AssignCtrl* ctrl, |
---|
352 | SOMObject* fromObj); |
---|
353 | typedef somTP_LuDocument_somDefaultVAssign *somTD_LuDocument_somDefaultVAssign; |
---|
354 | typedef LuDocument* SOMLINK somTP_LuDocument_somDefaultConstVAssign(LuDocument *somSelf, |
---|
355 | som3AssignCtrl* ctrl, |
---|
356 | SOMObject* fromObj); |
---|
357 | typedef somTP_LuDocument_somDefaultConstVAssign *somTD_LuDocument_somDefaultConstVAssign; |
---|
358 | typedef void SOMLINK somTP_LuDocument_somInit(LuDocument *somSelf); |
---|
359 | typedef somTP_LuDocument_somInit *somTD_LuDocument_somInit; |
---|
360 | typedef void SOMLINK somTP_LuDocument_somFree(LuDocument *somSelf); |
---|
361 | typedef somTP_LuDocument_somFree *somTD_LuDocument_somFree; |
---|
362 | typedef void SOMLINK somTP_LuDocument_somUninit(LuDocument *somSelf); |
---|
363 | typedef somTP_LuDocument_somUninit *somTD_LuDocument_somUninit; |
---|
364 | typedef SOMClass* SOMLINK somTP_LuDocument_somGetClass(LuDocument *somSelf); |
---|
365 | typedef somTP_LuDocument_somGetClass *somTD_LuDocument_somGetClass; |
---|
366 | typedef string SOMLINK somTP_LuDocument_somGetClassName(LuDocument *somSelf); |
---|
367 | typedef somTP_LuDocument_somGetClassName *somTD_LuDocument_somGetClassName; |
---|
368 | typedef long SOMLINK somTP_LuDocument_somGetSize(LuDocument *somSelf); |
---|
369 | typedef somTP_LuDocument_somGetSize *somTD_LuDocument_somGetSize; |
---|
370 | typedef boolean SOMLINK somTP_LuDocument_somIsA(LuDocument *somSelf, |
---|
371 | SOMClass* aClassObj); |
---|
372 | typedef somTP_LuDocument_somIsA *somTD_LuDocument_somIsA; |
---|
373 | typedef boolean SOMLINK somTP_LuDocument_somIsInstanceOf(LuDocument *somSelf, |
---|
374 | SOMClass* aClassObj); |
---|
375 | typedef somTP_LuDocument_somIsInstanceOf *somTD_LuDocument_somIsInstanceOf; |
---|
376 | typedef boolean SOMLINK somTP_LuDocument_somRespondsTo(LuDocument *somSelf, |
---|
377 | somId mId); |
---|
378 | typedef somTP_LuDocument_somRespondsTo *somTD_LuDocument_somRespondsTo; |
---|
379 | typedef boolean SOMLINK somTP_LuDocument_somDispatch(LuDocument *somSelf, |
---|
380 | somToken* retValue, |
---|
381 | somId methodId, |
---|
382 | va_list ap); |
---|
383 | typedef somTP_LuDocument_somDispatch *somTD_LuDocument_somDispatch; |
---|
384 | typedef boolean SOMLINK somTP_LuDocument_somClassDispatch(LuDocument *somSelf, |
---|
385 | SOMClass* clsObj, |
---|
386 | somToken* retValue, |
---|
387 | somId methodId, |
---|
388 | va_list ap); |
---|
389 | typedef somTP_LuDocument_somClassDispatch *somTD_LuDocument_somClassDispatch; |
---|
390 | typedef boolean SOMLINK somTP_LuDocument_somCastObj(LuDocument *somSelf, |
---|
391 | SOMClass* cls); |
---|
392 | typedef somTP_LuDocument_somCastObj *somTD_LuDocument_somCastObj; |
---|
393 | typedef boolean SOMLINK somTP_LuDocument_somResetObj(LuDocument *somSelf); |
---|
394 | typedef somTP_LuDocument_somResetObj *somTD_LuDocument_somResetObj; |
---|
395 | typedef void SOMLINK somTP_LuDocument_somDispatchV(LuDocument *somSelf, |
---|
396 | somId methodId, |
---|
397 | somId descriptor, |
---|
398 | va_list ap); |
---|
399 | typedef somTP_LuDocument_somDispatchV *somTD_LuDocument_somDispatchV; |
---|
400 | typedef long SOMLINK somTP_LuDocument_somDispatchL(LuDocument *somSelf, |
---|
401 | somId methodId, |
---|
402 | somId descriptor, |
---|
403 | va_list ap); |
---|
404 | typedef somTP_LuDocument_somDispatchL *somTD_LuDocument_somDispatchL; |
---|
405 | typedef void* SOMLINK somTP_LuDocument_somDispatchA(LuDocument *somSelf, |
---|
406 | somId methodId, |
---|
407 | somId descriptor, |
---|
408 | va_list ap); |
---|
409 | typedef somTP_LuDocument_somDispatchA *somTD_LuDocument_somDispatchA; |
---|
410 | typedef double SOMLINK somTP_LuDocument_somDispatchD(LuDocument *somSelf, |
---|
411 | somId methodId, |
---|
412 | somId descriptor, |
---|
413 | va_list ap); |
---|
414 | typedef somTP_LuDocument_somDispatchD *somTD_LuDocument_somDispatchD; |
---|
415 | typedef SOMObject* SOMLINK somTP_LuDocument_somPrintSelf(LuDocument *somSelf); |
---|
416 | typedef somTP_LuDocument_somPrintSelf *somTD_LuDocument_somPrintSelf; |
---|
417 | typedef void SOMLINK somTP_LuDocument_somDumpSelf(LuDocument *somSelf, |
---|
418 | long level); |
---|
419 | typedef somTP_LuDocument_somDumpSelf *somTD_LuDocument_somDumpSelf; |
---|
420 | typedef void SOMLINK somTP_LuDocument_somDumpSelfInt(LuDocument *somSelf, |
---|
421 | long level); |
---|
422 | typedef somTP_LuDocument_somDumpSelfInt *somTD_LuDocument_somDumpSelfInt; |
---|
423 | } |
---|
424 | |
---|
425 | #endif /* LuDocument_API */ |
---|
426 | |
---|
427 | |
---|
428 | /* |
---|
429 | * -- This emitter treats Method Tokens as Thunks by default. |
---|
430 | * -- Use the sc modifier "nothunks" to change this default |
---|
431 | */ |
---|
432 | #undef somresolve_ |
---|
433 | #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken)) |
---|
434 | |
---|
435 | /* |
---|
436 | * -- The C++ Wrapper Class for LuDocument |
---|
437 | */ |
---|
438 | class LuDocument : public SOMObject |
---|
439 | { |
---|
440 | public: |
---|
441 | |
---|
442 | // LuDocument::new creates the class object if necessary, and then uses somNewNoInit |
---|
443 | // to allocate memory and create the object. Initialization is in ctors. |
---|
444 | void *operator new(size_t) |
---|
445 | { |
---|
446 | if (!_LuDocument) LuDocumentNewClass(LuDocument_MajorVersion,LuDocument_MinorVersion); |
---|
447 | return (void*) |
---|
448 | SOM_Resolve(_LuDocument,SOMClass,somNewNoInit) |
---|
449 | ((SOMClass *)((void*)_LuDocument)); |
---|
450 | } |
---|
451 | |
---|
452 | // LuDocument::delete uses somDestruct. |
---|
453 | void operator delete(void * obj) |
---|
454 | { |
---|
455 | if (obj && *(void**)obj) { |
---|
456 | SOM_Resolve(obj,SOMObject,somFree) |
---|
457 | ((SOMObject*)obj); |
---|
458 | } |
---|
459 | } |
---|
460 | |
---|
461 | LuDocument& operator=(LuDocument& fromObj) |
---|
462 | { |
---|
463 | this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj)); |
---|
464 | return *this; |
---|
465 | } |
---|
466 | |
---|
467 | LuDocument() |
---|
468 | { |
---|
469 | if (*(void**)this != |
---|
470 | ((somParentMtabStructPtr) |
---|
471 | (LuDocumentCClassData.parentMtab))->mtab) |
---|
472 | return; |
---|
473 | ((SOMObject*)((void*)this))->somDefaultInit(0); |
---|
474 | } |
---|
475 | |
---|
476 | LuDocument(LuDocument* fromObj) |
---|
477 | { |
---|
478 | if (*(void**)this != |
---|
479 | ((somParentMtabStructPtr) |
---|
480 | (LuDocumentCClassData.parentMtab))->mtab) |
---|
481 | return; |
---|
482 | ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj))); |
---|
483 | } |
---|
484 | |
---|
485 | #ifdef __IBMCPP__ |
---|
486 | #pragma info(nocnv,nopar) |
---|
487 | #endif |
---|
488 | LuDocument(const LuDocument* fromObj) |
---|
489 | { |
---|
490 | if (*(void**)this != |
---|
491 | ((somParentMtabStructPtr) |
---|
492 | (LuDocumentCClassData.parentMtab))->mtab) |
---|
493 | return; |
---|
494 | ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj))); |
---|
495 | } |
---|
496 | #ifdef __IBMCPP__ |
---|
497 | #pragma info(restore) |
---|
498 | #endif |
---|
499 | |
---|
500 | |
---|
501 | /* method: loadFile */ |
---|
502 | boolean loadFile(Environment *ev, |
---|
503 | string filename, |
---|
504 | string password, |
---|
505 | string* error) |
---|
506 | { |
---|
507 | return SOM_ResolveD(this,LuDocument,LuDocument,loadFile) |
---|
508 | (this, ev,filename,password,error); |
---|
509 | } |
---|
510 | |
---|
511 | |
---|
512 | /* method: getBpp */ |
---|
513 | short getBpp(Environment *ev) |
---|
514 | { |
---|
515 | return SOM_ResolveD(this,LuDocument,LuDocument,getBpp) |
---|
516 | (this, ev); |
---|
517 | } |
---|
518 | |
---|
519 | |
---|
520 | /* method: isScalable */ |
---|
521 | boolean isScalable(Environment *ev) |
---|
522 | { |
---|
523 | return SOM_ResolveD(this,LuDocument,LuDocument,isScalable) |
---|
524 | (this, ev); |
---|
525 | } |
---|
526 | |
---|
527 | |
---|
528 | /* method: isFixedImage */ |
---|
529 | boolean isFixedImage(Environment *ev) |
---|
530 | { |
---|
531 | return SOM_ResolveD(this,LuDocument,LuDocument,isFixedImage) |
---|
532 | (this, ev); |
---|
533 | } |
---|
534 | |
---|
535 | |
---|
536 | /* method: isRotable */ |
---|
537 | boolean isRotable(Environment *ev) |
---|
538 | { |
---|
539 | return SOM_ResolveD(this,LuDocument,LuDocument,isRotable) |
---|
540 | (this, ev); |
---|
541 | } |
---|
542 | |
---|
543 | |
---|
544 | /* method: getPageCount */ |
---|
545 | long getPageCount(Environment *ev) |
---|
546 | { |
---|
547 | return SOM_ResolveD(this,LuDocument,LuDocument,getPageCount) |
---|
548 | (this, ev); |
---|
549 | } |
---|
550 | |
---|
551 | |
---|
552 | /* method: getPageSize */ |
---|
553 | void getPageSize(Environment *ev, |
---|
554 | long pagenum, |
---|
555 | double* width, |
---|
556 | double* height) |
---|
557 | { |
---|
558 | SOM_ResolveD(this,LuDocument,LuDocument,getPageSize) |
---|
559 | (this, ev,pagenum,width,height); |
---|
560 | } |
---|
561 | |
---|
562 | |
---|
563 | /* method: renderPageToPixbuf */ |
---|
564 | void renderPageToPixbuf(Environment *ev, |
---|
565 | long pagenum, |
---|
566 | long src_x, |
---|
567 | long src_y, |
---|
568 | long src_width, |
---|
569 | long src_height, |
---|
570 | double scale, |
---|
571 | long rotation, |
---|
572 | LuPixbuf* pixbuf) |
---|
573 | { |
---|
574 | SOM_ResolveD(this,LuDocument,LuDocument,renderPageToPixbuf) |
---|
575 | (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf); |
---|
576 | } |
---|
577 | |
---|
578 | |
---|
579 | /* method: isAsynchRenderingSupported */ |
---|
580 | boolean isAsynchRenderingSupported(Environment *ev) |
---|
581 | { |
---|
582 | return SOM_ResolveD(this,LuDocument,LuDocument,isAsynchRenderingSupported) |
---|
583 | (this, ev); |
---|
584 | } |
---|
585 | |
---|
586 | |
---|
587 | /* method: renderPageToPixbufAsynch */ |
---|
588 | void renderPageToPixbufAsynch(Environment *ev, |
---|
589 | long pagenum, |
---|
590 | long src_x, |
---|
591 | long src_y, |
---|
592 | long src_width, |
---|
593 | long src_height, |
---|
594 | double scale, |
---|
595 | long rotation, |
---|
596 | LuPixbuf* pixbuf, |
---|
597 | LuDocument_asynchCallbackFn fnd, |
---|
598 | LuDocument_asynchCallbackFn fna, |
---|
599 | somToken fndata) |
---|
600 | { |
---|
601 | SOM_ResolveD(this,LuDocument,LuDocument,renderPageToPixbufAsynch) |
---|
602 | (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,fnd,fna,fndata); |
---|
603 | } |
---|
604 | |
---|
605 | |
---|
606 | /* method: isRenderIntoPS */ |
---|
607 | boolean isRenderIntoPS(Environment *ev) |
---|
608 | { |
---|
609 | return SOM_ResolveD(this,LuDocument,LuDocument,isRenderIntoPS) |
---|
610 | (this, ev); |
---|
611 | } |
---|
612 | |
---|
613 | |
---|
614 | /* method: renderPageToPS */ |
---|
615 | void renderPageToPS(Environment *ev, |
---|
616 | long pagenum, |
---|
617 | long src_x, |
---|
618 | long src_y, |
---|
619 | long src_width, |
---|
620 | long src_height, |
---|
621 | double scale, |
---|
622 | long rotation, |
---|
623 | unsigned long hps, |
---|
624 | somMToken rect) |
---|
625 | { |
---|
626 | SOM_ResolveD(this,LuDocument,LuDocument,renderPageToPS) |
---|
627 | (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,hps,rect); |
---|
628 | } |
---|
629 | |
---|
630 | |
---|
631 | /* method: isHaveText */ |
---|
632 | boolean isHaveText(Environment *ev) |
---|
633 | { |
---|
634 | return SOM_ResolveD(this,LuDocument,LuDocument,isHaveText) |
---|
635 | (this, ev); |
---|
636 | } |
---|
637 | |
---|
638 | |
---|
639 | /* method: getSelectionRectangles */ |
---|
640 | LuDocument_LuRectSequence* getSelectionRectangles(Environment *ev, |
---|
641 | long pagenum, |
---|
642 | LuRectangle* selection) |
---|
643 | { |
---|
644 | return SOM_ResolveD(this,LuDocument,LuDocument,getSelectionRectangles) |
---|
645 | (this, ev,pagenum,selection); |
---|
646 | } |
---|
647 | |
---|
648 | |
---|
649 | /* noself procedure: freeRectangles */ |
---|
650 | static void freeRectangles(Environment *ev, |
---|
651 | LuDocument_LuRectSequence* rectangles) |
---|
652 | { |
---|
653 | ((somTD_LuDocument_freeRectangles)LuDocumentClassData.freeRectangles) |
---|
654 | ( ev,rectangles); |
---|
655 | } |
---|
656 | |
---|
657 | |
---|
658 | /* method: getText */ |
---|
659 | string getText(Environment *ev, |
---|
660 | long pagenum, |
---|
661 | LuRectangle* selection) |
---|
662 | { |
---|
663 | return SOM_ResolveD(this,LuDocument,LuDocument,getText) |
---|
664 | (this, ev,pagenum,selection); |
---|
665 | } |
---|
666 | |
---|
667 | |
---|
668 | /* method: isHaveLinks */ |
---|
669 | boolean isHaveLinks(Environment *ev) |
---|
670 | { |
---|
671 | return SOM_ResolveD(this,LuDocument,LuDocument,isHaveLinks) |
---|
672 | (this, ev); |
---|
673 | } |
---|
674 | |
---|
675 | |
---|
676 | /* method: getLinkMapping */ |
---|
677 | LuDocument_LuLinkMapSequence* getLinkMapping(Environment *ev, |
---|
678 | long pagenum) |
---|
679 | { |
---|
680 | return SOM_ResolveD(this,LuDocument,LuDocument,getLinkMapping) |
---|
681 | (this, ev,pagenum); |
---|
682 | } |
---|
683 | |
---|
684 | |
---|
685 | /* noself procedure: freeLinkMapping */ |
---|
686 | static void freeLinkMapping(Environment *ev, |
---|
687 | LuDocument_LuLinkMapSequence* mapping) |
---|
688 | { |
---|
689 | ((somTD_LuDocument_freeLinkMapping)LuDocumentClassData.freeLinkMapping) |
---|
690 | ( ev,mapping); |
---|
691 | } |
---|
692 | |
---|
693 | |
---|
694 | /* method: isSaveable */ |
---|
695 | boolean isSaveable(Environment *ev) |
---|
696 | { |
---|
697 | return SOM_ResolveD(this,LuDocument,LuDocument,isSaveable) |
---|
698 | (this, ev); |
---|
699 | } |
---|
700 | |
---|
701 | |
---|
702 | /* method: saveAs */ |
---|
703 | boolean saveAs(Environment *ev, |
---|
704 | string filename) |
---|
705 | { |
---|
706 | return SOM_ResolveD(this,LuDocument,LuDocument,saveAs) |
---|
707 | (this, ev,filename); |
---|
708 | } |
---|
709 | |
---|
710 | |
---|
711 | /* method: isPostScriptExportable */ |
---|
712 | boolean isPostScriptExportable(Environment *ev) |
---|
713 | { |
---|
714 | return SOM_ResolveD(this,LuDocument,LuDocument,isPostScriptExportable) |
---|
715 | (this, ev); |
---|
716 | } |
---|
717 | |
---|
718 | |
---|
719 | /* method: exportToPostScript */ |
---|
720 | boolean exportToPostScript(Environment *ev, |
---|
721 | string filename, |
---|
722 | long first_page, |
---|
723 | long last_page, |
---|
724 | double width, |
---|
725 | double height, |
---|
726 | boolean* brkExport) |
---|
727 | { |
---|
728 | return SOM_ResolveD(this,LuDocument,LuDocument,exportToPostScript) |
---|
729 | (this, ev,filename,first_page,last_page,width,height,brkExport); |
---|
730 | } |
---|
731 | |
---|
732 | |
---|
733 | /* method: isHaveFontInfo */ |
---|
734 | boolean isHaveFontInfo(Environment *ev) |
---|
735 | { |
---|
736 | return SOM_ResolveD(this,LuDocument,LuDocument,isHaveFontInfo) |
---|
737 | (this, ev); |
---|
738 | } |
---|
739 | |
---|
740 | |
---|
741 | /* method: getFontInfo */ |
---|
742 | LuDocument_LuFontInfoSequence* getFontInfo(Environment *ev) |
---|
743 | { |
---|
744 | return SOM_ResolveD(this,LuDocument,LuDocument,getFontInfo) |
---|
745 | (this, ev); |
---|
746 | } |
---|
747 | |
---|
748 | |
---|
749 | /* noself procedure: freeFontInfo */ |
---|
750 | static void freeFontInfo(Environment *ev, |
---|
751 | LuDocument_LuFontInfoSequence* fonts) |
---|
752 | { |
---|
753 | ((somTD_LuDocument_freeFontInfo)LuDocumentClassData.freeFontInfo) |
---|
754 | ( ev,fonts); |
---|
755 | } |
---|
756 | |
---|
757 | |
---|
758 | /* method: isHaveIndex */ |
---|
759 | boolean isHaveIndex(Environment *ev) |
---|
760 | { |
---|
761 | return SOM_ResolveD(this,LuDocument,LuDocument,isHaveIndex) |
---|
762 | (this, ev); |
---|
763 | } |
---|
764 | |
---|
765 | |
---|
766 | /* method: getIndex */ |
---|
767 | LuIndexNode* getIndex(Environment *ev) |
---|
768 | { |
---|
769 | return SOM_ResolveD(this,LuDocument,LuDocument,getIndex) |
---|
770 | (this, ev); |
---|
771 | } |
---|
772 | |
---|
773 | |
---|
774 | /* method: getDocumentInfo */ |
---|
775 | LuDocumentInfo* getDocumentInfo(Environment *ev) |
---|
776 | { |
---|
777 | return SOM_ResolveD(this,LuDocument,LuDocument,getDocumentInfo) |
---|
778 | (this, ev); |
---|
779 | } |
---|
780 | |
---|
781 | |
---|
782 | /* noself procedure: freeDocumentInfo */ |
---|
783 | static void freeDocumentInfo(Environment *ev, |
---|
784 | LuDocumentInfo* info) |
---|
785 | { |
---|
786 | ((somTD_LuDocument_freeDocumentInfo)LuDocumentClassData.freeDocumentInfo) |
---|
787 | ( ev,info); |
---|
788 | } |
---|
789 | |
---|
790 | |
---|
791 | /* method: getThumbnailSize */ |
---|
792 | boolean getThumbnailSize(Environment *ev, |
---|
793 | long pagenum, |
---|
794 | short suggested_width, |
---|
795 | short* width, |
---|
796 | short* height) |
---|
797 | { |
---|
798 | return SOM_ResolveD(this,LuDocument,LuDocument,getThumbnailSize) |
---|
799 | (this, ev,pagenum,suggested_width,width,height); |
---|
800 | } |
---|
801 | |
---|
802 | |
---|
803 | /* method: getThumbnail */ |
---|
804 | LuPixbuf* getThumbnail(Environment *ev, |
---|
805 | long pagenum, |
---|
806 | short suggested_width) |
---|
807 | { |
---|
808 | return SOM_ResolveD(this,LuDocument,LuDocument,getThumbnail) |
---|
809 | (this, ev,pagenum,suggested_width); |
---|
810 | } |
---|
811 | |
---|
812 | |
---|
813 | /* method: searchText */ |
---|
814 | LuDocument_LuRectSequence* searchText(Environment *ev, |
---|
815 | long pagenum, |
---|
816 | string text, |
---|
817 | boolean caseSensitive) |
---|
818 | { |
---|
819 | return SOM_ResolveD(this,LuDocument,LuDocument,searchText) |
---|
820 | (this, ev,pagenum,text,caseSensitive); |
---|
821 | } |
---|
822 | |
---|
823 | |
---|
824 | /* |
---|
825 | * Reintroduce inherited methods |
---|
826 | */ |
---|
827 | |
---|
828 | /* initializer method: somDefaultInit */ |
---|
829 | void somDefaultInit(som3InitCtrl* ctrl) |
---|
830 | { |
---|
831 | SOM_ResolveD(this,LuDocument,SOMObject,somDefaultInit) |
---|
832 | (this,ctrl); |
---|
833 | } |
---|
834 | |
---|
835 | |
---|
836 | /* method: somDestruct */ |
---|
837 | void somDestruct(octet doFree, |
---|
838 | som3DestructCtrl* ctrl) |
---|
839 | { |
---|
840 | SOM_ResolveD(this,LuDocument,SOMObject,somDestruct) |
---|
841 | (this,doFree,ctrl); |
---|
842 | } |
---|
843 | |
---|
844 | |
---|
845 | /* initializer method: somDefaultCopyInit */ |
---|
846 | void somDefaultCopyInit(som3InitCtrl* ctrl, |
---|
847 | SOMObject* fromObj) |
---|
848 | { |
---|
849 | SOM_ResolveD(this,LuDocument,SOMObject,somDefaultCopyInit) |
---|
850 | (this,ctrl,fromObj); |
---|
851 | } |
---|
852 | |
---|
853 | |
---|
854 | /* method: somDefaultAssign */ |
---|
855 | LuDocument* somDefaultAssign(som3AssignCtrl* ctrl, |
---|
856 | SOMObject* fromObj) |
---|
857 | { |
---|
858 | return SOM_ResolveD(this,LuDocument,SOMObject,somDefaultAssign) |
---|
859 | (this,ctrl,fromObj); |
---|
860 | } |
---|
861 | |
---|
862 | |
---|
863 | /* initializer method: somDefaultConstCopyInit */ |
---|
864 | void somDefaultConstCopyInit(som3InitCtrl* ctrl, |
---|
865 | SOMObject* fromObj) |
---|
866 | { |
---|
867 | SOM_ResolveD(this,LuDocument,SOMObject,somDefaultConstCopyInit) |
---|
868 | (this,ctrl,fromObj); |
---|
869 | } |
---|
870 | |
---|
871 | |
---|
872 | /* initializer method: somDefaultVCopyInit */ |
---|
873 | void somDefaultVCopyInit(som3InitCtrl* ctrl, |
---|
874 | SOMObject* fromObj) |
---|
875 | { |
---|
876 | SOM_ResolveD(this,LuDocument,SOMObject,somDefaultVCopyInit) |
---|
877 | (this,ctrl,fromObj); |
---|
878 | } |
---|
879 | |
---|
880 | |
---|
881 | /* initializer method: somDefaultConstVCopyInit */ |
---|
882 | void somDefaultConstVCopyInit(som3InitCtrl* ctrl, |
---|
883 | SOMObject* fromObj) |
---|
884 | { |
---|
885 | SOM_ResolveD(this,LuDocument,SOMObject,somDefaultConstVCopyInit) |
---|
886 | (this,ctrl,fromObj); |
---|
887 | } |
---|
888 | |
---|
889 | |
---|
890 | /* method: somDefaultConstAssign */ |
---|
891 | LuDocument* somDefaultConstAssign(som3AssignCtrl* ctrl, |
---|
892 | SOMObject* fromObj) |
---|
893 | { |
---|
894 | return SOM_ResolveD(this,LuDocument,SOMObject,somDefaultConstAssign) |
---|
895 | (this,ctrl,fromObj); |
---|
896 | } |
---|
897 | |
---|
898 | |
---|
899 | /* method: somDefaultVAssign */ |
---|
900 | LuDocument* somDefaultVAssign(som3AssignCtrl* ctrl, |
---|
901 | SOMObject* fromObj) |
---|
902 | { |
---|
903 | return SOM_ResolveD(this,LuDocument,SOMObject,somDefaultVAssign) |
---|
904 | (this,ctrl,fromObj); |
---|
905 | } |
---|
906 | |
---|
907 | |
---|
908 | /* method: somDefaultConstVAssign */ |
---|
909 | LuDocument* somDefaultConstVAssign(som3AssignCtrl* ctrl, |
---|
910 | SOMObject* fromObj) |
---|
911 | { |
---|
912 | return SOM_ResolveD(this,LuDocument,SOMObject,somDefaultConstVAssign) |
---|
913 | (this,ctrl,fromObj); |
---|
914 | } |
---|
915 | |
---|
916 | |
---|
917 | /* method: somInit */ |
---|
918 | void somInit() |
---|
919 | { |
---|
920 | SOM_ResolveD(this,LuDocument,SOMObject,somInit) |
---|
921 | (this); |
---|
922 | } |
---|
923 | |
---|
924 | |
---|
925 | /* method: somFree */ |
---|
926 | void somFree() |
---|
927 | { |
---|
928 | SOM_ResolveD(this,LuDocument,SOMObject,somFree) |
---|
929 | (this); |
---|
930 | } |
---|
931 | |
---|
932 | |
---|
933 | /* method: somUninit */ |
---|
934 | void somUninit() |
---|
935 | { |
---|
936 | SOM_ResolveD(this,LuDocument,SOMObject,somUninit) |
---|
937 | (this); |
---|
938 | } |
---|
939 | |
---|
940 | |
---|
941 | /* method: somGetClass */ |
---|
942 | SOMClass* somGetClass() |
---|
943 | { |
---|
944 | return SOM_ResolveD(this,LuDocument,SOMObject,somGetClass) |
---|
945 | (this); |
---|
946 | } |
---|
947 | |
---|
948 | |
---|
949 | /* method: somGetClassName */ |
---|
950 | string somGetClassName() |
---|
951 | { |
---|
952 | return SOM_ResolveD(this,LuDocument,SOMObject,somGetClassName) |
---|
953 | (this); |
---|
954 | } |
---|
955 | |
---|
956 | |
---|
957 | /* method: somGetSize */ |
---|
958 | long somGetSize() |
---|
959 | { |
---|
960 | return SOM_ResolveD(this,LuDocument,SOMObject,somGetSize) |
---|
961 | (this); |
---|
962 | } |
---|
963 | |
---|
964 | |
---|
965 | /* method: somIsA */ |
---|
966 | boolean somIsA(SOMClass* aClassObj) |
---|
967 | { |
---|
968 | return SOM_ResolveD(this,LuDocument,SOMObject,somIsA) |
---|
969 | (this,aClassObj); |
---|
970 | } |
---|
971 | |
---|
972 | |
---|
973 | /* method: somIsInstanceOf */ |
---|
974 | boolean somIsInstanceOf(SOMClass* aClassObj) |
---|
975 | { |
---|
976 | return SOM_ResolveD(this,LuDocument,SOMObject,somIsInstanceOf) |
---|
977 | (this,aClassObj); |
---|
978 | } |
---|
979 | |
---|
980 | |
---|
981 | /* method: somRespondsTo */ |
---|
982 | boolean somRespondsTo(somId mId) |
---|
983 | { |
---|
984 | return SOM_ResolveD(this,LuDocument,SOMObject,somRespondsTo) |
---|
985 | (this,mId); |
---|
986 | } |
---|
987 | |
---|
988 | |
---|
989 | /* va_list method: somDispatch */ |
---|
990 | |
---|
991 | /* the va_list invocation form */ |
---|
992 | boolean LuDocument_somDispatch(somToken* retValue, |
---|
993 | somId methodId, |
---|
994 | va_list ap) |
---|
995 | {return SOM_ResolveD(this,LuDocument,SOMObject,somDispatch) |
---|
996 | (this,retValue,methodId,ap); |
---|
997 | } |
---|
998 | |
---|
999 | /* the varargs invocation form */ |
---|
1000 | boolean somDispatch(somToken* retValue, |
---|
1001 | somId methodId, |
---|
1002 | ...) |
---|
1003 | { |
---|
1004 | va_list ap; |
---|
1005 | va_start(ap, methodId); |
---|
1006 | boolean __somResult = |
---|
1007 | SOM_ResolveD(this,LuDocument,SOMObject,somDispatch) |
---|
1008 | (this,retValue,methodId,ap); |
---|
1009 | va_end(ap); |
---|
1010 | return __somResult; |
---|
1011 | } |
---|
1012 | |
---|
1013 | |
---|
1014 | /* va_list method: somClassDispatch */ |
---|
1015 | |
---|
1016 | /* the va_list invocation form */ |
---|
1017 | boolean LuDocument_somClassDispatch(SOMClass* clsObj, |
---|
1018 | somToken* retValue, |
---|
1019 | somId methodId, |
---|
1020 | va_list ap) |
---|
1021 | {return SOM_ResolveD(this,LuDocument,SOMObject,somClassDispatch) |
---|
1022 | (this,clsObj,retValue,methodId,ap); |
---|
1023 | } |
---|
1024 | |
---|
1025 | /* the varargs invocation form */ |
---|
1026 | boolean somClassDispatch(SOMClass* clsObj, |
---|
1027 | somToken* retValue, |
---|
1028 | somId methodId, |
---|
1029 | ...) |
---|
1030 | { |
---|
1031 | va_list ap; |
---|
1032 | va_start(ap, methodId); |
---|
1033 | boolean __somResult = |
---|
1034 | SOM_ResolveD(this,LuDocument,SOMObject,somClassDispatch) |
---|
1035 | (this,clsObj,retValue,methodId,ap); |
---|
1036 | va_end(ap); |
---|
1037 | return __somResult; |
---|
1038 | } |
---|
1039 | |
---|
1040 | |
---|
1041 | /* method: somCastObj */ |
---|
1042 | boolean somCastObj(SOMClass* cls) |
---|
1043 | { |
---|
1044 | return SOM_ResolveD(this,LuDocument,SOMObject,somCastObj) |
---|
1045 | (this,cls); |
---|
1046 | } |
---|
1047 | |
---|
1048 | |
---|
1049 | /* method: somResetObj */ |
---|
1050 | boolean somResetObj() |
---|
1051 | { |
---|
1052 | return SOM_ResolveD(this,LuDocument,SOMObject,somResetObj) |
---|
1053 | (this); |
---|
1054 | } |
---|
1055 | |
---|
1056 | |
---|
1057 | /* va_list method: somDispatchV */ |
---|
1058 | |
---|
1059 | /* the va_list invocation form */ |
---|
1060 | void LuDocument_somDispatchV(somId methodId, |
---|
1061 | somId descriptor, |
---|
1062 | va_list ap) |
---|
1063 | { SOM_ResolveD(this,LuDocument,SOMObject,somDispatchV) |
---|
1064 | (this,methodId,descriptor,ap); |
---|
1065 | } |
---|
1066 | |
---|
1067 | /* the varargs invocation form */ |
---|
1068 | void somDispatchV(somId methodId, |
---|
1069 | somId descriptor, |
---|
1070 | ...) |
---|
1071 | { |
---|
1072 | va_list ap; |
---|
1073 | va_start(ap, descriptor); |
---|
1074 | SOM_ResolveD(this,LuDocument,SOMObject,somDispatchV) |
---|
1075 | (this,methodId,descriptor,ap); |
---|
1076 | va_end(ap); |
---|
1077 | } |
---|
1078 | |
---|
1079 | |
---|
1080 | /* va_list method: somDispatchL */ |
---|
1081 | |
---|
1082 | /* the va_list invocation form */ |
---|
1083 | long LuDocument_somDispatchL(somId methodId, |
---|
1084 | somId descriptor, |
---|
1085 | va_list ap) |
---|
1086 | {return SOM_ResolveD(this,LuDocument,SOMObject,somDispatchL) |
---|
1087 | (this,methodId,descriptor,ap); |
---|
1088 | } |
---|
1089 | |
---|
1090 | /* the varargs invocation form */ |
---|
1091 | long somDispatchL(somId methodId, |
---|
1092 | somId descriptor, |
---|
1093 | ...) |
---|
1094 | { |
---|
1095 | va_list ap; |
---|
1096 | va_start(ap, descriptor); |
---|
1097 | long __somResult = |
---|
1098 | SOM_ResolveD(this,LuDocument,SOMObject,somDispatchL) |
---|
1099 | (this,methodId,descriptor,ap); |
---|
1100 | va_end(ap); |
---|
1101 | return __somResult; |
---|
1102 | } |
---|
1103 | |
---|
1104 | |
---|
1105 | /* va_list method: somDispatchA */ |
---|
1106 | |
---|
1107 | /* the va_list invocation form */ |
---|
1108 | void* LuDocument_somDispatchA(somId methodId, |
---|
1109 | somId descriptor, |
---|
1110 | va_list ap) |
---|
1111 | {return SOM_ResolveD(this,LuDocument,SOMObject,somDispatchA) |
---|
1112 | (this,methodId,descriptor,ap); |
---|
1113 | } |
---|
1114 | |
---|
1115 | /* the varargs invocation form */ |
---|
1116 | void* somDispatchA(somId methodId, |
---|
1117 | somId descriptor, |
---|
1118 | ...) |
---|
1119 | { |
---|
1120 | va_list ap; |
---|
1121 | va_start(ap, descriptor); |
---|
1122 | void* __somResult = |
---|
1123 | SOM_ResolveD(this,LuDocument,SOMObject,somDispatchA) |
---|
1124 | (this,methodId,descriptor,ap); |
---|
1125 | va_end(ap); |
---|
1126 | return __somResult; |
---|
1127 | } |
---|
1128 | |
---|
1129 | |
---|
1130 | /* va_list method: somDispatchD */ |
---|
1131 | |
---|
1132 | /* the va_list invocation form */ |
---|
1133 | double LuDocument_somDispatchD(somId methodId, |
---|
1134 | somId descriptor, |
---|
1135 | va_list ap) |
---|
1136 | {return SOM_ResolveD(this,LuDocument,SOMObject,somDispatchD) |
---|
1137 | (this,methodId,descriptor,ap); |
---|
1138 | } |
---|
1139 | |
---|
1140 | /* the varargs invocation form */ |
---|
1141 | double somDispatchD(somId methodId, |
---|
1142 | somId descriptor, |
---|
1143 | ...) |
---|
1144 | { |
---|
1145 | va_list ap; |
---|
1146 | va_start(ap, descriptor); |
---|
1147 | double __somResult = |
---|
1148 | SOM_ResolveD(this,LuDocument,SOMObject,somDispatchD) |
---|
1149 | (this,methodId,descriptor,ap); |
---|
1150 | va_end(ap); |
---|
1151 | return __somResult; |
---|
1152 | } |
---|
1153 | |
---|
1154 | |
---|
1155 | /* method: somPrintSelf */ |
---|
1156 | SOMObject* somPrintSelf() |
---|
1157 | { |
---|
1158 | return SOM_ResolveD(this,LuDocument,SOMObject,somPrintSelf) |
---|
1159 | (this); |
---|
1160 | } |
---|
1161 | |
---|
1162 | |
---|
1163 | /* method: somDumpSelf */ |
---|
1164 | void somDumpSelf(long level) |
---|
1165 | { |
---|
1166 | SOM_ResolveD(this,LuDocument,SOMObject,somDumpSelf) |
---|
1167 | (this,level); |
---|
1168 | } |
---|
1169 | |
---|
1170 | |
---|
1171 | /* method: somDumpSelfInt */ |
---|
1172 | void somDumpSelfInt(long level) |
---|
1173 | { |
---|
1174 | SOM_ResolveD(this,LuDocument,SOMObject,somDumpSelfInt) |
---|
1175 | (this,level); |
---|
1176 | } |
---|
1177 | |
---|
1178 | |
---|
1179 | |
---|
1180 | }; /* LuDocument */ |
---|
1181 | |
---|
1182 | |
---|
1183 | |
---|
1184 | #endif /* SOM_LuDocument_xh */ |
---|