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

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

First import

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