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

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

poppler updated to version 0.5.2, also needed changes to be compatible with new poppler

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