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

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

Writes into EA thumbnail of first page of document

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