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

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

UI improvements, save files, ability to compile plugins with gcc, saveAs for djvu plugin, djvu plugin compiled with gcc, get rid of ddjvuapi.dll

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