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

Last change on this file since 123 was 123, checked in by Eugene Romanenko, 14 years ago

allow printing in descending order (closes #88), small interface fixes (closes #89)

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