source: trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.xih @ 123

Last change on this file since 123 was 123, checked in by Eugene Romanenko, 14 years ago

allow printing in descending order (closes #88), small interface fixes (closes #89)

File size: 68.4 KB
Line 
1
2/*
3 * This file was generated by the SOM Compiler.
4 * FileName: lupoppler.xih.
5 * Generated using:
6 *     SOM Precompiler somipc: 2.29.1.17
7 *     SOM Emitter emitxih: 2.47
8 */
9
10/*
11 * -- By default, for classes declared using IDL,
12 * -- this emitter doesn't define redispatch/apply stubs.
13 * -- Instead, it requests that the SOM kernel produce them.
14 * -- To override this default, use the "notc" modifier.
15 */
16
17#ifndef SOM_LuPopplerDocument_xih
18#define SOM_LuPopplerDocument_xih
19
20#include <somcls.xh>
21#include <somcm.xh>
22
23#ifndef SOM_LuPopplerDocument_xh
24#include <lupoppler.xh>
25#endif
26
27/*
28 * Set the scope of methods functions
29 */
30#ifndef SOM_Scope
31#define SOM_Scope static
32#endif
33
34#define LuPopplerDocument_MaxNoMethods 0
35
36/*
37 * -- Instance Data
38 */
39typedef struct {
40        void* data;
41} LuPopplerDocumentData;
42
43/*
44 * -- Getdata Macro
45 */
46
47/*
48 * -- This emitter treats Data Tokens as Thunks by default.
49 * -- Use the sc modifier "nothunks" to override this default.
50 */
51typedef LuPopplerDocumentData* (SOMLINK * somTD_LuPopplerDocument_DataThunk)(void*);
52#define LuPopplerDocumentGetData(somSelf) \
53   (((somTD_LuPopplerDocument_DataThunk)(LuPopplerDocumentCClassData.instanceDataToken))(somSelf))
54
55/*
56 * -- Instance Data Access Macros for use in Method Procedures
57 */
58#ifdef VARIABLE_MACROS
59  #define _data (somThis->data)
60#endif
61
62
63/*
64 * -- Primary Implementation File Support
65 */
66#if (defined(LuPopplerDocument_Class_Source) || defined(SOM_Module_lupoppler_Source))
67
68/*
69 * Trace/Debug macro
70 */
71#ifndef LuPopplerDocumentMethodDebug
72   #define LuPopplerDocumentMethodDebug(c,m) SOMMethodDebug(c,m)
73#endif
74
75/*
76 * -- Method Macros for use in Method Procedures
77 */
78#ifdef METHOD_MACROS
79  #define _loadFile somSelf->loadFile
80  #define _getBpp somSelf->getBpp
81  #define _isScalable somSelf->isScalable
82  #define _isFixedImage somSelf->isFixedImage
83  #define _isRotable somSelf->isRotable
84  #define _getPageCount somSelf->getPageCount
85  #define _getPageSize somSelf->getPageSize
86  #define _renderPageToPixbuf somSelf->renderPageToPixbuf
87  #define _isAsynchRenderingSupported somSelf->isAsynchRenderingSupported
88  #define _renderPageToPixbufAsynch somSelf->renderPageToPixbufAsynch
89  #define _isRenderIntoPS somSelf->isRenderIntoPS
90  #define _renderPageToPS somSelf->renderPageToPS
91  #define _isHaveText somSelf->isHaveText
92  #define _getSelectionRectangles somSelf->getSelectionRectangles
93  #define _freeRectangles somSelf->freeRectangles
94  #define _getText somSelf->getText
95  #define _isHaveLinks somSelf->isHaveLinks
96  #define _getLinkMapping somSelf->getLinkMapping
97  #define _freeLinkMapping somSelf->freeLinkMapping
98  #define _isSaveable somSelf->isSaveable
99  #define _saveAs somSelf->saveAs
100  #define _isPostScriptExportable somSelf->isPostScriptExportable
101  #define _exportToPostScript somSelf->exportToPostScript
102  #define _isHaveFontInfo somSelf->isHaveFontInfo
103  #define _getFontInfo somSelf->getFontInfo
104  #define _freeFontInfo somSelf->freeFontInfo
105  #define _isHaveIndex somSelf->isHaveIndex
106  #define _getIndex somSelf->getIndex
107  #define _getDocumentInfo somSelf->getDocumentInfo
108  #define _freeDocumentInfo somSelf->freeDocumentInfo
109  #define _getThumbnailSize somSelf->getThumbnailSize
110  #define _getThumbnail somSelf->getThumbnail
111  #define _searchText somSelf->searchText
112  #define _somDefaultInit somSelf->somDefaultInit
113  #define _somDestruct somSelf->somDestruct
114  #define _somDefaultCopyInit somSelf->somDefaultCopyInit
115  #define _somDefaultAssign somSelf->somDefaultAssign
116  #define _somDefaultConstCopyInit somSelf->somDefaultConstCopyInit
117  #define _somDefaultVCopyInit somSelf->somDefaultVCopyInit
118  #define _somDefaultConstVCopyInit somSelf->somDefaultConstVCopyInit
119  #define _somDefaultConstAssign somSelf->somDefaultConstAssign
120  #define _somDefaultVAssign somSelf->somDefaultVAssign
121  #define _somDefaultConstVAssign somSelf->somDefaultConstVAssign
122  #define _somInit somSelf->somInit
123  #define _somFree somSelf->somFree
124  #define _somUninit somSelf->somUninit
125  #define _somGetClass somSelf->somGetClass
126  #define _somGetClassName somSelf->somGetClassName
127  #define _somGetSize somSelf->somGetSize
128  #define _somIsA somSelf->somIsA
129  #define _somIsInstanceOf somSelf->somIsInstanceOf
130  #define _somRespondsTo somSelf->somRespondsTo
131  #define _somDispatch somSelf->somDispatch
132  #define _somClassDispatch somSelf->somClassDispatch
133  #define _somCastObj somSelf->somCastObj
134  #define _somResetObj somSelf->somResetObj
135  #define _somDispatchV somSelf->somDispatchV
136  #define _somDispatchL somSelf->somDispatchL
137  #define _somDispatchA somSelf->somDispatchA
138  #define _somDispatchD somSelf->somDispatchD
139  #define _somPrintSelf somSelf->somPrintSelf
140  #define _somDumpSelf somSelf->somDumpSelf
141  #define _somDumpSelfInt somSelf->somDumpSelfInt
142  #define _loadFile somSelf->loadFile
143  #define _getBpp somSelf->getBpp
144  #define _isScalable somSelf->isScalable
145  #define _isRotable somSelf->isRotable
146  #define _getPageCount somSelf->getPageCount
147  #define _getPageSize somSelf->getPageSize
148  #define _renderPageToPixbuf somSelf->renderPageToPixbuf
149  #define _isAsynchRenderingSupported somSelf->isAsynchRenderingSupported
150  #define _renderPageToPixbufAsynch somSelf->renderPageToPixbufAsynch
151  #define _getSelectionRectangles somSelf->getSelectionRectangles
152  #define _isHaveText somSelf->isHaveText
153  #define _getText somSelf->getText
154  #define _isHaveLinks somSelf->isHaveLinks
155  #define _getLinkMapping somSelf->getLinkMapping
156  #define _isSaveable somSelf->isSaveable
157  #define _saveAs somSelf->saveAs
158  #define _isPostScriptExportable somSelf->isPostScriptExportable
159  #define _exportToPostScript somSelf->exportToPostScript
160  #define _isHaveFontInfo somSelf->isHaveFontInfo
161  #define _getFontInfo somSelf->getFontInfo
162  #define _isHaveIndex somSelf->isHaveIndex
163  #define _getIndex somSelf->getIndex
164  #define _getDocumentInfo somSelf->getDocumentInfo
165  #define _getThumbnailSize somSelf->getThumbnailSize
166  #define _getThumbnail somSelf->getThumbnail
167  #define _searchText somSelf->searchText
168  #define _isFixedImage somSelf->isFixedImage
169  #define _somDefaultInit somSelf->somDefaultInit
170  #define _somDestruct somSelf->somDestruct
171#endif
172
173
174/*
175 * -- The LuPopplerDocument ClassData Structure
176 */
177SOMEXTERN struct LuPopplerDocumentClassDataStructure SOMDLINK LuPopplerDocumentClassData = {(SOMClass *) NULL};
178
179/*
180 * -- The auxiliary LuPopplerDocument ClassData structure
181 */
182SOMEXTERN struct LuPopplerDocumentCClassDataStructure SOMDLINK LuPopplerDocumentCClassData = {(somMethodTabs) NULL};
183
184
185/*
186 * Overridden method: loadFile
187 */
188SOM_Scope boolean  SOMLINK loadFile(LuPopplerDocument *somSelf, Environment *ev,
189                string filename,
190                string password,
191                string* error);
192static char *somMN_LuPopplerDocumentloadFile = "LuDocument::loadFile";
193static somId somId_LuPopplerDocumentloadFile = &somMN_LuPopplerDocumentloadFile;
194#ifdef somId_loadFile
195#undef somId_loadFile
196#else
197#define somId_loadFile somId_LuPopplerDocumentloadFile
198#endif
199typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_loadFile(LuPopplerDocument *somSelf, Environment *ev,
200                string filename,
201                string password,
202                string* error);
203typedef somTP_xih_LuPopplerDocument_loadFile *somTD_xih_LuPopplerDocument_loadFile;
204/* define the parent method call macro */
205static somMethodProc* LuPopplerDocument_parent_LuDocument_loadFile_resolved;
206#define LuPopplerDocument_parent_LuDocument_loadFile(somSelf,ev,filename,password,error) \
207  ((( somTD_xih_LuPopplerDocument_loadFile ) \
208      LuPopplerDocument_parent_LuDocument_loadFile_resolved) \
209        (somSelf,ev,filename,password,error))
210/* define a variety of (possibly ambiguous) short forms */
211#ifndef SOMGD_pmc_parent_loadFile
212  #ifdef parent_loadFile
213    #define SOMGD_pmc_parent_loadFile
214    #undef parent_loadFile
215  #else
216#define parent_loadFile LuPopplerDocument_parent_LuDocument_loadFile
217  #endif
218#endif
219#ifndef SOMGD_pmc_parent_LuDocument_loadFile
220  #ifdef parent_LuDocument_loadFile
221    #define SOMGD_pmc_parent_LuDocument_loadFile
222    #undef parent_LuDocument_loadFile
223  #else
224    #define parent_LuDocument_loadFile LuPopplerDocument_parent_LuDocument_loadFile
225  #endif
226#endif
227#define LuPopplerDocument_parents_loadFile(somSelf,ev,filename,password,error) (\
228   LuPopplerDocument_parent_LuDocument_loadFile(somSelf,ev,filename,password,error))
229
230/*
231 * Overridden method: getBpp
232 */
233SOM_Scope short  SOMLINK getBpp(LuPopplerDocument *somSelf, Environment *ev);
234static char *somMN_LuPopplerDocumentgetBpp = "LuDocument::getBpp";
235static somId somId_LuPopplerDocumentgetBpp = &somMN_LuPopplerDocumentgetBpp;
236#ifdef somId_getBpp
237#undef somId_getBpp
238#else
239#define somId_getBpp somId_LuPopplerDocumentgetBpp
240#endif
241typedef short   SOMLINK somTP_xih_LuPopplerDocument_getBpp(LuPopplerDocument *somSelf, Environment *ev);
242typedef somTP_xih_LuPopplerDocument_getBpp *somTD_xih_LuPopplerDocument_getBpp;
243/* define the parent method call macro */
244static somMethodProc* LuPopplerDocument_parent_LuDocument_getBpp_resolved;
245#define LuPopplerDocument_parent_LuDocument_getBpp(somSelf,ev) \
246  ((( somTD_xih_LuPopplerDocument_getBpp ) \
247      LuPopplerDocument_parent_LuDocument_getBpp_resolved) \
248        (somSelf,ev))
249/* define a variety of (possibly ambiguous) short forms */
250#ifndef SOMGD_pmc_parent_getBpp
251  #ifdef parent_getBpp
252    #define SOMGD_pmc_parent_getBpp
253    #undef parent_getBpp
254  #else
255#define parent_getBpp LuPopplerDocument_parent_LuDocument_getBpp
256  #endif
257#endif
258#ifndef SOMGD_pmc_parent_LuDocument_getBpp
259  #ifdef parent_LuDocument_getBpp
260    #define SOMGD_pmc_parent_LuDocument_getBpp
261    #undef parent_LuDocument_getBpp
262  #else
263    #define parent_LuDocument_getBpp LuPopplerDocument_parent_LuDocument_getBpp
264  #endif
265#endif
266#define LuPopplerDocument_parents_getBpp(somSelf,ev) (\
267   LuPopplerDocument_parent_LuDocument_getBpp(somSelf,ev))
268
269/*
270 * Overridden method: isScalable
271 */
272SOM_Scope boolean  SOMLINK isScalable(LuPopplerDocument *somSelf, Environment *ev);
273static char *somMN_LuPopplerDocumentisScalable = "LuDocument::isScalable";
274static somId somId_LuPopplerDocumentisScalable = &somMN_LuPopplerDocumentisScalable;
275#ifdef somId_isScalable
276#undef somId_isScalable
277#else
278#define somId_isScalable somId_LuPopplerDocumentisScalable
279#endif
280typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isScalable(LuPopplerDocument *somSelf, Environment *ev);
281typedef somTP_xih_LuPopplerDocument_isScalable *somTD_xih_LuPopplerDocument_isScalable;
282/* define the parent method call macro */
283static somMethodProc* LuPopplerDocument_parent_LuDocument_isScalable_resolved;
284#define LuPopplerDocument_parent_LuDocument_isScalable(somSelf,ev) \
285  ((( somTD_xih_LuPopplerDocument_isScalable ) \
286      LuPopplerDocument_parent_LuDocument_isScalable_resolved) \
287        (somSelf,ev))
288/* define a variety of (possibly ambiguous) short forms */
289#ifndef SOMGD_pmc_parent_isScalable
290  #ifdef parent_isScalable
291    #define SOMGD_pmc_parent_isScalable
292    #undef parent_isScalable
293  #else
294#define parent_isScalable LuPopplerDocument_parent_LuDocument_isScalable
295  #endif
296#endif
297#ifndef SOMGD_pmc_parent_LuDocument_isScalable
298  #ifdef parent_LuDocument_isScalable
299    #define SOMGD_pmc_parent_LuDocument_isScalable
300    #undef parent_LuDocument_isScalable
301  #else
302    #define parent_LuDocument_isScalable LuPopplerDocument_parent_LuDocument_isScalable
303  #endif
304#endif
305#define LuPopplerDocument_parents_isScalable(somSelf,ev) (\
306   LuPopplerDocument_parent_LuDocument_isScalable(somSelf,ev))
307
308/*
309 * Overridden method: isRotable
310 */
311SOM_Scope boolean  SOMLINK isRotable(LuPopplerDocument *somSelf, Environment *ev);
312static char *somMN_LuPopplerDocumentisRotable = "LuDocument::isRotable";
313static somId somId_LuPopplerDocumentisRotable = &somMN_LuPopplerDocumentisRotable;
314#ifdef somId_isRotable
315#undef somId_isRotable
316#else
317#define somId_isRotable somId_LuPopplerDocumentisRotable
318#endif
319typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isRotable(LuPopplerDocument *somSelf, Environment *ev);
320typedef somTP_xih_LuPopplerDocument_isRotable *somTD_xih_LuPopplerDocument_isRotable;
321/* define the parent method call macro */
322static somMethodProc* LuPopplerDocument_parent_LuDocument_isRotable_resolved;
323#define LuPopplerDocument_parent_LuDocument_isRotable(somSelf,ev) \
324  ((( somTD_xih_LuPopplerDocument_isRotable ) \
325      LuPopplerDocument_parent_LuDocument_isRotable_resolved) \
326        (somSelf,ev))
327/* define a variety of (possibly ambiguous) short forms */
328#ifndef SOMGD_pmc_parent_isRotable
329  #ifdef parent_isRotable
330    #define SOMGD_pmc_parent_isRotable
331    #undef parent_isRotable
332  #else
333#define parent_isRotable LuPopplerDocument_parent_LuDocument_isRotable
334  #endif
335#endif
336#ifndef SOMGD_pmc_parent_LuDocument_isRotable
337  #ifdef parent_LuDocument_isRotable
338    #define SOMGD_pmc_parent_LuDocument_isRotable
339    #undef parent_LuDocument_isRotable
340  #else
341    #define parent_LuDocument_isRotable LuPopplerDocument_parent_LuDocument_isRotable
342  #endif
343#endif
344#define LuPopplerDocument_parents_isRotable(somSelf,ev) (\
345   LuPopplerDocument_parent_LuDocument_isRotable(somSelf,ev))
346
347/*
348 * Overridden method: getPageCount
349 */
350SOM_Scope long  SOMLINK getPageCount(LuPopplerDocument *somSelf, Environment *ev);
351static char *somMN_LuPopplerDocumentgetPageCount = "LuDocument::getPageCount";
352static somId somId_LuPopplerDocumentgetPageCount = &somMN_LuPopplerDocumentgetPageCount;
353#ifdef somId_getPageCount
354#undef somId_getPageCount
355#else
356#define somId_getPageCount somId_LuPopplerDocumentgetPageCount
357#endif
358typedef long   SOMLINK somTP_xih_LuPopplerDocument_getPageCount(LuPopplerDocument *somSelf, Environment *ev);
359typedef somTP_xih_LuPopplerDocument_getPageCount *somTD_xih_LuPopplerDocument_getPageCount;
360/* define the parent method call macro */
361static somMethodProc* LuPopplerDocument_parent_LuDocument_getPageCount_resolved;
362#define LuPopplerDocument_parent_LuDocument_getPageCount(somSelf,ev) \
363  ((( somTD_xih_LuPopplerDocument_getPageCount ) \
364      LuPopplerDocument_parent_LuDocument_getPageCount_resolved) \
365        (somSelf,ev))
366/* define a variety of (possibly ambiguous) short forms */
367#ifndef SOMGD_pmc_parent_getPageCount
368  #ifdef parent_getPageCount
369    #define SOMGD_pmc_parent_getPageCount
370    #undef parent_getPageCount
371  #else
372#define parent_getPageCount LuPopplerDocument_parent_LuDocument_getPageCount
373  #endif
374#endif
375#ifndef SOMGD_pmc_parent_LuDocument_getPageCount
376  #ifdef parent_LuDocument_getPageCount
377    #define SOMGD_pmc_parent_LuDocument_getPageCount
378    #undef parent_LuDocument_getPageCount
379  #else
380    #define parent_LuDocument_getPageCount LuPopplerDocument_parent_LuDocument_getPageCount
381  #endif
382#endif
383#define LuPopplerDocument_parents_getPageCount(somSelf,ev) (\
384   LuPopplerDocument_parent_LuDocument_getPageCount(somSelf,ev))
385
386/*
387 * Overridden method: getPageSize
388 */
389SOM_Scope void  SOMLINK getPageSize(LuPopplerDocument *somSelf, Environment *ev,
390                long pagenum,
391                double* width,
392                double* height);
393static char *somMN_LuPopplerDocumentgetPageSize = "LuDocument::getPageSize";
394static somId somId_LuPopplerDocumentgetPageSize = &somMN_LuPopplerDocumentgetPageSize;
395#ifdef somId_getPageSize
396#undef somId_getPageSize
397#else
398#define somId_getPageSize somId_LuPopplerDocumentgetPageSize
399#endif
400typedef void   SOMLINK somTP_xih_LuPopplerDocument_getPageSize(LuPopplerDocument *somSelf, Environment *ev,
401                long pagenum,
402                double* width,
403                double* height);
404typedef somTP_xih_LuPopplerDocument_getPageSize *somTD_xih_LuPopplerDocument_getPageSize;
405/* define the parent method call macro */
406static somMethodProc* LuPopplerDocument_parent_LuDocument_getPageSize_resolved;
407#define LuPopplerDocument_parent_LuDocument_getPageSize(somSelf,ev,pagenum,width,height) \
408  ((( somTD_xih_LuPopplerDocument_getPageSize ) \
409      LuPopplerDocument_parent_LuDocument_getPageSize_resolved) \
410        (somSelf,ev,pagenum,width,height))
411/* define a variety of (possibly ambiguous) short forms */
412#ifndef SOMGD_pmc_parent_getPageSize
413  #ifdef parent_getPageSize
414    #define SOMGD_pmc_parent_getPageSize
415    #undef parent_getPageSize
416  #else
417#define parent_getPageSize LuPopplerDocument_parent_LuDocument_getPageSize
418  #endif
419#endif
420#ifndef SOMGD_pmc_parent_LuDocument_getPageSize
421  #ifdef parent_LuDocument_getPageSize
422    #define SOMGD_pmc_parent_LuDocument_getPageSize
423    #undef parent_LuDocument_getPageSize
424  #else
425    #define parent_LuDocument_getPageSize LuPopplerDocument_parent_LuDocument_getPageSize
426  #endif
427#endif
428#define LuPopplerDocument_parents_getPageSize(somSelf,ev,pagenum,width,height) (\
429   LuPopplerDocument_parent_LuDocument_getPageSize(somSelf,ev,pagenum,width,height))
430
431/*
432 * Overridden method: renderPageToPixbuf
433 */
434SOM_Scope void  SOMLINK renderPageToPixbuf(LuPopplerDocument *somSelf, Environment *ev,
435                long pagenum,
436                long src_x,
437                long src_y,
438                long src_width,
439                long src_height,
440                double scale,
441                long rotation,
442                LuPixbuf* pixbuf);
443static char *somMN_LuPopplerDocumentrenderPageToPixbuf = "LuDocument::renderPageToPixbuf";
444static somId somId_LuPopplerDocumentrenderPageToPixbuf = &somMN_LuPopplerDocumentrenderPageToPixbuf;
445#ifdef somId_renderPageToPixbuf
446#undef somId_renderPageToPixbuf
447#else
448#define somId_renderPageToPixbuf somId_LuPopplerDocumentrenderPageToPixbuf
449#endif
450typedef void   SOMLINK somTP_xih_LuPopplerDocument_renderPageToPixbuf(LuPopplerDocument *somSelf, Environment *ev,
451                long pagenum,
452                long src_x,
453                long src_y,
454                long src_width,
455                long src_height,
456                double scale,
457                long rotation,
458                LuPixbuf* pixbuf);
459typedef somTP_xih_LuPopplerDocument_renderPageToPixbuf *somTD_xih_LuPopplerDocument_renderPageToPixbuf;
460/* define the parent method call macro */
461static somMethodProc* LuPopplerDocument_parent_LuDocument_renderPageToPixbuf_resolved;
462#define LuPopplerDocument_parent_LuDocument_renderPageToPixbuf(somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf) \
463  ((( somTD_xih_LuPopplerDocument_renderPageToPixbuf ) \
464      LuPopplerDocument_parent_LuDocument_renderPageToPixbuf_resolved) \
465        (somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf))
466/* define a variety of (possibly ambiguous) short forms */
467#ifndef SOMGD_pmc_parent_renderPageToPixbuf
468  #ifdef parent_renderPageToPixbuf
469    #define SOMGD_pmc_parent_renderPageToPixbuf
470    #undef parent_renderPageToPixbuf
471  #else
472#define parent_renderPageToPixbuf LuPopplerDocument_parent_LuDocument_renderPageToPixbuf
473  #endif
474#endif
475#ifndef SOMGD_pmc_parent_LuDocument_renderPageToPixbuf
476  #ifdef parent_LuDocument_renderPageToPixbuf
477    #define SOMGD_pmc_parent_LuDocument_renderPageToPixbuf
478    #undef parent_LuDocument_renderPageToPixbuf
479  #else
480    #define parent_LuDocument_renderPageToPixbuf LuPopplerDocument_parent_LuDocument_renderPageToPixbuf
481  #endif
482#endif
483#define LuPopplerDocument_parents_renderPageToPixbuf(somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf) (\
484   LuPopplerDocument_parent_LuDocument_renderPageToPixbuf(somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf))
485
486/*
487 * Overridden method: isAsynchRenderingSupported
488 */
489SOM_Scope boolean  SOMLINK isAsynchRenderingSupported(LuPopplerDocument *somSelf, Environment *ev);
490static char *somMN_LuPopplerDocumentisAsynchRenderingSupported = "LuDocument::isAsynchRenderingSupported";
491static somId somId_LuPopplerDocumentisAsynchRenderingSupported = &somMN_LuPopplerDocumentisAsynchRenderingSupported;
492#ifdef somId_isAsynchRenderingSupported
493#undef somId_isAsynchRenderingSupported
494#else
495#define somId_isAsynchRenderingSupported somId_LuPopplerDocumentisAsynchRenderingSupported
496#endif
497typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isAsynchRenderingSupported(LuPopplerDocument *somSelf, Environment *ev);
498typedef somTP_xih_LuPopplerDocument_isAsynchRenderingSupported *somTD_xih_LuPopplerDocument_isAsynchRenderingSupported;
499/* define the parent method call macro */
500static somMethodProc* LuPopplerDocument_parent_LuDocument_isAsynchRenderingSupported_resolved;
501#define LuPopplerDocument_parent_LuDocument_isAsynchRenderingSupported(somSelf,ev) \
502  ((( somTD_xih_LuPopplerDocument_isAsynchRenderingSupported ) \
503      LuPopplerDocument_parent_LuDocument_isAsynchRenderingSupported_resolved) \
504        (somSelf,ev))
505/* define a variety of (possibly ambiguous) short forms */
506#ifndef SOMGD_pmc_parent_isAsynchRenderingSupported
507  #ifdef parent_isAsynchRenderingSupported
508    #define SOMGD_pmc_parent_isAsynchRenderingSupported
509    #undef parent_isAsynchRenderingSupported
510  #else
511#define parent_isAsynchRenderingSupported LuPopplerDocument_parent_LuDocument_isAsynchRenderingSupported
512  #endif
513#endif
514#ifndef SOMGD_pmc_parent_LuDocument_isAsynchRenderingSupported
515  #ifdef parent_LuDocument_isAsynchRenderingSupported
516    #define SOMGD_pmc_parent_LuDocument_isAsynchRenderingSupported
517    #undef parent_LuDocument_isAsynchRenderingSupported
518  #else
519    #define parent_LuDocument_isAsynchRenderingSupported LuPopplerDocument_parent_LuDocument_isAsynchRenderingSupported
520  #endif
521#endif
522#define LuPopplerDocument_parents_isAsynchRenderingSupported(somSelf,ev) (\
523   LuPopplerDocument_parent_LuDocument_isAsynchRenderingSupported(somSelf,ev))
524
525/*
526 * Overridden method: renderPageToPixbufAsynch
527 */
528SOM_Scope void  SOMLINK renderPageToPixbufAsynch(LuPopplerDocument *somSelf, Environment *ev,
529                long pagenum,
530                long src_x,
531                long src_y,
532                long src_width,
533                long src_height,
534                double scale,
535                long rotation,
536                LuPixbuf* pixbuf,
537                LuDocument_asynchCallbackFn fnd,
538                LuDocument_asynchCallbackFn fna,
539                somToken fndata);
540static char *somMN_LuPopplerDocumentrenderPageToPixbufAsynch = "LuDocument::renderPageToPixbufAsynch";
541static somId somId_LuPopplerDocumentrenderPageToPixbufAsynch = &somMN_LuPopplerDocumentrenderPageToPixbufAsynch;
542#ifdef somId_renderPageToPixbufAsynch
543#undef somId_renderPageToPixbufAsynch
544#else
545#define somId_renderPageToPixbufAsynch somId_LuPopplerDocumentrenderPageToPixbufAsynch
546#endif
547typedef void   SOMLINK somTP_xih_LuPopplerDocument_renderPageToPixbufAsynch(LuPopplerDocument *somSelf, Environment *ev,
548                long pagenum,
549                long src_x,
550                long src_y,
551                long src_width,
552                long src_height,
553                double scale,
554                long rotation,
555                LuPixbuf* pixbuf,
556                LuDocument_asynchCallbackFn fnd,
557                LuDocument_asynchCallbackFn fna,
558                somToken fndata);
559typedef somTP_xih_LuPopplerDocument_renderPageToPixbufAsynch *somTD_xih_LuPopplerDocument_renderPageToPixbufAsynch;
560/* define the parent method call macro */
561static somMethodProc* LuPopplerDocument_parent_LuDocument_renderPageToPixbufAsynch_resolved;
562#define LuPopplerDocument_parent_LuDocument_renderPageToPixbufAsynch(somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,fnd,fna,fndata) \
563  ((( somTD_xih_LuPopplerDocument_renderPageToPixbufAsynch ) \
564      LuPopplerDocument_parent_LuDocument_renderPageToPixbufAsynch_resolved) \
565        (somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,fnd,fna,fndata))
566/* define a variety of (possibly ambiguous) short forms */
567#ifndef SOMGD_pmc_parent_renderPageToPixbufAsynch
568  #ifdef parent_renderPageToPixbufAsynch
569    #define SOMGD_pmc_parent_renderPageToPixbufAsynch
570    #undef parent_renderPageToPixbufAsynch
571  #else
572#define parent_renderPageToPixbufAsynch LuPopplerDocument_parent_LuDocument_renderPageToPixbufAsynch
573  #endif
574#endif
575#ifndef SOMGD_pmc_parent_LuDocument_renderPageToPixbufAsynch
576  #ifdef parent_LuDocument_renderPageToPixbufAsynch
577    #define SOMGD_pmc_parent_LuDocument_renderPageToPixbufAsynch
578    #undef parent_LuDocument_renderPageToPixbufAsynch
579  #else
580    #define parent_LuDocument_renderPageToPixbufAsynch LuPopplerDocument_parent_LuDocument_renderPageToPixbufAsynch
581  #endif
582#endif
583#define LuPopplerDocument_parents_renderPageToPixbufAsynch(somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,fnd,fna,fndata) (\
584   LuPopplerDocument_parent_LuDocument_renderPageToPixbufAsynch(somSelf,ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,fnd,fna,fndata))
585
586/*
587 * Overridden method: getSelectionRectangles
588 */
589SOM_Scope LuDocument_LuRectSequence*  SOMLINK getSelectionRectangles(LuPopplerDocument *somSelf, Environment *ev,
590                long pagenum,
591                LuRectangle* selection);
592static char *somMN_LuPopplerDocumentgetSelectionRectangles = "LuDocument::getSelectionRectangles";
593static somId somId_LuPopplerDocumentgetSelectionRectangles = &somMN_LuPopplerDocumentgetSelectionRectangles;
594#ifdef somId_getSelectionRectangles
595#undef somId_getSelectionRectangles
596#else
597#define somId_getSelectionRectangles somId_LuPopplerDocumentgetSelectionRectangles
598#endif
599typedef LuDocument_LuRectSequence*   SOMLINK somTP_xih_LuPopplerDocument_getSelectionRectangles(LuPopplerDocument *somSelf, Environment *ev,
600                long pagenum,
601                LuRectangle* selection);
602typedef somTP_xih_LuPopplerDocument_getSelectionRectangles *somTD_xih_LuPopplerDocument_getSelectionRectangles;
603/* define the parent method call macro */
604static somMethodProc* LuPopplerDocument_parent_LuDocument_getSelectionRectangles_resolved;
605#define LuPopplerDocument_parent_LuDocument_getSelectionRectangles(somSelf,ev,pagenum,selection) \
606  ((( somTD_xih_LuPopplerDocument_getSelectionRectangles ) \
607      LuPopplerDocument_parent_LuDocument_getSelectionRectangles_resolved) \
608        (somSelf,ev,pagenum,selection))
609/* define a variety of (possibly ambiguous) short forms */
610#ifndef SOMGD_pmc_parent_getSelectionRectangles
611  #ifdef parent_getSelectionRectangles
612    #define SOMGD_pmc_parent_getSelectionRectangles
613    #undef parent_getSelectionRectangles
614  #else
615#define parent_getSelectionRectangles LuPopplerDocument_parent_LuDocument_getSelectionRectangles
616  #endif
617#endif
618#ifndef SOMGD_pmc_parent_LuDocument_getSelectionRectangles
619  #ifdef parent_LuDocument_getSelectionRectangles
620    #define SOMGD_pmc_parent_LuDocument_getSelectionRectangles
621    #undef parent_LuDocument_getSelectionRectangles
622  #else
623    #define parent_LuDocument_getSelectionRectangles LuPopplerDocument_parent_LuDocument_getSelectionRectangles
624  #endif
625#endif
626#define LuPopplerDocument_parents_getSelectionRectangles(somSelf,ev,pagenum,selection) (\
627   LuPopplerDocument_parent_LuDocument_getSelectionRectangles(somSelf,ev,pagenum,selection))
628
629/*
630 * Overridden method: isHaveText
631 */
632SOM_Scope boolean  SOMLINK isHaveText(LuPopplerDocument *somSelf, Environment *ev);
633static char *somMN_LuPopplerDocumentisHaveText = "LuDocument::isHaveText";
634static somId somId_LuPopplerDocumentisHaveText = &somMN_LuPopplerDocumentisHaveText;
635#ifdef somId_isHaveText
636#undef somId_isHaveText
637#else
638#define somId_isHaveText somId_LuPopplerDocumentisHaveText
639#endif
640typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isHaveText(LuPopplerDocument *somSelf, Environment *ev);
641typedef somTP_xih_LuPopplerDocument_isHaveText *somTD_xih_LuPopplerDocument_isHaveText;
642/* define the parent method call macro */
643static somMethodProc* LuPopplerDocument_parent_LuDocument_isHaveText_resolved;
644#define LuPopplerDocument_parent_LuDocument_isHaveText(somSelf,ev) \
645  ((( somTD_xih_LuPopplerDocument_isHaveText ) \
646      LuPopplerDocument_parent_LuDocument_isHaveText_resolved) \
647        (somSelf,ev))
648/* define a variety of (possibly ambiguous) short forms */
649#ifndef SOMGD_pmc_parent_isHaveText
650  #ifdef parent_isHaveText
651    #define SOMGD_pmc_parent_isHaveText
652    #undef parent_isHaveText
653  #else
654#define parent_isHaveText LuPopplerDocument_parent_LuDocument_isHaveText
655  #endif
656#endif
657#ifndef SOMGD_pmc_parent_LuDocument_isHaveText
658  #ifdef parent_LuDocument_isHaveText
659    #define SOMGD_pmc_parent_LuDocument_isHaveText
660    #undef parent_LuDocument_isHaveText
661  #else
662    #define parent_LuDocument_isHaveText LuPopplerDocument_parent_LuDocument_isHaveText
663  #endif
664#endif
665#define LuPopplerDocument_parents_isHaveText(somSelf,ev) (\
666   LuPopplerDocument_parent_LuDocument_isHaveText(somSelf,ev))
667
668/*
669 * Overridden method: getText
670 */
671SOM_Scope string  SOMLINK getText(LuPopplerDocument *somSelf, Environment *ev,
672                long pagenum,
673                LuRectangle* selection);
674static char *somMN_LuPopplerDocumentgetText = "LuDocument::getText";
675static somId somId_LuPopplerDocumentgetText = &somMN_LuPopplerDocumentgetText;
676#ifdef somId_getText
677#undef somId_getText
678#else
679#define somId_getText somId_LuPopplerDocumentgetText
680#endif
681typedef string   SOMLINK somTP_xih_LuPopplerDocument_getText(LuPopplerDocument *somSelf, Environment *ev,
682                long pagenum,
683                LuRectangle* selection);
684typedef somTP_xih_LuPopplerDocument_getText *somTD_xih_LuPopplerDocument_getText;
685/* define the parent method call macro */
686static somMethodProc* LuPopplerDocument_parent_LuDocument_getText_resolved;
687#define LuPopplerDocument_parent_LuDocument_getText(somSelf,ev,pagenum,selection) \
688  ((( somTD_xih_LuPopplerDocument_getText ) \
689      LuPopplerDocument_parent_LuDocument_getText_resolved) \
690        (somSelf,ev,pagenum,selection))
691/* define a variety of (possibly ambiguous) short forms */
692#ifndef SOMGD_pmc_parent_getText
693  #ifdef parent_getText
694    #define SOMGD_pmc_parent_getText
695    #undef parent_getText
696  #else
697#define parent_getText LuPopplerDocument_parent_LuDocument_getText
698  #endif
699#endif
700#ifndef SOMGD_pmc_parent_LuDocument_getText
701  #ifdef parent_LuDocument_getText
702    #define SOMGD_pmc_parent_LuDocument_getText
703    #undef parent_LuDocument_getText
704  #else
705    #define parent_LuDocument_getText LuPopplerDocument_parent_LuDocument_getText
706  #endif
707#endif
708#define LuPopplerDocument_parents_getText(somSelf,ev,pagenum,selection) (\
709   LuPopplerDocument_parent_LuDocument_getText(somSelf,ev,pagenum,selection))
710
711/*
712 * Overridden method: isHaveLinks
713 */
714SOM_Scope boolean  SOMLINK isHaveLinks(LuPopplerDocument *somSelf, Environment *ev);
715static char *somMN_LuPopplerDocumentisHaveLinks = "LuDocument::isHaveLinks";
716static somId somId_LuPopplerDocumentisHaveLinks = &somMN_LuPopplerDocumentisHaveLinks;
717#ifdef somId_isHaveLinks
718#undef somId_isHaveLinks
719#else
720#define somId_isHaveLinks somId_LuPopplerDocumentisHaveLinks
721#endif
722typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isHaveLinks(LuPopplerDocument *somSelf, Environment *ev);
723typedef somTP_xih_LuPopplerDocument_isHaveLinks *somTD_xih_LuPopplerDocument_isHaveLinks;
724/* define the parent method call macro */
725static somMethodProc* LuPopplerDocument_parent_LuDocument_isHaveLinks_resolved;
726#define LuPopplerDocument_parent_LuDocument_isHaveLinks(somSelf,ev) \
727  ((( somTD_xih_LuPopplerDocument_isHaveLinks ) \
728      LuPopplerDocument_parent_LuDocument_isHaveLinks_resolved) \
729        (somSelf,ev))
730/* define a variety of (possibly ambiguous) short forms */
731#ifndef SOMGD_pmc_parent_isHaveLinks
732  #ifdef parent_isHaveLinks
733    #define SOMGD_pmc_parent_isHaveLinks
734    #undef parent_isHaveLinks
735  #else
736#define parent_isHaveLinks LuPopplerDocument_parent_LuDocument_isHaveLinks
737  #endif
738#endif
739#ifndef SOMGD_pmc_parent_LuDocument_isHaveLinks
740  #ifdef parent_LuDocument_isHaveLinks
741    #define SOMGD_pmc_parent_LuDocument_isHaveLinks
742    #undef parent_LuDocument_isHaveLinks
743  #else
744    #define parent_LuDocument_isHaveLinks LuPopplerDocument_parent_LuDocument_isHaveLinks
745  #endif
746#endif
747#define LuPopplerDocument_parents_isHaveLinks(somSelf,ev) (\
748   LuPopplerDocument_parent_LuDocument_isHaveLinks(somSelf,ev))
749
750/*
751 * Overridden method: getLinkMapping
752 */
753SOM_Scope LuDocument_LuLinkMapSequence*  SOMLINK getLinkMapping(LuPopplerDocument *somSelf, Environment *ev,
754                long pagenum);
755static char *somMN_LuPopplerDocumentgetLinkMapping = "LuDocument::getLinkMapping";
756static somId somId_LuPopplerDocumentgetLinkMapping = &somMN_LuPopplerDocumentgetLinkMapping;
757#ifdef somId_getLinkMapping
758#undef somId_getLinkMapping
759#else
760#define somId_getLinkMapping somId_LuPopplerDocumentgetLinkMapping
761#endif
762typedef LuDocument_LuLinkMapSequence*   SOMLINK somTP_xih_LuPopplerDocument_getLinkMapping(LuPopplerDocument *somSelf, Environment *ev,
763                long pagenum);
764typedef somTP_xih_LuPopplerDocument_getLinkMapping *somTD_xih_LuPopplerDocument_getLinkMapping;
765/* define the parent method call macro */
766static somMethodProc* LuPopplerDocument_parent_LuDocument_getLinkMapping_resolved;
767#define LuPopplerDocument_parent_LuDocument_getLinkMapping(somSelf,ev,pagenum) \
768  ((( somTD_xih_LuPopplerDocument_getLinkMapping ) \
769      LuPopplerDocument_parent_LuDocument_getLinkMapping_resolved) \
770        (somSelf,ev,pagenum))
771/* define a variety of (possibly ambiguous) short forms */
772#ifndef SOMGD_pmc_parent_getLinkMapping
773  #ifdef parent_getLinkMapping
774    #define SOMGD_pmc_parent_getLinkMapping
775    #undef parent_getLinkMapping
776  #else
777#define parent_getLinkMapping LuPopplerDocument_parent_LuDocument_getLinkMapping
778  #endif
779#endif
780#ifndef SOMGD_pmc_parent_LuDocument_getLinkMapping
781  #ifdef parent_LuDocument_getLinkMapping
782    #define SOMGD_pmc_parent_LuDocument_getLinkMapping
783    #undef parent_LuDocument_getLinkMapping
784  #else
785    #define parent_LuDocument_getLinkMapping LuPopplerDocument_parent_LuDocument_getLinkMapping
786  #endif
787#endif
788#define LuPopplerDocument_parents_getLinkMapping(somSelf,ev,pagenum) (\
789   LuPopplerDocument_parent_LuDocument_getLinkMapping(somSelf,ev,pagenum))
790
791/*
792 * Overridden method: isSaveable
793 */
794SOM_Scope boolean  SOMLINK isSaveable(LuPopplerDocument *somSelf, Environment *ev);
795static char *somMN_LuPopplerDocumentisSaveable = "LuDocument::isSaveable";
796static somId somId_LuPopplerDocumentisSaveable = &somMN_LuPopplerDocumentisSaveable;
797#ifdef somId_isSaveable
798#undef somId_isSaveable
799#else
800#define somId_isSaveable somId_LuPopplerDocumentisSaveable
801#endif
802typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isSaveable(LuPopplerDocument *somSelf, Environment *ev);
803typedef somTP_xih_LuPopplerDocument_isSaveable *somTD_xih_LuPopplerDocument_isSaveable;
804/* define the parent method call macro */
805static somMethodProc* LuPopplerDocument_parent_LuDocument_isSaveable_resolved;
806#define LuPopplerDocument_parent_LuDocument_isSaveable(somSelf,ev) \
807  ((( somTD_xih_LuPopplerDocument_isSaveable ) \
808      LuPopplerDocument_parent_LuDocument_isSaveable_resolved) \
809        (somSelf,ev))
810/* define a variety of (possibly ambiguous) short forms */
811#ifndef SOMGD_pmc_parent_isSaveable
812  #ifdef parent_isSaveable
813    #define SOMGD_pmc_parent_isSaveable
814    #undef parent_isSaveable
815  #else
816#define parent_isSaveable LuPopplerDocument_parent_LuDocument_isSaveable
817  #endif
818#endif
819#ifndef SOMGD_pmc_parent_LuDocument_isSaveable
820  #ifdef parent_LuDocument_isSaveable
821    #define SOMGD_pmc_parent_LuDocument_isSaveable
822    #undef parent_LuDocument_isSaveable
823  #else
824    #define parent_LuDocument_isSaveable LuPopplerDocument_parent_LuDocument_isSaveable
825  #endif
826#endif
827#define LuPopplerDocument_parents_isSaveable(somSelf,ev) (\
828   LuPopplerDocument_parent_LuDocument_isSaveable(somSelf,ev))
829
830/*
831 * Overridden method: saveAs
832 */
833SOM_Scope boolean  SOMLINK saveAs(LuPopplerDocument *somSelf, Environment *ev,
834                string filename);
835static char *somMN_LuPopplerDocumentsaveAs = "LuDocument::saveAs";
836static somId somId_LuPopplerDocumentsaveAs = &somMN_LuPopplerDocumentsaveAs;
837#ifdef somId_saveAs
838#undef somId_saveAs
839#else
840#define somId_saveAs somId_LuPopplerDocumentsaveAs
841#endif
842typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_saveAs(LuPopplerDocument *somSelf, Environment *ev,
843                string filename);
844typedef somTP_xih_LuPopplerDocument_saveAs *somTD_xih_LuPopplerDocument_saveAs;
845/* define the parent method call macro */
846static somMethodProc* LuPopplerDocument_parent_LuDocument_saveAs_resolved;
847#define LuPopplerDocument_parent_LuDocument_saveAs(somSelf,ev,filename) \
848  ((( somTD_xih_LuPopplerDocument_saveAs ) \
849      LuPopplerDocument_parent_LuDocument_saveAs_resolved) \
850        (somSelf,ev,filename))
851/* define a variety of (possibly ambiguous) short forms */
852#ifndef SOMGD_pmc_parent_saveAs
853  #ifdef parent_saveAs
854    #define SOMGD_pmc_parent_saveAs
855    #undef parent_saveAs
856  #else
857#define parent_saveAs LuPopplerDocument_parent_LuDocument_saveAs
858  #endif
859#endif
860#ifndef SOMGD_pmc_parent_LuDocument_saveAs
861  #ifdef parent_LuDocument_saveAs
862    #define SOMGD_pmc_parent_LuDocument_saveAs
863    #undef parent_LuDocument_saveAs
864  #else
865    #define parent_LuDocument_saveAs LuPopplerDocument_parent_LuDocument_saveAs
866  #endif
867#endif
868#define LuPopplerDocument_parents_saveAs(somSelf,ev,filename) (\
869   LuPopplerDocument_parent_LuDocument_saveAs(somSelf,ev,filename))
870
871/*
872 * Overridden method: isPostScriptExportable
873 */
874SOM_Scope boolean  SOMLINK isPostScriptExportable(LuPopplerDocument *somSelf, Environment *ev);
875static char *somMN_LuPopplerDocumentisPostScriptExportable = "LuDocument::isPostScriptExportable";
876static somId somId_LuPopplerDocumentisPostScriptExportable = &somMN_LuPopplerDocumentisPostScriptExportable;
877#ifdef somId_isPostScriptExportable
878#undef somId_isPostScriptExportable
879#else
880#define somId_isPostScriptExportable somId_LuPopplerDocumentisPostScriptExportable
881#endif
882typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isPostScriptExportable(LuPopplerDocument *somSelf, Environment *ev);
883typedef somTP_xih_LuPopplerDocument_isPostScriptExportable *somTD_xih_LuPopplerDocument_isPostScriptExportable;
884/* define the parent method call macro */
885static somMethodProc* LuPopplerDocument_parent_LuDocument_isPostScriptExportable_resolved;
886#define LuPopplerDocument_parent_LuDocument_isPostScriptExportable(somSelf,ev) \
887  ((( somTD_xih_LuPopplerDocument_isPostScriptExportable ) \
888      LuPopplerDocument_parent_LuDocument_isPostScriptExportable_resolved) \
889        (somSelf,ev))
890/* define a variety of (possibly ambiguous) short forms */
891#ifndef SOMGD_pmc_parent_isPostScriptExportable
892  #ifdef parent_isPostScriptExportable
893    #define SOMGD_pmc_parent_isPostScriptExportable
894    #undef parent_isPostScriptExportable
895  #else
896#define parent_isPostScriptExportable LuPopplerDocument_parent_LuDocument_isPostScriptExportable
897  #endif
898#endif
899#ifndef SOMGD_pmc_parent_LuDocument_isPostScriptExportable
900  #ifdef parent_LuDocument_isPostScriptExportable
901    #define SOMGD_pmc_parent_LuDocument_isPostScriptExportable
902    #undef parent_LuDocument_isPostScriptExportable
903  #else
904    #define parent_LuDocument_isPostScriptExportable LuPopplerDocument_parent_LuDocument_isPostScriptExportable
905  #endif
906#endif
907#define LuPopplerDocument_parents_isPostScriptExportable(somSelf,ev) (\
908   LuPopplerDocument_parent_LuDocument_isPostScriptExportable(somSelf,ev))
909
910/*
911 * Overridden method: exportToPostScript
912 */
913SOM_Scope boolean  SOMLINK exportToPostScript(LuPopplerDocument *somSelf, Environment *ev,
914                string filename,
915                long first_page,
916                long last_page,
917                double width,
918                double height,
919                boolean* brkExport);
920static char *somMN_LuPopplerDocumentexportToPostScript = "LuDocument::exportToPostScript";
921static somId somId_LuPopplerDocumentexportToPostScript = &somMN_LuPopplerDocumentexportToPostScript;
922#ifdef somId_exportToPostScript
923#undef somId_exportToPostScript
924#else
925#define somId_exportToPostScript somId_LuPopplerDocumentexportToPostScript
926#endif
927typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_exportToPostScript(LuPopplerDocument *somSelf, Environment *ev,
928                string filename,
929                long first_page,
930                long last_page,
931                double width,
932                double height,
933                boolean* brkExport);
934typedef somTP_xih_LuPopplerDocument_exportToPostScript *somTD_xih_LuPopplerDocument_exportToPostScript;
935/* define the parent method call macro */
936static somMethodProc* LuPopplerDocument_parent_LuDocument_exportToPostScript_resolved;
937#define LuPopplerDocument_parent_LuDocument_exportToPostScript(somSelf,ev,filename,first_page,last_page,width,height,brkExport) \
938  ((( somTD_xih_LuPopplerDocument_exportToPostScript ) \
939      LuPopplerDocument_parent_LuDocument_exportToPostScript_resolved) \
940        (somSelf,ev,filename,first_page,last_page,width,height,brkExport))
941/* define a variety of (possibly ambiguous) short forms */
942#ifndef SOMGD_pmc_parent_exportToPostScript
943  #ifdef parent_exportToPostScript
944    #define SOMGD_pmc_parent_exportToPostScript
945    #undef parent_exportToPostScript
946  #else
947#define parent_exportToPostScript LuPopplerDocument_parent_LuDocument_exportToPostScript
948  #endif
949#endif
950#ifndef SOMGD_pmc_parent_LuDocument_exportToPostScript
951  #ifdef parent_LuDocument_exportToPostScript
952    #define SOMGD_pmc_parent_LuDocument_exportToPostScript
953    #undef parent_LuDocument_exportToPostScript
954  #else
955    #define parent_LuDocument_exportToPostScript LuPopplerDocument_parent_LuDocument_exportToPostScript
956  #endif
957#endif
958#define LuPopplerDocument_parents_exportToPostScript(somSelf,ev,filename,first_page,last_page,width,height,brkExport) (\
959   LuPopplerDocument_parent_LuDocument_exportToPostScript(somSelf,ev,filename,first_page,last_page,width,height,brkExport))
960
961/*
962 * Overridden method: isHaveFontInfo
963 */
964SOM_Scope boolean  SOMLINK isHaveFontInfo(LuPopplerDocument *somSelf, Environment *ev);
965static char *somMN_LuPopplerDocumentisHaveFontInfo = "LuDocument::isHaveFontInfo";
966static somId somId_LuPopplerDocumentisHaveFontInfo = &somMN_LuPopplerDocumentisHaveFontInfo;
967#ifdef somId_isHaveFontInfo
968#undef somId_isHaveFontInfo
969#else
970#define somId_isHaveFontInfo somId_LuPopplerDocumentisHaveFontInfo
971#endif
972typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isHaveFontInfo(LuPopplerDocument *somSelf, Environment *ev);
973typedef somTP_xih_LuPopplerDocument_isHaveFontInfo *somTD_xih_LuPopplerDocument_isHaveFontInfo;
974/* define the parent method call macro */
975static somMethodProc* LuPopplerDocument_parent_LuDocument_isHaveFontInfo_resolved;
976#define LuPopplerDocument_parent_LuDocument_isHaveFontInfo(somSelf,ev) \
977  ((( somTD_xih_LuPopplerDocument_isHaveFontInfo ) \
978      LuPopplerDocument_parent_LuDocument_isHaveFontInfo_resolved) \
979        (somSelf,ev))
980/* define a variety of (possibly ambiguous) short forms */
981#ifndef SOMGD_pmc_parent_isHaveFontInfo
982  #ifdef parent_isHaveFontInfo
983    #define SOMGD_pmc_parent_isHaveFontInfo
984    #undef parent_isHaveFontInfo
985  #else
986#define parent_isHaveFontInfo LuPopplerDocument_parent_LuDocument_isHaveFontInfo
987  #endif
988#endif
989#ifndef SOMGD_pmc_parent_LuDocument_isHaveFontInfo
990  #ifdef parent_LuDocument_isHaveFontInfo
991    #define SOMGD_pmc_parent_LuDocument_isHaveFontInfo
992    #undef parent_LuDocument_isHaveFontInfo
993  #else
994    #define parent_LuDocument_isHaveFontInfo LuPopplerDocument_parent_LuDocument_isHaveFontInfo
995  #endif
996#endif
997#define LuPopplerDocument_parents_isHaveFontInfo(somSelf,ev) (\
998   LuPopplerDocument_parent_LuDocument_isHaveFontInfo(somSelf,ev))
999
1000/*
1001 * Overridden method: getFontInfo
1002 */
1003SOM_Scope LuDocument_LuFontInfoSequence*  SOMLINK getFontInfo(LuPopplerDocument *somSelf, Environment *ev);
1004static char *somMN_LuPopplerDocumentgetFontInfo = "LuDocument::getFontInfo";
1005static somId somId_LuPopplerDocumentgetFontInfo = &somMN_LuPopplerDocumentgetFontInfo;
1006#ifdef somId_getFontInfo
1007#undef somId_getFontInfo
1008#else
1009#define somId_getFontInfo somId_LuPopplerDocumentgetFontInfo
1010#endif
1011typedef LuDocument_LuFontInfoSequence*   SOMLINK somTP_xih_LuPopplerDocument_getFontInfo(LuPopplerDocument *somSelf, Environment *ev);
1012typedef somTP_xih_LuPopplerDocument_getFontInfo *somTD_xih_LuPopplerDocument_getFontInfo;
1013/* define the parent method call macro */
1014static somMethodProc* LuPopplerDocument_parent_LuDocument_getFontInfo_resolved;
1015#define LuPopplerDocument_parent_LuDocument_getFontInfo(somSelf,ev) \
1016  ((( somTD_xih_LuPopplerDocument_getFontInfo ) \
1017      LuPopplerDocument_parent_LuDocument_getFontInfo_resolved) \
1018        (somSelf,ev))
1019/* define a variety of (possibly ambiguous) short forms */
1020#ifndef SOMGD_pmc_parent_getFontInfo
1021  #ifdef parent_getFontInfo
1022    #define SOMGD_pmc_parent_getFontInfo
1023    #undef parent_getFontInfo
1024  #else
1025#define parent_getFontInfo LuPopplerDocument_parent_LuDocument_getFontInfo
1026  #endif
1027#endif
1028#ifndef SOMGD_pmc_parent_LuDocument_getFontInfo
1029  #ifdef parent_LuDocument_getFontInfo
1030    #define SOMGD_pmc_parent_LuDocument_getFontInfo
1031    #undef parent_LuDocument_getFontInfo
1032  #else
1033    #define parent_LuDocument_getFontInfo LuPopplerDocument_parent_LuDocument_getFontInfo
1034  #endif
1035#endif
1036#define LuPopplerDocument_parents_getFontInfo(somSelf,ev) (\
1037   LuPopplerDocument_parent_LuDocument_getFontInfo(somSelf,ev))
1038
1039/*
1040 * Overridden method: isHaveIndex
1041 */
1042SOM_Scope boolean  SOMLINK isHaveIndex(LuPopplerDocument *somSelf, Environment *ev);
1043static char *somMN_LuPopplerDocumentisHaveIndex = "LuDocument::isHaveIndex";
1044static somId somId_LuPopplerDocumentisHaveIndex = &somMN_LuPopplerDocumentisHaveIndex;
1045#ifdef somId_isHaveIndex
1046#undef somId_isHaveIndex
1047#else
1048#define somId_isHaveIndex somId_LuPopplerDocumentisHaveIndex
1049#endif
1050typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isHaveIndex(LuPopplerDocument *somSelf, Environment *ev);
1051typedef somTP_xih_LuPopplerDocument_isHaveIndex *somTD_xih_LuPopplerDocument_isHaveIndex;
1052/* define the parent method call macro */
1053static somMethodProc* LuPopplerDocument_parent_LuDocument_isHaveIndex_resolved;
1054#define LuPopplerDocument_parent_LuDocument_isHaveIndex(somSelf,ev) \
1055  ((( somTD_xih_LuPopplerDocument_isHaveIndex ) \
1056      LuPopplerDocument_parent_LuDocument_isHaveIndex_resolved) \
1057        (somSelf,ev))
1058/* define a variety of (possibly ambiguous) short forms */
1059#ifndef SOMGD_pmc_parent_isHaveIndex
1060  #ifdef parent_isHaveIndex
1061    #define SOMGD_pmc_parent_isHaveIndex
1062    #undef parent_isHaveIndex
1063  #else
1064#define parent_isHaveIndex LuPopplerDocument_parent_LuDocument_isHaveIndex
1065  #endif
1066#endif
1067#ifndef SOMGD_pmc_parent_LuDocument_isHaveIndex
1068  #ifdef parent_LuDocument_isHaveIndex
1069    #define SOMGD_pmc_parent_LuDocument_isHaveIndex
1070    #undef parent_LuDocument_isHaveIndex
1071  #else
1072    #define parent_LuDocument_isHaveIndex LuPopplerDocument_parent_LuDocument_isHaveIndex
1073  #endif
1074#endif
1075#define LuPopplerDocument_parents_isHaveIndex(somSelf,ev) (\
1076   LuPopplerDocument_parent_LuDocument_isHaveIndex(somSelf,ev))
1077
1078/*
1079 * Overridden method: getIndex
1080 */
1081SOM_Scope LuIndexNode*  SOMLINK getIndex(LuPopplerDocument *somSelf, Environment *ev);
1082static char *somMN_LuPopplerDocumentgetIndex = "LuDocument::getIndex";
1083static somId somId_LuPopplerDocumentgetIndex = &somMN_LuPopplerDocumentgetIndex;
1084#ifdef somId_getIndex
1085#undef somId_getIndex
1086#else
1087#define somId_getIndex somId_LuPopplerDocumentgetIndex
1088#endif
1089typedef LuIndexNode*   SOMLINK somTP_xih_LuPopplerDocument_getIndex(LuPopplerDocument *somSelf, Environment *ev);
1090typedef somTP_xih_LuPopplerDocument_getIndex *somTD_xih_LuPopplerDocument_getIndex;
1091/* define the parent method call macro */
1092static somMethodProc* LuPopplerDocument_parent_LuDocument_getIndex_resolved;
1093#define LuPopplerDocument_parent_LuDocument_getIndex(somSelf,ev) \
1094  ((( somTD_xih_LuPopplerDocument_getIndex ) \
1095      LuPopplerDocument_parent_LuDocument_getIndex_resolved) \
1096        (somSelf,ev))
1097/* define a variety of (possibly ambiguous) short forms */
1098#ifndef SOMGD_pmc_parent_getIndex
1099  #ifdef parent_getIndex
1100    #define SOMGD_pmc_parent_getIndex
1101    #undef parent_getIndex
1102  #else
1103#define parent_getIndex LuPopplerDocument_parent_LuDocument_getIndex
1104  #endif
1105#endif
1106#ifndef SOMGD_pmc_parent_LuDocument_getIndex
1107  #ifdef parent_LuDocument_getIndex
1108    #define SOMGD_pmc_parent_LuDocument_getIndex
1109    #undef parent_LuDocument_getIndex
1110  #else
1111    #define parent_LuDocument_getIndex LuPopplerDocument_parent_LuDocument_getIndex
1112  #endif
1113#endif
1114#define LuPopplerDocument_parents_getIndex(somSelf,ev) (\
1115   LuPopplerDocument_parent_LuDocument_getIndex(somSelf,ev))
1116
1117/*
1118 * Overridden method: getDocumentInfo
1119 */
1120SOM_Scope LuDocumentInfo*  SOMLINK getDocumentInfo(LuPopplerDocument *somSelf, Environment *ev);
1121static char *somMN_LuPopplerDocumentgetDocumentInfo = "LuDocument::getDocumentInfo";
1122static somId somId_LuPopplerDocumentgetDocumentInfo = &somMN_LuPopplerDocumentgetDocumentInfo;
1123#ifdef somId_getDocumentInfo
1124#undef somId_getDocumentInfo
1125#else
1126#define somId_getDocumentInfo somId_LuPopplerDocumentgetDocumentInfo
1127#endif
1128typedef LuDocumentInfo*   SOMLINK somTP_xih_LuPopplerDocument_getDocumentInfo(LuPopplerDocument *somSelf, Environment *ev);
1129typedef somTP_xih_LuPopplerDocument_getDocumentInfo *somTD_xih_LuPopplerDocument_getDocumentInfo;
1130/* define the parent method call macro */
1131static somMethodProc* LuPopplerDocument_parent_LuDocument_getDocumentInfo_resolved;
1132#define LuPopplerDocument_parent_LuDocument_getDocumentInfo(somSelf,ev) \
1133  ((( somTD_xih_LuPopplerDocument_getDocumentInfo ) \
1134      LuPopplerDocument_parent_LuDocument_getDocumentInfo_resolved) \
1135        (somSelf,ev))
1136/* define a variety of (possibly ambiguous) short forms */
1137#ifndef SOMGD_pmc_parent_getDocumentInfo
1138  #ifdef parent_getDocumentInfo
1139    #define SOMGD_pmc_parent_getDocumentInfo
1140    #undef parent_getDocumentInfo
1141  #else
1142#define parent_getDocumentInfo LuPopplerDocument_parent_LuDocument_getDocumentInfo
1143  #endif
1144#endif
1145#ifndef SOMGD_pmc_parent_LuDocument_getDocumentInfo
1146  #ifdef parent_LuDocument_getDocumentInfo
1147    #define SOMGD_pmc_parent_LuDocument_getDocumentInfo
1148    #undef parent_LuDocument_getDocumentInfo
1149  #else
1150    #define parent_LuDocument_getDocumentInfo LuPopplerDocument_parent_LuDocument_getDocumentInfo
1151  #endif
1152#endif
1153#define LuPopplerDocument_parents_getDocumentInfo(somSelf,ev) (\
1154   LuPopplerDocument_parent_LuDocument_getDocumentInfo(somSelf,ev))
1155
1156/*
1157 * Overridden method: getThumbnailSize
1158 */
1159SOM_Scope boolean  SOMLINK getThumbnailSize(LuPopplerDocument *somSelf, Environment *ev,
1160                long pagenum,
1161                short suggested_width,
1162                short* width,
1163                short* height);
1164static char *somMN_LuPopplerDocumentgetThumbnailSize = "LuDocument::getThumbnailSize";
1165static somId somId_LuPopplerDocumentgetThumbnailSize = &somMN_LuPopplerDocumentgetThumbnailSize;
1166#ifdef somId_getThumbnailSize
1167#undef somId_getThumbnailSize
1168#else
1169#define somId_getThumbnailSize somId_LuPopplerDocumentgetThumbnailSize
1170#endif
1171typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_getThumbnailSize(LuPopplerDocument *somSelf, Environment *ev,
1172                long pagenum,
1173                short suggested_width,
1174                short* width,
1175                short* height);
1176typedef somTP_xih_LuPopplerDocument_getThumbnailSize *somTD_xih_LuPopplerDocument_getThumbnailSize;
1177/* define the parent method call macro */
1178static somMethodProc* LuPopplerDocument_parent_LuDocument_getThumbnailSize_resolved;
1179#define LuPopplerDocument_parent_LuDocument_getThumbnailSize(somSelf,ev,pagenum,suggested_width,width,height) \
1180  ((( somTD_xih_LuPopplerDocument_getThumbnailSize ) \
1181      LuPopplerDocument_parent_LuDocument_getThumbnailSize_resolved) \
1182        (somSelf,ev,pagenum,suggested_width,width,height))
1183/* define a variety of (possibly ambiguous) short forms */
1184#ifndef SOMGD_pmc_parent_getThumbnailSize
1185  #ifdef parent_getThumbnailSize
1186    #define SOMGD_pmc_parent_getThumbnailSize
1187    #undef parent_getThumbnailSize
1188  #else
1189#define parent_getThumbnailSize LuPopplerDocument_parent_LuDocument_getThumbnailSize
1190  #endif
1191#endif
1192#ifndef SOMGD_pmc_parent_LuDocument_getThumbnailSize
1193  #ifdef parent_LuDocument_getThumbnailSize
1194    #define SOMGD_pmc_parent_LuDocument_getThumbnailSize
1195    #undef parent_LuDocument_getThumbnailSize
1196  #else
1197    #define parent_LuDocument_getThumbnailSize LuPopplerDocument_parent_LuDocument_getThumbnailSize
1198  #endif
1199#endif
1200#define LuPopplerDocument_parents_getThumbnailSize(somSelf,ev,pagenum,suggested_width,width,height) (\
1201   LuPopplerDocument_parent_LuDocument_getThumbnailSize(somSelf,ev,pagenum,suggested_width,width,height))
1202
1203/*
1204 * Overridden method: getThumbnail
1205 */
1206SOM_Scope LuPixbuf*  SOMLINK getThumbnail(LuPopplerDocument *somSelf, Environment *ev,
1207                long pagenum,
1208                short suggested_width);
1209static char *somMN_LuPopplerDocumentgetThumbnail = "LuDocument::getThumbnail";
1210static somId somId_LuPopplerDocumentgetThumbnail = &somMN_LuPopplerDocumentgetThumbnail;
1211#ifdef somId_getThumbnail
1212#undef somId_getThumbnail
1213#else
1214#define somId_getThumbnail somId_LuPopplerDocumentgetThumbnail
1215#endif
1216typedef LuPixbuf*   SOMLINK somTP_xih_LuPopplerDocument_getThumbnail(LuPopplerDocument *somSelf, Environment *ev,
1217                long pagenum,
1218                short suggested_width);
1219typedef somTP_xih_LuPopplerDocument_getThumbnail *somTD_xih_LuPopplerDocument_getThumbnail;
1220/* define the parent method call macro */
1221static somMethodProc* LuPopplerDocument_parent_LuDocument_getThumbnail_resolved;
1222#define LuPopplerDocument_parent_LuDocument_getThumbnail(somSelf,ev,pagenum,suggested_width) \
1223  ((( somTD_xih_LuPopplerDocument_getThumbnail ) \
1224      LuPopplerDocument_parent_LuDocument_getThumbnail_resolved) \
1225        (somSelf,ev,pagenum,suggested_width))
1226/* define a variety of (possibly ambiguous) short forms */
1227#ifndef SOMGD_pmc_parent_getThumbnail
1228  #ifdef parent_getThumbnail
1229    #define SOMGD_pmc_parent_getThumbnail
1230    #undef parent_getThumbnail
1231  #else
1232#define parent_getThumbnail LuPopplerDocument_parent_LuDocument_getThumbnail
1233  #endif
1234#endif
1235#ifndef SOMGD_pmc_parent_LuDocument_getThumbnail
1236  #ifdef parent_LuDocument_getThumbnail
1237    #define SOMGD_pmc_parent_LuDocument_getThumbnail
1238    #undef parent_LuDocument_getThumbnail
1239  #else
1240    #define parent_LuDocument_getThumbnail LuPopplerDocument_parent_LuDocument_getThumbnail
1241  #endif
1242#endif
1243#define LuPopplerDocument_parents_getThumbnail(somSelf,ev,pagenum,suggested_width) (\
1244   LuPopplerDocument_parent_LuDocument_getThumbnail(somSelf,ev,pagenum,suggested_width))
1245
1246/*
1247 * Overridden method: searchText
1248 */
1249SOM_Scope LuDocument_LuRectSequence*  SOMLINK searchText(LuPopplerDocument *somSelf, Environment *ev,
1250                long pagenum,
1251                string text,
1252                boolean caseSensitive);
1253static char *somMN_LuPopplerDocumentsearchText = "LuDocument::searchText";
1254static somId somId_LuPopplerDocumentsearchText = &somMN_LuPopplerDocumentsearchText;
1255#ifdef somId_searchText
1256#undef somId_searchText
1257#else
1258#define somId_searchText somId_LuPopplerDocumentsearchText
1259#endif
1260typedef LuDocument_LuRectSequence*   SOMLINK somTP_xih_LuPopplerDocument_searchText(LuPopplerDocument *somSelf, Environment *ev,
1261                long pagenum,
1262                string text,
1263                boolean caseSensitive);
1264typedef somTP_xih_LuPopplerDocument_searchText *somTD_xih_LuPopplerDocument_searchText;
1265/* define the parent method call macro */
1266static somMethodProc* LuPopplerDocument_parent_LuDocument_searchText_resolved;
1267#define LuPopplerDocument_parent_LuDocument_searchText(somSelf,ev,pagenum,text,caseSensitive) \
1268  ((( somTD_xih_LuPopplerDocument_searchText ) \
1269      LuPopplerDocument_parent_LuDocument_searchText_resolved) \
1270        (somSelf,ev,pagenum,text,caseSensitive))
1271/* define a variety of (possibly ambiguous) short forms */
1272#ifndef SOMGD_pmc_parent_searchText
1273  #ifdef parent_searchText
1274    #define SOMGD_pmc_parent_searchText
1275    #undef parent_searchText
1276  #else
1277#define parent_searchText LuPopplerDocument_parent_LuDocument_searchText
1278  #endif
1279#endif
1280#ifndef SOMGD_pmc_parent_LuDocument_searchText
1281  #ifdef parent_LuDocument_searchText
1282    #define SOMGD_pmc_parent_LuDocument_searchText
1283    #undef parent_LuDocument_searchText
1284  #else
1285    #define parent_LuDocument_searchText LuPopplerDocument_parent_LuDocument_searchText
1286  #endif
1287#endif
1288#define LuPopplerDocument_parents_searchText(somSelf,ev,pagenum,text,caseSensitive) (\
1289   LuPopplerDocument_parent_LuDocument_searchText(somSelf,ev,pagenum,text,caseSensitive))
1290
1291/*
1292 * Overridden method: isFixedImage
1293 */
1294SOM_Scope boolean  SOMLINK isFixedImage(LuPopplerDocument *somSelf, Environment *ev);
1295static char *somMN_LuPopplerDocumentisFixedImage = "LuDocument::isFixedImage";
1296static somId somId_LuPopplerDocumentisFixedImage = &somMN_LuPopplerDocumentisFixedImage;
1297#ifdef somId_isFixedImage
1298#undef somId_isFixedImage
1299#else
1300#define somId_isFixedImage somId_LuPopplerDocumentisFixedImage
1301#endif
1302typedef boolean   SOMLINK somTP_xih_LuPopplerDocument_isFixedImage(LuPopplerDocument *somSelf, Environment *ev);
1303typedef somTP_xih_LuPopplerDocument_isFixedImage *somTD_xih_LuPopplerDocument_isFixedImage;
1304/* define the parent method call macro */
1305static somMethodProc* LuPopplerDocument_parent_LuDocument_isFixedImage_resolved;
1306#define LuPopplerDocument_parent_LuDocument_isFixedImage(somSelf,ev) \
1307  ((( somTD_xih_LuPopplerDocument_isFixedImage ) \
1308      LuPopplerDocument_parent_LuDocument_isFixedImage_resolved) \
1309        (somSelf,ev))
1310/* define a variety of (possibly ambiguous) short forms */
1311#ifndef SOMGD_pmc_parent_isFixedImage
1312  #ifdef parent_isFixedImage
1313    #define SOMGD_pmc_parent_isFixedImage
1314    #undef parent_isFixedImage
1315  #else
1316#define parent_isFixedImage LuPopplerDocument_parent_LuDocument_isFixedImage
1317  #endif
1318#endif
1319#ifndef SOMGD_pmc_parent_LuDocument_isFixedImage
1320  #ifdef parent_LuDocument_isFixedImage
1321    #define SOMGD_pmc_parent_LuDocument_isFixedImage
1322    #undef parent_LuDocument_isFixedImage
1323  #else
1324    #define parent_LuDocument_isFixedImage LuPopplerDocument_parent_LuDocument_isFixedImage
1325  #endif
1326#endif
1327#define LuPopplerDocument_parents_isFixedImage(somSelf,ev) (\
1328   LuPopplerDocument_parent_LuDocument_isFixedImage(somSelf,ev))
1329
1330/*
1331 * Overridden method: somDefaultInit
1332 */
1333SOM_Scope void  SOMLINK somDefaultInit(LuPopplerDocument *somSelf,
1334                som3InitCtrl* ctrl);
1335static char *somMN_LuPopplerDocumentsomDefaultInit = "SOMObject::somDefaultInit";
1336static somId somId_LuPopplerDocumentsomDefaultInit = &somMN_LuPopplerDocumentsomDefaultInit;
1337#ifdef somId_somDefaultInit
1338#undef somId_somDefaultInit
1339#else
1340#define somId_somDefaultInit somId_LuPopplerDocumentsomDefaultInit
1341#endif
1342
1343/*
1344 * Overridden method: somDestruct
1345 */
1346SOM_Scope void  SOMLINK somDestruct(LuPopplerDocument *somSelf,
1347                octet doFree,
1348                som3DestructCtrl* ctrl);
1349static char *somMN_LuPopplerDocumentsomDestruct = "SOMObject::somDestruct";
1350static somId somId_LuPopplerDocumentsomDestruct = &somMN_LuPopplerDocumentsomDestruct;
1351#ifdef somId_somDestruct
1352#undef somId_somDestruct
1353#else
1354#define somId_somDestruct somId_LuPopplerDocumentsomDestruct
1355#endif
1356
1357/*
1358 * -- Routines and Structures to create the class object
1359 */
1360
1361
1362/*
1363 * Declare the Override Methods table.
1364 */
1365static somOverrideMethod_t LuPopplerDocumentOM[] = {
1366    {    &somId_LuPopplerDocumentloadFile,
1367         (somMethodProc *) loadFile  },
1368    {    &somId_LuPopplerDocumentgetBpp,
1369         (somMethodProc *) getBpp  },
1370    {    &somId_LuPopplerDocumentisScalable,
1371         (somMethodProc *) isScalable  },
1372    {    &somId_LuPopplerDocumentisRotable,
1373         (somMethodProc *) isRotable  },
1374    {    &somId_LuPopplerDocumentgetPageCount,
1375         (somMethodProc *) getPageCount  },
1376    {    &somId_LuPopplerDocumentgetPageSize,
1377         (somMethodProc *) getPageSize  },
1378    {    &somId_LuPopplerDocumentrenderPageToPixbuf,
1379         (somMethodProc *) renderPageToPixbuf  },
1380    {    &somId_LuPopplerDocumentisAsynchRenderingSupported,
1381         (somMethodProc *) isAsynchRenderingSupported  },
1382    {    &somId_LuPopplerDocumentrenderPageToPixbufAsynch,
1383         (somMethodProc *) renderPageToPixbufAsynch  },
1384    {    &somId_LuPopplerDocumentgetSelectionRectangles,
1385         (somMethodProc *) getSelectionRectangles  },
1386    {    &somId_LuPopplerDocumentisHaveText,
1387         (somMethodProc *) isHaveText  },
1388    {    &somId_LuPopplerDocumentgetText,
1389         (somMethodProc *) getText  },
1390    {    &somId_LuPopplerDocumentisHaveLinks,
1391         (somMethodProc *) isHaveLinks  },
1392    {    &somId_LuPopplerDocumentgetLinkMapping,
1393         (somMethodProc *) getLinkMapping  },
1394    {    &somId_LuPopplerDocumentisSaveable,
1395         (somMethodProc *) isSaveable  },
1396    {    &somId_LuPopplerDocumentsaveAs,
1397         (somMethodProc *) saveAs  },
1398    {    &somId_LuPopplerDocumentisPostScriptExportable,
1399         (somMethodProc *) isPostScriptExportable  },
1400    {    &somId_LuPopplerDocumentexportToPostScript,
1401         (somMethodProc *) exportToPostScript  },
1402    {    &somId_LuPopplerDocumentisHaveFontInfo,
1403         (somMethodProc *) isHaveFontInfo  },
1404    {    &somId_LuPopplerDocumentgetFontInfo,
1405         (somMethodProc *) getFontInfo  },
1406    {    &somId_LuPopplerDocumentisHaveIndex,
1407         (somMethodProc *) isHaveIndex  },
1408    {    &somId_LuPopplerDocumentgetIndex,
1409         (somMethodProc *) getIndex  },
1410    {    &somId_LuPopplerDocumentgetDocumentInfo,
1411         (somMethodProc *) getDocumentInfo  },
1412    {    &somId_LuPopplerDocumentgetThumbnailSize,
1413         (somMethodProc *) getThumbnailSize  },
1414    {    &somId_LuPopplerDocumentgetThumbnail,
1415         (somMethodProc *) getThumbnail  },
1416    {    &somId_LuPopplerDocumentsearchText,
1417         (somMethodProc *) searchText  },
1418    {    &somId_LuPopplerDocumentisFixedImage,
1419         (somMethodProc *) isFixedImage  },
1420    {    &somId_LuPopplerDocumentsomDefaultInit,
1421         (somMethodProc *) somDefaultInit  },
1422    {    &somId_LuPopplerDocumentsomDestruct,
1423         (somMethodProc *) somDestruct  },
1424};
1425
1426
1427/*
1428 *  class Ids
1429 */
1430static char * somCN_LuPopplerDocument = "LuPopplerDocument";
1431static char * somPCN_LuPopplerDocument_LuDocument = "LuDocument";
1432
1433static somId somPCLuPopplerDocument[] = {
1434    &somPCN_LuPopplerDocument_LuDocument,
1435};
1436
1437static somStaticClassInfo LuPopplerDocumentSCI = {
1438    4, 0, 29, 0, 0, 0, /* layout version 4 */
1439    LuPopplerDocument_MajorVersion, LuPopplerDocument_MinorVersion,
1440    sizeof(LuPopplerDocumentData), LuPopplerDocument_MaxNoMethods, 1,
1441    &somCN_LuPopplerDocument,
1442    (somId) NULL, 1,
1443    somPCLuPopplerDocument,
1444    (somClassDataStructure *) &LuPopplerDocumentClassData,
1445    (somCClassDataStructure *) &LuPopplerDocumentCClassData,
1446    (somStaticMethod_t *) NULL, LuPopplerDocumentOM,
1447    (char *) NULL,
1448    (somNonInternalData_t *) NULL,
1449   (somProcMethods_t *) NULL,
1450    (somVarargsFuncs_t *) NULL,
1451    (somTP_somClassInitFunc *) NULL,
1452    4, /* type code alignment */
1453    -1, /* use parents as DirectInitClasses */
1454    0, /* no explicit DirectInitClasses */
1455    0, /* number of general methods */
1456    (somMethods_t *) NULL,
1457    0, /* no public data offset */
1458    0, /* no sci development level check */
1459    0, /* number of SelectInheritedMethods */
1460    0, /* no SelectInheritedMethods */
1461    0, /* number of classdata entries */
1462    0, /* no list provided currently */
1463    0, /* number of migrated methods */
1464    0, /* no migrated method implementations */
1465    0, /* number of initializers */
1466    0, /* no initializers */
1467    0, /* not DTS a class */
1468    0, /* no dynamically computed info */
1469};
1470
1471
1472/*
1473 * Class Creation and Initialization
1474 */
1475
1476SOMClass * SOMLINK LuPopplerDocumentNewClass (integer4 somtmajorVersion,
1477                integer4 somtminorVersion)
1478{
1479    SOMClass *result;
1480    if (_LuPopplerDocument && _LuPopplerDocument->somCheckVersion(somtmajorVersion, somtminorVersion))
1481          return ((SOMClass*)((void*)_LuPopplerDocument));
1482    LuDocumentNewClass(LuDocument_MajorVersion,LuDocument_MinorVersion);        /* static reference */
1483    result = (SOMClass*)((void*)somBuildClass(0xFFFFFFFF,&LuPopplerDocumentSCI, somtmajorVersion, somtminorVersion));
1484    LuPopplerDocument_parent_LuDocument_isFixedImage_resolved =
1485        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isFixedImage);
1486    LuPopplerDocument_parent_LuDocument_searchText_resolved =
1487        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.searchText);
1488    LuPopplerDocument_parent_LuDocument_getThumbnail_resolved =
1489        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getThumbnail);
1490    LuPopplerDocument_parent_LuDocument_getThumbnailSize_resolved =
1491        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getThumbnailSize);
1492    LuPopplerDocument_parent_LuDocument_getDocumentInfo_resolved =
1493        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getDocumentInfo);
1494    LuPopplerDocument_parent_LuDocument_getIndex_resolved =
1495        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getIndex);
1496    LuPopplerDocument_parent_LuDocument_isHaveIndex_resolved =
1497        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isHaveIndex);
1498    LuPopplerDocument_parent_LuDocument_getFontInfo_resolved =
1499        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getFontInfo);
1500    LuPopplerDocument_parent_LuDocument_isHaveFontInfo_resolved =
1501        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isHaveFontInfo);
1502    LuPopplerDocument_parent_LuDocument_exportToPostScript_resolved =
1503        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.exportToPostScript);
1504    LuPopplerDocument_parent_LuDocument_isPostScriptExportable_resolved =
1505        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isPostScriptExportable);
1506    LuPopplerDocument_parent_LuDocument_saveAs_resolved =
1507        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.saveAs);
1508    LuPopplerDocument_parent_LuDocument_isSaveable_resolved =
1509        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isSaveable);
1510    LuPopplerDocument_parent_LuDocument_getLinkMapping_resolved =
1511        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getLinkMapping);
1512    LuPopplerDocument_parent_LuDocument_isHaveLinks_resolved =
1513        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isHaveLinks);
1514    LuPopplerDocument_parent_LuDocument_getText_resolved =
1515        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getText);
1516    LuPopplerDocument_parent_LuDocument_isHaveText_resolved =
1517        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isHaveText);
1518    LuPopplerDocument_parent_LuDocument_getSelectionRectangles_resolved =
1519        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getSelectionRectangles);
1520    LuPopplerDocument_parent_LuDocument_renderPageToPixbufAsynch_resolved =
1521        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.renderPageToPixbufAsynch);
1522    LuPopplerDocument_parent_LuDocument_isAsynchRenderingSupported_resolved =
1523        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isAsynchRenderingSupported);
1524    LuPopplerDocument_parent_LuDocument_renderPageToPixbuf_resolved =
1525        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.renderPageToPixbuf);
1526    LuPopplerDocument_parent_LuDocument_getPageSize_resolved =
1527        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getPageSize);
1528    LuPopplerDocument_parent_LuDocument_getPageCount_resolved =
1529        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getPageCount);
1530    LuPopplerDocument_parent_LuDocument_isRotable_resolved =
1531        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isRotable);
1532    LuPopplerDocument_parent_LuDocument_isScalable_resolved =
1533        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.isScalable);
1534    LuPopplerDocument_parent_LuDocument_getBpp_resolved =
1535        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.getBpp);
1536    LuPopplerDocument_parent_LuDocument_loadFile_resolved =
1537        somParentNumResolve(LuPopplerDocumentCClassData.parentMtab, 1, LuDocumentClassData.loadFile);
1538    return result;
1539}
1540
1541/*
1542 * Functions for attributes.
1543 */
1544
1545/*
1546 * Macros for initializer/destructor entry/exit
1547 */
1548#define LuPopplerDocument_BeginInitializer_somDefaultInit \
1549   if (!ctrl) { \
1550      ctrl = &globalCtrl; \
1551      memcpy(ctrl,&(((somParentMtabStructPtr)LuPopplerDocumentCClassData.parentMtab)->initCtrl),sizeof(somInitCtrl)); \
1552   } \
1553   myMask = ctrl->mask; \
1554   somThis = (LuPopplerDocumentData*)((char*)somSelf + ctrl->info->dataOffset);\
1555   ctrl->info = (somInitInfo*)(ctrl->infoSize + (char*)(ctrl->info)); \
1556   ctrl->mask += 1;
1557#define LuPopplerDocument_BeginDestructor \
1558   if (!ctrl) { \
1559      ctrl = &globalCtrl; \
1560      memcpy(ctrl,&(((somParentMtabStructPtr)LuPopplerDocumentCClassData.parentMtab)->destructCtrl),sizeof(somDestructCtrl)); \
1561   } \
1562   somThis = (LuPopplerDocumentData*)((char*)somSelf + ctrl->info->dataOffset);\
1563   myMask = ctrl->mask;
1564#define LuPopplerDocument_EndDestructor \
1565   ctrl->info = (somDestructInfo*)(ctrl->infoSize + (char*)(ctrl->info)); \
1566   ctrl->mask += 1; \
1567   LuPopplerDocument_DeInit_LuDocument_somDestruct(somSelf,0,ctrl); \
1568   if (doFree) _LuPopplerDocument->somDeallocate((string)somSelf);
1569
1570/*
1571 * Ancestor_Init/DeInit Macros
1572 */
1573
1574/* ...for LuDocument */
1575#define LuPopplerDocument_Init_LuDocument_somDefaultInit(somSelf, ctrl) \
1576        if (myMask[0]&1) \
1577           ((somTD_SOMObject_somDefaultInit) \
1578               ctrl->info->defaultInit) \
1579                   ((SOMObject *)((void *) somSelf), ctrl)
1580#define LuPopplerDocument_DeInit_LuDocument_somDestruct(somSelf, doFree, ctrl) \
1581        if (myMask[0]&1) \
1582           ((somTD_SOMObject_somDestruct) \
1583               ctrl->info->defaultDestruct) \
1584                   ((SOMObject *)((void *) somSelf), 0, ctrl)
1585
1586#endif /* Primary Implementation Support */
1587
1588#endif       /* SOM_LuPopplerDocument_xih */
Note: See TracBrowser for help on using the repository browser.