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

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

font substitution fixes, fixed missed 'Page' in NLS-file

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