source: trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.xh @ 155

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

extended error reporting

File size: 33.3 KB
Line 
1
2/*
3 * This file was generated by the SOM Compiler.
4 * FileName: lupoppler.xh.
5 * Generated using:
6 *     SOM Precompiler somipc: 2.29.1.17
7 *     SOM Emitter emitxh: 2.47
8 */
9
10#ifndef SOM_LuPopplerDocument_xh
11#define SOM_LuPopplerDocument_xh
12
13class LuPopplerDocument;
14
15#define LuPopplerDocument_MajorVersion 0
16#define LuPopplerDocument_MinorVersion 0
17
18/* C++ SOM defs */
19#include <somcls.xh>
20#include <somcm.xh>
21
22/* C++ parent defs */
23#ifndef SOM_LuDocument_xh
24#include <ludoc.xh>
25#endif
26
27#ifndef LuPopplerDocument_API
28#define LuPopplerDocument_API
29/*
30 * -- The Class API
31 */
32
33/*
34 * Start of bindings for IDL types
35 */
36
37class SOMClass;
38class SOMObject;
39
40/*
41 * End of bindings for IDL types.
42 */
43
44/* A procedure to create the LuPopplerDocument Class */
45SOMEXTERN SOMClass * SOMLINK LuPopplerDocumentNewClass(
46                integer4 majorVersion,
47                integer4 minorVersion);
48
49/* The API to the LuPopplerDocument class object, and the methods it introduces. */
50SOMEXTERNS struct LuPopplerDocumentClassDataStructure {
51        SOMClass *classObject;
52} SOMDLINK LuPopplerDocumentClassData;
53#define _LuPopplerDocument LuPopplerDocumentClassData.classObject
54
55/* The API to parentMtabs for LuPopplerDocument, and the instance data it introduces. */
56SOMEXTERNS struct LuPopplerDocumentCClassDataStructure {
57        somMethodTabs parentMtab;
58        somDToken              instanceDataToken;
59} SOMDLINK LuPopplerDocumentCClassData;
60
61/*
62 * -- Typedefs for LuPopplerDocument Method Procedures
63 */
64SOMEXTERN {
65
66/*
67 * -- Typedefs for Reintroduced Wrapper Methods
68 */
69typedef boolean   SOMLINK somTP_LuPopplerDocument_loadFile(LuPopplerDocument *somSelf, Environment *ev,
70                string filename,
71                string password,
72                long* errorCode,
73                string* error);
74typedef somTP_LuPopplerDocument_loadFile *somTD_LuPopplerDocument_loadFile;
75typedef short   SOMLINK somTP_LuPopplerDocument_getBpp(LuPopplerDocument *somSelf, Environment *ev);
76typedef somTP_LuPopplerDocument_getBpp *somTD_LuPopplerDocument_getBpp;
77typedef boolean   SOMLINK somTP_LuPopplerDocument_isScalable(LuPopplerDocument *somSelf, Environment *ev);
78typedef somTP_LuPopplerDocument_isScalable *somTD_LuPopplerDocument_isScalable;
79typedef boolean   SOMLINK somTP_LuPopplerDocument_isFixedImage(LuPopplerDocument *somSelf, Environment *ev);
80typedef somTP_LuPopplerDocument_isFixedImage *somTD_LuPopplerDocument_isFixedImage;
81typedef boolean   SOMLINK somTP_LuPopplerDocument_isRotable(LuPopplerDocument *somSelf, Environment *ev);
82typedef somTP_LuPopplerDocument_isRotable *somTD_LuPopplerDocument_isRotable;
83typedef long   SOMLINK somTP_LuPopplerDocument_getPageCount(LuPopplerDocument *somSelf, Environment *ev);
84typedef somTP_LuPopplerDocument_getPageCount *somTD_LuPopplerDocument_getPageCount;
85typedef void   SOMLINK somTP_LuPopplerDocument_getPageSize(LuPopplerDocument *somSelf, Environment *ev,
86                long pagenum,
87                double* width,
88                double* height);
89typedef somTP_LuPopplerDocument_getPageSize *somTD_LuPopplerDocument_getPageSize;
90typedef boolean   SOMLINK somTP_LuPopplerDocument_renderPageToPixbuf(LuPopplerDocument *somSelf, Environment *ev,
91                long pagenum,
92                long src_x,
93                long src_y,
94                long src_width,
95                long src_height,
96                double scale,
97                long rotation,
98                LuPixbuf* pixbuf,
99                long* errorCode,
100                string* error);
101typedef somTP_LuPopplerDocument_renderPageToPixbuf *somTD_LuPopplerDocument_renderPageToPixbuf;
102typedef boolean   SOMLINK somTP_LuPopplerDocument_isAsynchRenderingSupported(LuPopplerDocument *somSelf, Environment *ev);
103typedef somTP_LuPopplerDocument_isAsynchRenderingSupported *somTD_LuPopplerDocument_isAsynchRenderingSupported;
104typedef void   SOMLINK somTP_LuPopplerDocument_renderPageToPixbufAsynch(LuPopplerDocument *somSelf, Environment *ev,
105                long pagenum,
106                long src_x,
107                long src_y,
108                long src_width,
109                long src_height,
110                double scale,
111                long rotation,
112                LuPixbuf* pixbuf,
113                LuDocument_asynchCallbackFn fnd,
114                LuDocument_asynchCallbackFn fna,
115                somToken fndata,
116                long* errorCode,
117                string* error);
118typedef somTP_LuPopplerDocument_renderPageToPixbufAsynch *somTD_LuPopplerDocument_renderPageToPixbufAsynch;
119typedef boolean   SOMLINK somTP_LuPopplerDocument_isRenderIntoPS(LuPopplerDocument *somSelf, Environment *ev);
120typedef somTP_LuPopplerDocument_isRenderIntoPS *somTD_LuPopplerDocument_isRenderIntoPS;
121typedef boolean   SOMLINK somTP_LuPopplerDocument_renderPageToPS(LuPopplerDocument *somSelf, Environment *ev,
122                long pagenum,
123                long src_x,
124                long src_y,
125                long src_width,
126                long src_height,
127                double scale,
128                long rotation,
129                unsigned long hps,
130                somMToken rect,
131                long* errorCode,
132                string* error);
133typedef somTP_LuPopplerDocument_renderPageToPS *somTD_LuPopplerDocument_renderPageToPS;
134typedef boolean   SOMLINK somTP_LuPopplerDocument_isHaveText(LuPopplerDocument *somSelf, Environment *ev);
135typedef somTP_LuPopplerDocument_isHaveText *somTD_LuPopplerDocument_isHaveText;
136typedef LuDocument_LuRectSequence*   SOMLINK somTP_LuPopplerDocument_getSelectionRectangles(LuPopplerDocument *somSelf, Environment *ev,
137                long pagenum,
138                LuRectangle* selection);
139typedef somTP_LuPopplerDocument_getSelectionRectangles *somTD_LuPopplerDocument_getSelectionRectangles;
140typedef void   SOMLINK somTP_LuPopplerDocument_freeRectangles(Environment *ev,
141                LuDocument_LuRectSequence* rectangles);
142typedef somTP_LuPopplerDocument_freeRectangles *somTD_LuPopplerDocument_freeRectangles;
143typedef string   SOMLINK somTP_LuPopplerDocument_getText(LuPopplerDocument *somSelf, Environment *ev,
144                long pagenum,
145                LuRectangle* selection);
146typedef somTP_LuPopplerDocument_getText *somTD_LuPopplerDocument_getText;
147typedef boolean   SOMLINK somTP_LuPopplerDocument_isHaveLinks(LuPopplerDocument *somSelf, Environment *ev);
148typedef somTP_LuPopplerDocument_isHaveLinks *somTD_LuPopplerDocument_isHaveLinks;
149typedef LuDocument_LuLinkMapSequence*   SOMLINK somTP_LuPopplerDocument_getLinkMapping(LuPopplerDocument *somSelf, Environment *ev,
150                long pagenum);
151typedef somTP_LuPopplerDocument_getLinkMapping *somTD_LuPopplerDocument_getLinkMapping;
152typedef void   SOMLINK somTP_LuPopplerDocument_freeLinkMapping(Environment *ev,
153                LuDocument_LuLinkMapSequence* mapping);
154typedef somTP_LuPopplerDocument_freeLinkMapping *somTD_LuPopplerDocument_freeLinkMapping;
155typedef boolean   SOMLINK somTP_LuPopplerDocument_isSaveable(LuPopplerDocument *somSelf, Environment *ev);
156typedef somTP_LuPopplerDocument_isSaveable *somTD_LuPopplerDocument_isSaveable;
157typedef boolean   SOMLINK somTP_LuPopplerDocument_saveAs(LuPopplerDocument *somSelf, Environment *ev,
158                string filename);
159typedef somTP_LuPopplerDocument_saveAs *somTD_LuPopplerDocument_saveAs;
160typedef boolean   SOMLINK somTP_LuPopplerDocument_isPostScriptExportable(LuPopplerDocument *somSelf, Environment *ev);
161typedef somTP_LuPopplerDocument_isPostScriptExportable *somTD_LuPopplerDocument_isPostScriptExportable;
162typedef boolean   SOMLINK somTP_LuPopplerDocument_exportToPostScript(LuPopplerDocument *somSelf, Environment *ev,
163                string filename,
164                long first_page,
165                long last_page,
166                double width,
167                double height,
168                boolean* brkExport);
169typedef somTP_LuPopplerDocument_exportToPostScript *somTD_LuPopplerDocument_exportToPostScript;
170typedef boolean   SOMLINK somTP_LuPopplerDocument_isHaveFontInfo(LuPopplerDocument *somSelf, Environment *ev);
171typedef somTP_LuPopplerDocument_isHaveFontInfo *somTD_LuPopplerDocument_isHaveFontInfo;
172typedef LuDocument_LuFontInfoSequence*   SOMLINK somTP_LuPopplerDocument_getFontInfo(LuPopplerDocument *somSelf, Environment *ev);
173typedef somTP_LuPopplerDocument_getFontInfo *somTD_LuPopplerDocument_getFontInfo;
174typedef void   SOMLINK somTP_LuPopplerDocument_freeFontInfo(Environment *ev,
175                LuDocument_LuFontInfoSequence* fonts);
176typedef somTP_LuPopplerDocument_freeFontInfo *somTD_LuPopplerDocument_freeFontInfo;
177typedef boolean   SOMLINK somTP_LuPopplerDocument_isHaveIndex(LuPopplerDocument *somSelf, Environment *ev);
178typedef somTP_LuPopplerDocument_isHaveIndex *somTD_LuPopplerDocument_isHaveIndex;
179typedef LuIndexNode*   SOMLINK somTP_LuPopplerDocument_getIndex(LuPopplerDocument *somSelf, Environment *ev);
180typedef somTP_LuPopplerDocument_getIndex *somTD_LuPopplerDocument_getIndex;
181typedef LuDocumentInfo*   SOMLINK somTP_LuPopplerDocument_getDocumentInfo(LuPopplerDocument *somSelf, Environment *ev);
182typedef somTP_LuPopplerDocument_getDocumentInfo *somTD_LuPopplerDocument_getDocumentInfo;
183typedef void   SOMLINK somTP_LuPopplerDocument_freeDocumentInfo(Environment *ev,
184                LuDocumentInfo* info);
185typedef somTP_LuPopplerDocument_freeDocumentInfo *somTD_LuPopplerDocument_freeDocumentInfo;
186typedef boolean   SOMLINK somTP_LuPopplerDocument_getThumbnailSize(LuPopplerDocument *somSelf, Environment *ev,
187                long pagenum,
188                short suggested_width,
189                short* width,
190                short* height);
191typedef somTP_LuPopplerDocument_getThumbnailSize *somTD_LuPopplerDocument_getThumbnailSize;
192typedef LuPixbuf*   SOMLINK somTP_LuPopplerDocument_getThumbnail(LuPopplerDocument *somSelf, Environment *ev,
193                long pagenum,
194                short suggested_width);
195typedef somTP_LuPopplerDocument_getThumbnail *somTD_LuPopplerDocument_getThumbnail;
196typedef LuDocument_LuRectSequence*   SOMLINK somTP_LuPopplerDocument_searchText(LuPopplerDocument *somSelf, Environment *ev,
197                long pagenum,
198                string text,
199                boolean caseSensitive);
200typedef somTP_LuPopplerDocument_searchText *somTD_LuPopplerDocument_searchText;
201typedef boolean   SOMLINK somTP_LuPopplerDocument_isCreateFileThumbnail(LuPopplerDocument *somSelf, Environment *ev);
202typedef somTP_LuPopplerDocument_isCreateFileThumbnail *somTD_LuPopplerDocument_isCreateFileThumbnail;
203typedef void   SOMLINK somTP_LuPopplerDocument_somDefaultInit(LuPopplerDocument *somSelf,
204                som3InitCtrl* ctrl);
205typedef somTP_LuPopplerDocument_somDefaultInit *somTD_LuPopplerDocument_somDefaultInit;
206typedef void   SOMLINK somTP_LuPopplerDocument_somDestruct(LuPopplerDocument *somSelf,
207                octet doFree,
208                som3DestructCtrl* ctrl);
209typedef somTP_LuPopplerDocument_somDestruct *somTD_LuPopplerDocument_somDestruct;
210typedef void   SOMLINK somTP_LuPopplerDocument_somDefaultCopyInit(LuPopplerDocument *somSelf,
211                som3InitCtrl* ctrl,
212                SOMObject* fromObj);
213typedef somTP_LuPopplerDocument_somDefaultCopyInit *somTD_LuPopplerDocument_somDefaultCopyInit;
214typedef LuPopplerDocument*   SOMLINK somTP_LuPopplerDocument_somDefaultAssign(LuPopplerDocument *somSelf,
215                som3AssignCtrl* ctrl,
216                SOMObject* fromObj);
217typedef somTP_LuPopplerDocument_somDefaultAssign *somTD_LuPopplerDocument_somDefaultAssign;
218typedef void   SOMLINK somTP_LuPopplerDocument_somDefaultConstCopyInit(LuPopplerDocument *somSelf,
219                som3InitCtrl* ctrl,
220                SOMObject* fromObj);
221typedef somTP_LuPopplerDocument_somDefaultConstCopyInit *somTD_LuPopplerDocument_somDefaultConstCopyInit;
222typedef void   SOMLINK somTP_LuPopplerDocument_somDefaultVCopyInit(LuPopplerDocument *somSelf,
223                som3InitCtrl* ctrl,
224                SOMObject* fromObj);
225typedef somTP_LuPopplerDocument_somDefaultVCopyInit *somTD_LuPopplerDocument_somDefaultVCopyInit;
226typedef void   SOMLINK somTP_LuPopplerDocument_somDefaultConstVCopyInit(LuPopplerDocument *somSelf,
227                som3InitCtrl* ctrl,
228                SOMObject* fromObj);
229typedef somTP_LuPopplerDocument_somDefaultConstVCopyInit *somTD_LuPopplerDocument_somDefaultConstVCopyInit;
230typedef LuPopplerDocument*   SOMLINK somTP_LuPopplerDocument_somDefaultConstAssign(LuPopplerDocument *somSelf,
231                som3AssignCtrl* ctrl,
232                SOMObject* fromObj);
233typedef somTP_LuPopplerDocument_somDefaultConstAssign *somTD_LuPopplerDocument_somDefaultConstAssign;
234typedef LuPopplerDocument*   SOMLINK somTP_LuPopplerDocument_somDefaultVAssign(LuPopplerDocument *somSelf,
235                som3AssignCtrl* ctrl,
236                SOMObject* fromObj);
237typedef somTP_LuPopplerDocument_somDefaultVAssign *somTD_LuPopplerDocument_somDefaultVAssign;
238typedef LuPopplerDocument*   SOMLINK somTP_LuPopplerDocument_somDefaultConstVAssign(LuPopplerDocument *somSelf,
239                som3AssignCtrl* ctrl,
240                SOMObject* fromObj);
241typedef somTP_LuPopplerDocument_somDefaultConstVAssign *somTD_LuPopplerDocument_somDefaultConstVAssign;
242typedef void   SOMLINK somTP_LuPopplerDocument_somInit(LuPopplerDocument *somSelf);
243typedef somTP_LuPopplerDocument_somInit *somTD_LuPopplerDocument_somInit;
244typedef void   SOMLINK somTP_LuPopplerDocument_somFree(LuPopplerDocument *somSelf);
245typedef somTP_LuPopplerDocument_somFree *somTD_LuPopplerDocument_somFree;
246typedef void   SOMLINK somTP_LuPopplerDocument_somUninit(LuPopplerDocument *somSelf);
247typedef somTP_LuPopplerDocument_somUninit *somTD_LuPopplerDocument_somUninit;
248typedef SOMClass*   SOMLINK somTP_LuPopplerDocument_somGetClass(LuPopplerDocument *somSelf);
249typedef somTP_LuPopplerDocument_somGetClass *somTD_LuPopplerDocument_somGetClass;
250typedef string   SOMLINK somTP_LuPopplerDocument_somGetClassName(LuPopplerDocument *somSelf);
251typedef somTP_LuPopplerDocument_somGetClassName *somTD_LuPopplerDocument_somGetClassName;
252typedef long   SOMLINK somTP_LuPopplerDocument_somGetSize(LuPopplerDocument *somSelf);
253typedef somTP_LuPopplerDocument_somGetSize *somTD_LuPopplerDocument_somGetSize;
254typedef boolean   SOMLINK somTP_LuPopplerDocument_somIsA(LuPopplerDocument *somSelf,
255                SOMClass* aClassObj);
256typedef somTP_LuPopplerDocument_somIsA *somTD_LuPopplerDocument_somIsA;
257typedef boolean   SOMLINK somTP_LuPopplerDocument_somIsInstanceOf(LuPopplerDocument *somSelf,
258                SOMClass* aClassObj);
259typedef somTP_LuPopplerDocument_somIsInstanceOf *somTD_LuPopplerDocument_somIsInstanceOf;
260typedef boolean   SOMLINK somTP_LuPopplerDocument_somRespondsTo(LuPopplerDocument *somSelf,
261                somId mId);
262typedef somTP_LuPopplerDocument_somRespondsTo *somTD_LuPopplerDocument_somRespondsTo;
263typedef boolean   SOMLINK somTP_LuPopplerDocument_somDispatch(LuPopplerDocument *somSelf,
264                somToken* retValue,
265                somId methodId,
266                va_list ap);
267typedef somTP_LuPopplerDocument_somDispatch *somTD_LuPopplerDocument_somDispatch;
268typedef boolean   SOMLINK somTP_LuPopplerDocument_somClassDispatch(LuPopplerDocument *somSelf,
269                SOMClass* clsObj,
270                somToken* retValue,
271                somId methodId,
272                va_list ap);
273typedef somTP_LuPopplerDocument_somClassDispatch *somTD_LuPopplerDocument_somClassDispatch;
274typedef boolean   SOMLINK somTP_LuPopplerDocument_somCastObj(LuPopplerDocument *somSelf,
275                SOMClass* cls);
276typedef somTP_LuPopplerDocument_somCastObj *somTD_LuPopplerDocument_somCastObj;
277typedef boolean   SOMLINK somTP_LuPopplerDocument_somResetObj(LuPopplerDocument *somSelf);
278typedef somTP_LuPopplerDocument_somResetObj *somTD_LuPopplerDocument_somResetObj;
279typedef void   SOMLINK somTP_LuPopplerDocument_somDispatchV(LuPopplerDocument *somSelf,
280                somId methodId,
281                somId descriptor,
282                va_list ap);
283typedef somTP_LuPopplerDocument_somDispatchV *somTD_LuPopplerDocument_somDispatchV;
284typedef long   SOMLINK somTP_LuPopplerDocument_somDispatchL(LuPopplerDocument *somSelf,
285                somId methodId,
286                somId descriptor,
287                va_list ap);
288typedef somTP_LuPopplerDocument_somDispatchL *somTD_LuPopplerDocument_somDispatchL;
289typedef void*   SOMLINK somTP_LuPopplerDocument_somDispatchA(LuPopplerDocument *somSelf,
290                somId methodId,
291                somId descriptor,
292                va_list ap);
293typedef somTP_LuPopplerDocument_somDispatchA *somTD_LuPopplerDocument_somDispatchA;
294typedef double   SOMLINK somTP_LuPopplerDocument_somDispatchD(LuPopplerDocument *somSelf,
295                somId methodId,
296                somId descriptor,
297                va_list ap);
298typedef somTP_LuPopplerDocument_somDispatchD *somTD_LuPopplerDocument_somDispatchD;
299typedef SOMObject*   SOMLINK somTP_LuPopplerDocument_somPrintSelf(LuPopplerDocument *somSelf);
300typedef somTP_LuPopplerDocument_somPrintSelf *somTD_LuPopplerDocument_somPrintSelf;
301typedef void   SOMLINK somTP_LuPopplerDocument_somDumpSelf(LuPopplerDocument *somSelf,
302                long level);
303typedef somTP_LuPopplerDocument_somDumpSelf *somTD_LuPopplerDocument_somDumpSelf;
304typedef void   SOMLINK somTP_LuPopplerDocument_somDumpSelfInt(LuPopplerDocument *somSelf,
305                long level);
306typedef somTP_LuPopplerDocument_somDumpSelfInt *somTD_LuPopplerDocument_somDumpSelfInt;
307}
308
309#endif /* LuPopplerDocument_API */
310
311
312/*
313 * -- This emitter treats Method Tokens as Thunks by default.
314 * -- Use the sc modifier "nothunks" to change this default
315 */
316#undef somresolve_
317#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
318
319/*
320 * -- The C++ Wrapper Class for LuPopplerDocument
321 */
322class LuPopplerDocument : public LuDocument
323{
324public:
325
326// LuPopplerDocument::new creates the class object if necessary, and then uses somNewNoInit
327// to allocate memory and create the object. Initialization is in ctors.
328void *operator new(size_t)
329{
330   if (!_LuPopplerDocument) LuPopplerDocumentNewClass(LuPopplerDocument_MajorVersion,LuPopplerDocument_MinorVersion);
331   return (void*)
332      SOM_Resolve(_LuPopplerDocument,SOMClass,somNewNoInit)
333         ((SOMClass *)((void*)_LuPopplerDocument));
334}
335
336// LuPopplerDocument::delete uses somDestruct.
337void operator delete(void * obj)
338{
339   if (obj && *(void**)obj) {
340      SOM_Resolve(obj,SOMObject,somFree)
341         ((SOMObject*)obj);
342   }
343}
344
345LuPopplerDocument& operator=(LuPopplerDocument& fromObj)
346{
347   this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
348   return *this;
349}
350
351LuPopplerDocument()
352{
353   if (*(void**)this !=
354       ((somParentMtabStructPtr)
355        (LuPopplerDocumentCClassData.parentMtab))->mtab)
356      return;
357   ((SOMObject*)((void*)this))->somDefaultInit(0);
358}
359
360LuPopplerDocument(LuPopplerDocument* fromObj)
361{
362   if (*(void**)this !=
363       ((somParentMtabStructPtr)
364        (LuPopplerDocumentCClassData.parentMtab))->mtab)
365      return;
366   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
367}
368
369#ifdef __IBMCPP__
370#pragma info(nocnv,nopar)
371#endif
372LuPopplerDocument(const LuPopplerDocument* fromObj)
373{
374   if (*(void**)this !=
375       ((somParentMtabStructPtr)
376        (LuPopplerDocumentCClassData.parentMtab))->mtab)
377      return;
378   ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
379}
380#ifdef __IBMCPP__
381#pragma info(restore)
382#endif
383
384
385/*
386 * Reintroduce inherited methods
387 */
388
389/* method: loadFile */
390boolean   loadFile(Environment *ev,
391                string filename,
392                string password,
393                long* errorCode,
394                string* error)
395{
396   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,loadFile)
397        (this, ev,filename,password,errorCode,error);
398}
399
400
401/* method: getBpp */
402short   getBpp(Environment *ev)
403{
404   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getBpp)
405        (this, ev);
406}
407
408
409/* method: isScalable */
410boolean   isScalable(Environment *ev)
411{
412   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isScalable)
413        (this, ev);
414}
415
416
417/* method: isFixedImage */
418boolean   isFixedImage(Environment *ev)
419{
420   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isFixedImage)
421        (this, ev);
422}
423
424
425/* method: isRotable */
426boolean   isRotable(Environment *ev)
427{
428   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isRotable)
429        (this, ev);
430}
431
432
433/* method: getPageCount */
434long   getPageCount(Environment *ev)
435{
436   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getPageCount)
437        (this, ev);
438}
439
440
441/* method: getPageSize */
442void   getPageSize(Environment *ev,
443                long pagenum,
444                double* width,
445                double* height)
446{
447   SOM_ResolveD(this,LuPopplerDocument,LuDocument,getPageSize)
448        (this, ev,pagenum,width,height);
449}
450
451
452/* method: renderPageToPixbuf */
453boolean   renderPageToPixbuf(Environment *ev,
454                long pagenum,
455                long src_x,
456                long src_y,
457                long src_width,
458                long src_height,
459                double scale,
460                long rotation,
461                LuPixbuf* pixbuf,
462                long* errorCode,
463                string* error)
464{
465   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,renderPageToPixbuf)
466        (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,errorCode,error);
467}
468
469
470/* method: isAsynchRenderingSupported */
471boolean   isAsynchRenderingSupported(Environment *ev)
472{
473   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isAsynchRenderingSupported)
474        (this, ev);
475}
476
477
478/* method: renderPageToPixbufAsynch */
479void   renderPageToPixbufAsynch(Environment *ev,
480                long pagenum,
481                long src_x,
482                long src_y,
483                long src_width,
484                long src_height,
485                double scale,
486                long rotation,
487                LuPixbuf* pixbuf,
488                LuDocument_asynchCallbackFn fnd,
489                LuDocument_asynchCallbackFn fna,
490                somToken fndata,
491                long* errorCode,
492                string* error)
493{
494   SOM_ResolveD(this,LuPopplerDocument,LuDocument,renderPageToPixbufAsynch)
495        (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,pixbuf,fnd,fna,fndata,errorCode,error);
496}
497
498
499/* method: isRenderIntoPS */
500boolean   isRenderIntoPS(Environment *ev)
501{
502   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isRenderIntoPS)
503        (this, ev);
504}
505
506
507/* method: renderPageToPS */
508boolean   renderPageToPS(Environment *ev,
509                long pagenum,
510                long src_x,
511                long src_y,
512                long src_width,
513                long src_height,
514                double scale,
515                long rotation,
516                unsigned long hps,
517                somMToken rect,
518                long* errorCode,
519                string* error)
520{
521   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,renderPageToPS)
522        (this, ev,pagenum,src_x,src_y,src_width,src_height,scale,rotation,hps,rect,errorCode,error);
523}
524
525
526/* method: isHaveText */
527boolean   isHaveText(Environment *ev)
528{
529   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isHaveText)
530        (this, ev);
531}
532
533
534/* method: getSelectionRectangles */
535LuDocument_LuRectSequence*   getSelectionRectangles(Environment *ev,
536                long pagenum,
537                LuRectangle* selection)
538{
539   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getSelectionRectangles)
540        (this, ev,pagenum,selection);
541}
542
543
544/* noself procedure: freeRectangles */
545static void   freeRectangles(Environment *ev,
546                LuDocument_LuRectSequence* rectangles)
547{
548   ((somTD_LuPopplerDocument_freeRectangles)LuDocumentClassData.freeRectangles)
549        ( ev,rectangles);
550}
551
552
553/* method: getText */
554string   getText(Environment *ev,
555                long pagenum,
556                LuRectangle* selection)
557{
558   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getText)
559        (this, ev,pagenum,selection);
560}
561
562
563/* method: isHaveLinks */
564boolean   isHaveLinks(Environment *ev)
565{
566   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isHaveLinks)
567        (this, ev);
568}
569
570
571/* method: getLinkMapping */
572LuDocument_LuLinkMapSequence*   getLinkMapping(Environment *ev,
573                long pagenum)
574{
575   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getLinkMapping)
576        (this, ev,pagenum);
577}
578
579
580/* noself procedure: freeLinkMapping */
581static void   freeLinkMapping(Environment *ev,
582                LuDocument_LuLinkMapSequence* mapping)
583{
584   ((somTD_LuPopplerDocument_freeLinkMapping)LuDocumentClassData.freeLinkMapping)
585        ( ev,mapping);
586}
587
588
589/* method: isSaveable */
590boolean   isSaveable(Environment *ev)
591{
592   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isSaveable)
593        (this, ev);
594}
595
596
597/* method: saveAs */
598boolean   saveAs(Environment *ev,
599                string filename)
600{
601   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,saveAs)
602        (this, ev,filename);
603}
604
605
606/* method: isPostScriptExportable */
607boolean   isPostScriptExportable(Environment *ev)
608{
609   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isPostScriptExportable)
610        (this, ev);
611}
612
613
614/* method: exportToPostScript */
615boolean   exportToPostScript(Environment *ev,
616                string filename,
617                long first_page,
618                long last_page,
619                double width,
620                double height,
621                boolean* brkExport)
622{
623   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,exportToPostScript)
624        (this, ev,filename,first_page,last_page,width,height,brkExport);
625}
626
627
628/* method: isHaveFontInfo */
629boolean   isHaveFontInfo(Environment *ev)
630{
631   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isHaveFontInfo)
632        (this, ev);
633}
634
635
636/* method: getFontInfo */
637LuDocument_LuFontInfoSequence*   getFontInfo(Environment *ev)
638{
639   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getFontInfo)
640        (this, ev);
641}
642
643
644/* noself procedure: freeFontInfo */
645static void   freeFontInfo(Environment *ev,
646                LuDocument_LuFontInfoSequence* fonts)
647{
648   ((somTD_LuPopplerDocument_freeFontInfo)LuDocumentClassData.freeFontInfo)
649        ( ev,fonts);
650}
651
652
653/* method: isHaveIndex */
654boolean   isHaveIndex(Environment *ev)
655{
656   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isHaveIndex)
657        (this, ev);
658}
659
660
661/* method: getIndex */
662LuIndexNode*   getIndex(Environment *ev)
663{
664   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getIndex)
665        (this, ev);
666}
667
668
669/* method: getDocumentInfo */
670LuDocumentInfo*   getDocumentInfo(Environment *ev)
671{
672   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getDocumentInfo)
673        (this, ev);
674}
675
676
677/* noself procedure: freeDocumentInfo */
678static void   freeDocumentInfo(Environment *ev,
679                LuDocumentInfo* info)
680{
681   ((somTD_LuPopplerDocument_freeDocumentInfo)LuDocumentClassData.freeDocumentInfo)
682        ( ev,info);
683}
684
685
686/* method: getThumbnailSize */
687boolean   getThumbnailSize(Environment *ev,
688                long pagenum,
689                short suggested_width,
690                short* width,
691                short* height)
692{
693   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getThumbnailSize)
694        (this, ev,pagenum,suggested_width,width,height);
695}
696
697
698/* method: getThumbnail */
699LuPixbuf*   getThumbnail(Environment *ev,
700                long pagenum,
701                short suggested_width)
702{
703   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,getThumbnail)
704        (this, ev,pagenum,suggested_width);
705}
706
707
708/* method: searchText */
709LuDocument_LuRectSequence*   searchText(Environment *ev,
710                long pagenum,
711                string text,
712                boolean caseSensitive)
713{
714   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,searchText)
715        (this, ev,pagenum,text,caseSensitive);
716}
717
718
719/* method: isCreateFileThumbnail */
720boolean   isCreateFileThumbnail(Environment *ev)
721{
722   return SOM_ResolveD(this,LuPopplerDocument,LuDocument,isCreateFileThumbnail)
723        (this, ev);
724}
725
726
727/* initializer method: somDefaultInit */
728void   somDefaultInit(som3InitCtrl* ctrl)
729{
730   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultInit)
731        (this,ctrl);
732}
733
734
735/* method: somDestruct */
736void   somDestruct(octet doFree,
737                som3DestructCtrl* ctrl)
738{
739   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDestruct)
740        (this,doFree,ctrl);
741}
742
743
744/* initializer method: somDefaultCopyInit */
745void   somDefaultCopyInit(som3InitCtrl* ctrl,
746                SOMObject* fromObj)
747{
748   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultCopyInit)
749        (this,ctrl,fromObj);
750}
751
752
753/* method: somDefaultAssign */
754LuPopplerDocument*  somDefaultAssign(som3AssignCtrl* ctrl,
755                SOMObject* fromObj)
756{
757   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultAssign)
758        (this,ctrl,fromObj);
759}
760
761
762/* initializer method: somDefaultConstCopyInit */
763void   somDefaultConstCopyInit(som3InitCtrl* ctrl,
764                SOMObject* fromObj)
765{
766   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultConstCopyInit)
767        (this,ctrl,fromObj);
768}
769
770
771/* initializer method: somDefaultVCopyInit */
772void   somDefaultVCopyInit(som3InitCtrl* ctrl,
773                SOMObject* fromObj)
774{
775   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultVCopyInit)
776        (this,ctrl,fromObj);
777}
778
779
780/* initializer method: somDefaultConstVCopyInit */
781void   somDefaultConstVCopyInit(som3InitCtrl* ctrl,
782                SOMObject* fromObj)
783{
784   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultConstVCopyInit)
785        (this,ctrl,fromObj);
786}
787
788
789/* method: somDefaultConstAssign */
790LuPopplerDocument*  somDefaultConstAssign(som3AssignCtrl* ctrl,
791                SOMObject* fromObj)
792{
793   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultConstAssign)
794        (this,ctrl,fromObj);
795}
796
797
798/* method: somDefaultVAssign */
799LuPopplerDocument*  somDefaultVAssign(som3AssignCtrl* ctrl,
800                SOMObject* fromObj)
801{
802   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultVAssign)
803        (this,ctrl,fromObj);
804}
805
806
807/* method: somDefaultConstVAssign */
808LuPopplerDocument*  somDefaultConstVAssign(som3AssignCtrl* ctrl,
809                SOMObject* fromObj)
810{
811   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDefaultConstVAssign)
812        (this,ctrl,fromObj);
813}
814
815
816/* method: somInit */
817void   somInit()
818{
819   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somInit)
820        (this);
821}
822
823
824/* method: somFree */
825void   somFree()
826{
827   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somFree)
828        (this);
829}
830
831
832/* method: somUninit */
833void   somUninit()
834{
835   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somUninit)
836        (this);
837}
838
839
840/* method: somGetClass */
841SOMClass*   somGetClass()
842{
843   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somGetClass)
844        (this);
845}
846
847
848/* method: somGetClassName */
849string   somGetClassName()
850{
851   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somGetClassName)
852        (this);
853}
854
855
856/* method: somGetSize */
857long   somGetSize()
858{
859   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somGetSize)
860        (this);
861}
862
863
864/* method: somIsA */
865boolean   somIsA(SOMClass* aClassObj)
866{
867   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somIsA)
868        (this,aClassObj);
869}
870
871
872/* method: somIsInstanceOf */
873boolean   somIsInstanceOf(SOMClass* aClassObj)
874{
875   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somIsInstanceOf)
876        (this,aClassObj);
877}
878
879
880/* method: somRespondsTo */
881boolean   somRespondsTo(somId mId)
882{
883   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somRespondsTo)
884        (this,mId);
885}
886
887
888/* va_list method: somDispatch */
889
890/* the va_list invocation form */
891boolean   LuPopplerDocument_somDispatch(somToken* retValue,
892                somId methodId,
893                va_list ap)
894{return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatch)
895        (this,retValue,methodId,ap);
896}
897
898/* the varargs invocation form */
899boolean   somDispatch(somToken* retValue,
900                somId methodId,
901                ...)
902{
903   va_list ap;
904   va_start(ap, methodId);
905   boolean __somResult =
906      SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatch)
907        (this,retValue,methodId,ap);
908   va_end(ap);
909   return __somResult;
910}
911
912
913/* va_list method: somClassDispatch */
914
915/* the va_list invocation form */
916boolean   LuPopplerDocument_somClassDispatch(SOMClass* clsObj,
917                somToken* retValue,
918                somId methodId,
919                va_list ap)
920{return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somClassDispatch)
921        (this,clsObj,retValue,methodId,ap);
922}
923
924/* the varargs invocation form */
925boolean   somClassDispatch(SOMClass* clsObj,
926                somToken* retValue,
927                somId methodId,
928                ...)
929{
930   va_list ap;
931   va_start(ap, methodId);
932   boolean __somResult =
933      SOM_ResolveD(this,LuPopplerDocument,SOMObject,somClassDispatch)
934        (this,clsObj,retValue,methodId,ap);
935   va_end(ap);
936   return __somResult;
937}
938
939
940/* method: somCastObj */
941boolean   somCastObj(SOMClass* cls)
942{
943   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somCastObj)
944        (this,cls);
945}
946
947
948/* method: somResetObj */
949boolean   somResetObj()
950{
951   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somResetObj)
952        (this);
953}
954
955
956/* va_list method: somDispatchV */
957
958/* the va_list invocation form */
959void   LuPopplerDocument_somDispatchV(somId methodId,
960                somId descriptor,
961                va_list ap)
962{   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchV)
963        (this,methodId,descriptor,ap);
964}
965
966/* the varargs invocation form */
967void   somDispatchV(somId methodId,
968                somId descriptor,
969                ...)
970{
971   va_list ap;
972   va_start(ap, descriptor);
973   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchV)
974        (this,methodId,descriptor,ap);
975   va_end(ap);
976}
977
978
979/* va_list method: somDispatchL */
980
981/* the va_list invocation form */
982long   LuPopplerDocument_somDispatchL(somId methodId,
983                somId descriptor,
984                va_list ap)
985{return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchL)
986        (this,methodId,descriptor,ap);
987}
988
989/* the varargs invocation form */
990long   somDispatchL(somId methodId,
991                somId descriptor,
992                ...)
993{
994   va_list ap;
995   va_start(ap, descriptor);
996   long __somResult =
997      SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchL)
998        (this,methodId,descriptor,ap);
999   va_end(ap);
1000   return __somResult;
1001}
1002
1003
1004/* va_list method: somDispatchA */
1005
1006/* the va_list invocation form */
1007void*   LuPopplerDocument_somDispatchA(somId methodId,
1008                somId descriptor,
1009                va_list ap)
1010{return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchA)
1011        (this,methodId,descriptor,ap);
1012}
1013
1014/* the varargs invocation form */
1015void*   somDispatchA(somId methodId,
1016                somId descriptor,
1017                ...)
1018{
1019   va_list ap;
1020   va_start(ap, descriptor);
1021   void* __somResult =
1022      SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchA)
1023        (this,methodId,descriptor,ap);
1024   va_end(ap);
1025   return __somResult;
1026}
1027
1028
1029/* va_list method: somDispatchD */
1030
1031/* the va_list invocation form */
1032double   LuPopplerDocument_somDispatchD(somId methodId,
1033                somId descriptor,
1034                va_list ap)
1035{return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchD)
1036        (this,methodId,descriptor,ap);
1037}
1038
1039/* the varargs invocation form */
1040double   somDispatchD(somId methodId,
1041                somId descriptor,
1042                ...)
1043{
1044   va_list ap;
1045   va_start(ap, descriptor);
1046   double __somResult =
1047      SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDispatchD)
1048        (this,methodId,descriptor,ap);
1049   va_end(ap);
1050   return __somResult;
1051}
1052
1053
1054/* method: somPrintSelf */
1055SOMObject*   somPrintSelf()
1056{
1057   return SOM_ResolveD(this,LuPopplerDocument,SOMObject,somPrintSelf)
1058        (this);
1059}
1060
1061
1062/* method: somDumpSelf */
1063void   somDumpSelf(long level)
1064{
1065   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDumpSelf)
1066        (this,level);
1067}
1068
1069
1070/* method: somDumpSelfInt */
1071void   somDumpSelfInt(long level)
1072{
1073   SOM_ResolveD(this,LuPopplerDocument,SOMObject,somDumpSelfInt)
1074        (this,level);
1075}
1076
1077
1078
1079};   /* LuPopplerDocument */
1080
1081
1082
1083#endif       /* SOM_LuPopplerDocument_xh */
Note: See TracBrowser for help on using the repository browser.