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

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

Writes into EA thumbnail of first page of document

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