@girs/xreaderdocument-1.5 4.2.1-4.0.0-beta.11 → 4.2.1-4.0.0-beta.13
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.
- package/README.md +1 -1
- package/package.json +15 -15
- package/xreaderdocument-1.5.d.ts +120 -120
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for XreaderDocument-1.5, generated from library version 4.2.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for XreaderDocument-1.5, generated from library version 4.2.1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.13.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/xreaderdocument-1.5",
|
|
3
|
-
"version": "4.2.1-4.0.0-beta.
|
|
3
|
+
"version": "4.2.1-4.0.0-beta.13",
|
|
4
4
|
"description": "GJS TypeScript type definitions for XreaderDocument-1.5, generated from library version 4.2.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "xreaderdocument-1.5.js",
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
"test": "tsc --project tsconfig.json"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@girs/atk-1.0": "^2.52.0-4.0.0-beta.
|
|
35
|
-
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.
|
|
36
|
-
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.
|
|
37
|
-
"@girs/gdk-3.0": "^3.24.43-4.0.0-beta.
|
|
38
|
-
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.
|
|
39
|
-
"@girs/gio-2.0": "^2.80.3-4.0.0-beta.
|
|
40
|
-
"@girs/gjs": "^4.0.0-beta.
|
|
41
|
-
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.
|
|
42
|
-
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.
|
|
43
|
-
"@girs/gobject-2.0": "^2.80.3-4.0.0-beta.
|
|
44
|
-
"@girs/gtk-3.0": "^3.24.43-4.0.0-beta.
|
|
45
|
-
"@girs/harfbuzz-0.0": "^8.
|
|
46
|
-
"@girs/pango-1.0": "^1.54.0-4.0.0-beta.
|
|
47
|
-
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.
|
|
34
|
+
"@girs/atk-1.0": "^2.52.0-4.0.0-beta.13",
|
|
35
|
+
"@girs/cairo-1.0": "^1.0.0-4.0.0-beta.13",
|
|
36
|
+
"@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.13",
|
|
37
|
+
"@girs/gdk-3.0": "^3.24.43-4.0.0-beta.13",
|
|
38
|
+
"@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.13",
|
|
39
|
+
"@girs/gio-2.0": "^2.80.3-4.0.0-beta.13",
|
|
40
|
+
"@girs/gjs": "^4.0.0-beta.13",
|
|
41
|
+
"@girs/glib-2.0": "^2.80.3-4.0.0-beta.13",
|
|
42
|
+
"@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.13",
|
|
43
|
+
"@girs/gobject-2.0": "^2.80.3-4.0.0-beta.13",
|
|
44
|
+
"@girs/gtk-3.0": "^3.24.43-4.0.0-beta.13",
|
|
45
|
+
"@girs/harfbuzz-0.0": "^8.5.0-4.0.0-beta.13",
|
|
46
|
+
"@girs/pango-1.0": "^1.54.0-4.0.0-beta.13",
|
|
47
|
+
"@girs/xlib-2.0": "^2.0.0-4.0.0-beta.13"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"typescript": "*"
|
package/xreaderdocument-1.5.d.ts
CHANGED
|
@@ -79,18 +79,18 @@ export namespace XreaderDocument {
|
|
|
79
79
|
class DocumentError extends GLib.Error {
|
|
80
80
|
static $gtype: GObject.GType<DocumentError>;
|
|
81
81
|
|
|
82
|
-
// Static fields
|
|
82
|
+
// Static fields
|
|
83
83
|
|
|
84
84
|
static INVALID: number;
|
|
85
85
|
static UNSUPPORTED_CONTENT: number;
|
|
86
86
|
static ENCRYPTED: number;
|
|
87
87
|
|
|
88
|
-
// Constructors
|
|
88
|
+
// Constructors
|
|
89
89
|
|
|
90
90
|
constructor(options: { message: string; code: number });
|
|
91
91
|
_init(...args: any[]): void;
|
|
92
92
|
|
|
93
|
-
//
|
|
93
|
+
// Static methods
|
|
94
94
|
|
|
95
95
|
static quark(): GLib.Quark;
|
|
96
96
|
}
|
|
@@ -435,7 +435,7 @@ export namespace XreaderDocument {
|
|
|
435
435
|
abstract class Annotation extends GObject.Object {
|
|
436
436
|
static $gtype: GObject.GType<Annotation>;
|
|
437
437
|
|
|
438
|
-
//
|
|
438
|
+
// Properties
|
|
439
439
|
|
|
440
440
|
/**
|
|
441
441
|
* The area of the page where the annotation is placed.
|
|
@@ -462,13 +462,13 @@ export namespace XreaderDocument {
|
|
|
462
462
|
get rgba(): Gdk.RGBA;
|
|
463
463
|
set rgba(val: Gdk.RGBA);
|
|
464
464
|
|
|
465
|
-
// Constructors
|
|
465
|
+
// Constructors
|
|
466
466
|
|
|
467
467
|
constructor(properties?: Partial<Annotation.ConstructorProps>, ...args: any[]);
|
|
468
468
|
|
|
469
469
|
_init(...args: any[]): void;
|
|
470
470
|
|
|
471
|
-
//
|
|
471
|
+
// Methods
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
474
|
* Compare `annot` and `other`.
|
|
@@ -584,12 +584,12 @@ export namespace XreaderDocument {
|
|
|
584
584
|
class AnnotationAttachment extends Annotation implements AnnotationMarkup {
|
|
585
585
|
static $gtype: GObject.GType<AnnotationAttachment>;
|
|
586
586
|
|
|
587
|
-
//
|
|
587
|
+
// Properties
|
|
588
588
|
|
|
589
589
|
get attachment(): Attachment;
|
|
590
590
|
set attachment(val: Attachment);
|
|
591
591
|
|
|
592
|
-
// Constructors
|
|
592
|
+
// Constructors
|
|
593
593
|
|
|
594
594
|
constructor(properties?: Partial<AnnotationAttachment.ConstructorProps>, ...args: any[]);
|
|
595
595
|
|
|
@@ -597,7 +597,7 @@ export namespace XreaderDocument {
|
|
|
597
597
|
|
|
598
598
|
static ['new'](page: Page, attachment: Attachment): AnnotationAttachment;
|
|
599
599
|
|
|
600
|
-
//
|
|
600
|
+
// Methods
|
|
601
601
|
|
|
602
602
|
get_attachment(): Attachment;
|
|
603
603
|
set_attachment(attachment: Attachment): boolean;
|
|
@@ -772,7 +772,7 @@ export namespace XreaderDocument {
|
|
|
772
772
|
class AnnotationText extends Annotation implements AnnotationMarkup {
|
|
773
773
|
static $gtype: GObject.GType<AnnotationText>;
|
|
774
774
|
|
|
775
|
-
//
|
|
775
|
+
// Properties
|
|
776
776
|
|
|
777
777
|
get icon(): AnnotationTextIcon;
|
|
778
778
|
set icon(val: AnnotationTextIcon);
|
|
@@ -781,7 +781,7 @@ export namespace XreaderDocument {
|
|
|
781
781
|
get isOpen(): boolean;
|
|
782
782
|
set isOpen(val: boolean);
|
|
783
783
|
|
|
784
|
-
// Constructors
|
|
784
|
+
// Constructors
|
|
785
785
|
|
|
786
786
|
constructor(properties?: Partial<AnnotationText.ConstructorProps>, ...args: any[]);
|
|
787
787
|
|
|
@@ -789,7 +789,7 @@ export namespace XreaderDocument {
|
|
|
789
789
|
|
|
790
790
|
static ['new'](page: Page): AnnotationText;
|
|
791
791
|
|
|
792
|
-
//
|
|
792
|
+
// Methods
|
|
793
793
|
|
|
794
794
|
get_icon(): AnnotationTextIcon;
|
|
795
795
|
get_is_open(): boolean;
|
|
@@ -964,12 +964,12 @@ export namespace XreaderDocument {
|
|
|
964
964
|
class AnnotationTextMarkup extends Annotation implements AnnotationMarkup {
|
|
965
965
|
static $gtype: GObject.GType<AnnotationTextMarkup>;
|
|
966
966
|
|
|
967
|
-
//
|
|
967
|
+
// Properties
|
|
968
968
|
|
|
969
969
|
get type(): AnnotationTextMarkupType;
|
|
970
970
|
set type(val: AnnotationTextMarkupType);
|
|
971
971
|
|
|
972
|
-
// Constructors
|
|
972
|
+
// Constructors
|
|
973
973
|
|
|
974
974
|
constructor(properties?: Partial<AnnotationTextMarkup.ConstructorProps>, ...args: any[]);
|
|
975
975
|
|
|
@@ -983,7 +983,7 @@ export namespace XreaderDocument {
|
|
|
983
983
|
|
|
984
984
|
static underline_new(page: Page): AnnotationTextMarkup;
|
|
985
985
|
|
|
986
|
-
//
|
|
986
|
+
// Methods
|
|
987
987
|
|
|
988
988
|
get_markup_type(): AnnotationTextMarkupType;
|
|
989
989
|
set_markup_type(markup_type: AnnotationTextMarkupType): boolean;
|
|
@@ -1161,7 +1161,7 @@ export namespace XreaderDocument {
|
|
|
1161
1161
|
class Attachment extends GObject.Object {
|
|
1162
1162
|
static $gtype: GObject.GType<Attachment>;
|
|
1163
1163
|
|
|
1164
|
-
//
|
|
1164
|
+
// Properties
|
|
1165
1165
|
|
|
1166
1166
|
set ctime(val: GObject.GType);
|
|
1167
1167
|
set data(val: any);
|
|
@@ -1170,11 +1170,11 @@ export namespace XreaderDocument {
|
|
|
1170
1170
|
set name(val: string);
|
|
1171
1171
|
set size(val: number);
|
|
1172
1172
|
|
|
1173
|
-
//
|
|
1173
|
+
// Fields
|
|
1174
1174
|
|
|
1175
1175
|
base_instance: GObject.Object;
|
|
1176
1176
|
|
|
1177
|
-
// Constructors
|
|
1177
|
+
// Constructors
|
|
1178
1178
|
|
|
1179
1179
|
constructor(properties?: Partial<Attachment.ConstructorProps>, ...args: any[]);
|
|
1180
1180
|
|
|
@@ -1189,11 +1189,11 @@ export namespace XreaderDocument {
|
|
|
1189
1189
|
data?: any | null,
|
|
1190
1190
|
): Attachment;
|
|
1191
1191
|
|
|
1192
|
-
//
|
|
1192
|
+
// Static methods
|
|
1193
1193
|
|
|
1194
1194
|
static error_quark(): GLib.Quark;
|
|
1195
1195
|
|
|
1196
|
-
//
|
|
1196
|
+
// Methods
|
|
1197
1197
|
|
|
1198
1198
|
get_creation_date(): GLib.DateTime;
|
|
1199
1199
|
get_description(): string;
|
|
@@ -1213,18 +1213,18 @@ export namespace XreaderDocument {
|
|
|
1213
1213
|
abstract class Document extends GObject.Object {
|
|
1214
1214
|
static $gtype: GObject.GType<Document>;
|
|
1215
1215
|
|
|
1216
|
-
//
|
|
1216
|
+
// Fields
|
|
1217
1217
|
|
|
1218
1218
|
base: GObject.Object;
|
|
1219
1219
|
iswebdocument: boolean;
|
|
1220
1220
|
|
|
1221
|
-
// Constructors
|
|
1221
|
+
// Constructors
|
|
1222
1222
|
|
|
1223
1223
|
constructor(properties?: Partial<Document.ConstructorProps>, ...args: any[]);
|
|
1224
1224
|
|
|
1225
1225
|
_init(...args: any[]): void;
|
|
1226
1226
|
|
|
1227
|
-
//
|
|
1227
|
+
// Static methods
|
|
1228
1228
|
|
|
1229
1229
|
static doc_mutex_lock(): void;
|
|
1230
1230
|
static doc_mutex_trylock(): boolean;
|
|
@@ -1276,7 +1276,7 @@ export namespace XreaderDocument {
|
|
|
1276
1276
|
dest_rotation: number,
|
|
1277
1277
|
): cairo.Surface;
|
|
1278
1278
|
|
|
1279
|
-
//
|
|
1279
|
+
// Virtual methods
|
|
1280
1280
|
|
|
1281
1281
|
vfunc_check_add_night_sheet(): void;
|
|
1282
1282
|
vfunc_get_backend_info(info: DocumentBackendInfo): boolean;
|
|
@@ -1305,7 +1305,7 @@ export namespace XreaderDocument {
|
|
|
1305
1305
|
vfunc_support_synctex(): boolean;
|
|
1306
1306
|
vfunc_toggle_night_mode(night: boolean): void;
|
|
1307
1307
|
|
|
1308
|
-
//
|
|
1308
|
+
// Methods
|
|
1309
1309
|
|
|
1310
1310
|
check_add_night_sheet(): void;
|
|
1311
1311
|
check_dimensions(): boolean;
|
|
@@ -1367,7 +1367,7 @@ export namespace XreaderDocument {
|
|
|
1367
1367
|
abstract class FormField extends GObject.Object {
|
|
1368
1368
|
static $gtype: GObject.GType<FormField>;
|
|
1369
1369
|
|
|
1370
|
-
//
|
|
1370
|
+
// Fields
|
|
1371
1371
|
|
|
1372
1372
|
id: number;
|
|
1373
1373
|
is_read_only: boolean;
|
|
@@ -1375,7 +1375,7 @@ export namespace XreaderDocument {
|
|
|
1375
1375
|
page: Page;
|
|
1376
1376
|
changed: boolean;
|
|
1377
1377
|
|
|
1378
|
-
// Constructors
|
|
1378
|
+
// Constructors
|
|
1379
1379
|
|
|
1380
1380
|
constructor(properties?: Partial<FormField.ConstructorProps>, ...args: any[]);
|
|
1381
1381
|
|
|
@@ -1391,13 +1391,13 @@ export namespace XreaderDocument {
|
|
|
1391
1391
|
class FormFieldButton extends FormField {
|
|
1392
1392
|
static $gtype: GObject.GType<FormFieldButton>;
|
|
1393
1393
|
|
|
1394
|
-
//
|
|
1394
|
+
// Fields
|
|
1395
1395
|
|
|
1396
1396
|
partent: FormField;
|
|
1397
1397
|
type: FormFieldButtonType;
|
|
1398
1398
|
state: boolean;
|
|
1399
1399
|
|
|
1400
|
-
// Constructors
|
|
1400
|
+
// Constructors
|
|
1401
1401
|
|
|
1402
1402
|
constructor(properties?: Partial<FormFieldButton.ConstructorProps>, ...args: any[]);
|
|
1403
1403
|
|
|
@@ -1415,7 +1415,7 @@ export namespace XreaderDocument {
|
|
|
1415
1415
|
class FormFieldChoice extends FormField {
|
|
1416
1416
|
static $gtype: GObject.GType<FormFieldChoice>;
|
|
1417
1417
|
|
|
1418
|
-
//
|
|
1418
|
+
// Fields
|
|
1419
1419
|
|
|
1420
1420
|
partent: FormField;
|
|
1421
1421
|
type: FormFieldChoiceType;
|
|
@@ -1426,7 +1426,7 @@ export namespace XreaderDocument {
|
|
|
1426
1426
|
selected_items: any[];
|
|
1427
1427
|
text: string;
|
|
1428
1428
|
|
|
1429
|
-
// Constructors
|
|
1429
|
+
// Constructors
|
|
1430
1430
|
|
|
1431
1431
|
constructor(properties?: Partial<FormFieldChoice.ConstructorProps>, ...args: any[]);
|
|
1432
1432
|
|
|
@@ -1444,11 +1444,11 @@ export namespace XreaderDocument {
|
|
|
1444
1444
|
class FormFieldSignature extends FormField {
|
|
1445
1445
|
static $gtype: GObject.GType<FormFieldSignature>;
|
|
1446
1446
|
|
|
1447
|
-
//
|
|
1447
|
+
// Fields
|
|
1448
1448
|
|
|
1449
1449
|
partent: FormField;
|
|
1450
1450
|
|
|
1451
|
-
// Constructors
|
|
1451
|
+
// Constructors
|
|
1452
1452
|
|
|
1453
1453
|
constructor(properties?: Partial<FormFieldSignature.ConstructorProps>, ...args: any[]);
|
|
1454
1454
|
|
|
@@ -1466,7 +1466,7 @@ export namespace XreaderDocument {
|
|
|
1466
1466
|
class FormFieldText extends FormField {
|
|
1467
1467
|
static $gtype: GObject.GType<FormFieldText>;
|
|
1468
1468
|
|
|
1469
|
-
//
|
|
1469
|
+
// Fields
|
|
1470
1470
|
|
|
1471
1471
|
partent: FormField;
|
|
1472
1472
|
type: FormFieldTextType;
|
|
@@ -1478,7 +1478,7 @@ export namespace XreaderDocument {
|
|
|
1478
1478
|
max_len: number;
|
|
1479
1479
|
text: string;
|
|
1480
1480
|
|
|
1481
|
-
// Constructors
|
|
1481
|
+
// Constructors
|
|
1482
1482
|
|
|
1483
1483
|
constructor(properties?: Partial<FormFieldText.ConstructorProps>, ...args: any[]);
|
|
1484
1484
|
|
|
@@ -1496,11 +1496,11 @@ export namespace XreaderDocument {
|
|
|
1496
1496
|
class Image extends GObject.Object {
|
|
1497
1497
|
static $gtype: GObject.GType<Image>;
|
|
1498
1498
|
|
|
1499
|
-
//
|
|
1499
|
+
// Fields
|
|
1500
1500
|
|
|
1501
1501
|
base_instance: GObject.Object;
|
|
1502
1502
|
|
|
1503
|
-
// Constructors
|
|
1503
|
+
// Constructors
|
|
1504
1504
|
|
|
1505
1505
|
constructor(properties?: Partial<Image.ConstructorProps>, ...args: any[]);
|
|
1506
1506
|
|
|
@@ -1510,7 +1510,7 @@ export namespace XreaderDocument {
|
|
|
1510
1510
|
|
|
1511
1511
|
static new_from_pixbuf(pixbuf: GdkPixbuf.Pixbuf): Image;
|
|
1512
1512
|
|
|
1513
|
-
//
|
|
1513
|
+
// Methods
|
|
1514
1514
|
|
|
1515
1515
|
get_id(): number;
|
|
1516
1516
|
get_page(): number;
|
|
@@ -1527,11 +1527,11 @@ export namespace XreaderDocument {
|
|
|
1527
1527
|
class Layer extends GObject.Object {
|
|
1528
1528
|
static $gtype: GObject.GType<Layer>;
|
|
1529
1529
|
|
|
1530
|
-
//
|
|
1530
|
+
// Fields
|
|
1531
1531
|
|
|
1532
1532
|
base_instance: GObject.Object;
|
|
1533
1533
|
|
|
1534
|
-
// Constructors
|
|
1534
|
+
// Constructors
|
|
1535
1535
|
|
|
1536
1536
|
constructor(properties?: Partial<Layer.ConstructorProps>, ...args: any[]);
|
|
1537
1537
|
|
|
@@ -1539,7 +1539,7 @@ export namespace XreaderDocument {
|
|
|
1539
1539
|
|
|
1540
1540
|
static ['new'](is_parent: boolean, rb_group: number): Layer;
|
|
1541
1541
|
|
|
1542
|
-
//
|
|
1542
|
+
// Methods
|
|
1543
1543
|
|
|
1544
1544
|
get_rb_group(): number;
|
|
1545
1545
|
is_parent(): boolean;
|
|
@@ -1557,12 +1557,12 @@ export namespace XreaderDocument {
|
|
|
1557
1557
|
class Link extends GObject.Object {
|
|
1558
1558
|
static $gtype: GObject.GType<Link>;
|
|
1559
1559
|
|
|
1560
|
-
//
|
|
1560
|
+
// Properties
|
|
1561
1561
|
|
|
1562
1562
|
get action(): LinkAction;
|
|
1563
1563
|
get title(): string;
|
|
1564
1564
|
|
|
1565
|
-
// Constructors
|
|
1565
|
+
// Constructors
|
|
1566
1566
|
|
|
1567
1567
|
constructor(properties?: Partial<Link.ConstructorProps>, ...args: any[]);
|
|
1568
1568
|
|
|
@@ -1570,7 +1570,7 @@ export namespace XreaderDocument {
|
|
|
1570
1570
|
|
|
1571
1571
|
static ['new'](title: string, action: LinkAction): Link;
|
|
1572
1572
|
|
|
1573
|
-
//
|
|
1573
|
+
// Methods
|
|
1574
1574
|
|
|
1575
1575
|
get_title(): string;
|
|
1576
1576
|
}
|
|
@@ -1597,7 +1597,7 @@ export namespace XreaderDocument {
|
|
|
1597
1597
|
class LinkAction extends GObject.Object {
|
|
1598
1598
|
static $gtype: GObject.GType<LinkAction>;
|
|
1599
1599
|
|
|
1600
|
-
//
|
|
1600
|
+
// Properties
|
|
1601
1601
|
|
|
1602
1602
|
get dest(): LinkDest;
|
|
1603
1603
|
get filename(): string;
|
|
@@ -1612,7 +1612,7 @@ export namespace XreaderDocument {
|
|
|
1612
1612
|
get type(): LinkActionType;
|
|
1613
1613
|
get uri(): string;
|
|
1614
1614
|
|
|
1615
|
-
// Constructors
|
|
1615
|
+
// Constructors
|
|
1616
1616
|
|
|
1617
1617
|
constructor(properties?: Partial<LinkAction.ConstructorProps>, ...args: any[]);
|
|
1618
1618
|
|
|
@@ -1628,7 +1628,7 @@ export namespace XreaderDocument {
|
|
|
1628
1628
|
|
|
1629
1629
|
static new_remote(dest: LinkDest, filename: string): LinkAction;
|
|
1630
1630
|
|
|
1631
|
-
//
|
|
1631
|
+
// Methods
|
|
1632
1632
|
|
|
1633
1633
|
equal(b: LinkAction): boolean;
|
|
1634
1634
|
get_action_type(): LinkActionType;
|
|
@@ -1659,7 +1659,7 @@ export namespace XreaderDocument {
|
|
|
1659
1659
|
class LinkDest extends GObject.Object {
|
|
1660
1660
|
static $gtype: GObject.GType<LinkDest>;
|
|
1661
1661
|
|
|
1662
|
-
//
|
|
1662
|
+
// Properties
|
|
1663
1663
|
|
|
1664
1664
|
get bottom(): number;
|
|
1665
1665
|
get change(): number;
|
|
@@ -1673,7 +1673,7 @@ export namespace XreaderDocument {
|
|
|
1673
1673
|
get type(): LinkDestType;
|
|
1674
1674
|
get zoom(): number;
|
|
1675
1675
|
|
|
1676
|
-
// Constructors
|
|
1676
|
+
// Constructors
|
|
1677
1677
|
|
|
1678
1678
|
constructor(properties?: Partial<LinkDest.ConstructorProps>, ...args: any[]);
|
|
1679
1679
|
|
|
@@ -1705,7 +1705,7 @@ export namespace XreaderDocument {
|
|
|
1705
1705
|
change_zoom: boolean,
|
|
1706
1706
|
): LinkDest;
|
|
1707
1707
|
|
|
1708
|
-
//
|
|
1708
|
+
// Methods
|
|
1709
1709
|
|
|
1710
1710
|
equal(b: LinkDest): boolean;
|
|
1711
1711
|
get_bottom(): number;
|
|
@@ -1728,14 +1728,14 @@ export namespace XreaderDocument {
|
|
|
1728
1728
|
class Page extends GObject.Object {
|
|
1729
1729
|
static $gtype: GObject.GType<Page>;
|
|
1730
1730
|
|
|
1731
|
-
//
|
|
1731
|
+
// Fields
|
|
1732
1732
|
|
|
1733
1733
|
base_instance: GObject.Object;
|
|
1734
1734
|
index: number;
|
|
1735
1735
|
backend_page: BackendPage;
|
|
1736
1736
|
backend_destroy_func: BackendPageDestroyFunc;
|
|
1737
1737
|
|
|
1738
|
-
// Constructors
|
|
1738
|
+
// Constructors
|
|
1739
1739
|
|
|
1740
1740
|
constructor(properties?: Partial<Page.ConstructorProps>, ...args: any[]);
|
|
1741
1741
|
|
|
@@ -1753,13 +1753,13 @@ export namespace XreaderDocument {
|
|
|
1753
1753
|
class RenderContext extends GObject.Object {
|
|
1754
1754
|
static $gtype: GObject.GType<RenderContext>;
|
|
1755
1755
|
|
|
1756
|
-
//
|
|
1756
|
+
// Fields
|
|
1757
1757
|
|
|
1758
1758
|
page: Page;
|
|
1759
1759
|
rotation: number;
|
|
1760
1760
|
scale: number;
|
|
1761
1761
|
|
|
1762
|
-
// Constructors
|
|
1762
|
+
// Constructors
|
|
1763
1763
|
|
|
1764
1764
|
constructor(properties?: Partial<RenderContext.ConstructorProps>, ...args: any[]);
|
|
1765
1765
|
|
|
@@ -1767,7 +1767,7 @@ export namespace XreaderDocument {
|
|
|
1767
1767
|
|
|
1768
1768
|
static ['new'](page: Page, rotation: number, scale: number): RenderContext;
|
|
1769
1769
|
|
|
1770
|
-
//
|
|
1770
|
+
// Methods
|
|
1771
1771
|
|
|
1772
1772
|
set_page(page: Page): void;
|
|
1773
1773
|
set_rotation(rotation: number): void;
|
|
@@ -1791,7 +1791,7 @@ export namespace XreaderDocument {
|
|
|
1791
1791
|
class TransitionEffect extends GObject.Object {
|
|
1792
1792
|
static $gtype: GObject.GType<TransitionEffect>;
|
|
1793
1793
|
|
|
1794
|
-
//
|
|
1794
|
+
// Properties
|
|
1795
1795
|
|
|
1796
1796
|
get alignment(): TransitionEffectAlignment;
|
|
1797
1797
|
set alignment(val: TransitionEffectAlignment);
|
|
@@ -1808,7 +1808,7 @@ export namespace XreaderDocument {
|
|
|
1808
1808
|
get type(): TransitionEffectType;
|
|
1809
1809
|
set type(val: TransitionEffectType);
|
|
1810
1810
|
|
|
1811
|
-
// Constructors
|
|
1811
|
+
// Constructors
|
|
1812
1812
|
|
|
1813
1813
|
constructor(properties?: Partial<TransitionEffect.ConstructorProps>, ...args: any[]);
|
|
1814
1814
|
|
|
@@ -1825,7 +1825,7 @@ export namespace XreaderDocument {
|
|
|
1825
1825
|
abstract class AttachmentPrivate {
|
|
1826
1826
|
static $gtype: GObject.GType<AttachmentPrivate>;
|
|
1827
1827
|
|
|
1828
|
-
// Constructors
|
|
1828
|
+
// Constructors
|
|
1829
1829
|
|
|
1830
1830
|
_init(...args: any[]): void;
|
|
1831
1831
|
}
|
|
@@ -1835,12 +1835,12 @@ export namespace XreaderDocument {
|
|
|
1835
1835
|
class DocumentBackendInfo {
|
|
1836
1836
|
static $gtype: GObject.GType<DocumentBackendInfo>;
|
|
1837
1837
|
|
|
1838
|
-
//
|
|
1838
|
+
// Fields
|
|
1839
1839
|
|
|
1840
1840
|
name: string;
|
|
1841
1841
|
version: string;
|
|
1842
1842
|
|
|
1843
|
-
// Constructors
|
|
1843
|
+
// Constructors
|
|
1844
1844
|
|
|
1845
1845
|
constructor(
|
|
1846
1846
|
properties?: Partial<{
|
|
@@ -1859,7 +1859,7 @@ export namespace XreaderDocument {
|
|
|
1859
1859
|
class DocumentInfo {
|
|
1860
1860
|
static $gtype: GObject.GType<DocumentInfo>;
|
|
1861
1861
|
|
|
1862
|
-
//
|
|
1862
|
+
// Fields
|
|
1863
1863
|
|
|
1864
1864
|
title: string;
|
|
1865
1865
|
format: string;
|
|
@@ -1880,11 +1880,11 @@ export namespace XreaderDocument {
|
|
|
1880
1880
|
license: DocumentLicense;
|
|
1881
1881
|
fields_mask: number;
|
|
1882
1882
|
|
|
1883
|
-
// Constructors
|
|
1883
|
+
// Constructors
|
|
1884
1884
|
|
|
1885
1885
|
_init(...args: any[]): void;
|
|
1886
1886
|
|
|
1887
|
-
//
|
|
1887
|
+
// Methods
|
|
1888
1888
|
|
|
1889
1889
|
copy(): DocumentInfo;
|
|
1890
1890
|
free(): void;
|
|
@@ -1894,13 +1894,13 @@ export namespace XreaderDocument {
|
|
|
1894
1894
|
class DocumentLicense {
|
|
1895
1895
|
static $gtype: GObject.GType<DocumentLicense>;
|
|
1896
1896
|
|
|
1897
|
-
//
|
|
1897
|
+
// Fields
|
|
1898
1898
|
|
|
1899
1899
|
text: string;
|
|
1900
1900
|
uri: string;
|
|
1901
1901
|
web_statement: string;
|
|
1902
1902
|
|
|
1903
|
-
// Constructors
|
|
1903
|
+
// Constructors
|
|
1904
1904
|
|
|
1905
1905
|
constructor(
|
|
1906
1906
|
properties?: Partial<{
|
|
@@ -1913,7 +1913,7 @@ export namespace XreaderDocument {
|
|
|
1913
1913
|
|
|
1914
1914
|
static ['new'](): DocumentLicense;
|
|
1915
1915
|
|
|
1916
|
-
//
|
|
1916
|
+
// Methods
|
|
1917
1917
|
|
|
1918
1918
|
copy(): DocumentLicense;
|
|
1919
1919
|
free(): void;
|
|
@@ -1927,7 +1927,7 @@ export namespace XreaderDocument {
|
|
|
1927
1927
|
abstract class DocumentPrivate {
|
|
1928
1928
|
static $gtype: GObject.GType<DocumentPrivate>;
|
|
1929
1929
|
|
|
1930
|
-
// Constructors
|
|
1930
|
+
// Constructors
|
|
1931
1931
|
|
|
1932
1932
|
_init(...args: any[]): void;
|
|
1933
1933
|
}
|
|
@@ -1939,7 +1939,7 @@ export namespace XreaderDocument {
|
|
|
1939
1939
|
class FileExporterContext {
|
|
1940
1940
|
static $gtype: GObject.GType<FileExporterContext>;
|
|
1941
1941
|
|
|
1942
|
-
//
|
|
1942
|
+
// Fields
|
|
1943
1943
|
|
|
1944
1944
|
format: FileExporterFormat;
|
|
1945
1945
|
filename: string;
|
|
@@ -1950,7 +1950,7 @@ export namespace XreaderDocument {
|
|
|
1950
1950
|
duplex: boolean;
|
|
1951
1951
|
pages_per_sheet: number;
|
|
1952
1952
|
|
|
1953
|
-
// Constructors
|
|
1953
|
+
// Constructors
|
|
1954
1954
|
|
|
1955
1955
|
_init(...args: any[]): void;
|
|
1956
1956
|
}
|
|
@@ -1965,7 +1965,7 @@ export namespace XreaderDocument {
|
|
|
1965
1965
|
abstract class ImagePrivate {
|
|
1966
1966
|
static $gtype: GObject.GType<ImagePrivate>;
|
|
1967
1967
|
|
|
1968
|
-
// Constructors
|
|
1968
|
+
// Constructors
|
|
1969
1969
|
|
|
1970
1970
|
_init(...args: any[]): void;
|
|
1971
1971
|
}
|
|
@@ -1974,7 +1974,7 @@ export namespace XreaderDocument {
|
|
|
1974
1974
|
abstract class LayerPrivate {
|
|
1975
1975
|
static $gtype: GObject.GType<LayerPrivate>;
|
|
1976
1976
|
|
|
1977
|
-
// Constructors
|
|
1977
|
+
// Constructors
|
|
1978
1978
|
|
|
1979
1979
|
_init(...args: any[]): void;
|
|
1980
1980
|
}
|
|
@@ -1983,7 +1983,7 @@ export namespace XreaderDocument {
|
|
|
1983
1983
|
abstract class LinkActionPrivate {
|
|
1984
1984
|
static $gtype: GObject.GType<LinkActionPrivate>;
|
|
1985
1985
|
|
|
1986
|
-
// Constructors
|
|
1986
|
+
// Constructors
|
|
1987
1987
|
|
|
1988
1988
|
_init(...args: any[]): void;
|
|
1989
1989
|
}
|
|
@@ -1993,7 +1993,7 @@ export namespace XreaderDocument {
|
|
|
1993
1993
|
abstract class LinkDestPrivate {
|
|
1994
1994
|
static $gtype: GObject.GType<LinkDestPrivate>;
|
|
1995
1995
|
|
|
1996
|
-
// Constructors
|
|
1996
|
+
// Constructors
|
|
1997
1997
|
|
|
1998
1998
|
_init(...args: any[]): void;
|
|
1999
1999
|
}
|
|
@@ -2001,7 +2001,7 @@ export namespace XreaderDocument {
|
|
|
2001
2001
|
abstract class LinkPrivate {
|
|
2002
2002
|
static $gtype: GObject.GType<LinkPrivate>;
|
|
2003
2003
|
|
|
2004
|
-
// Constructors
|
|
2004
|
+
// Constructors
|
|
2005
2005
|
|
|
2006
2006
|
_init(...args: any[]): void;
|
|
2007
2007
|
}
|
|
@@ -2009,12 +2009,12 @@ export namespace XreaderDocument {
|
|
|
2009
2009
|
class Mapping {
|
|
2010
2010
|
static $gtype: GObject.GType<Mapping>;
|
|
2011
2011
|
|
|
2012
|
-
//
|
|
2012
|
+
// Fields
|
|
2013
2013
|
|
|
2014
2014
|
area: Rectangle;
|
|
2015
2015
|
data: any;
|
|
2016
2016
|
|
|
2017
|
-
// Constructors
|
|
2017
|
+
// Constructors
|
|
2018
2018
|
|
|
2019
2019
|
constructor(
|
|
2020
2020
|
properties?: Partial<{
|
|
@@ -2028,11 +2028,11 @@ export namespace XreaderDocument {
|
|
|
2028
2028
|
abstract class MappingList {
|
|
2029
2029
|
static $gtype: GObject.GType<MappingList>;
|
|
2030
2030
|
|
|
2031
|
-
// Constructors
|
|
2031
|
+
// Constructors
|
|
2032
2032
|
|
|
2033
2033
|
_init(...args: any[]): void;
|
|
2034
2034
|
|
|
2035
|
-
//
|
|
2035
|
+
// Methods
|
|
2036
2036
|
|
|
2037
2037
|
get_data(x: number, y: number): any | null;
|
|
2038
2038
|
get_page(): number;
|
|
@@ -2045,12 +2045,12 @@ export namespace XreaderDocument {
|
|
|
2045
2045
|
class Point {
|
|
2046
2046
|
static $gtype: GObject.GType<Point>;
|
|
2047
2047
|
|
|
2048
|
-
//
|
|
2048
|
+
// Fields
|
|
2049
2049
|
|
|
2050
2050
|
x: number;
|
|
2051
2051
|
y: number;
|
|
2052
2052
|
|
|
2053
|
-
// Constructors
|
|
2053
|
+
// Constructors
|
|
2054
2054
|
|
|
2055
2055
|
constructor(
|
|
2056
2056
|
properties?: Partial<{
|
|
@@ -2064,14 +2064,14 @@ export namespace XreaderDocument {
|
|
|
2064
2064
|
class Rectangle {
|
|
2065
2065
|
static $gtype: GObject.GType<Rectangle>;
|
|
2066
2066
|
|
|
2067
|
-
//
|
|
2067
|
+
// Fields
|
|
2068
2068
|
|
|
2069
2069
|
x1: number;
|
|
2070
2070
|
y1: number;
|
|
2071
2071
|
x2: number;
|
|
2072
2072
|
y2: number;
|
|
2073
2073
|
|
|
2074
|
-
// Constructors
|
|
2074
|
+
// Constructors
|
|
2075
2075
|
|
|
2076
2076
|
constructor(
|
|
2077
2077
|
properties?: Partial<{
|
|
@@ -2085,7 +2085,7 @@ export namespace XreaderDocument {
|
|
|
2085
2085
|
|
|
2086
2086
|
static ['new'](): Rectangle;
|
|
2087
2087
|
|
|
2088
|
-
//
|
|
2088
|
+
// Methods
|
|
2089
2089
|
|
|
2090
2090
|
copy(): Rectangle;
|
|
2091
2091
|
free(): void;
|
|
@@ -2096,13 +2096,13 @@ export namespace XreaderDocument {
|
|
|
2096
2096
|
class SourceLink {
|
|
2097
2097
|
static $gtype: GObject.GType<SourceLink>;
|
|
2098
2098
|
|
|
2099
|
-
//
|
|
2099
|
+
// Fields
|
|
2100
2100
|
|
|
2101
2101
|
filename: string;
|
|
2102
2102
|
line: number;
|
|
2103
2103
|
col: number;
|
|
2104
2104
|
|
|
2105
|
-
// Constructors
|
|
2105
|
+
// Constructors
|
|
2106
2106
|
|
|
2107
2107
|
constructor(
|
|
2108
2108
|
properties?: Partial<{
|
|
@@ -2115,7 +2115,7 @@ export namespace XreaderDocument {
|
|
|
2115
2115
|
|
|
2116
2116
|
static ['new'](filename: string, line: number, col: number): SourceLink;
|
|
2117
2117
|
|
|
2118
|
-
//
|
|
2118
|
+
// Methods
|
|
2119
2119
|
|
|
2120
2120
|
copy(): SourceLink;
|
|
2121
2121
|
free(): void;
|
|
@@ -2125,12 +2125,12 @@ export namespace XreaderDocument {
|
|
|
2125
2125
|
class TypeInfo {
|
|
2126
2126
|
static $gtype: GObject.GType<TypeInfo>;
|
|
2127
2127
|
|
|
2128
|
-
//
|
|
2128
|
+
// Fields
|
|
2129
2129
|
|
|
2130
2130
|
desc: string;
|
|
2131
2131
|
mime_types: string;
|
|
2132
2132
|
|
|
2133
|
-
// Constructors
|
|
2133
|
+
// Constructors
|
|
2134
2134
|
|
|
2135
2135
|
constructor(
|
|
2136
2136
|
properties?: Partial<{
|
|
@@ -2162,7 +2162,7 @@ export namespace XreaderDocument {
|
|
|
2162
2162
|
prototype: AnnotationMarkup;
|
|
2163
2163
|
}
|
|
2164
2164
|
interface AnnotationMarkup extends Annotation {
|
|
2165
|
-
//
|
|
2165
|
+
// Properties
|
|
2166
2166
|
|
|
2167
2167
|
get can_have_popup(): boolean;
|
|
2168
2168
|
set can_have_popup(val: boolean);
|
|
@@ -2183,7 +2183,7 @@ export namespace XreaderDocument {
|
|
|
2183
2183
|
get rectangle(): Rectangle;
|
|
2184
2184
|
set rectangle(val: Rectangle);
|
|
2185
2185
|
|
|
2186
|
-
//
|
|
2186
|
+
// Methods
|
|
2187
2187
|
|
|
2188
2188
|
get_label(): string;
|
|
2189
2189
|
get_opacity(): number;
|
|
@@ -2209,11 +2209,11 @@ export namespace XreaderDocument {
|
|
|
2209
2209
|
prototype: AsyncRenderer;
|
|
2210
2210
|
}
|
|
2211
2211
|
interface AsyncRenderer extends GObject.Object {
|
|
2212
|
-
//
|
|
2212
|
+
// Methods
|
|
2213
2213
|
|
|
2214
2214
|
render_pixbuf(page: number, scale: number, rotation: number): void;
|
|
2215
2215
|
|
|
2216
|
-
//
|
|
2216
|
+
// Virtual methods
|
|
2217
2217
|
|
|
2218
2218
|
vfunc_render_finished(pixbuf: GdkPixbuf.Pixbuf): void;
|
|
2219
2219
|
vfunc_render_pixbuf(page: number, scale: number, rotation: number): void;
|
|
@@ -2232,7 +2232,7 @@ export namespace XreaderDocument {
|
|
|
2232
2232
|
prototype: DocumentAnnotations;
|
|
2233
2233
|
}
|
|
2234
2234
|
interface DocumentAnnotations extends GObject.Object {
|
|
2235
|
-
//
|
|
2235
|
+
// Methods
|
|
2236
2236
|
|
|
2237
2237
|
add_annotation(annot: Annotation, rect: Rectangle): void;
|
|
2238
2238
|
can_add_annotation(): boolean;
|
|
@@ -2241,7 +2241,7 @@ export namespace XreaderDocument {
|
|
|
2241
2241
|
remove_annotation(annot: Annotation): void;
|
|
2242
2242
|
save_annotation(annot: Annotation, mask: AnnotationsSaveMask): void;
|
|
2243
2243
|
|
|
2244
|
-
//
|
|
2244
|
+
// Virtual methods
|
|
2245
2245
|
|
|
2246
2246
|
vfunc_add_annotation(annot: Annotation, rect: Rectangle): void;
|
|
2247
2247
|
vfunc_document_is_modified(): boolean;
|
|
@@ -2262,11 +2262,11 @@ export namespace XreaderDocument {
|
|
|
2262
2262
|
prototype: DocumentAttachments;
|
|
2263
2263
|
}
|
|
2264
2264
|
interface DocumentAttachments extends GObject.Object {
|
|
2265
|
-
//
|
|
2265
|
+
// Methods
|
|
2266
2266
|
|
|
2267
2267
|
has_attachments(): boolean;
|
|
2268
2268
|
|
|
2269
|
-
//
|
|
2269
|
+
// Virtual methods
|
|
2270
2270
|
|
|
2271
2271
|
vfunc_has_attachments(): boolean;
|
|
2272
2272
|
}
|
|
@@ -2284,11 +2284,11 @@ export namespace XreaderDocument {
|
|
|
2284
2284
|
prototype: DocumentFind;
|
|
2285
2285
|
}
|
|
2286
2286
|
interface DocumentFind extends GObject.Object {
|
|
2287
|
-
//
|
|
2287
|
+
// Methods
|
|
2288
2288
|
|
|
2289
2289
|
check_for_hits(page: Page, text: string, case_sensitive: boolean): number;
|
|
2290
2290
|
|
|
2291
|
-
//
|
|
2291
|
+
// Virtual methods
|
|
2292
2292
|
|
|
2293
2293
|
vfunc_check_for_hits(page: Page, text: string, case_sensitive: boolean): number;
|
|
2294
2294
|
}
|
|
@@ -2306,13 +2306,13 @@ export namespace XreaderDocument {
|
|
|
2306
2306
|
prototype: DocumentFonts;
|
|
2307
2307
|
}
|
|
2308
2308
|
interface DocumentFonts extends GObject.Object {
|
|
2309
|
-
//
|
|
2309
|
+
// Methods
|
|
2310
2310
|
|
|
2311
2311
|
fill_model(model: Gtk.TreeModel): void;
|
|
2312
2312
|
get_progress(): number;
|
|
2313
2313
|
scan(n_pages: number): boolean;
|
|
2314
2314
|
|
|
2315
|
-
//
|
|
2315
|
+
// Virtual methods
|
|
2316
2316
|
|
|
2317
2317
|
vfunc_fill_model(model: Gtk.TreeModel): void;
|
|
2318
2318
|
vfunc_get_progress(): number;
|
|
@@ -2332,7 +2332,7 @@ export namespace XreaderDocument {
|
|
|
2332
2332
|
prototype: DocumentForms;
|
|
2333
2333
|
}
|
|
2334
2334
|
interface DocumentForms extends GObject.Object {
|
|
2335
|
-
//
|
|
2335
|
+
// Methods
|
|
2336
2336
|
|
|
2337
2337
|
document_is_modified(): boolean;
|
|
2338
2338
|
form_field_button_get_state(field: FormField): boolean;
|
|
@@ -2348,7 +2348,7 @@ export namespace XreaderDocument {
|
|
|
2348
2348
|
form_field_text_get_text(field: FormField): string;
|
|
2349
2349
|
form_field_text_set_text(field: FormField, text: string): void;
|
|
2350
2350
|
|
|
2351
|
-
//
|
|
2351
|
+
// Virtual methods
|
|
2352
2352
|
|
|
2353
2353
|
vfunc_document_is_modified(): boolean;
|
|
2354
2354
|
vfunc_form_field_button_get_state(field: FormField): boolean;
|
|
@@ -2392,14 +2392,14 @@ export namespace XreaderDocument {
|
|
|
2392
2392
|
prototype: DocumentLayers;
|
|
2393
2393
|
}
|
|
2394
2394
|
interface DocumentLayers extends GObject.Object {
|
|
2395
|
-
//
|
|
2395
|
+
// Methods
|
|
2396
2396
|
|
|
2397
2397
|
has_layers(): boolean;
|
|
2398
2398
|
hide_layer(layer: Layer): void;
|
|
2399
2399
|
layer_is_visible(layer: Layer): boolean;
|
|
2400
2400
|
show_layer(layer: Layer): void;
|
|
2401
2401
|
|
|
2402
|
-
//
|
|
2402
|
+
// Virtual methods
|
|
2403
2403
|
|
|
2404
2404
|
vfunc_has_layers(): boolean;
|
|
2405
2405
|
vfunc_hide_layer(layer: Layer): void;
|
|
@@ -2420,7 +2420,7 @@ export namespace XreaderDocument {
|
|
|
2420
2420
|
prototype: DocumentLinks;
|
|
2421
2421
|
}
|
|
2422
2422
|
interface DocumentLinks extends GObject.Object {
|
|
2423
|
-
//
|
|
2423
|
+
// Methods
|
|
2424
2424
|
|
|
2425
2425
|
find_link_page(link_name: string): number;
|
|
2426
2426
|
get_dest_page(dest: LinkDest): number;
|
|
@@ -2429,7 +2429,7 @@ export namespace XreaderDocument {
|
|
|
2429
2429
|
get_link_page_label(link: Link): string;
|
|
2430
2430
|
has_document_links(): boolean;
|
|
2431
2431
|
|
|
2432
|
-
//
|
|
2432
|
+
// Virtual methods
|
|
2433
2433
|
|
|
2434
2434
|
vfunc_find_link_page(link_name: string): number;
|
|
2435
2435
|
vfunc_has_document_links(): boolean;
|
|
@@ -2448,11 +2448,11 @@ export namespace XreaderDocument {
|
|
|
2448
2448
|
prototype: DocumentPrint;
|
|
2449
2449
|
}
|
|
2450
2450
|
interface DocumentPrint extends GObject.Object {
|
|
2451
|
-
//
|
|
2451
|
+
// Methods
|
|
2452
2452
|
|
|
2453
2453
|
print_page(page: Page, cr: cairo.Context): void;
|
|
2454
2454
|
|
|
2455
|
-
//
|
|
2455
|
+
// Virtual methods
|
|
2456
2456
|
|
|
2457
2457
|
vfunc_print_page(page: Page, cr: cairo.Context): void;
|
|
2458
2458
|
}
|
|
@@ -2470,12 +2470,12 @@ export namespace XreaderDocument {
|
|
|
2470
2470
|
prototype: DocumentSecurity;
|
|
2471
2471
|
}
|
|
2472
2472
|
interface DocumentSecurity extends GObject.Object {
|
|
2473
|
-
//
|
|
2473
|
+
// Methods
|
|
2474
2474
|
|
|
2475
2475
|
has_document_security(): boolean;
|
|
2476
2476
|
set_password(password: string): void;
|
|
2477
2477
|
|
|
2478
|
-
//
|
|
2478
|
+
// Virtual methods
|
|
2479
2479
|
|
|
2480
2480
|
vfunc_has_document_security(): boolean;
|
|
2481
2481
|
vfunc_set_password(password: string): void;
|
|
@@ -2494,13 +2494,13 @@ export namespace XreaderDocument {
|
|
|
2494
2494
|
prototype: DocumentText;
|
|
2495
2495
|
}
|
|
2496
2496
|
interface DocumentText extends GObject.Object {
|
|
2497
|
-
//
|
|
2497
|
+
// Methods
|
|
2498
2498
|
|
|
2499
2499
|
get_text(page: Page): string;
|
|
2500
2500
|
get_text_layout(page: Page, areas: Rectangle, n_areas: number): boolean;
|
|
2501
2501
|
get_text_mapping(page: Page): cairo.Region;
|
|
2502
2502
|
|
|
2503
|
-
//
|
|
2503
|
+
// Virtual methods
|
|
2504
2504
|
|
|
2505
2505
|
vfunc_get_text(page: Page): string;
|
|
2506
2506
|
vfunc_get_text_layout(page: Page, areas: Rectangle, n_areas: number): boolean;
|
|
@@ -2520,11 +2520,11 @@ export namespace XreaderDocument {
|
|
|
2520
2520
|
prototype: DocumentThumbnails;
|
|
2521
2521
|
}
|
|
2522
2522
|
interface DocumentThumbnails extends GObject.Object {
|
|
2523
|
-
//
|
|
2523
|
+
// Methods
|
|
2524
2524
|
|
|
2525
2525
|
get_dimensions(rc: RenderContext, width: number, height: number): void;
|
|
2526
2526
|
|
|
2527
|
-
//
|
|
2527
|
+
// Virtual methods
|
|
2528
2528
|
|
|
2529
2529
|
vfunc_get_dimensions(rc: RenderContext, width: number, height: number): void;
|
|
2530
2530
|
}
|
|
@@ -2542,11 +2542,11 @@ export namespace XreaderDocument {
|
|
|
2542
2542
|
prototype: DocumentTransition;
|
|
2543
2543
|
}
|
|
2544
2544
|
interface DocumentTransition extends GObject.Object {
|
|
2545
|
-
//
|
|
2545
|
+
// Methods
|
|
2546
2546
|
|
|
2547
2547
|
get_page_duration(page: number): number;
|
|
2548
2548
|
|
|
2549
|
-
//
|
|
2549
|
+
// Virtual methods
|
|
2550
2550
|
|
|
2551
2551
|
vfunc_get_page_duration(page: number): number;
|
|
2552
2552
|
}
|
|
@@ -2564,7 +2564,7 @@ export namespace XreaderDocument {
|
|
|
2564
2564
|
prototype: FileExporter;
|
|
2565
2565
|
}
|
|
2566
2566
|
interface FileExporter extends GObject.Object {
|
|
2567
|
-
//
|
|
2567
|
+
// Methods
|
|
2568
2568
|
|
|
2569
2569
|
begin(fc: FileExporterContext): void;
|
|
2570
2570
|
begin_page(): void;
|
|
@@ -2573,7 +2573,7 @@ export namespace XreaderDocument {
|
|
|
2573
2573
|
end_page(): void;
|
|
2574
2574
|
get_capabilities(): FileExporterCapabilities;
|
|
2575
2575
|
|
|
2576
|
-
//
|
|
2576
|
+
// Virtual methods
|
|
2577
2577
|
|
|
2578
2578
|
vfunc_begin(fc: FileExporterContext): void;
|
|
2579
2579
|
vfunc_begin_page(): void;
|
|
@@ -2596,7 +2596,7 @@ export namespace XreaderDocument {
|
|
|
2596
2596
|
prototype: Selection;
|
|
2597
2597
|
}
|
|
2598
2598
|
interface Selection extends GObject.Object {
|
|
2599
|
-
//
|
|
2599
|
+
// Methods
|
|
2600
2600
|
|
|
2601
2601
|
get_selected_text(page: Page, style: SelectionStyle, points: Rectangle): string;
|
|
2602
2602
|
get_selection_region(rc: RenderContext, style: SelectionStyle, points: Rectangle): cairo.Region;
|
|
@@ -2610,7 +2610,7 @@ export namespace XreaderDocument {
|
|
|
2610
2610
|
base: Gdk.Color,
|
|
2611
2611
|
): void;
|
|
2612
2612
|
|
|
2613
|
-
//
|
|
2613
|
+
// Virtual methods
|
|
2614
2614
|
|
|
2615
2615
|
vfunc_get_selected_text(page: Page, style: SelectionStyle, points: Rectangle): string;
|
|
2616
2616
|
vfunc_get_selection_region(rc: RenderContext, style: SelectionStyle, points: Rectangle): cairo.Region;
|