@girs/evincedocument-3.0 45.0.0-3.3.0 → 45.0.0-4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3867 +0,0 @@
1
-
2
- /*
3
- * Type Definitions for Gjs (https://gjs.guide/)
4
- *
5
- * These type definitions are automatically generated, do not edit them by hand.
6
- * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
7
- */
8
-
9
- import './evincedocument-3.0-ambient.d.ts';
10
- import './evincedocument-3.0-import.d.ts';
11
- /**
12
- * EvinceDocument-3.0
13
- */
14
-
15
- import type Gtk from '@girs/gtk-3.0';
16
- import type xlib from '@girs/xlib-2.0';
17
- import type Gdk from '@girs/gdk-3.0';
18
- import type cairo from '@girs/cairo-1.0';
19
- import type GObject from '@girs/gobject-2.0';
20
- import type GLib from '@girs/glib-2.0';
21
- import type Pango from '@girs/pango-1.0';
22
- import type HarfBuzz from '@girs/harfbuzz-0.0';
23
- import type freetype2 from '@girs/freetype2-2.0';
24
- import type Gio from '@girs/gio-2.0';
25
- import type GdkPixbuf from '@girs/gdkpixbuf-2.0';
26
- import type GModule from '@girs/gmodule-2.0';
27
- import type Atk from '@girs/atk-1.0';
28
-
29
- export enum AnnotationTextIcon {
30
- NOTE,
31
- COMMENT,
32
- KEY,
33
- HELP,
34
- NEW_PARAGRAPH,
35
- PARAGRAPH,
36
- INSERT,
37
- CROSS,
38
- CIRCLE,
39
- UNKNOWN,
40
- }
41
- export enum AnnotationTextMarkupType {
42
- HIGHLIGHT,
43
- STRIKE_OUT,
44
- UNDERLINE,
45
- SQUIGGLY,
46
- }
47
- export enum AnnotationType {
48
- UNKNOWN,
49
- TEXT,
50
- ATTACHMENT,
51
- TEXT_MARKUP,
52
- }
53
- export enum AnnotationsOverMarkup {
54
- NOT_IMPLEMENTED,
55
- UNKNOWN,
56
- YES,
57
- NOT,
58
- }
59
- export enum CompressionType {
60
- NONE,
61
- BZIP2,
62
- GZIP,
63
- LZMA,
64
- }
65
- export enum DocumentContainsJS {
66
- UNKNOWN,
67
- NO,
68
- YES,
69
- }
70
- export enum DocumentError {
71
- INVALID,
72
- UNSUPPORTED_CONTENT,
73
- ENCRYPTED,
74
- }
75
- export enum DocumentLayout {
76
- SINGLE_PAGE,
77
- ONE_COLUMN,
78
- TWO_COLUMN_LEFT,
79
- TWO_COLUMN_RIGHT,
80
- TWO_PAGE_LEFT,
81
- TWO_PAGE_RIGHT,
82
- }
83
- export enum DocumentMode {
84
- NONE,
85
- USE_OC,
86
- USE_THUMBS,
87
- FULL_SCREEN,
88
- USE_ATTACHMENTS,
89
- PRESENTATION,
90
- }
91
- export enum FileExporterFormat {
92
- UNKNOWN,
93
- PS,
94
- PDF,
95
- }
96
- export enum FormFieldButtonType {
97
- PUSH,
98
- CHECK,
99
- RADIO,
100
- }
101
- export enum FormFieldChoiceType {
102
- COMBO,
103
- LIST,
104
- }
105
- export enum FormFieldTextType {
106
- NORMAL,
107
- MULTILINE,
108
- FILE_SELECT,
109
- }
110
- export enum LinkActionType {
111
- GOTO_DEST,
112
- GOTO_REMOTE,
113
- EXTERNAL_URI,
114
- LAUNCH,
115
- NAMED,
116
- LAYERS_STATE,
117
- RESET_FORM,
118
- }
119
- export enum LinkDestType {
120
- PAGE,
121
- XYZ,
122
- FIT,
123
- FITH,
124
- FITV,
125
- FITR,
126
- NAMED,
127
- PAGE_LABEL,
128
- UNKNOWN,
129
- }
130
- export enum SelectionStyle {
131
- GLYPH,
132
- WORD,
133
- LINE,
134
- }
135
- export enum TransitionEffectAlignment {
136
- HORIZONTAL,
137
- VERTICAL,
138
- }
139
- export enum TransitionEffectDirection {
140
- INWARD,
141
- OUTWARD,
142
- }
143
- export enum TransitionEffectType {
144
- REPLACE,
145
- SPLIT,
146
- BLINDS,
147
- BOX,
148
- WIPE,
149
- DISSOLVE,
150
- GLITTER,
151
- FLY,
152
- PUSH,
153
- COVER,
154
- UNCOVER,
155
- FADE,
156
- }
157
- export enum AnnotationsSaveMask {
158
- NONE,
159
- CONTENTS,
160
- COLOR,
161
- AREA,
162
- LABEL,
163
- OPACITY,
164
- POPUP_RECT,
165
- POPUP_IS_OPEN,
166
- TEXT_IS_OPEN,
167
- TEXT_ICON,
168
- ATTACHMENT,
169
- TEXT_MARKUP_TYPE,
170
- ALL,
171
- }
172
- export enum DocumentInfoFields {
173
- TITLE,
174
- FORMAT,
175
- AUTHOR,
176
- SUBJECT,
177
- KEYWORDS,
178
- LAYOUT,
179
- CREATOR,
180
- PRODUCER,
181
- CREATION_DATE,
182
- MOD_DATE,
183
- LINEARIZED,
184
- START_MODE,
185
- UI_HINTS,
186
- PERMISSIONS,
187
- N_PAGES,
188
- SECURITY,
189
- PAPER_SIZE,
190
- LICENSE,
191
- CONTAINS_JS,
192
- }
193
- export enum DocumentLoadFlags {
194
- NONE,
195
- NO_CACHE,
196
- }
197
- export enum DocumentPermissions {
198
- OK_TO_PRINT,
199
- OK_TO_MODIFY,
200
- OK_TO_COPY,
201
- OK_TO_ADD_NOTES,
202
- FULL,
203
- }
204
- export enum DocumentUIHints {
205
- HIDE_TOOLBAR,
206
- HIDE_MENUBAR,
207
- HIDE_WINDOWUI,
208
- FIT_WINDOW,
209
- CENTER_WINDOW,
210
- DISPLAY_DOC_TITLE,
211
- DIRECTION_RTL,
212
- }
213
- export enum FileExporterCapabilities {
214
- PAGE_SET,
215
- COPIES,
216
- COLLATE,
217
- REVERSE,
218
- SCALE,
219
- GENERATE_PDF,
220
- GENERATE_PS,
221
- PREVIEW,
222
- NUMBER_UP,
223
- }
224
- export enum FindOptions {
225
- DEFAULT,
226
- CASE_SENSITIVE,
227
- WHOLE_WORDS_ONLY,
228
- }
229
- /**
230
- * The major version number of the EV library
231
- * (e.g. in version 3.1.4 this is 3).
232
- */
233
- export const MAJOR_VERSION: number
234
- export function backends_manager_get_document(mime_type: string): Document
235
- export function backends_manager_get_document_module_name(document: Document): string
236
- export function document_error_quark(): GLib.Quark
237
- /**
238
- * Compresses the file at `uri`.
239
- *
240
- * If `type` is %EV_COMPRESSION_NONE, it does nothing and returns %NULL.
241
- *
242
- * Otherwise, it returns the filename of a
243
- * temporary file containing the compressed data from the file at `uri`.
244
- *
245
- * On error it returns %NULL and fills in `error`.
246
- *
247
- * It is the caller's responsibility to unlink the temp file after use.
248
- * @param uri a file URI
249
- * @param type the compression type
250
- * @returns a newly allocated string URI, or %NULL on error
251
- */
252
- export function file_compress(uri: string, type: CompressionType): string | null
253
- /**
254
- * Performs a g_file_copy_attributes() with %G_FILE_COPY_ALL_METADATA
255
- * from `from` to `to`.
256
- * @param from the source URI
257
- * @param to the target URI
258
- * @returns %TRUE if the attributes were copied successfully, %FALSE otherwise.
259
- */
260
- export function file_copy_metadata(from: string, to: string): boolean
261
- export function file_get_mime_type(uri: string, fast: boolean): string | null
262
- export function file_get_mime_type_from_fd(fd: number): string | null
263
- export function file_is_temp(file: Gio.File): boolean
264
- /**
265
- * Uncompresses the file at `uri`.
266
- *
267
- * If `type` is %EV_COMPRESSION_NONE, it does nothing and returns %NULL.
268
- *
269
- * Otherwise, it returns the filename of a
270
- * temporary file containing the decompressed data from the file at `uri`.
271
- * On error it returns %NULL and fills in `error`.
272
- *
273
- * It is the caller's responsibility to unlink the temp file after use.
274
- * @param uri a file URI
275
- * @param type the compression type
276
- * @returns a newly allocated string URI, or %NULL on error
277
- */
278
- export function file_uncompress(uri: string, type: CompressionType): string | null
279
- export function get_locale_dir(): string
280
- /**
281
- * Initializes the evince document library, and binds the evince
282
- * gettext domain.
283
- *
284
- * You must call this before calling any other function in the evince
285
- * document library.
286
- * @returns %TRUE if any backends were found; %FALSE otherwise
287
- */
288
- export function init(): boolean
289
- /**
290
- * Creates a temp directory in the evince temp directory.
291
- * @param tmpl a template string; must end in 'XXXXXX'
292
- * @returns a newly allocated string with the temp directory name, or %NULL on error with @error filled in
293
- */
294
- export function mkdtemp(tmpl: string): string | null
295
- /**
296
- * Creates a temp file in the evince temp directory.
297
- * @param tmpl a template string; must contain 'XXXXXX', but not necessarily as a suffix
298
- * @param file_name a location to store the filename of the temp file
299
- * @returns a file descriptor to the newly created temp file name, or %-1 on error with @error filled in
300
- */
301
- export function mkstemp(tmpl: string, file_name: string | null): number
302
- /**
303
- * Creates a temp #GFile in the evince temp directory. See ev_mkstemp() for more information.
304
- * @param tmpl a template string; must contain 'XXXXXX', but not necessarily as a suffix
305
- * @returns a newly allocated #GFile for the newly created temp file name, or %NULL on error with @error filled in
306
- */
307
- export function mkstemp_file(tmpl: string): Gio.File
308
- export function rect_cmp(a: Rectangle, b: Rectangle): number
309
- /**
310
- * Checks whether evince should use the portal.
311
- * @returns whether evince should use the portal
312
- */
313
- export function should_use_portal(): boolean
314
- /**
315
- * Shuts the evince document library down.
316
- */
317
- export function shutdown(): void
318
- export function tmp_file_unlink(file: Gio.File): void
319
- export function tmp_filename_unlink(filename: string): void
320
- export function tmp_uri_unlink(uri: string): void
321
- /**
322
- * Performs a g_file_copy() from `from` to `to`.
323
- * @param from the source URI
324
- * @param to the target URI
325
- * @returns %TRUE on success, or %FALSE on error with @error filled in
326
- */
327
- export function xfer_uri_simple(from: string, to: string): boolean
328
- export function xmp_parse(xmp: string, size: number, info: DocumentInfo): boolean
329
- export module AnnotationMarkup {
330
-
331
- // Constructor properties interface
332
-
333
- export interface ConstructorProperties extends Annotation.ConstructorProperties, GObject.Object.ConstructorProperties {
334
-
335
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.AnnotationMarkup
336
-
337
- canHavePopup?: boolean | null
338
- hasPopup?: boolean | null
339
- label?: string | null
340
- opacity?: number | null
341
- popupIsOpen?: boolean | null
342
- rectangle?: Rectangle | null
343
- }
344
-
345
- }
346
-
347
- export interface AnnotationMarkup extends Annotation {
348
-
349
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationMarkup
350
-
351
- canHavePopup: boolean
352
- hasPopup: boolean
353
- label: string | null
354
- opacity: number
355
- popupIsOpen: boolean
356
- rectangle: Rectangle
357
-
358
- // Owm methods of EvinceDocument-3.0.EvinceDocument.AnnotationMarkup
359
-
360
- can_have_popup(): boolean
361
- get_label(): string
362
- get_opacity(): number
363
- get_popup_is_open(): boolean
364
- get_rectangle(ev_rect: Rectangle): void
365
- has_popup(): boolean
366
- set_has_popup(has_popup: boolean): boolean
367
- set_label(label: string): boolean
368
- set_opacity(opacity: number): boolean
369
- set_popup_is_open(is_open: boolean): boolean
370
- set_rectangle(ev_rect: Rectangle): boolean
371
-
372
- // Class property signals of EvinceDocument-3.0.EvinceDocument.AnnotationMarkup
373
-
374
- connect(sigName: "notify::can-have-popup", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
375
- connect_after(sigName: "notify::can-have-popup", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
376
- emit(sigName: "notify::can-have-popup", ...args: any[]): void
377
- connect(sigName: "notify::has-popup", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
378
- connect_after(sigName: "notify::has-popup", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
379
- emit(sigName: "notify::has-popup", ...args: any[]): void
380
- connect(sigName: "notify::label", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
381
- connect_after(sigName: "notify::label", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
382
- emit(sigName: "notify::label", ...args: any[]): void
383
- connect(sigName: "notify::opacity", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
384
- connect_after(sigName: "notify::opacity", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
385
- emit(sigName: "notify::opacity", ...args: any[]): void
386
- connect(sigName: "notify::popup-is-open", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
387
- connect_after(sigName: "notify::popup-is-open", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
388
- emit(sigName: "notify::popup-is-open", ...args: any[]): void
389
- connect(sigName: "notify::rectangle", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
390
- connect_after(sigName: "notify::rectangle", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
391
- emit(sigName: "notify::rectangle", ...args: any[]): void
392
- connect(sigName: "notify::area", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
393
- connect_after(sigName: "notify::area", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
394
- emit(sigName: "notify::area", ...args: any[]): void
395
- connect(sigName: "notify::color", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
396
- connect_after(sigName: "notify::color", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
397
- emit(sigName: "notify::color", ...args: any[]): void
398
- connect(sigName: "notify::contents", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
399
- connect_after(sigName: "notify::contents", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
400
- emit(sigName: "notify::contents", ...args: any[]): void
401
- connect(sigName: "notify::modified", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
402
- connect_after(sigName: "notify::modified", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
403
- emit(sigName: "notify::modified", ...args: any[]): void
404
- connect(sigName: "notify::name", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
405
- connect_after(sigName: "notify::name", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
406
- emit(sigName: "notify::name", ...args: any[]): void
407
- connect(sigName: "notify::page", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
408
- connect_after(sigName: "notify::page", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
409
- emit(sigName: "notify::page", ...args: any[]): void
410
- connect(sigName: "notify::rgba", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
411
- connect_after(sigName: "notify::rgba", callback: (($obj: AnnotationMarkup, pspec: GObject.ParamSpec) => void)): number
412
- emit(sigName: "notify::rgba", ...args: any[]): void
413
- connect(sigName: string, callback: (...args: any[]) => void): number
414
- connect_after(sigName: string, callback: (...args: any[]) => void): number
415
- emit(sigName: string, ...args: any[]): void
416
- disconnect(id: number): void
417
- }
418
-
419
- export class AnnotationMarkup extends GObject.Object {
420
-
421
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationMarkup
422
-
423
- static name: string
424
- static $gtype: GObject.GType<AnnotationMarkup>
425
-
426
- // Constructors of EvinceDocument-3.0.EvinceDocument.AnnotationMarkup
427
-
428
- constructor(config?: AnnotationMarkup.ConstructorProperties)
429
- _init(config?: AnnotationMarkup.ConstructorProperties): void
430
- }
431
-
432
- export module AsyncRenderer {
433
-
434
- // Signal callback interfaces
435
-
436
- /**
437
- * Signal callback interface for `render-finished`
438
- */
439
- export interface RenderFinishedSignalCallback {
440
- ($obj: AsyncRenderer, object: GdkPixbuf.Pixbuf): void
441
- }
442
-
443
-
444
- // Constructor properties interface
445
-
446
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
447
- }
448
-
449
- }
450
-
451
- export interface AsyncRenderer {
452
-
453
- // Owm methods of EvinceDocument-3.0.EvinceDocument.AsyncRenderer
454
-
455
- render_pixbuf(page: number, scale: number, rotation: number): void
456
-
457
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.AsyncRenderer
458
-
459
- vfunc_render_finished(pixbuf: GdkPixbuf.Pixbuf): void
460
- vfunc_render_pixbuf(page: number, scale: number, rotation: number): void
461
-
462
- // Own signals of EvinceDocument-3.0.EvinceDocument.AsyncRenderer
463
-
464
- connect(sigName: "render-finished", callback: AsyncRenderer.RenderFinishedSignalCallback): number
465
- connect_after(sigName: "render-finished", callback: AsyncRenderer.RenderFinishedSignalCallback): number
466
- emit(sigName: "render-finished", object: GdkPixbuf.Pixbuf, ...args: any[]): void
467
-
468
- // Class property signals of EvinceDocument-3.0.EvinceDocument.AsyncRenderer
469
-
470
- connect(sigName: string, callback: (...args: any[]) => void): number
471
- connect_after(sigName: string, callback: (...args: any[]) => void): number
472
- emit(sigName: string, ...args: any[]): void
473
- disconnect(id: number): void
474
- }
475
-
476
- export class AsyncRenderer extends GObject.Object {
477
-
478
- // Own properties of EvinceDocument-3.0.EvinceDocument.AsyncRenderer
479
-
480
- static name: string
481
- static $gtype: GObject.GType<AsyncRenderer>
482
-
483
- // Constructors of EvinceDocument-3.0.EvinceDocument.AsyncRenderer
484
-
485
- constructor(config?: AsyncRenderer.ConstructorProperties)
486
- _init(config?: AsyncRenderer.ConstructorProperties): void
487
- }
488
-
489
- export module DocumentAnnotations {
490
-
491
- // Constructor properties interface
492
-
493
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
494
- }
495
-
496
- }
497
-
498
- export interface DocumentAnnotations {
499
-
500
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentAnnotations
501
-
502
- add_annotation(annot: Annotation, rect: Rectangle): void
503
- can_add_annotation(): boolean
504
- can_remove_annotation(): boolean
505
- document_is_modified(): boolean
506
- get_annotations(page: Page): MappingList
507
- over_markup(annot: Annotation, x: number, y: number): AnnotationsOverMarkup
508
- remove_annotation(annot: Annotation): void
509
- save_annotation(annot: Annotation, mask: AnnotationsSaveMask): void
510
-
511
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentAnnotations
512
-
513
- vfunc_add_annotation(annot: Annotation, rect: Rectangle): void
514
- vfunc_document_is_modified(): boolean
515
- vfunc_get_annotations(page: Page): MappingList
516
- vfunc_over_markup(annot: Annotation, x: number, y: number): AnnotationsOverMarkup
517
- vfunc_remove_annotation(annot: Annotation): void
518
- vfunc_save_annotation(annot: Annotation, mask: AnnotationsSaveMask): void
519
-
520
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentAnnotations
521
-
522
- connect(sigName: string, callback: (...args: any[]) => void): number
523
- connect_after(sigName: string, callback: (...args: any[]) => void): number
524
- emit(sigName: string, ...args: any[]): void
525
- disconnect(id: number): void
526
- }
527
-
528
- export class DocumentAnnotations extends GObject.Object {
529
-
530
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentAnnotations
531
-
532
- static name: string
533
- static $gtype: GObject.GType<DocumentAnnotations>
534
-
535
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentAnnotations
536
-
537
- constructor(config?: DocumentAnnotations.ConstructorProperties)
538
- _init(config?: DocumentAnnotations.ConstructorProperties): void
539
- }
540
-
541
- export module DocumentAttachments {
542
-
543
- // Constructor properties interface
544
-
545
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
546
- }
547
-
548
- }
549
-
550
- export interface DocumentAttachments {
551
-
552
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentAttachments
553
-
554
- get_attachments(): Attachment[]
555
- has_attachments(): boolean
556
-
557
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentAttachments
558
-
559
- vfunc_get_attachments(): Attachment[]
560
- vfunc_has_attachments(): boolean
561
-
562
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentAttachments
563
-
564
- connect(sigName: string, callback: (...args: any[]) => void): number
565
- connect_after(sigName: string, callback: (...args: any[]) => void): number
566
- emit(sigName: string, ...args: any[]): void
567
- disconnect(id: number): void
568
- }
569
-
570
- export class DocumentAttachments extends GObject.Object {
571
-
572
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentAttachments
573
-
574
- static name: string
575
- static $gtype: GObject.GType<DocumentAttachments>
576
-
577
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentAttachments
578
-
579
- constructor(config?: DocumentAttachments.ConstructorProperties)
580
- _init(config?: DocumentAttachments.ConstructorProperties): void
581
- }
582
-
583
- export module DocumentFind {
584
-
585
- // Constructor properties interface
586
-
587
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
588
- }
589
-
590
- }
591
-
592
- export interface DocumentFind {
593
-
594
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentFind
595
-
596
- find_text(page: Page, text: string, case_sensitive: boolean): Rectangle[]
597
- find_text_extended(page: Page, text: string, options: FindOptions): FindRectangle[]
598
- find_text_with_options(page: Page, text: string, options: FindOptions): Rectangle[]
599
- get_supported_options(): FindOptions
600
-
601
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentFind
602
-
603
- vfunc_find_text(page: Page, text: string, case_sensitive: boolean): Rectangle[]
604
- vfunc_find_text_extended(page: Page, text: string, options: FindOptions): FindRectangle[]
605
- vfunc_find_text_with_options(page: Page, text: string, options: FindOptions): Rectangle[]
606
- vfunc_get_supported_options(): FindOptions
607
-
608
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentFind
609
-
610
- connect(sigName: string, callback: (...args: any[]) => void): number
611
- connect_after(sigName: string, callback: (...args: any[]) => void): number
612
- emit(sigName: string, ...args: any[]): void
613
- disconnect(id: number): void
614
- }
615
-
616
- export class DocumentFind extends GObject.Object {
617
-
618
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentFind
619
-
620
- static name: string
621
- static $gtype: GObject.GType<DocumentFind>
622
-
623
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentFind
624
-
625
- constructor(config?: DocumentFind.ConstructorProperties)
626
- _init(config?: DocumentFind.ConstructorProperties): void
627
- }
628
-
629
- export module DocumentFonts {
630
-
631
- // Constructor properties interface
632
-
633
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
634
- }
635
-
636
- }
637
-
638
- export interface DocumentFonts {
639
-
640
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentFonts
641
-
642
- fill_model(model: Gtk.TreeModel): void
643
- get_fonts_summary(): string
644
- get_progress(): number
645
- scan(n_pages: number): boolean
646
-
647
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentFonts
648
-
649
- vfunc_fill_model(model: Gtk.TreeModel): void
650
- vfunc_get_fonts_summary(): string
651
- vfunc_get_progress(): number
652
- vfunc_scan(n_pages: number): boolean
653
-
654
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentFonts
655
-
656
- connect(sigName: string, callback: (...args: any[]) => void): number
657
- connect_after(sigName: string, callback: (...args: any[]) => void): number
658
- emit(sigName: string, ...args: any[]): void
659
- disconnect(id: number): void
660
- }
661
-
662
- export class DocumentFonts extends GObject.Object {
663
-
664
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentFonts
665
-
666
- static name: string
667
- static $gtype: GObject.GType<DocumentFonts>
668
-
669
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentFonts
670
-
671
- constructor(config?: DocumentFonts.ConstructorProperties)
672
- _init(config?: DocumentFonts.ConstructorProperties): void
673
- }
674
-
675
- export module DocumentForms {
676
-
677
- // Constructor properties interface
678
-
679
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
680
- }
681
-
682
- }
683
-
684
- export interface DocumentForms {
685
-
686
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentForms
687
-
688
- document_is_modified(): boolean
689
- form_field_button_get_state(field: FormField): boolean
690
- form_field_button_set_state(field: FormField, state: boolean): void
691
- form_field_choice_get_item(field: FormField, index: number): string | null
692
- form_field_choice_get_n_items(field: FormField): number
693
- form_field_choice_get_text(field: FormField): string | null
694
- form_field_choice_is_item_selected(field: FormField, index: number): boolean
695
- form_field_choice_select_item(field: FormField, index: number): void
696
- form_field_choice_set_text(field: FormField, text: string): void
697
- form_field_choice_toggle_item(field: FormField, index: number): void
698
- form_field_choice_unselect_all(field: FormField): void
699
- form_field_text_get_text(field: FormField): string | null
700
- form_field_text_set_text(field: FormField, text: string): void
701
- get_form_fields(page: Page): MappingList
702
- reset_form(action: LinkAction): void
703
-
704
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentForms
705
-
706
- vfunc_document_is_modified(): boolean
707
- vfunc_form_field_button_get_state(field: FormField): boolean
708
- vfunc_form_field_button_set_state(field: FormField, state: boolean): void
709
- vfunc_form_field_choice_get_item(field: FormField, index: number): string | null
710
- vfunc_form_field_choice_get_n_items(field: FormField): number
711
- vfunc_form_field_choice_get_text(field: FormField): string | null
712
- vfunc_form_field_choice_is_item_selected(field: FormField, index: number): boolean
713
- vfunc_form_field_choice_select_item(field: FormField, index: number): void
714
- vfunc_form_field_choice_set_text(field: FormField, text: string): void
715
- vfunc_form_field_choice_toggle_item(field: FormField, index: number): void
716
- vfunc_form_field_choice_unselect_all(field: FormField): void
717
- vfunc_form_field_text_get_text(field: FormField): string | null
718
- vfunc_form_field_text_set_text(field: FormField, text: string): void
719
- vfunc_get_form_fields(page: Page): MappingList
720
- vfunc_reset_form(action: LinkAction): void
721
-
722
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentForms
723
-
724
- connect(sigName: string, callback: (...args: any[]) => void): number
725
- connect_after(sigName: string, callback: (...args: any[]) => void): number
726
- emit(sigName: string, ...args: any[]): void
727
- disconnect(id: number): void
728
- }
729
-
730
- export class DocumentForms extends GObject.Object {
731
-
732
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentForms
733
-
734
- static name: string
735
- static $gtype: GObject.GType<DocumentForms>
736
-
737
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentForms
738
-
739
- constructor(config?: DocumentForms.ConstructorProperties)
740
- _init(config?: DocumentForms.ConstructorProperties): void
741
- }
742
-
743
- export module DocumentImages {
744
-
745
- // Constructor properties interface
746
-
747
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
748
- }
749
-
750
- }
751
-
752
- export interface DocumentImages {
753
-
754
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentImages
755
-
756
- get_image(image: Image): GdkPixbuf.Pixbuf
757
- get_image_mapping(page: Page): MappingList
758
-
759
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentImages
760
-
761
- vfunc_get_image(image: Image): GdkPixbuf.Pixbuf
762
- vfunc_get_image_mapping(page: Page): MappingList
763
-
764
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentImages
765
-
766
- connect(sigName: string, callback: (...args: any[]) => void): number
767
- connect_after(sigName: string, callback: (...args: any[]) => void): number
768
- emit(sigName: string, ...args: any[]): void
769
- disconnect(id: number): void
770
- }
771
-
772
- export class DocumentImages extends GObject.Object {
773
-
774
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentImages
775
-
776
- static name: string
777
- static $gtype: GObject.GType<DocumentImages>
778
-
779
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentImages
780
-
781
- constructor(config?: DocumentImages.ConstructorProperties)
782
- _init(config?: DocumentImages.ConstructorProperties): void
783
- }
784
-
785
- export module DocumentLayers {
786
-
787
- // Constructor properties interface
788
-
789
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
790
- }
791
-
792
- }
793
-
794
- export interface DocumentLayers {
795
-
796
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentLayers
797
-
798
- get_layers(): Gtk.TreeModel
799
- has_layers(): boolean
800
- hide_layer(layer: Layer): void
801
- layer_is_visible(layer: Layer): boolean
802
- show_layer(layer: Layer): void
803
-
804
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentLayers
805
-
806
- vfunc_get_layers(): Gtk.TreeModel
807
- vfunc_has_layers(): boolean
808
- vfunc_hide_layer(layer: Layer): void
809
- vfunc_layer_is_visible(layer: Layer): boolean
810
- vfunc_show_layer(layer: Layer): void
811
-
812
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentLayers
813
-
814
- connect(sigName: string, callback: (...args: any[]) => void): number
815
- connect_after(sigName: string, callback: (...args: any[]) => void): number
816
- emit(sigName: string, ...args: any[]): void
817
- disconnect(id: number): void
818
- }
819
-
820
- export class DocumentLayers extends GObject.Object {
821
-
822
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentLayers
823
-
824
- static name: string
825
- static $gtype: GObject.GType<DocumentLayers>
826
-
827
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentLayers
828
-
829
- constructor(config?: DocumentLayers.ConstructorProperties)
830
- _init(config?: DocumentLayers.ConstructorProperties): void
831
- }
832
-
833
- export module DocumentLinks {
834
-
835
- // Constructor properties interface
836
-
837
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
838
- }
839
-
840
- }
841
-
842
- export interface DocumentLinks {
843
-
844
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentLinks
845
-
846
- find_link_dest(link_name: string): LinkDest
847
- find_link_page(link_name: string): number
848
- get_dest_page(dest: LinkDest): number
849
- get_dest_page_label(dest: LinkDest): string | null
850
- get_link_page(link: Link): number
851
- get_link_page_label(link: Link): string | null
852
- get_links(page: Page): MappingList
853
- get_links_model(): Gtk.TreeModel
854
- has_document_links(): boolean
855
-
856
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentLinks
857
-
858
- vfunc_find_link_dest(link_name: string): LinkDest
859
- vfunc_find_link_page(link_name: string): number
860
- vfunc_get_links(page: Page): MappingList
861
- vfunc_get_links_model(): Gtk.TreeModel
862
- vfunc_has_document_links(): boolean
863
-
864
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentLinks
865
-
866
- connect(sigName: string, callback: (...args: any[]) => void): number
867
- connect_after(sigName: string, callback: (...args: any[]) => void): number
868
- emit(sigName: string, ...args: any[]): void
869
- disconnect(id: number): void
870
- }
871
-
872
- export class DocumentLinks extends GObject.Object {
873
-
874
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentLinks
875
-
876
- static name: string
877
- static $gtype: GObject.GType<DocumentLinks>
878
-
879
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentLinks
880
-
881
- constructor(config?: DocumentLinks.ConstructorProperties)
882
- _init(config?: DocumentLinks.ConstructorProperties): void
883
- }
884
-
885
- export module DocumentMedia {
886
-
887
- // Constructor properties interface
888
-
889
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
890
- }
891
-
892
- }
893
-
894
- export interface DocumentMedia {
895
-
896
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentMedia
897
-
898
- get_media_mapping(page: Page): MappingList
899
-
900
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentMedia
901
-
902
- vfunc_get_media_mapping(page: Page): MappingList
903
-
904
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentMedia
905
-
906
- connect(sigName: string, callback: (...args: any[]) => void): number
907
- connect_after(sigName: string, callback: (...args: any[]) => void): number
908
- emit(sigName: string, ...args: any[]): void
909
- disconnect(id: number): void
910
- }
911
-
912
- export class DocumentMedia extends GObject.Object {
913
-
914
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentMedia
915
-
916
- static name: string
917
- static $gtype: GObject.GType<DocumentMedia>
918
-
919
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentMedia
920
-
921
- constructor(config?: DocumentMedia.ConstructorProperties)
922
- _init(config?: DocumentMedia.ConstructorProperties): void
923
- }
924
-
925
- export module DocumentPrint {
926
-
927
- // Constructor properties interface
928
-
929
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
930
- }
931
-
932
- }
933
-
934
- export interface DocumentPrint {
935
-
936
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentPrint
937
-
938
- print_page(page: Page, cr: cairo.Context): void
939
-
940
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentPrint
941
-
942
- vfunc_print_page(page: Page, cr: cairo.Context): void
943
-
944
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentPrint
945
-
946
- connect(sigName: string, callback: (...args: any[]) => void): number
947
- connect_after(sigName: string, callback: (...args: any[]) => void): number
948
- emit(sigName: string, ...args: any[]): void
949
- disconnect(id: number): void
950
- }
951
-
952
- export class DocumentPrint extends GObject.Object {
953
-
954
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentPrint
955
-
956
- static name: string
957
- static $gtype: GObject.GType<DocumentPrint>
958
-
959
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentPrint
960
-
961
- constructor(config?: DocumentPrint.ConstructorProperties)
962
- _init(config?: DocumentPrint.ConstructorProperties): void
963
- }
964
-
965
- export module DocumentSecurity {
966
-
967
- // Constructor properties interface
968
-
969
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
970
- }
971
-
972
- }
973
-
974
- export interface DocumentSecurity {
975
-
976
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentSecurity
977
-
978
- has_document_security(): boolean
979
- set_password(password: string): void
980
-
981
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentSecurity
982
-
983
- vfunc_has_document_security(): boolean
984
- vfunc_set_password(password: string): void
985
-
986
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentSecurity
987
-
988
- connect(sigName: string, callback: (...args: any[]) => void): number
989
- connect_after(sigName: string, callback: (...args: any[]) => void): number
990
- emit(sigName: string, ...args: any[]): void
991
- disconnect(id: number): void
992
- }
993
-
994
- export class DocumentSecurity extends GObject.Object {
995
-
996
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentSecurity
997
-
998
- static name: string
999
- static $gtype: GObject.GType<DocumentSecurity>
1000
-
1001
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentSecurity
1002
-
1003
- constructor(config?: DocumentSecurity.ConstructorProperties)
1004
- _init(config?: DocumentSecurity.ConstructorProperties): void
1005
- }
1006
-
1007
- export module DocumentText {
1008
-
1009
- // Constructor properties interface
1010
-
1011
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1012
- }
1013
-
1014
- }
1015
-
1016
- export interface DocumentText {
1017
-
1018
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentText
1019
-
1020
- get_text(page: Page): string | null
1021
- /**
1022
- * FIXME
1023
- * @param page a #EvPage
1024
- * @returns a newly created #PangoAttrList
1025
- */
1026
- get_text_attrs(page: Page): Pango.AttrList
1027
- get_text_layout(page: Page, areas: Rectangle, n_areas: number): boolean
1028
- get_text_mapping(page: Page): cairo.Region
1029
-
1030
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentText
1031
-
1032
- vfunc_get_text(page: Page): string | null
1033
- /**
1034
- * FIXME
1035
- * @virtual
1036
- * @param page a #EvPage
1037
- * @returns a newly created #PangoAttrList
1038
- */
1039
- vfunc_get_text_attrs(page: Page): Pango.AttrList
1040
- vfunc_get_text_layout(page: Page, areas: Rectangle, n_areas: number): boolean
1041
- vfunc_get_text_mapping(page: Page): cairo.Region
1042
-
1043
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentText
1044
-
1045
- connect(sigName: string, callback: (...args: any[]) => void): number
1046
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1047
- emit(sigName: string, ...args: any[]): void
1048
- disconnect(id: number): void
1049
- }
1050
-
1051
- export class DocumentText extends GObject.Object {
1052
-
1053
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentText
1054
-
1055
- static name: string
1056
- static $gtype: GObject.GType<DocumentText>
1057
-
1058
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentText
1059
-
1060
- constructor(config?: DocumentText.ConstructorProperties)
1061
- _init(config?: DocumentText.ConstructorProperties): void
1062
- }
1063
-
1064
- export module DocumentTransition {
1065
-
1066
- // Constructor properties interface
1067
-
1068
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1069
- }
1070
-
1071
- }
1072
-
1073
- export interface DocumentTransition {
1074
-
1075
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentTransition
1076
-
1077
- get_effect(page: number): TransitionEffect
1078
- get_page_duration(page: number): number
1079
-
1080
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.DocumentTransition
1081
-
1082
- vfunc_get_effect(page: number): TransitionEffect
1083
- vfunc_get_page_duration(page: number): number
1084
-
1085
- // Class property signals of EvinceDocument-3.0.EvinceDocument.DocumentTransition
1086
-
1087
- connect(sigName: string, callback: (...args: any[]) => void): number
1088
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1089
- emit(sigName: string, ...args: any[]): void
1090
- disconnect(id: number): void
1091
- }
1092
-
1093
- export class DocumentTransition extends GObject.Object {
1094
-
1095
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentTransition
1096
-
1097
- static name: string
1098
- static $gtype: GObject.GType<DocumentTransition>
1099
-
1100
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentTransition
1101
-
1102
- constructor(config?: DocumentTransition.ConstructorProperties)
1103
- _init(config?: DocumentTransition.ConstructorProperties): void
1104
- }
1105
-
1106
- export module FileExporter {
1107
-
1108
- // Constructor properties interface
1109
-
1110
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1111
- }
1112
-
1113
- }
1114
-
1115
- export interface FileExporter {
1116
-
1117
- // Owm methods of EvinceDocument-3.0.EvinceDocument.FileExporter
1118
-
1119
- begin(fc: FileExporterContext): void
1120
- begin_page(): void
1121
- do_page(rc: RenderContext): void
1122
- end(): void
1123
- end_page(): void
1124
- get_capabilities(): FileExporterCapabilities
1125
-
1126
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.FileExporter
1127
-
1128
- vfunc_begin(fc: FileExporterContext): void
1129
- vfunc_begin_page(): void
1130
- vfunc_do_page(rc: RenderContext): void
1131
- vfunc_end(): void
1132
- vfunc_end_page(): void
1133
- vfunc_get_capabilities(): FileExporterCapabilities
1134
-
1135
- // Class property signals of EvinceDocument-3.0.EvinceDocument.FileExporter
1136
-
1137
- connect(sigName: string, callback: (...args: any[]) => void): number
1138
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1139
- emit(sigName: string, ...args: any[]): void
1140
- disconnect(id: number): void
1141
- }
1142
-
1143
- export class FileExporter extends GObject.Object {
1144
-
1145
- // Own properties of EvinceDocument-3.0.EvinceDocument.FileExporter
1146
-
1147
- static name: string
1148
- static $gtype: GObject.GType<FileExporter>
1149
-
1150
- // Constructors of EvinceDocument-3.0.EvinceDocument.FileExporter
1151
-
1152
- constructor(config?: FileExporter.ConstructorProperties)
1153
- _init(config?: FileExporter.ConstructorProperties): void
1154
- }
1155
-
1156
- export module Selection {
1157
-
1158
- // Constructor properties interface
1159
-
1160
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1161
- }
1162
-
1163
- }
1164
-
1165
- export interface Selection {
1166
-
1167
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Selection
1168
-
1169
- get_selected_text(page: Page, style: SelectionStyle, points: Rectangle): string | null
1170
- get_selection_region(rc: RenderContext, style: SelectionStyle, points: Rectangle): cairo.Region
1171
- render_selection(rc: RenderContext, surface: cairo.Surface, points: Rectangle, old_points: Rectangle, style: SelectionStyle, text: Gdk.Color, base: Gdk.Color): void
1172
-
1173
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.Selection
1174
-
1175
- vfunc_get_selected_text(page: Page, style: SelectionStyle, points: Rectangle): string | null
1176
- vfunc_get_selection_region(rc: RenderContext, style: SelectionStyle, points: Rectangle): cairo.Region
1177
- vfunc_render_selection(rc: RenderContext, surface: cairo.Surface, points: Rectangle, old_points: Rectangle, style: SelectionStyle, text: Gdk.Color, base: Gdk.Color): void
1178
-
1179
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Selection
1180
-
1181
- connect(sigName: string, callback: (...args: any[]) => void): number
1182
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1183
- emit(sigName: string, ...args: any[]): void
1184
- disconnect(id: number): void
1185
- }
1186
-
1187
- export class Selection extends GObject.Object {
1188
-
1189
- // Own properties of EvinceDocument-3.0.EvinceDocument.Selection
1190
-
1191
- static name: string
1192
- static $gtype: GObject.GType<Selection>
1193
-
1194
- // Constructors of EvinceDocument-3.0.EvinceDocument.Selection
1195
-
1196
- constructor(config?: Selection.ConstructorProperties)
1197
- _init(config?: Selection.ConstructorProperties): void
1198
- }
1199
-
1200
- export module Annotation {
1201
-
1202
- // Constructor properties interface
1203
-
1204
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1205
-
1206
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.Annotation
1207
-
1208
- /**
1209
- * The area of the page where the annotation is placed.
1210
- *
1211
- * Since 3.18
1212
- */
1213
- area?: Rectangle | null
1214
- /**
1215
- * The colour of the annotation as a #GdkColor.
1216
- */
1217
- color?: any | null
1218
- contents?: string | null
1219
- modified?: string | null
1220
- name?: string | null
1221
- page?: Page | null
1222
- /**
1223
- * The colour of the annotation as a #GdkRGBA.
1224
- */
1225
- rgba?: Gdk.RGBA | null
1226
- }
1227
-
1228
- }
1229
-
1230
- export interface Annotation {
1231
-
1232
- // Own properties of EvinceDocument-3.0.EvinceDocument.Annotation
1233
-
1234
- /**
1235
- * The area of the page where the annotation is placed.
1236
- *
1237
- * Since 3.18
1238
- */
1239
- area: Rectangle
1240
- /**
1241
- * The colour of the annotation as a #GdkColor.
1242
- */
1243
- color: any
1244
- contents: string | null
1245
- modified: string | null
1246
- name: string | null
1247
- readonly page: Page
1248
- /**
1249
- * The colour of the annotation as a #GdkRGBA.
1250
- */
1251
- rgba: Gdk.RGBA
1252
-
1253
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Annotation
1254
-
1255
- /**
1256
- * Compare `annot` and `other`.
1257
- * @param other another #EvAnnotation
1258
- * @returns %TRUE if @annot is equal to @other, %FALSE otherwise
1259
- */
1260
- equal(other: Annotation): boolean
1261
- get_annotation_type(): AnnotationType
1262
- /**
1263
- * Gets the area of `annot`.
1264
- */
1265
- get_area(): /* area */ Rectangle
1266
- /**
1267
- * Get the color of `annot`.
1268
- */
1269
- get_color(): /* color */ Gdk.Color
1270
- /**
1271
- * Get the contents of `annot`. The contents of
1272
- * `annot` is the text that is displayed in the annotation, or an
1273
- * alternate description of the annotation's content for non-text annotations
1274
- * @returns a string with the contents of the annotation or %NULL if @annot has no contents.
1275
- */
1276
- get_contents(): string
1277
- /**
1278
- * Get the last modification date of `annot`.
1279
- * @returns A string containing the last modification date.
1280
- */
1281
- get_modified(): string
1282
- /**
1283
- * Get the name of `annot`. The name of the annotation is a string
1284
- * that uniquely indenftifies `annot` amongs all the annotations
1285
- * in the same page.
1286
- * @returns the string with the annotation's name.
1287
- */
1288
- get_name(): string
1289
- /**
1290
- * Get the page where `annot` appears.
1291
- * @returns the #EvPage where @annot appears
1292
- */
1293
- get_page(): Page
1294
- /**
1295
- * Get the index of the page where `annot` appears. Note that the index
1296
- * is 0 based.
1297
- * @returns the page index.
1298
- */
1299
- get_page_index(): number
1300
- /**
1301
- * Gets the color of `annot`.
1302
- */
1303
- get_rgba(): /* rgba */ Gdk.RGBA
1304
- /**
1305
- * Set the area of the annotation to `area`.
1306
- * @param area a #EvRectangle
1307
- * @returns %TRUE if the area has been changed, %FALSE otherwise
1308
- */
1309
- set_area(area: Rectangle): boolean
1310
- /**
1311
- * Set the color of the annotation to `color`. You can monitor
1312
- * changes to the annotation's color by connecting to
1313
- * notify::color signal on `annot`.
1314
- * @param color a #GdkColor
1315
- * @returns %TRUE when the color has been changed, %FALSE otherwise.
1316
- */
1317
- set_color(color: Gdk.Color): boolean
1318
- /**
1319
- * Set the contents of `annot`. You can monitor
1320
- * changes in the annotation's contents by connecting to
1321
- * notify::contents signal of `annot`.
1322
- * @param contents
1323
- * @returns %TRUE if the contents have been changed, %FALSE otherwise.
1324
- */
1325
- set_contents(contents: string): boolean
1326
- /**
1327
- * Set the last modification date of `annot` to `modified`. To
1328
- * set the last modification date using a #time_t, use
1329
- * ev_annotation_set_modified_from_time_t() instead. You can monitor
1330
- * changes to the last modification date by connecting to the
1331
- * notify::modified signal on `annot`.
1332
- * @param modified string with the last modification date.
1333
- * @returns %TRUE if the last modification date has been updated, %FALSE otherwise.
1334
- */
1335
- set_modified(modified: string): boolean
1336
- /**
1337
- * Set the last modification date of `annot` to `utime`. You can
1338
- * monitor changes to the last modification date by connecting to the
1339
- * notify::modified sinal on `annot`.
1340
- * For the time-format used, see ev_document_misc_format_date().
1341
- * @param utime a #GTime
1342
- * @returns %TRUE if the last modified date has been updated, %FALSE otherwise.
1343
- */
1344
- set_modified_from_time(utime: GLib.Time): boolean
1345
- /**
1346
- * Set the last modification date of `annot` to `utime`. You can
1347
- * monitor changes to the last modification date by connecting to the
1348
- * notify::modified sinal on `annot`.
1349
- * For the time-format used, see ev_document_misc_format_datetime().
1350
- * @param utime a #time_t
1351
- * @returns %TRUE if the last modified date has been updated, %FALSE otherwise.
1352
- */
1353
- set_modified_from_time_t(utime: number): boolean
1354
- /**
1355
- * Set the name of `annot`.
1356
- * You can monitor changes of the annotation name by connecting
1357
- * to the notify::name signal on `annot`.
1358
- * @param name
1359
- * @returns %TRUE when the name has been changed, %FALSE otherwise.
1360
- */
1361
- set_name(name: string): boolean
1362
- /**
1363
- * Set the color of the annotation to `rgba`.
1364
- * @param rgba a #GdkRGBA
1365
- * @returns %TRUE if the color has been changed, %FALSE otherwise
1366
- */
1367
- set_rgba(rgba: Gdk.RGBA): boolean
1368
-
1369
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Annotation
1370
-
1371
- connect(sigName: "notify::area", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1372
- connect_after(sigName: "notify::area", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1373
- emit(sigName: "notify::area", ...args: any[]): void
1374
- connect(sigName: "notify::color", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1375
- connect_after(sigName: "notify::color", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1376
- emit(sigName: "notify::color", ...args: any[]): void
1377
- connect(sigName: "notify::contents", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1378
- connect_after(sigName: "notify::contents", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1379
- emit(sigName: "notify::contents", ...args: any[]): void
1380
- connect(sigName: "notify::modified", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1381
- connect_after(sigName: "notify::modified", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1382
- emit(sigName: "notify::modified", ...args: any[]): void
1383
- connect(sigName: "notify::name", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1384
- connect_after(sigName: "notify::name", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1385
- emit(sigName: "notify::name", ...args: any[]): void
1386
- connect(sigName: "notify::page", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1387
- connect_after(sigName: "notify::page", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1388
- emit(sigName: "notify::page", ...args: any[]): void
1389
- connect(sigName: "notify::rgba", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1390
- connect_after(sigName: "notify::rgba", callback: (($obj: Annotation, pspec: GObject.ParamSpec) => void)): number
1391
- emit(sigName: "notify::rgba", ...args: any[]): void
1392
- connect(sigName: string, callback: (...args: any[]) => void): number
1393
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1394
- emit(sigName: string, ...args: any[]): void
1395
- disconnect(id: number): void
1396
- }
1397
-
1398
- export class Annotation extends GObject.Object {
1399
-
1400
- // Own properties of EvinceDocument-3.0.EvinceDocument.Annotation
1401
-
1402
- static name: string
1403
- static $gtype: GObject.GType<Annotation>
1404
-
1405
- // Constructors of EvinceDocument-3.0.EvinceDocument.Annotation
1406
-
1407
- constructor(config?: Annotation.ConstructorProperties)
1408
- _init(config?: Annotation.ConstructorProperties): void
1409
- }
1410
-
1411
- export module AnnotationAttachment {
1412
-
1413
- // Constructor properties interface
1414
-
1415
- export interface ConstructorProperties extends AnnotationMarkup.ConstructorProperties, Annotation.ConstructorProperties {
1416
-
1417
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.AnnotationAttachment
1418
-
1419
- attachment?: Attachment | null
1420
- }
1421
-
1422
- }
1423
-
1424
- export interface AnnotationAttachment extends AnnotationMarkup {
1425
-
1426
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationAttachment
1427
-
1428
- attachment: Attachment
1429
-
1430
- // Owm methods of EvinceDocument-3.0.EvinceDocument.AnnotationAttachment
1431
-
1432
- get_attachment(): Attachment
1433
- set_attachment(attachment: Attachment): boolean
1434
-
1435
- // Class property signals of EvinceDocument-3.0.EvinceDocument.AnnotationAttachment
1436
-
1437
- connect(sigName: "notify::attachment", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1438
- connect_after(sigName: "notify::attachment", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1439
- emit(sigName: "notify::attachment", ...args: any[]): void
1440
- connect(sigName: "notify::area", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1441
- connect_after(sigName: "notify::area", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1442
- emit(sigName: "notify::area", ...args: any[]): void
1443
- connect(sigName: "notify::color", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1444
- connect_after(sigName: "notify::color", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1445
- emit(sigName: "notify::color", ...args: any[]): void
1446
- connect(sigName: "notify::contents", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1447
- connect_after(sigName: "notify::contents", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1448
- emit(sigName: "notify::contents", ...args: any[]): void
1449
- connect(sigName: "notify::modified", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1450
- connect_after(sigName: "notify::modified", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1451
- emit(sigName: "notify::modified", ...args: any[]): void
1452
- connect(sigName: "notify::name", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1453
- connect_after(sigName: "notify::name", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1454
- emit(sigName: "notify::name", ...args: any[]): void
1455
- connect(sigName: "notify::page", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1456
- connect_after(sigName: "notify::page", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1457
- emit(sigName: "notify::page", ...args: any[]): void
1458
- connect(sigName: "notify::rgba", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1459
- connect_after(sigName: "notify::rgba", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1460
- emit(sigName: "notify::rgba", ...args: any[]): void
1461
- connect(sigName: "notify::can-have-popup", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1462
- connect_after(sigName: "notify::can-have-popup", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1463
- emit(sigName: "notify::can-have-popup", ...args: any[]): void
1464
- connect(sigName: "notify::has-popup", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1465
- connect_after(sigName: "notify::has-popup", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1466
- emit(sigName: "notify::has-popup", ...args: any[]): void
1467
- connect(sigName: "notify::label", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1468
- connect_after(sigName: "notify::label", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1469
- emit(sigName: "notify::label", ...args: any[]): void
1470
- connect(sigName: "notify::opacity", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1471
- connect_after(sigName: "notify::opacity", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1472
- emit(sigName: "notify::opacity", ...args: any[]): void
1473
- connect(sigName: "notify::popup-is-open", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1474
- connect_after(sigName: "notify::popup-is-open", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1475
- emit(sigName: "notify::popup-is-open", ...args: any[]): void
1476
- connect(sigName: "notify::rectangle", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1477
- connect_after(sigName: "notify::rectangle", callback: (($obj: AnnotationAttachment, pspec: GObject.ParamSpec) => void)): number
1478
- emit(sigName: "notify::rectangle", ...args: any[]): void
1479
- connect(sigName: string, callback: (...args: any[]) => void): number
1480
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1481
- emit(sigName: string, ...args: any[]): void
1482
- disconnect(id: number): void
1483
- }
1484
-
1485
- export class AnnotationAttachment extends Annotation {
1486
-
1487
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationAttachment
1488
-
1489
- static name: string
1490
- static $gtype: GObject.GType<AnnotationAttachment>
1491
-
1492
- // Constructors of EvinceDocument-3.0.EvinceDocument.AnnotationAttachment
1493
-
1494
- constructor(config?: AnnotationAttachment.ConstructorProperties)
1495
- constructor(page: Page, attachment: Attachment)
1496
- static new(page: Page, attachment: Attachment): AnnotationAttachment
1497
- _init(config?: AnnotationAttachment.ConstructorProperties): void
1498
- }
1499
-
1500
- export module AnnotationText {
1501
-
1502
- // Constructor properties interface
1503
-
1504
- export interface ConstructorProperties extends AnnotationMarkup.ConstructorProperties, Annotation.ConstructorProperties {
1505
-
1506
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.AnnotationText
1507
-
1508
- icon?: AnnotationTextIcon | null
1509
- isOpen?: boolean | null
1510
- }
1511
-
1512
- }
1513
-
1514
- export interface AnnotationText extends AnnotationMarkup {
1515
-
1516
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationText
1517
-
1518
- icon: AnnotationTextIcon
1519
- isOpen: boolean
1520
-
1521
- // Owm methods of EvinceDocument-3.0.EvinceDocument.AnnotationText
1522
-
1523
- get_icon(): AnnotationTextIcon
1524
- get_is_open(): boolean
1525
- set_icon(icon: AnnotationTextIcon): boolean
1526
- set_is_open(is_open: boolean): boolean
1527
-
1528
- // Class property signals of EvinceDocument-3.0.EvinceDocument.AnnotationText
1529
-
1530
- connect(sigName: "notify::icon", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1531
- connect_after(sigName: "notify::icon", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1532
- emit(sigName: "notify::icon", ...args: any[]): void
1533
- connect(sigName: "notify::is-open", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1534
- connect_after(sigName: "notify::is-open", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1535
- emit(sigName: "notify::is-open", ...args: any[]): void
1536
- connect(sigName: "notify::area", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1537
- connect_after(sigName: "notify::area", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1538
- emit(sigName: "notify::area", ...args: any[]): void
1539
- connect(sigName: "notify::color", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1540
- connect_after(sigName: "notify::color", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1541
- emit(sigName: "notify::color", ...args: any[]): void
1542
- connect(sigName: "notify::contents", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1543
- connect_after(sigName: "notify::contents", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1544
- emit(sigName: "notify::contents", ...args: any[]): void
1545
- connect(sigName: "notify::modified", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1546
- connect_after(sigName: "notify::modified", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1547
- emit(sigName: "notify::modified", ...args: any[]): void
1548
- connect(sigName: "notify::name", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1549
- connect_after(sigName: "notify::name", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1550
- emit(sigName: "notify::name", ...args: any[]): void
1551
- connect(sigName: "notify::page", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1552
- connect_after(sigName: "notify::page", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1553
- emit(sigName: "notify::page", ...args: any[]): void
1554
- connect(sigName: "notify::rgba", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1555
- connect_after(sigName: "notify::rgba", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1556
- emit(sigName: "notify::rgba", ...args: any[]): void
1557
- connect(sigName: "notify::can-have-popup", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1558
- connect_after(sigName: "notify::can-have-popup", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1559
- emit(sigName: "notify::can-have-popup", ...args: any[]): void
1560
- connect(sigName: "notify::has-popup", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1561
- connect_after(sigName: "notify::has-popup", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1562
- emit(sigName: "notify::has-popup", ...args: any[]): void
1563
- connect(sigName: "notify::label", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1564
- connect_after(sigName: "notify::label", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1565
- emit(sigName: "notify::label", ...args: any[]): void
1566
- connect(sigName: "notify::opacity", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1567
- connect_after(sigName: "notify::opacity", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1568
- emit(sigName: "notify::opacity", ...args: any[]): void
1569
- connect(sigName: "notify::popup-is-open", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1570
- connect_after(sigName: "notify::popup-is-open", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1571
- emit(sigName: "notify::popup-is-open", ...args: any[]): void
1572
- connect(sigName: "notify::rectangle", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1573
- connect_after(sigName: "notify::rectangle", callback: (($obj: AnnotationText, pspec: GObject.ParamSpec) => void)): number
1574
- emit(sigName: "notify::rectangle", ...args: any[]): void
1575
- connect(sigName: string, callback: (...args: any[]) => void): number
1576
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1577
- emit(sigName: string, ...args: any[]): void
1578
- disconnect(id: number): void
1579
- }
1580
-
1581
- export class AnnotationText extends Annotation {
1582
-
1583
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationText
1584
-
1585
- static name: string
1586
- static $gtype: GObject.GType<AnnotationText>
1587
-
1588
- // Constructors of EvinceDocument-3.0.EvinceDocument.AnnotationText
1589
-
1590
- constructor(config?: AnnotationText.ConstructorProperties)
1591
- constructor(page: Page)
1592
- static new(page: Page): AnnotationText
1593
- _init(config?: AnnotationText.ConstructorProperties): void
1594
- }
1595
-
1596
- export module AnnotationTextMarkup {
1597
-
1598
- // Constructor properties interface
1599
-
1600
- export interface ConstructorProperties extends AnnotationMarkup.ConstructorProperties, Annotation.ConstructorProperties {
1601
-
1602
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.AnnotationTextMarkup
1603
-
1604
- type?: AnnotationTextMarkupType | null
1605
- }
1606
-
1607
- }
1608
-
1609
- export interface AnnotationTextMarkup extends AnnotationMarkup {
1610
-
1611
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationTextMarkup
1612
-
1613
- type: AnnotationTextMarkupType
1614
-
1615
- // Owm methods of EvinceDocument-3.0.EvinceDocument.AnnotationTextMarkup
1616
-
1617
- get_markup_type(): AnnotationTextMarkupType
1618
- set_markup_type(markup_type: AnnotationTextMarkupType): boolean
1619
-
1620
- // Class property signals of EvinceDocument-3.0.EvinceDocument.AnnotationTextMarkup
1621
-
1622
- connect(sigName: "notify::type", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1623
- connect_after(sigName: "notify::type", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1624
- emit(sigName: "notify::type", ...args: any[]): void
1625
- connect(sigName: "notify::area", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1626
- connect_after(sigName: "notify::area", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1627
- emit(sigName: "notify::area", ...args: any[]): void
1628
- connect(sigName: "notify::color", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1629
- connect_after(sigName: "notify::color", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1630
- emit(sigName: "notify::color", ...args: any[]): void
1631
- connect(sigName: "notify::contents", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1632
- connect_after(sigName: "notify::contents", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1633
- emit(sigName: "notify::contents", ...args: any[]): void
1634
- connect(sigName: "notify::modified", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1635
- connect_after(sigName: "notify::modified", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1636
- emit(sigName: "notify::modified", ...args: any[]): void
1637
- connect(sigName: "notify::name", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1638
- connect_after(sigName: "notify::name", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1639
- emit(sigName: "notify::name", ...args: any[]): void
1640
- connect(sigName: "notify::page", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1641
- connect_after(sigName: "notify::page", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1642
- emit(sigName: "notify::page", ...args: any[]): void
1643
- connect(sigName: "notify::rgba", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1644
- connect_after(sigName: "notify::rgba", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1645
- emit(sigName: "notify::rgba", ...args: any[]): void
1646
- connect(sigName: "notify::can-have-popup", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1647
- connect_after(sigName: "notify::can-have-popup", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1648
- emit(sigName: "notify::can-have-popup", ...args: any[]): void
1649
- connect(sigName: "notify::has-popup", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1650
- connect_after(sigName: "notify::has-popup", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1651
- emit(sigName: "notify::has-popup", ...args: any[]): void
1652
- connect(sigName: "notify::label", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1653
- connect_after(sigName: "notify::label", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1654
- emit(sigName: "notify::label", ...args: any[]): void
1655
- connect(sigName: "notify::opacity", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1656
- connect_after(sigName: "notify::opacity", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1657
- emit(sigName: "notify::opacity", ...args: any[]): void
1658
- connect(sigName: "notify::popup-is-open", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1659
- connect_after(sigName: "notify::popup-is-open", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1660
- emit(sigName: "notify::popup-is-open", ...args: any[]): void
1661
- connect(sigName: "notify::rectangle", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1662
- connect_after(sigName: "notify::rectangle", callback: (($obj: AnnotationTextMarkup, pspec: GObject.ParamSpec) => void)): number
1663
- emit(sigName: "notify::rectangle", ...args: any[]): void
1664
- connect(sigName: string, callback: (...args: any[]) => void): number
1665
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1666
- emit(sigName: string, ...args: any[]): void
1667
- disconnect(id: number): void
1668
- }
1669
-
1670
- export class AnnotationTextMarkup extends Annotation {
1671
-
1672
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationTextMarkup
1673
-
1674
- static name: string
1675
- static $gtype: GObject.GType<AnnotationTextMarkup>
1676
-
1677
- // Constructors of EvinceDocument-3.0.EvinceDocument.AnnotationTextMarkup
1678
-
1679
- constructor(config?: AnnotationTextMarkup.ConstructorProperties)
1680
- static highlight_new(page: Page): AnnotationTextMarkup
1681
- static squiggly_new(page: Page): AnnotationTextMarkup
1682
- static strike_out_new(page: Page): AnnotationTextMarkup
1683
- static underline_new(page: Page): AnnotationTextMarkup
1684
- _init(config?: AnnotationTextMarkup.ConstructorProperties): void
1685
- }
1686
-
1687
- export module Attachment {
1688
-
1689
- // Constructor properties interface
1690
-
1691
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1692
-
1693
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.Attachment
1694
-
1695
- ctime?: number | null
1696
- data?: any | null
1697
- description?: string | null
1698
- mtime?: number | null
1699
- name?: string | null
1700
- size?: number | null
1701
- }
1702
-
1703
- }
1704
-
1705
- export interface Attachment {
1706
-
1707
- // Own properties of EvinceDocument-3.0.EvinceDocument.Attachment
1708
-
1709
- readonly ctime: number
1710
- readonly data: any
1711
- readonly description: string | null
1712
- readonly mtime: number
1713
- readonly name: string | null
1714
- readonly size: number
1715
-
1716
- // Own fields of EvinceDocument-3.0.EvinceDocument.Attachment
1717
-
1718
- base_instance: GObject.Object
1719
-
1720
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Attachment
1721
-
1722
- get_creation_date(): GLib.Time
1723
- get_description(): string
1724
- get_mime_type(): string
1725
- get_modification_date(): GLib.Time
1726
- get_name(): string
1727
- open(screen: Gdk.Screen, timestamp: number): boolean
1728
- save(file: Gio.File): boolean
1729
-
1730
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Attachment
1731
-
1732
- connect(sigName: "notify::ctime", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1733
- connect_after(sigName: "notify::ctime", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1734
- emit(sigName: "notify::ctime", ...args: any[]): void
1735
- connect(sigName: "notify::data", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1736
- connect_after(sigName: "notify::data", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1737
- emit(sigName: "notify::data", ...args: any[]): void
1738
- connect(sigName: "notify::description", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1739
- connect_after(sigName: "notify::description", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1740
- emit(sigName: "notify::description", ...args: any[]): void
1741
- connect(sigName: "notify::mtime", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1742
- connect_after(sigName: "notify::mtime", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1743
- emit(sigName: "notify::mtime", ...args: any[]): void
1744
- connect(sigName: "notify::name", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1745
- connect_after(sigName: "notify::name", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1746
- emit(sigName: "notify::name", ...args: any[]): void
1747
- connect(sigName: "notify::size", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1748
- connect_after(sigName: "notify::size", callback: (($obj: Attachment, pspec: GObject.ParamSpec) => void)): number
1749
- emit(sigName: "notify::size", ...args: any[]): void
1750
- connect(sigName: string, callback: (...args: any[]) => void): number
1751
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1752
- emit(sigName: string, ...args: any[]): void
1753
- disconnect(id: number): void
1754
- }
1755
-
1756
- export class Attachment extends GObject.Object {
1757
-
1758
- // Own properties of EvinceDocument-3.0.EvinceDocument.Attachment
1759
-
1760
- static name: string
1761
- static $gtype: GObject.GType<Attachment>
1762
-
1763
- // Constructors of EvinceDocument-3.0.EvinceDocument.Attachment
1764
-
1765
- constructor(config?: Attachment.ConstructorProperties)
1766
- constructor(name: string, description: string, mtime: GLib.Time, ctime: GLib.Time, size: number, data: any | null)
1767
- static new(name: string, description: string, mtime: GLib.Time, ctime: GLib.Time, size: number, data: any | null): Attachment
1768
- _init(config?: Attachment.ConstructorProperties): void
1769
- static error_quark(): GLib.Quark
1770
- }
1771
-
1772
- export module Document {
1773
-
1774
- // Constructor properties interface
1775
-
1776
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1777
-
1778
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.Document
1779
-
1780
- modified?: boolean | null
1781
- }
1782
-
1783
- }
1784
-
1785
- export interface Document {
1786
-
1787
- // Own properties of EvinceDocument-3.0.EvinceDocument.Document
1788
-
1789
- modified: boolean
1790
-
1791
- // Own fields of EvinceDocument-3.0.EvinceDocument.Document
1792
-
1793
- base: GObject.Object
1794
- priv: DocumentPrivate
1795
-
1796
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Document
1797
-
1798
- check_dimensions(): boolean
1799
- find_page_by_label(page_label: string, page_index: number): boolean
1800
- get_backend_info(info: DocumentBackendInfo): boolean
1801
- /**
1802
- * Returns the #EvDocumentInfo for the document.
1803
- * @returns a #EvDocumentInfo
1804
- */
1805
- get_info(): DocumentInfo
1806
- get_max_label_len(): number
1807
- get_max_page_size(width: number, height: number): void
1808
- get_min_page_size(width: number, height: number): void
1809
- get_modified(): boolean
1810
- get_n_pages(): number
1811
- get_page(index: number): Page
1812
- get_page_label(page_index: number): string | null
1813
- get_page_size(page_index: number): [ /* width */ number, /* height */ number ]
1814
- get_size(): number
1815
- get_thumbnail(rc: RenderContext): GdkPixbuf.Pixbuf
1816
- get_thumbnail_surface(rc: RenderContext): cairo.Surface
1817
- get_title(): string
1818
- get_uri(): string
1819
- has_synctex(): boolean
1820
- has_text_page_labels(): boolean
1821
- is_page_size_uniform(): boolean
1822
- /**
1823
- * Loads `document` from `uri`.
1824
- *
1825
- * On failure, %FALSE is returned and `error` is filled in.
1826
- * If the document is encrypted, EV_DEFINE_ERROR_ENCRYPTED is returned.
1827
- * If the backend cannot load the specific document, EV_DOCUMENT_ERROR_INVALID
1828
- * is returned. If the backend does not support the format for the document's
1829
- * contents, EV_DOCUMENT_ERROR_UNSUPPORTED_CONTENT is returned. Other errors
1830
- * are possible too, depending on the backend used to load the document and
1831
- * the URI, e.g. #GIOError, #GFileError, and #GConvertError.
1832
- * @param uri the document's URI
1833
- * @returns %TRUE on success, or %FALSE on failure.
1834
- */
1835
- load(uri: string): boolean
1836
- /**
1837
- * Synchronously loads the document from `fd,` which must refer to
1838
- * a regular file.
1839
- *
1840
- * Note that this function takes ownership of `fd;` you must not ever
1841
- * operate on it again. It will be closed automatically if the document
1842
- * is destroyed, or if this function returns %NULL.
1843
- *
1844
- * See ev_document_load() for more information.
1845
- * @param fd a file descriptor
1846
- * @param flags flags from #EvDocumentLoadFlags
1847
- * @param cancellable a #GCancellable, or %NULL
1848
- * @returns %TRUE if loading succeeded, or %FALSE on error with @error filled in
1849
- */
1850
- load_fd(fd: number, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): boolean
1851
- /**
1852
- * Loads `document` from `uri`.
1853
- *
1854
- * On failure, %FALSE is returned and `error` is filled in.
1855
- * If the document is encrypted, EV_DEFINE_ERROR_ENCRYPTED is returned.
1856
- * If the backend cannot load the specific document, EV_DOCUMENT_ERROR_INVALID
1857
- * is returned. Other errors are possible too, depending on the backend
1858
- * used to load the document and the URI, e.g. #GIOError, #GFileError, and
1859
- * #GConvertError.
1860
- * @param uri the document's URI
1861
- * @param flags flags from #EvDocumentLoadFlags
1862
- * @returns %TRUE on success, or %FALSE on failure.
1863
- */
1864
- load_full(uri: string, flags: DocumentLoadFlags): boolean
1865
- /**
1866
- * Synchronously loads the document from `file`.
1867
- * See ev_document_load() for more information.
1868
- * @param file a #GFile
1869
- * @param flags flags from #EvDocumentLoadFlags
1870
- * @param cancellable a #GCancellable, or %NULL
1871
- * @returns %TRUE if loading succeeded, or %FALSE on error with @error filled in
1872
- */
1873
- load_gfile(file: Gio.File, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): boolean
1874
- /**
1875
- * Synchronously loads the document from `stream`.
1876
- * See ev_document_load() for more information.
1877
- * @param stream a #GInputStream
1878
- * @param flags flags from #EvDocumentLoadFlags
1879
- * @param cancellable a #GCancellable, or %NULL
1880
- * @returns %TRUE if loading succeeded, or %FALSE on error with @error filled in
1881
- */
1882
- load_stream(stream: Gio.InputStream, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): boolean
1883
- render(rc: RenderContext): cairo.Surface
1884
- /**
1885
- * Saves `document` to `uri`.
1886
- * @param uri the target URI
1887
- * @returns %TRUE on success, or %FALSE on error with @error filled in
1888
- */
1889
- save(uri: string): boolean
1890
- /**
1891
- * Set the `document` modification state as `modified`.
1892
- * @param modified a boolean value to set the document as modified or not.
1893
- */
1894
- set_modified(modified: boolean): void
1895
- /**
1896
- * Peforms a Synctex backward search to obtain the TeX input file, line and
1897
- * (possibly) column corresponding to the position (`x,``y)` (in 72dpi
1898
- * coordinates) in the `page` of `document`.
1899
- * @param page_index the target page
1900
- * @param x X coordinate
1901
- * @param y Y coordinate
1902
- * @returns A pointer to the EvSourceLink structure that holds the result. @NULL if synctex is not enabled for the document or no result is found. The EvSourceLink pointer should be freed with g_free after it is used.
1903
- */
1904
- synctex_backward_search(page_index: number, x: number, y: number): SourceLink
1905
-
1906
- // Own virtual methods of EvinceDocument-3.0.EvinceDocument.Document
1907
-
1908
- vfunc_get_backend_info(info: DocumentBackendInfo): boolean
1909
- /**
1910
- * Returns the #EvDocumentInfo for the document.
1911
- * @virtual
1912
- * @returns a #EvDocumentInfo
1913
- */
1914
- vfunc_get_info(): DocumentInfo
1915
- vfunc_get_n_pages(): number
1916
- vfunc_get_page(index: number): Page
1917
- vfunc_get_page_label(page: Page): string | null
1918
- vfunc_get_page_size(page_index: Page): [ /* width */ number, /* height */ number ]
1919
- vfunc_get_thumbnail(rc: RenderContext): GdkPixbuf.Pixbuf
1920
- vfunc_get_thumbnail_surface(rc: RenderContext): cairo.Surface
1921
- /**
1922
- * Loads `document` from `uri`.
1923
- *
1924
- * On failure, %FALSE is returned and `error` is filled in.
1925
- * If the document is encrypted, EV_DEFINE_ERROR_ENCRYPTED is returned.
1926
- * If the backend cannot load the specific document, EV_DOCUMENT_ERROR_INVALID
1927
- * is returned. If the backend does not support the format for the document's
1928
- * contents, EV_DOCUMENT_ERROR_UNSUPPORTED_CONTENT is returned. Other errors
1929
- * are possible too, depending on the backend used to load the document and
1930
- * the URI, e.g. #GIOError, #GFileError, and #GConvertError.
1931
- * @virtual
1932
- * @param uri the document's URI
1933
- * @returns %TRUE on success, or %FALSE on failure.
1934
- */
1935
- vfunc_load(uri: string): boolean
1936
- /**
1937
- * Synchronously loads the document from `fd,` which must refer to
1938
- * a regular file.
1939
- *
1940
- * Note that this function takes ownership of `fd;` you must not ever
1941
- * operate on it again. It will be closed automatically if the document
1942
- * is destroyed, or if this function returns %NULL.
1943
- *
1944
- * See ev_document_load() for more information.
1945
- * @virtual
1946
- * @param fd a file descriptor
1947
- * @param flags flags from #EvDocumentLoadFlags
1948
- * @param cancellable a #GCancellable, or %NULL
1949
- * @returns %TRUE if loading succeeded, or %FALSE on error with @error filled in
1950
- */
1951
- vfunc_load_fd(fd: number, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): boolean
1952
- /**
1953
- * Synchronously loads the document from `file`.
1954
- * See ev_document_load() for more information.
1955
- * @virtual
1956
- * @param file a #GFile
1957
- * @param flags flags from #EvDocumentLoadFlags
1958
- * @param cancellable a #GCancellable, or %NULL
1959
- * @returns %TRUE if loading succeeded, or %FALSE on error with @error filled in
1960
- */
1961
- vfunc_load_gfile(file: Gio.File, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): boolean
1962
- /**
1963
- * Synchronously loads the document from `stream`.
1964
- * See ev_document_load() for more information.
1965
- * @virtual
1966
- * @param stream a #GInputStream
1967
- * @param flags flags from #EvDocumentLoadFlags
1968
- * @param cancellable a #GCancellable, or %NULL
1969
- * @returns %TRUE if loading succeeded, or %FALSE on error with @error filled in
1970
- */
1971
- vfunc_load_stream(stream: Gio.InputStream, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): boolean
1972
- vfunc_render(rc: RenderContext): cairo.Surface
1973
- /**
1974
- * Saves `document` to `uri`.
1975
- * @virtual
1976
- * @param uri the target URI
1977
- * @returns %TRUE on success, or %FALSE on error with @error filled in
1978
- */
1979
- vfunc_save(uri: string): boolean
1980
- vfunc_support_synctex(): boolean
1981
-
1982
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Document
1983
-
1984
- connect(sigName: "notify::modified", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
1985
- connect_after(sigName: "notify::modified", callback: (($obj: Document, pspec: GObject.ParamSpec) => void)): number
1986
- emit(sigName: "notify::modified", ...args: any[]): void
1987
- connect(sigName: string, callback: (...args: any[]) => void): number
1988
- connect_after(sigName: string, callback: (...args: any[]) => void): number
1989
- emit(sigName: string, ...args: any[]): void
1990
- disconnect(id: number): void
1991
- }
1992
-
1993
- export class Document extends GObject.Object {
1994
-
1995
- // Own properties of EvinceDocument-3.0.EvinceDocument.Document
1996
-
1997
- static name: string
1998
- static $gtype: GObject.GType<Document>
1999
-
2000
- // Constructors of EvinceDocument-3.0.EvinceDocument.Document
2001
-
2002
- constructor(config?: Document.ConstructorProperties)
2003
- _init(config?: Document.ConstructorProperties): void
2004
- static doc_mutex_lock(): void
2005
- static doc_mutex_trylock(): boolean
2006
- static doc_mutex_unlock(): void
2007
- /**
2008
- * Adds some file filters to `chooser`.
2009
- *
2010
- * Always add a "All documents" format.
2011
- *
2012
- * If `document` is not %NULL, adds a #GtkFileFilter for `document'`s MIME type.
2013
- *
2014
- * If `document` is %NULL, adds a #GtkFileFilter for each document type that evince
2015
- * can handle.
2016
- * @param chooser a #GtkFileChooser
2017
- * @param document a #EvDocument, or %NULL
2018
- */
2019
- static factory_add_filters(chooser: Gtk.Widget, document: Document): void
2020
- /**
2021
- * Creates a #EvDocument for the document at `uri;` or, if no backend handling
2022
- * the document's type is found, or an error occurred on opening the document,
2023
- * returns %NULL and fills in `error`.
2024
- * If the document is encrypted, it is returned but also `error` is set to
2025
- * %EV_DOCUMENT_ERROR_ENCRYPTED.
2026
- * @param uri an URI
2027
- * @returns a new #EvDocument, or %NULL
2028
- */
2029
- static factory_get_document(uri: string): Document
2030
- /**
2031
- * Synchronously creates a #EvDocument for the document from `fd` using the backend
2032
- * for loading documents of type `mime_type;` or, if the backend does not support
2033
- * loading from file descriptors, or an error occurred on opening the document,
2034
- * returns %NULL and fills in `error`.
2035
- * If the document is encrypted, it is returned but also `error` is set to
2036
- * %EV_DOCUMENT_ERROR_ENCRYPTED.
2037
- *
2038
- * If the mime type cannot be inferred from the file descriptor, and `mime_type` is %NULL,
2039
- * an error is returned.
2040
- *
2041
- * Note that this function takes ownership of `fd;` you must not ever
2042
- * operate on it again. It will be closed automatically if the document
2043
- * is destroyed, or if this function returns %NULL.
2044
- * @param fd a file descriptor
2045
- * @param mime_type the mime type
2046
- * @param flags flags from #EvDocumentLoadFlags
2047
- * @param cancellable a #GCancellable, or %NULL
2048
- * @returns a new #EvDocument, or %NULL
2049
- */
2050
- static factory_get_document_for_fd(fd: number, mime_type: string, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): Document
2051
- /**
2052
- * Synchronously creates a #EvDocument for the document at `file;` or, if no
2053
- * backend handling the document's type is found, or an error occurred on
2054
- * opening the document, returns %NULL and fills in `error`.
2055
- * If the document is encrypted, it is returned but also `error` is set to
2056
- * %EV_DOCUMENT_ERROR_ENCRYPTED.
2057
- * @param file a #GFile
2058
- * @param flags flags from #EvDocumentLoadFlags
2059
- * @param cancellable a #GCancellable, or %NULL
2060
- * @returns a new #EvDocument, or %NULL
2061
- */
2062
- static factory_get_document_for_gfile(file: Gio.File, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): Document
2063
- /**
2064
- * Synchronously creates a #EvDocument for the document from `stream;` or, if no
2065
- * backend handling the document's type is found, or an error occurred
2066
- * on opening the document, returns %NULL and fills in `error`.
2067
- * If the document is encrypted, it is returned but also `error` is set to
2068
- * %EV_DOCUMENT_ERROR_ENCRYPTED.
2069
- *
2070
- * If `mime_type` is non-%NULL, this overrides any type inferred from the stream.
2071
- * If the mime type cannot be inferred from the stream, and `mime_type` is %NULL,
2072
- * an error is returned.
2073
- * @param stream a #GInputStream
2074
- * @param mime_type a mime type hint
2075
- * @param flags flags from #EvDocumentLoadFlags
2076
- * @param cancellable a #GCancellable, or %NULL
2077
- * @returns a new #EvDocument, or %NULL
2078
- */
2079
- static factory_get_document_for_stream(stream: Gio.InputStream, mime_type: string | null, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null): Document
2080
- /**
2081
- * Creates a #EvDocument for the document at `uri;` or, if no backend handling
2082
- * the document's type is found, or an error occurred on opening the document,
2083
- * returns %NULL and fills in `error`.
2084
- * If the document is encrypted, it is returned but also `error` is set to
2085
- * %EV_DOCUMENT_ERROR_ENCRYPTED.
2086
- * @param uri an URI
2087
- * @param flags flags from #EvDocumentLoadFlags
2088
- * @returns a new #EvDocument, or %NULL
2089
- */
2090
- static factory_get_document_full(uri: string, flags: DocumentLoadFlags): Document
2091
- static fc_mutex_lock(): void
2092
- static fc_mutex_trylock(): boolean
2093
- static fc_mutex_unlock(): void
2094
- static misc_format_date(utime: GLib.Time): string | null
2095
- /**
2096
- * Determine the preferred date and time representation for the current locale
2097
- * for `dt`.
2098
- * @param dt a #GDateTime
2099
- * @returns a new allocated string or NULL in the case that there was an error (such as a format specifier not being supported in the current locale). The string should be freed with g_free().
2100
- */
2101
- static misc_format_datetime(dt: GLib.DateTime): string | null
2102
- static misc_get_loading_thumbnail(width: number, height: number, inverted_colors: boolean): GdkPixbuf.Pixbuf
2103
- static misc_get_page_border_size(page_width: number, page_height: number, border: Gtk.Border): void
2104
- /**
2105
- * Get the pointer's x and y position relative to `widget`.
2106
- * @param widget a #GtkWidget
2107
- */
2108
- static misc_get_pointer_position(widget: Gtk.Widget): [ /* x */ number, /* y */ number ]
2109
- static misc_get_screen_dpi(screen: Gdk.Screen): number
2110
- static misc_get_thumbnail_frame(width: number, height: number, source_pixbuf: GdkPixbuf.Pixbuf): GdkPixbuf.Pixbuf
2111
- /**
2112
- * Returns sensible guess for DPI of monitor on which given widget has been
2113
- * realized. If HiDPI display, use 192, else 96.
2114
- * Returns 96 as fallback value.
2115
- * @param widget a #GtkWidget
2116
- * @returns DPI as gdouble
2117
- */
2118
- static misc_get_widget_dpi(widget: Gtk.Widget): number
2119
- static misc_invert_pixbuf(pixbuf: GdkPixbuf.Pixbuf): void
2120
- static misc_invert_surface(surface: cairo.Surface): void
2121
- static misc_paint_one_page(cr: cairo.Context, widget: Gtk.Widget, area: Gdk.Rectangle, border: Gtk.Border, highlight: boolean, inverted_colors: boolean): void
2122
- static misc_pixbuf_from_surface(surface: cairo.Surface): GdkPixbuf.Pixbuf
2123
- static misc_render_loading_thumbnail(widget: Gtk.Widget, width: number, height: number, inverted_colors: boolean): GdkPixbuf.Pixbuf
2124
- static misc_render_loading_thumbnail_surface(widget: Gtk.Widget, width: number, height: number, inverted_colors: boolean): cairo.Surface
2125
- static misc_render_thumbnail_surface_with_frame(widget: Gtk.Widget, source_surface: cairo.Surface, width: number, height: number): cairo.Surface
2126
- static misc_render_thumbnail_with_frame(widget: Gtk.Widget, source_pixbuf: GdkPixbuf.Pixbuf): GdkPixbuf.Pixbuf
2127
- static misc_surface_from_pixbuf(pixbuf: GdkPixbuf.Pixbuf): cairo.Surface
2128
- static misc_surface_rotate_and_scale(surface: cairo.Surface, dest_width: number, dest_height: number, dest_rotation: number): cairo.Surface
2129
- }
2130
-
2131
- export module FormField {
2132
-
2133
- // Constructor properties interface
2134
-
2135
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2136
- }
2137
-
2138
- }
2139
-
2140
- export interface FormField {
2141
-
2142
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormField
2143
-
2144
- parent: GObject.Object
2145
- id: number
2146
- is_read_only: boolean
2147
- font_size: number
2148
- activation_link: Link
2149
- page: Page
2150
- changed: boolean
2151
-
2152
- // Class property signals of EvinceDocument-3.0.EvinceDocument.FormField
2153
-
2154
- connect(sigName: string, callback: (...args: any[]) => void): number
2155
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2156
- emit(sigName: string, ...args: any[]): void
2157
- disconnect(id: number): void
2158
- }
2159
-
2160
- export class FormField extends GObject.Object {
2161
-
2162
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormField
2163
-
2164
- static name: string
2165
- static $gtype: GObject.GType<FormField>
2166
-
2167
- // Constructors of EvinceDocument-3.0.EvinceDocument.FormField
2168
-
2169
- constructor(config?: FormField.ConstructorProperties)
2170
- _init(config?: FormField.ConstructorProperties): void
2171
- }
2172
-
2173
- export module FormFieldButton {
2174
-
2175
- // Constructor properties interface
2176
-
2177
- export interface ConstructorProperties extends FormField.ConstructorProperties {
2178
- }
2179
-
2180
- }
2181
-
2182
- export interface FormFieldButton {
2183
-
2184
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldButton
2185
-
2186
- parent: FormField & GObject.Object
2187
- type: FormFieldButtonType
2188
- state: boolean
2189
-
2190
- // Class property signals of EvinceDocument-3.0.EvinceDocument.FormFieldButton
2191
-
2192
- connect(sigName: string, callback: (...args: any[]) => void): number
2193
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2194
- emit(sigName: string, ...args: any[]): void
2195
- disconnect(id: number): void
2196
- }
2197
-
2198
- export class FormFieldButton extends FormField {
2199
-
2200
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldButton
2201
-
2202
- static name: string
2203
- static $gtype: GObject.GType<FormFieldButton>
2204
-
2205
- // Constructors of EvinceDocument-3.0.EvinceDocument.FormFieldButton
2206
-
2207
- constructor(config?: FormFieldButton.ConstructorProperties)
2208
- constructor(id: number, type: FormFieldButtonType)
2209
- static new(id: number, type: FormFieldButtonType): FormFieldButton
2210
- _init(config?: FormFieldButton.ConstructorProperties): void
2211
- }
2212
-
2213
- export module FormFieldChoice {
2214
-
2215
- // Constructor properties interface
2216
-
2217
- export interface ConstructorProperties extends FormField.ConstructorProperties {
2218
- }
2219
-
2220
- }
2221
-
2222
- export interface FormFieldChoice {
2223
-
2224
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldChoice
2225
-
2226
- parent: FormField & GObject.Object
2227
- type: FormFieldChoiceType
2228
- multi_select: boolean
2229
- is_editable: boolean
2230
- do_spell_check: boolean
2231
- commit_on_sel_change: boolean
2232
- selected_items: any[]
2233
- text: string | null
2234
-
2235
- // Class property signals of EvinceDocument-3.0.EvinceDocument.FormFieldChoice
2236
-
2237
- connect(sigName: string, callback: (...args: any[]) => void): number
2238
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2239
- emit(sigName: string, ...args: any[]): void
2240
- disconnect(id: number): void
2241
- }
2242
-
2243
- export class FormFieldChoice extends FormField {
2244
-
2245
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldChoice
2246
-
2247
- static name: string
2248
- static $gtype: GObject.GType<FormFieldChoice>
2249
-
2250
- // Constructors of EvinceDocument-3.0.EvinceDocument.FormFieldChoice
2251
-
2252
- constructor(config?: FormFieldChoice.ConstructorProperties)
2253
- constructor(id: number, type: FormFieldChoiceType)
2254
- static new(id: number, type: FormFieldChoiceType): FormFieldChoice
2255
- _init(config?: FormFieldChoice.ConstructorProperties): void
2256
- }
2257
-
2258
- export module FormFieldSignature {
2259
-
2260
- // Constructor properties interface
2261
-
2262
- export interface ConstructorProperties extends FormField.ConstructorProperties {
2263
- }
2264
-
2265
- }
2266
-
2267
- export interface FormFieldSignature {
2268
-
2269
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldSignature
2270
-
2271
- parent: FormField & GObject.Object
2272
-
2273
- // Class property signals of EvinceDocument-3.0.EvinceDocument.FormFieldSignature
2274
-
2275
- connect(sigName: string, callback: (...args: any[]) => void): number
2276
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2277
- emit(sigName: string, ...args: any[]): void
2278
- disconnect(id: number): void
2279
- }
2280
-
2281
- export class FormFieldSignature extends FormField {
2282
-
2283
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldSignature
2284
-
2285
- static name: string
2286
- static $gtype: GObject.GType<FormFieldSignature>
2287
-
2288
- // Constructors of EvinceDocument-3.0.EvinceDocument.FormFieldSignature
2289
-
2290
- constructor(config?: FormFieldSignature.ConstructorProperties)
2291
- constructor(id: number)
2292
- static new(id: number): FormFieldSignature
2293
- _init(config?: FormFieldSignature.ConstructorProperties): void
2294
- }
2295
-
2296
- export module FormFieldText {
2297
-
2298
- // Constructor properties interface
2299
-
2300
- export interface ConstructorProperties extends FormField.ConstructorProperties {
2301
- }
2302
-
2303
- }
2304
-
2305
- export interface FormFieldText {
2306
-
2307
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldText
2308
-
2309
- parent: FormField & GObject.Object
2310
- type: FormFieldTextType
2311
- do_spell_check: boolean
2312
- do_scroll: boolean
2313
- comb: boolean
2314
- is_rich_text: boolean
2315
- is_password: boolean
2316
- max_len: number
2317
- text: string | null
2318
-
2319
- // Class property signals of EvinceDocument-3.0.EvinceDocument.FormFieldText
2320
-
2321
- connect(sigName: string, callback: (...args: any[]) => void): number
2322
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2323
- emit(sigName: string, ...args: any[]): void
2324
- disconnect(id: number): void
2325
- }
2326
-
2327
- export class FormFieldText extends FormField {
2328
-
2329
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldText
2330
-
2331
- static name: string
2332
- static $gtype: GObject.GType<FormFieldText>
2333
-
2334
- // Constructors of EvinceDocument-3.0.EvinceDocument.FormFieldText
2335
-
2336
- constructor(config?: FormFieldText.ConstructorProperties)
2337
- constructor(id: number, type: FormFieldTextType)
2338
- static new(id: number, type: FormFieldTextType): FormFieldText
2339
- _init(config?: FormFieldText.ConstructorProperties): void
2340
- }
2341
-
2342
- export module Image {
2343
-
2344
- // Constructor properties interface
2345
-
2346
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2347
- }
2348
-
2349
- }
2350
-
2351
- export interface Image {
2352
-
2353
- // Own fields of EvinceDocument-3.0.EvinceDocument.Image
2354
-
2355
- base_instance: GObject.Object
2356
- priv: ImagePrivate
2357
-
2358
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Image
2359
-
2360
- get_id(): number
2361
- get_page(): number
2362
- get_pixbuf(): GdkPixbuf.Pixbuf
2363
- get_tmp_uri(): string
2364
- save_tmp(pixbuf: GdkPixbuf.Pixbuf): string
2365
-
2366
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Image
2367
-
2368
- connect(sigName: string, callback: (...args: any[]) => void): number
2369
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2370
- emit(sigName: string, ...args: any[]): void
2371
- disconnect(id: number): void
2372
- }
2373
-
2374
- export class Image extends GObject.Object {
2375
-
2376
- // Own properties of EvinceDocument-3.0.EvinceDocument.Image
2377
-
2378
- static name: string
2379
- static $gtype: GObject.GType<Image>
2380
-
2381
- // Constructors of EvinceDocument-3.0.EvinceDocument.Image
2382
-
2383
- constructor(config?: Image.ConstructorProperties)
2384
- constructor(page: number, img_id: number)
2385
- static new(page: number, img_id: number): Image
2386
- static new_from_pixbuf(pixbuf: GdkPixbuf.Pixbuf): Image
2387
- _init(config?: Image.ConstructorProperties): void
2388
- }
2389
-
2390
- export module Layer {
2391
-
2392
- // Constructor properties interface
2393
-
2394
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2395
- }
2396
-
2397
- }
2398
-
2399
- export interface Layer {
2400
-
2401
- // Own fields of EvinceDocument-3.0.EvinceDocument.Layer
2402
-
2403
- base_instance: GObject.Object
2404
- priv: LayerPrivate
2405
-
2406
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Layer
2407
-
2408
- get_rb_group(): number
2409
- is_parent(): boolean
2410
-
2411
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Layer
2412
-
2413
- connect(sigName: string, callback: (...args: any[]) => void): number
2414
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2415
- emit(sigName: string, ...args: any[]): void
2416
- disconnect(id: number): void
2417
- }
2418
-
2419
- export class Layer extends GObject.Object {
2420
-
2421
- // Own properties of EvinceDocument-3.0.EvinceDocument.Layer
2422
-
2423
- static name: string
2424
- static $gtype: GObject.GType<Layer>
2425
-
2426
- // Constructors of EvinceDocument-3.0.EvinceDocument.Layer
2427
-
2428
- constructor(config?: Layer.ConstructorProperties)
2429
- constructor(is_parent: boolean, rb_group: number)
2430
- static new(is_parent: boolean, rb_group: number): Layer
2431
- _init(config?: Layer.ConstructorProperties): void
2432
- }
2433
-
2434
- export module Link {
2435
-
2436
- // Constructor properties interface
2437
-
2438
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2439
-
2440
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.Link
2441
-
2442
- action?: LinkAction | null
2443
- title?: string | null
2444
- }
2445
-
2446
- }
2447
-
2448
- export interface Link {
2449
-
2450
- // Own properties of EvinceDocument-3.0.EvinceDocument.Link
2451
-
2452
- readonly action: LinkAction
2453
- readonly title: string | null
2454
-
2455
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Link
2456
-
2457
- get_action(): LinkAction
2458
- get_title(): string
2459
-
2460
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Link
2461
-
2462
- connect(sigName: "notify::action", callback: (($obj: Link, pspec: GObject.ParamSpec) => void)): number
2463
- connect_after(sigName: "notify::action", callback: (($obj: Link, pspec: GObject.ParamSpec) => void)): number
2464
- emit(sigName: "notify::action", ...args: any[]): void
2465
- connect(sigName: "notify::title", callback: (($obj: Link, pspec: GObject.ParamSpec) => void)): number
2466
- connect_after(sigName: "notify::title", callback: (($obj: Link, pspec: GObject.ParamSpec) => void)): number
2467
- emit(sigName: "notify::title", ...args: any[]): void
2468
- connect(sigName: string, callback: (...args: any[]) => void): number
2469
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2470
- emit(sigName: string, ...args: any[]): void
2471
- disconnect(id: number): void
2472
- }
2473
-
2474
- export class Link extends GObject.Object {
2475
-
2476
- // Own properties of EvinceDocument-3.0.EvinceDocument.Link
2477
-
2478
- static name: string
2479
- static $gtype: GObject.GType<Link>
2480
-
2481
- // Constructors of EvinceDocument-3.0.EvinceDocument.Link
2482
-
2483
- constructor(config?: Link.ConstructorProperties)
2484
- constructor(title: string, action: LinkAction)
2485
- static new(title: string, action: LinkAction): Link
2486
- _init(config?: Link.ConstructorProperties): void
2487
- }
2488
-
2489
- export module LinkAction {
2490
-
2491
- // Constructor properties interface
2492
-
2493
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2494
-
2495
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.LinkAction
2496
-
2497
- dest?: LinkDest | null
2498
- excludeResetFields?: boolean | null
2499
- filename?: string | null
2500
- hideList?: any | null
2501
- name?: string | null
2502
- params?: string | null
2503
- resetFields?: any | null
2504
- showList?: any | null
2505
- toggleList?: any | null
2506
- type?: LinkActionType | null
2507
- uri?: string | null
2508
- }
2509
-
2510
- }
2511
-
2512
- export interface LinkAction {
2513
-
2514
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkAction
2515
-
2516
- readonly dest: LinkDest
2517
- readonly excludeResetFields: boolean
2518
- readonly filename: string | null
2519
- readonly hideList: any
2520
- readonly name: string | null
2521
- readonly params: string | null
2522
- readonly resetFields: any
2523
- readonly showList: any
2524
- readonly toggleList: any
2525
- readonly type: LinkActionType
2526
- readonly uri: string | null
2527
-
2528
- // Owm methods of EvinceDocument-3.0.EvinceDocument.LinkAction
2529
-
2530
- /**
2531
- * Checks whether `a` and `b` are equal.
2532
- * @param b a #EvLinkAction
2533
- * @returns %TRUE iff @a and @b are equal
2534
- */
2535
- equal(b: LinkAction): boolean
2536
- get_action_type(): LinkActionType
2537
- get_dest(): LinkDest
2538
- get_exclude_reset_fields(): boolean
2539
- get_filename(): string
2540
- get_hide_list(): Layer[]
2541
- get_name(): string
2542
- get_params(): string
2543
- get_reset_fields(): string[]
2544
- get_show_list(): Layer[]
2545
- get_toggle_list(): Layer[]
2546
- get_uri(): string
2547
-
2548
- // Class property signals of EvinceDocument-3.0.EvinceDocument.LinkAction
2549
-
2550
- connect(sigName: "notify::dest", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2551
- connect_after(sigName: "notify::dest", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2552
- emit(sigName: "notify::dest", ...args: any[]): void
2553
- connect(sigName: "notify::exclude-reset-fields", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2554
- connect_after(sigName: "notify::exclude-reset-fields", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2555
- emit(sigName: "notify::exclude-reset-fields", ...args: any[]): void
2556
- connect(sigName: "notify::filename", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2557
- connect_after(sigName: "notify::filename", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2558
- emit(sigName: "notify::filename", ...args: any[]): void
2559
- connect(sigName: "notify::hide-list", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2560
- connect_after(sigName: "notify::hide-list", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2561
- emit(sigName: "notify::hide-list", ...args: any[]): void
2562
- connect(sigName: "notify::name", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2563
- connect_after(sigName: "notify::name", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2564
- emit(sigName: "notify::name", ...args: any[]): void
2565
- connect(sigName: "notify::params", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2566
- connect_after(sigName: "notify::params", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2567
- emit(sigName: "notify::params", ...args: any[]): void
2568
- connect(sigName: "notify::reset-fields", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2569
- connect_after(sigName: "notify::reset-fields", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2570
- emit(sigName: "notify::reset-fields", ...args: any[]): void
2571
- connect(sigName: "notify::show-list", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2572
- connect_after(sigName: "notify::show-list", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2573
- emit(sigName: "notify::show-list", ...args: any[]): void
2574
- connect(sigName: "notify::toggle-list", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2575
- connect_after(sigName: "notify::toggle-list", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2576
- emit(sigName: "notify::toggle-list", ...args: any[]): void
2577
- connect(sigName: "notify::type", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2578
- connect_after(sigName: "notify::type", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2579
- emit(sigName: "notify::type", ...args: any[]): void
2580
- connect(sigName: "notify::uri", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2581
- connect_after(sigName: "notify::uri", callback: (($obj: LinkAction, pspec: GObject.ParamSpec) => void)): number
2582
- emit(sigName: "notify::uri", ...args: any[]): void
2583
- connect(sigName: string, callback: (...args: any[]) => void): number
2584
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2585
- emit(sigName: string, ...args: any[]): void
2586
- disconnect(id: number): void
2587
- }
2588
-
2589
- export class LinkAction extends GObject.Object {
2590
-
2591
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkAction
2592
-
2593
- static name: string
2594
- static $gtype: GObject.GType<LinkAction>
2595
-
2596
- // Constructors of EvinceDocument-3.0.EvinceDocument.LinkAction
2597
-
2598
- constructor(config?: LinkAction.ConstructorProperties)
2599
- static new_dest(dest: LinkDest): LinkAction
2600
- static new_external_uri(uri: string): LinkAction
2601
- static new_launch(filename: string, params: string): LinkAction
2602
- static new_layers_state(show_list: Layer[], hide_list: Layer[], toggle_list: Layer[]): LinkAction
2603
- static new_named(name: string): LinkAction
2604
- static new_remote(dest: LinkDest, filename: string): LinkAction
2605
- static new_reset_form(fields: string[], exclude_fields: boolean): LinkAction
2606
- _init(config?: LinkAction.ConstructorProperties): void
2607
- }
2608
-
2609
- export module LinkDest {
2610
-
2611
- // Constructor properties interface
2612
-
2613
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2614
-
2615
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.LinkDest
2616
-
2617
- bottom?: number | null
2618
- change?: number | null
2619
- left?: number | null
2620
- named?: string | null
2621
- page?: number | null
2622
- pageLabel?: string | null
2623
- right?: number | null
2624
- top?: number | null
2625
- type?: LinkDestType | null
2626
- zoom?: number | null
2627
- }
2628
-
2629
- }
2630
-
2631
- export interface LinkDest {
2632
-
2633
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkDest
2634
-
2635
- readonly bottom: number
2636
- readonly change: number
2637
- readonly left: number
2638
- readonly named: string | null
2639
- readonly page: number
2640
- readonly pageLabel: string | null
2641
- readonly right: number
2642
- readonly top: number
2643
- readonly type: LinkDestType
2644
- readonly zoom: number
2645
-
2646
- // Owm methods of EvinceDocument-3.0.EvinceDocument.LinkDest
2647
-
2648
- /**
2649
- * Checks whether `a` and `b` are equal.
2650
- * @param b a #EvLinkDest
2651
- * @returns %TRUE iff @a and @b are equal
2652
- */
2653
- equal(b: LinkDest): boolean
2654
- get_bottom(): number
2655
- get_dest_type(): LinkDestType
2656
- get_left(change_left: boolean): number
2657
- get_named_dest(): string
2658
- get_page(): number
2659
- get_page_label(): string
2660
- get_right(): number
2661
- get_top(change_top: boolean): number
2662
- get_zoom(change_zoom: boolean): number
2663
-
2664
- // Class property signals of EvinceDocument-3.0.EvinceDocument.LinkDest
2665
-
2666
- connect(sigName: "notify::bottom", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2667
- connect_after(sigName: "notify::bottom", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2668
- emit(sigName: "notify::bottom", ...args: any[]): void
2669
- connect(sigName: "notify::change", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2670
- connect_after(sigName: "notify::change", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2671
- emit(sigName: "notify::change", ...args: any[]): void
2672
- connect(sigName: "notify::left", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2673
- connect_after(sigName: "notify::left", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2674
- emit(sigName: "notify::left", ...args: any[]): void
2675
- connect(sigName: "notify::named", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2676
- connect_after(sigName: "notify::named", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2677
- emit(sigName: "notify::named", ...args: any[]): void
2678
- connect(sigName: "notify::page", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2679
- connect_after(sigName: "notify::page", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2680
- emit(sigName: "notify::page", ...args: any[]): void
2681
- connect(sigName: "notify::page-label", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2682
- connect_after(sigName: "notify::page-label", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2683
- emit(sigName: "notify::page-label", ...args: any[]): void
2684
- connect(sigName: "notify::right", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2685
- connect_after(sigName: "notify::right", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2686
- emit(sigName: "notify::right", ...args: any[]): void
2687
- connect(sigName: "notify::top", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2688
- connect_after(sigName: "notify::top", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2689
- emit(sigName: "notify::top", ...args: any[]): void
2690
- connect(sigName: "notify::type", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2691
- connect_after(sigName: "notify::type", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2692
- emit(sigName: "notify::type", ...args: any[]): void
2693
- connect(sigName: "notify::zoom", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2694
- connect_after(sigName: "notify::zoom", callback: (($obj: LinkDest, pspec: GObject.ParamSpec) => void)): number
2695
- emit(sigName: "notify::zoom", ...args: any[]): void
2696
- connect(sigName: string, callback: (...args: any[]) => void): number
2697
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2698
- emit(sigName: string, ...args: any[]): void
2699
- disconnect(id: number): void
2700
- }
2701
-
2702
- export class LinkDest extends GObject.Object {
2703
-
2704
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkDest
2705
-
2706
- static name: string
2707
- static $gtype: GObject.GType<LinkDest>
2708
-
2709
- // Constructors of EvinceDocument-3.0.EvinceDocument.LinkDest
2710
-
2711
- constructor(config?: LinkDest.ConstructorProperties)
2712
- static new_fit(page: number): LinkDest
2713
- static new_fith(page: number, top: number, change_top: boolean): LinkDest
2714
- static new_fitr(page: number, left: number, bottom: number, right: number, top: number): LinkDest
2715
- static new_fitv(page: number, left: number, change_left: boolean): LinkDest
2716
- static new_named(named_dest: string): LinkDest
2717
- static new_page(page: number): LinkDest
2718
- static new_page_label(page_label: string): LinkDest
2719
- static new_xyz(page: number, left: number, top: number, zoom: number, change_left: boolean, change_top: boolean, change_zoom: boolean): LinkDest
2720
- _init(config?: LinkDest.ConstructorProperties): void
2721
- }
2722
-
2723
- export module Media {
2724
-
2725
- // Constructor properties interface
2726
-
2727
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2728
- }
2729
-
2730
- }
2731
-
2732
- export interface Media {
2733
-
2734
- // Own fields of EvinceDocument-3.0.EvinceDocument.Media
2735
-
2736
- base_instance: GObject.Object
2737
- priv: MediaPrivate
2738
-
2739
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Media
2740
-
2741
- get_page_index(): number
2742
- get_show_controls(): boolean
2743
- get_uri(): string
2744
- set_show_controls(show_controls: boolean): void
2745
-
2746
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Media
2747
-
2748
- connect(sigName: string, callback: (...args: any[]) => void): number
2749
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2750
- emit(sigName: string, ...args: any[]): void
2751
- disconnect(id: number): void
2752
- }
2753
-
2754
- export class Media extends GObject.Object {
2755
-
2756
- // Own properties of EvinceDocument-3.0.EvinceDocument.Media
2757
-
2758
- static name: string
2759
- static $gtype: GObject.GType<Media>
2760
-
2761
- // Constructors of EvinceDocument-3.0.EvinceDocument.Media
2762
-
2763
- constructor(config?: Media.ConstructorProperties)
2764
- static new_for_uri(page: Page, uri: string): Media
2765
- _init(config?: Media.ConstructorProperties): void
2766
- }
2767
-
2768
- export module Page {
2769
-
2770
- // Constructor properties interface
2771
-
2772
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2773
- }
2774
-
2775
- }
2776
-
2777
- export interface Page {
2778
-
2779
- // Own fields of EvinceDocument-3.0.EvinceDocument.Page
2780
-
2781
- base_instance: GObject.Object
2782
- index: number
2783
- backend_page: BackendPage
2784
- backend_destroy_func: BackendPageDestroyFunc
2785
-
2786
- // Class property signals of EvinceDocument-3.0.EvinceDocument.Page
2787
-
2788
- connect(sigName: string, callback: (...args: any[]) => void): number
2789
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2790
- emit(sigName: string, ...args: any[]): void
2791
- disconnect(id: number): void
2792
- }
2793
-
2794
- export class Page extends GObject.Object {
2795
-
2796
- // Own properties of EvinceDocument-3.0.EvinceDocument.Page
2797
-
2798
- static name: string
2799
- static $gtype: GObject.GType<Page>
2800
-
2801
- // Constructors of EvinceDocument-3.0.EvinceDocument.Page
2802
-
2803
- constructor(config?: Page.ConstructorProperties)
2804
- constructor(index: number)
2805
- static new(index: number): Page
2806
- _init(config?: Page.ConstructorProperties): void
2807
- }
2808
-
2809
- export module RenderContext {
2810
-
2811
- // Constructor properties interface
2812
-
2813
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2814
- }
2815
-
2816
- }
2817
-
2818
- export interface RenderContext {
2819
-
2820
- // Own fields of EvinceDocument-3.0.EvinceDocument.RenderContext
2821
-
2822
- parent: GObject.Object
2823
- page: Page
2824
- rotation: number
2825
- scale: number
2826
- target_width: number
2827
- target_height: number
2828
-
2829
- // Owm methods of EvinceDocument-3.0.EvinceDocument.RenderContext
2830
-
2831
- compute_scaled_size(width_points: number, height_points: number, scaled_width: number, scaled_height: number): void
2832
- compute_scales(width_points: number, height_points: number, scale_x: number, scale_y: number): void
2833
- compute_transformed_size(width_points: number, height_points: number, transformed_width: number, transformed_height: number): void
2834
- set_page(page: Page): void
2835
- set_rotation(rotation: number): void
2836
- set_scale(scale: number): void
2837
- set_target_size(target_width: number, target_height: number): void
2838
-
2839
- // Class property signals of EvinceDocument-3.0.EvinceDocument.RenderContext
2840
-
2841
- connect(sigName: string, callback: (...args: any[]) => void): number
2842
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2843
- emit(sigName: string, ...args: any[]): void
2844
- disconnect(id: number): void
2845
- }
2846
-
2847
- export class RenderContext extends GObject.Object {
2848
-
2849
- // Own properties of EvinceDocument-3.0.EvinceDocument.RenderContext
2850
-
2851
- static name: string
2852
- static $gtype: GObject.GType<RenderContext>
2853
-
2854
- // Constructors of EvinceDocument-3.0.EvinceDocument.RenderContext
2855
-
2856
- constructor(config?: RenderContext.ConstructorProperties)
2857
- constructor(page: Page, rotation: number, scale: number)
2858
- static new(page: Page, rotation: number, scale: number): RenderContext
2859
- _init(config?: RenderContext.ConstructorProperties): void
2860
- }
2861
-
2862
- export module TransitionEffect {
2863
-
2864
- // Constructor properties interface
2865
-
2866
- export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2867
-
2868
- // Own constructor properties of EvinceDocument-3.0.EvinceDocument.TransitionEffect
2869
-
2870
- alignment?: TransitionEffectAlignment | null
2871
- angle?: number | null
2872
- direction?: TransitionEffectDirection | null
2873
- duration?: number | null
2874
- durationReal?: number | null
2875
- rectangular?: boolean | null
2876
- scale?: number | null
2877
- type?: TransitionEffectType | null
2878
- }
2879
-
2880
- }
2881
-
2882
- export interface TransitionEffect {
2883
-
2884
- // Own properties of EvinceDocument-3.0.EvinceDocument.TransitionEffect
2885
-
2886
- alignment: TransitionEffectAlignment
2887
- angle: number
2888
- direction: TransitionEffectDirection
2889
- duration: number
2890
- durationReal: number
2891
- rectangular: boolean
2892
- scale: number
2893
- type: TransitionEffectType
2894
-
2895
- // Own fields of EvinceDocument-3.0.EvinceDocument.TransitionEffect
2896
-
2897
- parent_instance: GObject.Object
2898
-
2899
- // Class property signals of EvinceDocument-3.0.EvinceDocument.TransitionEffect
2900
-
2901
- connect(sigName: "notify::alignment", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2902
- connect_after(sigName: "notify::alignment", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2903
- emit(sigName: "notify::alignment", ...args: any[]): void
2904
- connect(sigName: "notify::angle", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2905
- connect_after(sigName: "notify::angle", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2906
- emit(sigName: "notify::angle", ...args: any[]): void
2907
- connect(sigName: "notify::direction", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2908
- connect_after(sigName: "notify::direction", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2909
- emit(sigName: "notify::direction", ...args: any[]): void
2910
- connect(sigName: "notify::duration", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2911
- connect_after(sigName: "notify::duration", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2912
- emit(sigName: "notify::duration", ...args: any[]): void
2913
- connect(sigName: "notify::duration-real", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2914
- connect_after(sigName: "notify::duration-real", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2915
- emit(sigName: "notify::duration-real", ...args: any[]): void
2916
- connect(sigName: "notify::rectangular", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2917
- connect_after(sigName: "notify::rectangular", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2918
- emit(sigName: "notify::rectangular", ...args: any[]): void
2919
- connect(sigName: "notify::scale", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2920
- connect_after(sigName: "notify::scale", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2921
- emit(sigName: "notify::scale", ...args: any[]): void
2922
- connect(sigName: "notify::type", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2923
- connect_after(sigName: "notify::type", callback: (($obj: TransitionEffect, pspec: GObject.ParamSpec) => void)): number
2924
- emit(sigName: "notify::type", ...args: any[]): void
2925
- connect(sigName: string, callback: (...args: any[]) => void): number
2926
- connect_after(sigName: string, callback: (...args: any[]) => void): number
2927
- emit(sigName: string, ...args: any[]): void
2928
- disconnect(id: number): void
2929
- }
2930
-
2931
- export class TransitionEffect extends GObject.Object {
2932
-
2933
- // Own properties of EvinceDocument-3.0.EvinceDocument.TransitionEffect
2934
-
2935
- static name: string
2936
- static $gtype: GObject.GType<TransitionEffect>
2937
-
2938
- // Constructors of EvinceDocument-3.0.EvinceDocument.TransitionEffect
2939
-
2940
- constructor(config?: TransitionEffect.ConstructorProperties)
2941
- _init(config?: TransitionEffect.ConstructorProperties): void
2942
- }
2943
-
2944
- export interface AnnotationAttachmentClass {
2945
- }
2946
-
2947
- export abstract class AnnotationAttachmentClass {
2948
-
2949
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationAttachmentClass
2950
-
2951
- static name: string
2952
- }
2953
-
2954
- export interface AnnotationClass {
2955
- }
2956
-
2957
- export abstract class AnnotationClass {
2958
-
2959
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationClass
2960
-
2961
- static name: string
2962
- }
2963
-
2964
- export interface AnnotationMarkupInterface {
2965
- }
2966
-
2967
- export abstract class AnnotationMarkupInterface {
2968
-
2969
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationMarkupInterface
2970
-
2971
- static name: string
2972
- }
2973
-
2974
- export interface AnnotationTextClass {
2975
- }
2976
-
2977
- export abstract class AnnotationTextClass {
2978
-
2979
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationTextClass
2980
-
2981
- static name: string
2982
- }
2983
-
2984
- export interface AnnotationTextMarkupClass {
2985
- }
2986
-
2987
- export abstract class AnnotationTextMarkupClass {
2988
-
2989
- // Own properties of EvinceDocument-3.0.EvinceDocument.AnnotationTextMarkupClass
2990
-
2991
- static name: string
2992
- }
2993
-
2994
- export interface AsyncRendererInterface {
2995
-
2996
- // Own fields of EvinceDocument-3.0.EvinceDocument.AsyncRendererInterface
2997
-
2998
- base_iface: GObject.TypeInterface
2999
- render_finished: (renderer: AsyncRenderer, pixbuf: GdkPixbuf.Pixbuf) => void
3000
- render_pixbuf: (renderer: AsyncRenderer, page: number, scale: number, rotation: number) => void
3001
- }
3002
-
3003
- export abstract class AsyncRendererInterface {
3004
-
3005
- // Own properties of EvinceDocument-3.0.EvinceDocument.AsyncRendererInterface
3006
-
3007
- static name: string
3008
- }
3009
-
3010
- export interface AttachmentClass {
3011
-
3012
- // Own fields of EvinceDocument-3.0.EvinceDocument.AttachmentClass
3013
-
3014
- base_class: GObject.ObjectClass
3015
- }
3016
-
3017
- export abstract class AttachmentClass {
3018
-
3019
- // Own properties of EvinceDocument-3.0.EvinceDocument.AttachmentClass
3020
-
3021
- static name: string
3022
- }
3023
-
3024
- export interface DocumentAnnotationsInterface {
3025
-
3026
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentAnnotationsInterface
3027
-
3028
- base_iface: GObject.TypeInterface
3029
- get_annotations: (document_annots: DocumentAnnotations, page: Page) => MappingList
3030
- document_is_modified: (document_annots: DocumentAnnotations) => boolean
3031
- add_annotation: (document_annots: DocumentAnnotations, annot: Annotation, rect: Rectangle) => void
3032
- save_annotation: (document_annots: DocumentAnnotations, annot: Annotation, mask: AnnotationsSaveMask) => void
3033
- remove_annotation: (document_annots: DocumentAnnotations, annot: Annotation) => void
3034
- over_markup: (document_annots: DocumentAnnotations, annot: Annotation, x: number, y: number) => AnnotationsOverMarkup
3035
- }
3036
-
3037
- export abstract class DocumentAnnotationsInterface {
3038
-
3039
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentAnnotationsInterface
3040
-
3041
- static name: string
3042
- }
3043
-
3044
- export interface DocumentAttachmentsInterface {
3045
-
3046
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentAttachmentsInterface
3047
-
3048
- base_iface: GObject.TypeInterface
3049
- has_attachments: (document_attachments: DocumentAttachments) => boolean
3050
- get_attachments: (document_attachments: DocumentAttachments) => Attachment[]
3051
- }
3052
-
3053
- export abstract class DocumentAttachmentsInterface {
3054
-
3055
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentAttachmentsInterface
3056
-
3057
- static name: string
3058
- }
3059
-
3060
- export interface DocumentBackendInfo {
3061
-
3062
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentBackendInfo
3063
-
3064
- name: string
3065
- version: string
3066
- }
3067
-
3068
- export class DocumentBackendInfo {
3069
-
3070
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentBackendInfo
3071
-
3072
- static name: string
3073
- }
3074
-
3075
- export interface DocumentClass {
3076
-
3077
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentClass
3078
-
3079
- base_class: GObject.ObjectClass
3080
- load: (document: Document, uri: string) => boolean
3081
- save: (document: Document, uri: string) => boolean
3082
- get_n_pages: (document: Document) => number
3083
- get_page: (document: Document, index: number) => Page
3084
- get_page_size: (document: Document, page_index: Page) => [ /* width */ number, /* height */ number ]
3085
- get_page_label: (document: Document, page: Page) => string | null
3086
- render: (document: Document, rc: RenderContext) => cairo.Surface
3087
- get_thumbnail: (document: Document, rc: RenderContext) => GdkPixbuf.Pixbuf
3088
- get_info: (document: Document) => DocumentInfo
3089
- get_backend_info: (document: Document, info: DocumentBackendInfo) => boolean
3090
- support_synctex: (document: Document) => boolean
3091
- load_stream: (document: Document, stream: Gio.InputStream, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null) => boolean
3092
- load_gfile: (document: Document, file: Gio.File, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null) => boolean
3093
- get_thumbnail_surface: (document: Document, rc: RenderContext) => cairo.Surface
3094
- load_fd: (document: Document, fd: number, flags: DocumentLoadFlags, cancellable: Gio.Cancellable | null) => boolean
3095
- }
3096
-
3097
- export abstract class DocumentClass {
3098
-
3099
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentClass
3100
-
3101
- static name: string
3102
- }
3103
-
3104
- export interface DocumentFindInterface {
3105
-
3106
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentFindInterface
3107
-
3108
- base_iface: GObject.TypeInterface
3109
- find_text: (document_find: DocumentFind, page: Page, text: string, case_sensitive: boolean) => Rectangle[]
3110
- find_text_with_options: (document_find: DocumentFind, page: Page, text: string, options: FindOptions) => Rectangle[]
3111
- get_supported_options: (document_find: DocumentFind) => FindOptions
3112
- find_text_extended: (document_find: DocumentFind, page: Page, text: string, options: FindOptions) => FindRectangle[]
3113
- }
3114
-
3115
- export abstract class DocumentFindInterface {
3116
-
3117
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentFindInterface
3118
-
3119
- static name: string
3120
- }
3121
-
3122
- export interface DocumentFontsInterface {
3123
-
3124
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentFontsInterface
3125
-
3126
- base_iface: GObject.TypeInterface
3127
- scan: (document_fonts: DocumentFonts, n_pages: number) => boolean
3128
- get_progress: (document_fonts: DocumentFonts) => number
3129
- fill_model: (document_fonts: DocumentFonts, model: Gtk.TreeModel) => void
3130
- get_fonts_summary: (document_fonts: DocumentFonts) => string
3131
- }
3132
-
3133
- export abstract class DocumentFontsInterface {
3134
-
3135
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentFontsInterface
3136
-
3137
- static name: string
3138
- }
3139
-
3140
- export interface DocumentFormsInterface {
3141
-
3142
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentFormsInterface
3143
-
3144
- base_iface: GObject.TypeInterface
3145
- get_form_fields: (document_forms: DocumentForms, page: Page) => MappingList
3146
- document_is_modified: (document_forms: DocumentForms) => boolean
3147
- form_field_text_get_text: (document_forms: DocumentForms, field: FormField) => string | null
3148
- form_field_text_set_text: (document_forms: DocumentForms, field: FormField, text: string) => void
3149
- form_field_button_get_state: (document_forms: DocumentForms, field: FormField) => boolean
3150
- form_field_button_set_state: (document_forms: DocumentForms, field: FormField, state: boolean) => void
3151
- form_field_choice_get_item: (document_forms: DocumentForms, field: FormField, index: number) => string | null
3152
- form_field_choice_get_n_items: (document_forms: DocumentForms, field: FormField) => number
3153
- form_field_choice_is_item_selected: (document_forms: DocumentForms, field: FormField, index: number) => boolean
3154
- form_field_choice_select_item: (document_forms: DocumentForms, field: FormField, index: number) => void
3155
- form_field_choice_toggle_item: (document_forms: DocumentForms, field: FormField, index: number) => void
3156
- form_field_choice_unselect_all: (document_forms: DocumentForms, field: FormField) => void
3157
- form_field_choice_set_text: (document_forms: DocumentForms, field: FormField, text: string) => void
3158
- form_field_choice_get_text: (document_forms: DocumentForms, field: FormField) => string | null
3159
- reset_form: (document_forms: DocumentForms, action: LinkAction) => void
3160
- }
3161
-
3162
- export abstract class DocumentFormsInterface {
3163
-
3164
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentFormsInterface
3165
-
3166
- static name: string
3167
- }
3168
-
3169
- export interface DocumentImagesInterface {
3170
-
3171
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentImagesInterface
3172
-
3173
- base_iface: GObject.TypeInterface
3174
- get_image_mapping: (document_images: DocumentImages, page: Page) => MappingList
3175
- get_image: (document_images: DocumentImages, image: Image) => GdkPixbuf.Pixbuf
3176
- }
3177
-
3178
- export abstract class DocumentImagesInterface {
3179
-
3180
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentImagesInterface
3181
-
3182
- static name: string
3183
- }
3184
-
3185
- export interface DocumentInfo {
3186
-
3187
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentInfo
3188
-
3189
- title: string | null
3190
- format: string | null
3191
- author: string | null
3192
- subject: string | null
3193
- keywords: string | null
3194
- creator: string | null
3195
- producer: string | null
3196
- linearized: string | null
3197
- security: string | null
3198
- creation_date: GLib.Time
3199
- modified_date: GLib.Time
3200
- layout: DocumentLayout
3201
- mode: DocumentMode
3202
- ui_hints: number
3203
- permissions: number
3204
- n_pages: number
3205
- paper_height: number
3206
- paper_width: number
3207
- license: DocumentLicense
3208
- contains_js: DocumentContainsJS
3209
- fields_mask: number
3210
-
3211
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentInfo
3212
-
3213
- copy(): DocumentInfo
3214
- /**
3215
- * Frees `info`.
3216
- */
3217
- free(): void
3218
- get_created_datetime(): GLib.DateTime | null
3219
- get_modified_datetime(): GLib.DateTime | null
3220
- set_from_xmp(xmp: string, size: number): boolean
3221
- take_created_datetime(datetime: GLib.DateTime): void
3222
- take_modified_datetime(datetime: GLib.DateTime): void
3223
- }
3224
-
3225
- export class DocumentInfo {
3226
-
3227
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentInfo
3228
-
3229
- static name: string
3230
-
3231
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentInfo
3232
-
3233
- constructor()
3234
- static new(): DocumentInfo
3235
- }
3236
-
3237
- export interface DocumentLayersInterface {
3238
-
3239
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentLayersInterface
3240
-
3241
- base_iface: GObject.TypeInterface
3242
- has_layers: (document_layers: DocumentLayers) => boolean
3243
- get_layers: (document_layers: DocumentLayers) => Gtk.TreeModel
3244
- show_layer: (document_layers: DocumentLayers, layer: Layer) => void
3245
- hide_layer: (document_layers: DocumentLayers, layer: Layer) => void
3246
- layer_is_visible: (document_layers: DocumentLayers, layer: Layer) => boolean
3247
- }
3248
-
3249
- export abstract class DocumentLayersInterface {
3250
-
3251
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentLayersInterface
3252
-
3253
- static name: string
3254
- }
3255
-
3256
- export interface DocumentLicense {
3257
-
3258
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentLicense
3259
-
3260
- text: string | null
3261
- uri: string | null
3262
- web_statement: string | null
3263
-
3264
- // Owm methods of EvinceDocument-3.0.EvinceDocument.DocumentLicense
3265
-
3266
- copy(): DocumentLicense
3267
- /**
3268
- * Frees `license`.
3269
- */
3270
- free(): void
3271
- get_text(): string | null
3272
- get_uri(): string | null
3273
- get_web_statement(): string | null
3274
- }
3275
-
3276
- export class DocumentLicense {
3277
-
3278
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentLicense
3279
-
3280
- static name: string
3281
-
3282
- // Constructors of EvinceDocument-3.0.EvinceDocument.DocumentLicense
3283
-
3284
- constructor()
3285
- static new(): DocumentLicense
3286
- }
3287
-
3288
- export interface DocumentLinksInterface {
3289
-
3290
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentLinksInterface
3291
-
3292
- base_iface: GObject.TypeInterface
3293
- has_document_links: (document_links: DocumentLinks) => boolean
3294
- get_links_model: (document_links: DocumentLinks) => Gtk.TreeModel
3295
- get_links: (document_links: DocumentLinks, page: Page) => MappingList
3296
- find_link_dest: (document_links: DocumentLinks, link_name: string) => LinkDest
3297
- find_link_page: (document_links: DocumentLinks, link_name: string) => number
3298
- }
3299
-
3300
- export abstract class DocumentLinksInterface {
3301
-
3302
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentLinksInterface
3303
-
3304
- static name: string
3305
- }
3306
-
3307
- export interface DocumentMediaInterface {
3308
-
3309
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentMediaInterface
3310
-
3311
- base_iface: GObject.TypeInterface
3312
- get_media_mapping: (document_media: DocumentMedia, page: Page) => MappingList
3313
- }
3314
-
3315
- export abstract class DocumentMediaInterface {
3316
-
3317
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentMediaInterface
3318
-
3319
- static name: string
3320
- }
3321
-
3322
- export interface DocumentPrintInterface {
3323
-
3324
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentPrintInterface
3325
-
3326
- base_iface: GObject.TypeInterface
3327
- print_page: (document_print: DocumentPrint, page: Page, cr: cairo.Context) => void
3328
- }
3329
-
3330
- export abstract class DocumentPrintInterface {
3331
-
3332
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentPrintInterface
3333
-
3334
- static name: string
3335
- }
3336
-
3337
- export interface DocumentPrivate {
3338
- }
3339
-
3340
- export class DocumentPrivate {
3341
-
3342
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentPrivate
3343
-
3344
- static name: string
3345
- }
3346
-
3347
- export interface DocumentSecurityInterface {
3348
-
3349
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentSecurityInterface
3350
-
3351
- base_iface: GObject.TypeInterface
3352
- has_document_security: (document_security: DocumentSecurity) => boolean
3353
- set_password: (document_security: DocumentSecurity, password: string) => void
3354
- }
3355
-
3356
- export abstract class DocumentSecurityInterface {
3357
-
3358
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentSecurityInterface
3359
-
3360
- static name: string
3361
- }
3362
-
3363
- export interface DocumentTextInterface {
3364
-
3365
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentTextInterface
3366
-
3367
- base_iface: GObject.TypeInterface
3368
- get_text_mapping: (document_text: DocumentText, page: Page) => cairo.Region
3369
- get_text: (document_text: DocumentText, page: Page) => string | null
3370
- get_text_layout: (document_text: DocumentText, page: Page, areas: Rectangle, n_areas: number) => boolean
3371
- get_text_attrs: (document_text: DocumentText, page: Page) => Pango.AttrList
3372
- }
3373
-
3374
- export abstract class DocumentTextInterface {
3375
-
3376
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentTextInterface
3377
-
3378
- static name: string
3379
- }
3380
-
3381
- export interface DocumentTransitionInterface {
3382
-
3383
- // Own fields of EvinceDocument-3.0.EvinceDocument.DocumentTransitionInterface
3384
-
3385
- base_iface: GObject.TypeInterface
3386
- get_page_duration: (document_trans: DocumentTransition, page: number) => number
3387
- get_effect: (document_trans: DocumentTransition, page: number) => TransitionEffect
3388
- }
3389
-
3390
- export abstract class DocumentTransitionInterface {
3391
-
3392
- // Own properties of EvinceDocument-3.0.EvinceDocument.DocumentTransitionInterface
3393
-
3394
- static name: string
3395
- }
3396
-
3397
- export interface FileExporterContext {
3398
-
3399
- // Own fields of EvinceDocument-3.0.EvinceDocument.FileExporterContext
3400
-
3401
- format: FileExporterFormat
3402
- filename: string
3403
- first_page: number
3404
- last_page: number
3405
- paper_width: number
3406
- paper_height: number
3407
- duplex: boolean
3408
- pages_per_sheet: number
3409
- }
3410
-
3411
- export class FileExporterContext {
3412
-
3413
- // Own properties of EvinceDocument-3.0.EvinceDocument.FileExporterContext
3414
-
3415
- static name: string
3416
- }
3417
-
3418
- export interface FileExporterInterface {
3419
-
3420
- // Own fields of EvinceDocument-3.0.EvinceDocument.FileExporterInterface
3421
-
3422
- base_iface: GObject.TypeInterface
3423
- begin: (exporter: FileExporter, fc: FileExporterContext) => void
3424
- begin_page: (exporter: FileExporter) => void
3425
- do_page: (exporter: FileExporter, rc: RenderContext) => void
3426
- end_page: (exporter: FileExporter) => void
3427
- end: (exporter: FileExporter) => void
3428
- get_capabilities: (exporter: FileExporter) => FileExporterCapabilities
3429
- }
3430
-
3431
- export abstract class FileExporterInterface {
3432
-
3433
- // Own properties of EvinceDocument-3.0.EvinceDocument.FileExporterInterface
3434
-
3435
- static name: string
3436
- }
3437
-
3438
- export interface FindRectangle {
3439
-
3440
- // Own fields of EvinceDocument-3.0.EvinceDocument.FindRectangle
3441
-
3442
- x1: number
3443
- y1: number
3444
- x2: number
3445
- y2: number
3446
- next_line: boolean
3447
- after_hyphen: boolean
3448
-
3449
- // Owm methods of EvinceDocument-3.0.EvinceDocument.FindRectangle
3450
-
3451
- copy(): FindRectangle
3452
- free(): void
3453
- }
3454
-
3455
- export class FindRectangle {
3456
-
3457
- // Own properties of EvinceDocument-3.0.EvinceDocument.FindRectangle
3458
-
3459
- static name: string
3460
-
3461
- // Constructors of EvinceDocument-3.0.EvinceDocument.FindRectangle
3462
-
3463
- constructor()
3464
- static new(): FindRectangle
3465
- }
3466
-
3467
- export interface FormFieldButtonClass {
3468
-
3469
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldButtonClass
3470
-
3471
- parent_class: FormFieldClass
3472
- }
3473
-
3474
- export abstract class FormFieldButtonClass {
3475
-
3476
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldButtonClass
3477
-
3478
- static name: string
3479
- }
3480
-
3481
- export interface FormFieldChoiceClass {
3482
-
3483
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldChoiceClass
3484
-
3485
- parent_class: FormFieldClass
3486
- }
3487
-
3488
- export abstract class FormFieldChoiceClass {
3489
-
3490
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldChoiceClass
3491
-
3492
- static name: string
3493
- }
3494
-
3495
- export interface FormFieldClass {
3496
-
3497
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldClass
3498
-
3499
- parent_class: GObject.ObjectClass
3500
- }
3501
-
3502
- export abstract class FormFieldClass {
3503
-
3504
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldClass
3505
-
3506
- static name: string
3507
- }
3508
-
3509
- export interface FormFieldSignatureClass {
3510
-
3511
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldSignatureClass
3512
-
3513
- parent_class: FormFieldClass
3514
- }
3515
-
3516
- export abstract class FormFieldSignatureClass {
3517
-
3518
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldSignatureClass
3519
-
3520
- static name: string
3521
- }
3522
-
3523
- export interface FormFieldTextClass {
3524
-
3525
- // Own fields of EvinceDocument-3.0.EvinceDocument.FormFieldTextClass
3526
-
3527
- parent_class: FormFieldClass
3528
- }
3529
-
3530
- export abstract class FormFieldTextClass {
3531
-
3532
- // Own properties of EvinceDocument-3.0.EvinceDocument.FormFieldTextClass
3533
-
3534
- static name: string
3535
- }
3536
-
3537
- export interface ImageClass {
3538
-
3539
- // Own fields of EvinceDocument-3.0.EvinceDocument.ImageClass
3540
-
3541
- base_class: GObject.ObjectClass
3542
- }
3543
-
3544
- export abstract class ImageClass {
3545
-
3546
- // Own properties of EvinceDocument-3.0.EvinceDocument.ImageClass
3547
-
3548
- static name: string
3549
- }
3550
-
3551
- export interface ImagePrivate {
3552
- }
3553
-
3554
- export class ImagePrivate {
3555
-
3556
- // Own properties of EvinceDocument-3.0.EvinceDocument.ImagePrivate
3557
-
3558
- static name: string
3559
- }
3560
-
3561
- export interface LayerClass {
3562
-
3563
- // Own fields of EvinceDocument-3.0.EvinceDocument.LayerClass
3564
-
3565
- base_class: GObject.ObjectClass
3566
- }
3567
-
3568
- export abstract class LayerClass {
3569
-
3570
- // Own properties of EvinceDocument-3.0.EvinceDocument.LayerClass
3571
-
3572
- static name: string
3573
- }
3574
-
3575
- export interface LayerPrivate {
3576
- }
3577
-
3578
- export class LayerPrivate {
3579
-
3580
- // Own properties of EvinceDocument-3.0.EvinceDocument.LayerPrivate
3581
-
3582
- static name: string
3583
- }
3584
-
3585
- export interface LinkActionClass {
3586
- }
3587
-
3588
- export abstract class LinkActionClass {
3589
-
3590
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkActionClass
3591
-
3592
- static name: string
3593
- }
3594
-
3595
- export interface LinkActionPrivate {
3596
- }
3597
-
3598
- export class LinkActionPrivate {
3599
-
3600
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkActionPrivate
3601
-
3602
- static name: string
3603
- }
3604
-
3605
- export interface LinkClass {
3606
- }
3607
-
3608
- export abstract class LinkClass {
3609
-
3610
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkClass
3611
-
3612
- static name: string
3613
- }
3614
-
3615
- export interface LinkDestClass {
3616
- }
3617
-
3618
- export abstract class LinkDestClass {
3619
-
3620
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkDestClass
3621
-
3622
- static name: string
3623
- }
3624
-
3625
- export interface LinkDestPrivate {
3626
- }
3627
-
3628
- export class LinkDestPrivate {
3629
-
3630
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkDestPrivate
3631
-
3632
- static name: string
3633
- }
3634
-
3635
- export interface LinkPrivate {
3636
- }
3637
-
3638
- export class LinkPrivate {
3639
-
3640
- // Own properties of EvinceDocument-3.0.EvinceDocument.LinkPrivate
3641
-
3642
- static name: string
3643
- }
3644
-
3645
- export interface Mapping {
3646
-
3647
- // Own fields of EvinceDocument-3.0.EvinceDocument.Mapping
3648
-
3649
- area: Rectangle
3650
- data: any
3651
- }
3652
-
3653
- export class Mapping {
3654
-
3655
- // Own properties of EvinceDocument-3.0.EvinceDocument.Mapping
3656
-
3657
- static name: string
3658
- }
3659
-
3660
- export interface MappingList {
3661
-
3662
- // Owm methods of EvinceDocument-3.0.EvinceDocument.MappingList
3663
-
3664
- find(data: any | null): Mapping
3665
- find_custom(data: any | null, func: GLib.CompareFunc): Mapping
3666
- get(x: number, y: number): Mapping
3667
- get_data(x: number, y: number): any | null
3668
- get_list(): Mapping[]
3669
- get_page(): number
3670
- length(): number
3671
- nth(n: number): Mapping
3672
- ref(): MappingList
3673
- remove(mapping: Mapping): void
3674
- unref(): void
3675
- }
3676
-
3677
- export class MappingList {
3678
-
3679
- // Own properties of EvinceDocument-3.0.EvinceDocument.MappingList
3680
-
3681
- static name: string
3682
-
3683
- // Constructors of EvinceDocument-3.0.EvinceDocument.MappingList
3684
-
3685
- constructor(page: number, list: Mapping[], data_destroy_func: GLib.DestroyNotify)
3686
- static new(page: number, list: Mapping[], data_destroy_func: GLib.DestroyNotify): MappingList
3687
- }
3688
-
3689
- export interface MediaClass {
3690
-
3691
- // Own fields of EvinceDocument-3.0.EvinceDocument.MediaClass
3692
-
3693
- base_class: GObject.ObjectClass
3694
- }
3695
-
3696
- export abstract class MediaClass {
3697
-
3698
- // Own properties of EvinceDocument-3.0.EvinceDocument.MediaClass
3699
-
3700
- static name: string
3701
- }
3702
-
3703
- export interface MediaPrivate {
3704
- }
3705
-
3706
- export class MediaPrivate {
3707
-
3708
- // Own properties of EvinceDocument-3.0.EvinceDocument.MediaPrivate
3709
-
3710
- static name: string
3711
- }
3712
-
3713
- export interface PageClass {
3714
-
3715
- // Own fields of EvinceDocument-3.0.EvinceDocument.PageClass
3716
-
3717
- base_class: GObject.ObjectClass
3718
- }
3719
-
3720
- export abstract class PageClass {
3721
-
3722
- // Own properties of EvinceDocument-3.0.EvinceDocument.PageClass
3723
-
3724
- static name: string
3725
- }
3726
-
3727
- export interface Point {
3728
-
3729
- // Own fields of EvinceDocument-3.0.EvinceDocument.Point
3730
-
3731
- x: number
3732
- y: number
3733
- }
3734
-
3735
- export class Point {
3736
-
3737
- // Own properties of EvinceDocument-3.0.EvinceDocument.Point
3738
-
3739
- static name: string
3740
- }
3741
-
3742
- export interface Rectangle {
3743
-
3744
- // Own fields of EvinceDocument-3.0.EvinceDocument.Rectangle
3745
-
3746
- x1: number
3747
- y1: number
3748
- x2: number
3749
- y2: number
3750
-
3751
- // Owm methods of EvinceDocument-3.0.EvinceDocument.Rectangle
3752
-
3753
- copy(): Rectangle
3754
- free(): void
3755
- }
3756
-
3757
- export class Rectangle {
3758
-
3759
- // Own properties of EvinceDocument-3.0.EvinceDocument.Rectangle
3760
-
3761
- static name: string
3762
-
3763
- // Constructors of EvinceDocument-3.0.EvinceDocument.Rectangle
3764
-
3765
- constructor()
3766
- static new(): Rectangle
3767
- }
3768
-
3769
- export interface RenderContextClass {
3770
-
3771
- // Own fields of EvinceDocument-3.0.EvinceDocument.RenderContextClass
3772
-
3773
- klass: GObject.ObjectClass
3774
- }
3775
-
3776
- export abstract class RenderContextClass {
3777
-
3778
- // Own properties of EvinceDocument-3.0.EvinceDocument.RenderContextClass
3779
-
3780
- static name: string
3781
- }
3782
-
3783
- export interface SelectionInterface {
3784
-
3785
- // Own fields of EvinceDocument-3.0.EvinceDocument.SelectionInterface
3786
-
3787
- base_iface: GObject.TypeInterface
3788
- render_selection: (selection: Selection, rc: RenderContext, surface: cairo.Surface, points: Rectangle, old_points: Rectangle, style: SelectionStyle, text: Gdk.Color, base: Gdk.Color) => void
3789
- get_selected_text: (selection: Selection, page: Page, style: SelectionStyle, points: Rectangle) => string | null
3790
- get_selection_region: (selection: Selection, rc: RenderContext, style: SelectionStyle, points: Rectangle) => cairo.Region
3791
- }
3792
-
3793
- export abstract class SelectionInterface {
3794
-
3795
- // Own properties of EvinceDocument-3.0.EvinceDocument.SelectionInterface
3796
-
3797
- static name: string
3798
- }
3799
-
3800
- export interface SourceLink {
3801
-
3802
- // Own fields of EvinceDocument-3.0.EvinceDocument.SourceLink
3803
-
3804
- filename: string | null
3805
- line: number
3806
- col: number
3807
-
3808
- // Owm methods of EvinceDocument-3.0.EvinceDocument.SourceLink
3809
-
3810
- copy(): SourceLink
3811
- free(): void
3812
- }
3813
-
3814
- export class SourceLink {
3815
-
3816
- // Own properties of EvinceDocument-3.0.EvinceDocument.SourceLink
3817
-
3818
- static name: string
3819
-
3820
- // Constructors of EvinceDocument-3.0.EvinceDocument.SourceLink
3821
-
3822
- constructor(filename: string, line: number, col: number)
3823
- static new(filename: string, line: number, col: number): SourceLink
3824
- }
3825
-
3826
- export interface TransitionEffectClass {
3827
-
3828
- // Own fields of EvinceDocument-3.0.EvinceDocument.TransitionEffectClass
3829
-
3830
- parent_class: GObject.ObjectClass
3831
- }
3832
-
3833
- export abstract class TransitionEffectClass {
3834
-
3835
- // Own properties of EvinceDocument-3.0.EvinceDocument.TransitionEffectClass
3836
-
3837
- static name: string
3838
- }
3839
-
3840
- export interface TypeInfo {
3841
-
3842
- // Own fields of EvinceDocument-3.0.EvinceDocument.TypeInfo
3843
-
3844
- desc: string
3845
- mime_types: string
3846
- }
3847
-
3848
- export class TypeInfo {
3849
-
3850
- // Own properties of EvinceDocument-3.0.EvinceDocument.TypeInfo
3851
-
3852
- static name: string
3853
- }
3854
-
3855
- export type BackendPage = any
3856
- export type BackendPageDestroyFunc = GLib.DestroyNotify
3857
- /**
3858
- * Name of the imported GIR library
3859
- * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
3860
- */
3861
- export const __name__: string
3862
- /**
3863
- * Version of the imported GIR library
3864
- * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
3865
- */
3866
- export const __version__: string
3867
- // END