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

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

First import

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