source: branches/kmk/Lucide/plugins/lupoppler/lupoppler.xih @ 302

Last change on this file since 302 was 155, checked in by Eugene Romanenko, 15 years ago

extended error reporting

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