@girs/evincedocument-3.0 46.3.0-4.0.0-beta.11 → 46.3.0-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/evincedocument-3.0.d.ts +128 -128
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for EvinceDocument-3.0, generated from library version 46.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.
|
|
8
|
+
GJS TypeScript type definitions for EvinceDocument-3.0, generated from library version 46.3.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.13.
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Install
|
package/evincedocument-3.0.d.ts
CHANGED
|
@@ -100,18 +100,18 @@ export namespace EvinceDocument {
|
|
|
100
100
|
class DocumentError extends GLib.Error {
|
|
101
101
|
static $gtype: GObject.GType<DocumentError>;
|
|
102
102
|
|
|
103
|
-
// Static fields
|
|
103
|
+
// Static fields
|
|
104
104
|
|
|
105
105
|
static INVALID: number;
|
|
106
106
|
static UNSUPPORTED_CONTENT: number;
|
|
107
107
|
static ENCRYPTED: number;
|
|
108
108
|
|
|
109
|
-
// Constructors
|
|
109
|
+
// Constructors
|
|
110
110
|
|
|
111
111
|
constructor(options: { message: string; code: number });
|
|
112
112
|
_init(...args: any[]): void;
|
|
113
113
|
|
|
114
|
-
//
|
|
114
|
+
// Static methods
|
|
115
115
|
|
|
116
116
|
static quark(): GLib.Quark;
|
|
117
117
|
}
|
|
@@ -486,7 +486,7 @@ export namespace EvinceDocument {
|
|
|
486
486
|
abstract class Annotation extends GObject.Object {
|
|
487
487
|
static $gtype: GObject.GType<Annotation>;
|
|
488
488
|
|
|
489
|
-
//
|
|
489
|
+
// Properties
|
|
490
490
|
|
|
491
491
|
/**
|
|
492
492
|
* The area of the page where the annotation is placed.
|
|
@@ -513,13 +513,13 @@ export namespace EvinceDocument {
|
|
|
513
513
|
get rgba(): Gdk.RGBA;
|
|
514
514
|
set rgba(val: Gdk.RGBA);
|
|
515
515
|
|
|
516
|
-
// Constructors
|
|
516
|
+
// Constructors
|
|
517
517
|
|
|
518
518
|
constructor(properties?: Partial<Annotation.ConstructorProps>, ...args: any[]);
|
|
519
519
|
|
|
520
520
|
_init(...args: any[]): void;
|
|
521
521
|
|
|
522
|
-
//
|
|
522
|
+
// Methods
|
|
523
523
|
|
|
524
524
|
/**
|
|
525
525
|
* Compare `annot` and `other`.
|
|
@@ -647,12 +647,12 @@ export namespace EvinceDocument {
|
|
|
647
647
|
class AnnotationAttachment extends Annotation implements AnnotationMarkup {
|
|
648
648
|
static $gtype: GObject.GType<AnnotationAttachment>;
|
|
649
649
|
|
|
650
|
-
//
|
|
650
|
+
// Properties
|
|
651
651
|
|
|
652
652
|
get attachment(): Attachment;
|
|
653
653
|
set attachment(val: Attachment);
|
|
654
654
|
|
|
655
|
-
// Constructors
|
|
655
|
+
// Constructors
|
|
656
656
|
|
|
657
657
|
constructor(properties?: Partial<AnnotationAttachment.ConstructorProps>, ...args: any[]);
|
|
658
658
|
|
|
@@ -660,7 +660,7 @@ export namespace EvinceDocument {
|
|
|
660
660
|
|
|
661
661
|
static ['new'](page: Page, attachment: Attachment): AnnotationAttachment;
|
|
662
662
|
|
|
663
|
-
//
|
|
663
|
+
// Methods
|
|
664
664
|
|
|
665
665
|
get_attachment(): Attachment;
|
|
666
666
|
set_attachment(attachment: Attachment): boolean;
|
|
@@ -847,7 +847,7 @@ export namespace EvinceDocument {
|
|
|
847
847
|
class AnnotationText extends Annotation implements AnnotationMarkup {
|
|
848
848
|
static $gtype: GObject.GType<AnnotationText>;
|
|
849
849
|
|
|
850
|
-
//
|
|
850
|
+
// Properties
|
|
851
851
|
|
|
852
852
|
get icon(): AnnotationTextIcon;
|
|
853
853
|
set icon(val: AnnotationTextIcon);
|
|
@@ -856,7 +856,7 @@ export namespace EvinceDocument {
|
|
|
856
856
|
get isOpen(): boolean;
|
|
857
857
|
set isOpen(val: boolean);
|
|
858
858
|
|
|
859
|
-
// Constructors
|
|
859
|
+
// Constructors
|
|
860
860
|
|
|
861
861
|
constructor(properties?: Partial<AnnotationText.ConstructorProps>, ...args: any[]);
|
|
862
862
|
|
|
@@ -864,7 +864,7 @@ export namespace EvinceDocument {
|
|
|
864
864
|
|
|
865
865
|
static ['new'](page: Page): AnnotationText;
|
|
866
866
|
|
|
867
|
-
//
|
|
867
|
+
// Methods
|
|
868
868
|
|
|
869
869
|
get_icon(): AnnotationTextIcon;
|
|
870
870
|
get_is_open(): boolean;
|
|
@@ -1051,12 +1051,12 @@ export namespace EvinceDocument {
|
|
|
1051
1051
|
class AnnotationTextMarkup extends Annotation implements AnnotationMarkup {
|
|
1052
1052
|
static $gtype: GObject.GType<AnnotationTextMarkup>;
|
|
1053
1053
|
|
|
1054
|
-
//
|
|
1054
|
+
// Properties
|
|
1055
1055
|
|
|
1056
1056
|
get type(): AnnotationTextMarkupType;
|
|
1057
1057
|
set type(val: AnnotationTextMarkupType);
|
|
1058
1058
|
|
|
1059
|
-
// Constructors
|
|
1059
|
+
// Constructors
|
|
1060
1060
|
|
|
1061
1061
|
constructor(properties?: Partial<AnnotationTextMarkup.ConstructorProps>, ...args: any[]);
|
|
1062
1062
|
|
|
@@ -1070,7 +1070,7 @@ export namespace EvinceDocument {
|
|
|
1070
1070
|
|
|
1071
1071
|
static underline_new(page: Page): AnnotationTextMarkup;
|
|
1072
1072
|
|
|
1073
|
-
//
|
|
1073
|
+
// Methods
|
|
1074
1074
|
|
|
1075
1075
|
get_markup_type(): AnnotationTextMarkupType;
|
|
1076
1076
|
set_markup_type(markup_type: AnnotationTextMarkupType): boolean;
|
|
@@ -1260,7 +1260,7 @@ export namespace EvinceDocument {
|
|
|
1260
1260
|
class Attachment extends GObject.Object {
|
|
1261
1261
|
static $gtype: GObject.GType<Attachment>;
|
|
1262
1262
|
|
|
1263
|
-
//
|
|
1263
|
+
// Properties
|
|
1264
1264
|
|
|
1265
1265
|
set ctime(val: number);
|
|
1266
1266
|
set data(val: any);
|
|
@@ -1269,11 +1269,11 @@ export namespace EvinceDocument {
|
|
|
1269
1269
|
set name(val: string);
|
|
1270
1270
|
set size(val: number);
|
|
1271
1271
|
|
|
1272
|
-
//
|
|
1272
|
+
// Fields
|
|
1273
1273
|
|
|
1274
1274
|
base_instance: GObject.Object;
|
|
1275
1275
|
|
|
1276
|
-
// Constructors
|
|
1276
|
+
// Constructors
|
|
1277
1277
|
|
|
1278
1278
|
constructor(properties?: Partial<Attachment.ConstructorProps>, ...args: any[]);
|
|
1279
1279
|
|
|
@@ -1288,11 +1288,11 @@ export namespace EvinceDocument {
|
|
|
1288
1288
|
data?: any | null,
|
|
1289
1289
|
): Attachment;
|
|
1290
1290
|
|
|
1291
|
-
//
|
|
1291
|
+
// Static methods
|
|
1292
1292
|
|
|
1293
1293
|
static error_quark(): GLib.Quark;
|
|
1294
1294
|
|
|
1295
|
-
//
|
|
1295
|
+
// Methods
|
|
1296
1296
|
|
|
1297
1297
|
get_creation_date(): GLib.Time;
|
|
1298
1298
|
get_description(): string;
|
|
@@ -1314,22 +1314,22 @@ export namespace EvinceDocument {
|
|
|
1314
1314
|
abstract class Document extends GObject.Object {
|
|
1315
1315
|
static $gtype: GObject.GType<Document>;
|
|
1316
1316
|
|
|
1317
|
-
//
|
|
1317
|
+
// Properties
|
|
1318
1318
|
|
|
1319
1319
|
get modified(): boolean;
|
|
1320
1320
|
set modified(val: boolean);
|
|
1321
1321
|
|
|
1322
|
-
//
|
|
1322
|
+
// Fields
|
|
1323
1323
|
|
|
1324
1324
|
base: GObject.Object;
|
|
1325
1325
|
|
|
1326
|
-
// Constructors
|
|
1326
|
+
// Constructors
|
|
1327
1327
|
|
|
1328
1328
|
constructor(properties?: Partial<Document.ConstructorProps>, ...args: any[]);
|
|
1329
1329
|
|
|
1330
1330
|
_init(...args: any[]): void;
|
|
1331
1331
|
|
|
1332
|
-
//
|
|
1332
|
+
// Static methods
|
|
1333
1333
|
|
|
1334
1334
|
static doc_mutex_lock(): void;
|
|
1335
1335
|
static doc_mutex_trylock(): boolean;
|
|
@@ -1495,7 +1495,7 @@ export namespace EvinceDocument {
|
|
|
1495
1495
|
dest_rotation: number,
|
|
1496
1496
|
): cairo.Surface;
|
|
1497
1497
|
|
|
1498
|
-
//
|
|
1498
|
+
// Virtual methods
|
|
1499
1499
|
|
|
1500
1500
|
vfunc_get_backend_info(info: DocumentBackendInfo): boolean;
|
|
1501
1501
|
/**
|
|
@@ -1563,7 +1563,7 @@ export namespace EvinceDocument {
|
|
|
1563
1563
|
vfunc_save(uri: string): boolean;
|
|
1564
1564
|
vfunc_support_synctex(): boolean;
|
|
1565
1565
|
|
|
1566
|
-
//
|
|
1566
|
+
// Methods
|
|
1567
1567
|
|
|
1568
1568
|
check_dimensions(): boolean;
|
|
1569
1569
|
find_page_by_label(page_label: string, page_index: number): boolean;
|
|
@@ -1683,7 +1683,7 @@ export namespace EvinceDocument {
|
|
|
1683
1683
|
abstract class FormField extends GObject.Object {
|
|
1684
1684
|
static $gtype: GObject.GType<FormField>;
|
|
1685
1685
|
|
|
1686
|
-
//
|
|
1686
|
+
// Fields
|
|
1687
1687
|
|
|
1688
1688
|
id: number;
|
|
1689
1689
|
is_read_only: boolean;
|
|
@@ -1692,7 +1692,7 @@ export namespace EvinceDocument {
|
|
|
1692
1692
|
page: Page;
|
|
1693
1693
|
changed: boolean;
|
|
1694
1694
|
|
|
1695
|
-
// Constructors
|
|
1695
|
+
// Constructors
|
|
1696
1696
|
|
|
1697
1697
|
constructor(properties?: Partial<FormField.ConstructorProps>, ...args: any[]);
|
|
1698
1698
|
|
|
@@ -1708,12 +1708,12 @@ export namespace EvinceDocument {
|
|
|
1708
1708
|
class FormFieldButton extends FormField {
|
|
1709
1709
|
static $gtype: GObject.GType<FormFieldButton>;
|
|
1710
1710
|
|
|
1711
|
-
//
|
|
1711
|
+
// Fields
|
|
1712
1712
|
|
|
1713
1713
|
type: FormFieldButtonType;
|
|
1714
1714
|
state: boolean;
|
|
1715
1715
|
|
|
1716
|
-
// Constructors
|
|
1716
|
+
// Constructors
|
|
1717
1717
|
|
|
1718
1718
|
constructor(properties?: Partial<FormFieldButton.ConstructorProps>, ...args: any[]);
|
|
1719
1719
|
|
|
@@ -1731,7 +1731,7 @@ export namespace EvinceDocument {
|
|
|
1731
1731
|
class FormFieldChoice extends FormField {
|
|
1732
1732
|
static $gtype: GObject.GType<FormFieldChoice>;
|
|
1733
1733
|
|
|
1734
|
-
//
|
|
1734
|
+
// Fields
|
|
1735
1735
|
|
|
1736
1736
|
type: FormFieldChoiceType;
|
|
1737
1737
|
multi_select: boolean;
|
|
@@ -1741,7 +1741,7 @@ export namespace EvinceDocument {
|
|
|
1741
1741
|
selected_items: any[];
|
|
1742
1742
|
text: string;
|
|
1743
1743
|
|
|
1744
|
-
// Constructors
|
|
1744
|
+
// Constructors
|
|
1745
1745
|
|
|
1746
1746
|
constructor(properties?: Partial<FormFieldChoice.ConstructorProps>, ...args: any[]);
|
|
1747
1747
|
|
|
@@ -1759,7 +1759,7 @@ export namespace EvinceDocument {
|
|
|
1759
1759
|
class FormFieldSignature extends FormField {
|
|
1760
1760
|
static $gtype: GObject.GType<FormFieldSignature>;
|
|
1761
1761
|
|
|
1762
|
-
// Constructors
|
|
1762
|
+
// Constructors
|
|
1763
1763
|
|
|
1764
1764
|
constructor(properties?: Partial<FormFieldSignature.ConstructorProps>, ...args: any[]);
|
|
1765
1765
|
|
|
@@ -1777,7 +1777,7 @@ export namespace EvinceDocument {
|
|
|
1777
1777
|
class FormFieldText extends FormField {
|
|
1778
1778
|
static $gtype: GObject.GType<FormFieldText>;
|
|
1779
1779
|
|
|
1780
|
-
//
|
|
1780
|
+
// Fields
|
|
1781
1781
|
|
|
1782
1782
|
type: FormFieldTextType;
|
|
1783
1783
|
do_spell_check: boolean;
|
|
@@ -1788,7 +1788,7 @@ export namespace EvinceDocument {
|
|
|
1788
1788
|
max_len: number;
|
|
1789
1789
|
text: string;
|
|
1790
1790
|
|
|
1791
|
-
// Constructors
|
|
1791
|
+
// Constructors
|
|
1792
1792
|
|
|
1793
1793
|
constructor(properties?: Partial<FormFieldText.ConstructorProps>, ...args: any[]);
|
|
1794
1794
|
|
|
@@ -1806,11 +1806,11 @@ export namespace EvinceDocument {
|
|
|
1806
1806
|
class Image extends GObject.Object {
|
|
1807
1807
|
static $gtype: GObject.GType<Image>;
|
|
1808
1808
|
|
|
1809
|
-
//
|
|
1809
|
+
// Fields
|
|
1810
1810
|
|
|
1811
1811
|
base_instance: GObject.Object;
|
|
1812
1812
|
|
|
1813
|
-
// Constructors
|
|
1813
|
+
// Constructors
|
|
1814
1814
|
|
|
1815
1815
|
constructor(properties?: Partial<Image.ConstructorProps>, ...args: any[]);
|
|
1816
1816
|
|
|
@@ -1820,7 +1820,7 @@ export namespace EvinceDocument {
|
|
|
1820
1820
|
|
|
1821
1821
|
static new_from_pixbuf(pixbuf: GdkPixbuf.Pixbuf): Image;
|
|
1822
1822
|
|
|
1823
|
-
//
|
|
1823
|
+
// Methods
|
|
1824
1824
|
|
|
1825
1825
|
get_id(): number;
|
|
1826
1826
|
get_page(): number;
|
|
@@ -1838,11 +1838,11 @@ export namespace EvinceDocument {
|
|
|
1838
1838
|
class Layer extends GObject.Object {
|
|
1839
1839
|
static $gtype: GObject.GType<Layer>;
|
|
1840
1840
|
|
|
1841
|
-
//
|
|
1841
|
+
// Fields
|
|
1842
1842
|
|
|
1843
1843
|
base_instance: GObject.Object;
|
|
1844
1844
|
|
|
1845
|
-
// Constructors
|
|
1845
|
+
// Constructors
|
|
1846
1846
|
|
|
1847
1847
|
constructor(properties?: Partial<Layer.ConstructorProps>, ...args: any[]);
|
|
1848
1848
|
|
|
@@ -1850,7 +1850,7 @@ export namespace EvinceDocument {
|
|
|
1850
1850
|
|
|
1851
1851
|
static ['new'](is_parent: boolean, rb_group: number): Layer;
|
|
1852
1852
|
|
|
1853
|
-
//
|
|
1853
|
+
// Methods
|
|
1854
1854
|
|
|
1855
1855
|
get_rb_group(): number;
|
|
1856
1856
|
is_parent(): boolean;
|
|
@@ -1868,12 +1868,12 @@ export namespace EvinceDocument {
|
|
|
1868
1868
|
class Link extends GObject.Object {
|
|
1869
1869
|
static $gtype: GObject.GType<Link>;
|
|
1870
1870
|
|
|
1871
|
-
//
|
|
1871
|
+
// Properties
|
|
1872
1872
|
|
|
1873
1873
|
get action(): LinkAction;
|
|
1874
1874
|
get title(): string;
|
|
1875
1875
|
|
|
1876
|
-
// Constructors
|
|
1876
|
+
// Constructors
|
|
1877
1877
|
|
|
1878
1878
|
constructor(properties?: Partial<Link.ConstructorProps>, ...args: any[]);
|
|
1879
1879
|
|
|
@@ -1881,7 +1881,7 @@ export namespace EvinceDocument {
|
|
|
1881
1881
|
|
|
1882
1882
|
static ['new'](title: string, action: LinkAction): Link;
|
|
1883
1883
|
|
|
1884
|
-
//
|
|
1884
|
+
// Methods
|
|
1885
1885
|
|
|
1886
1886
|
get_action(): LinkAction;
|
|
1887
1887
|
get_title(): string;
|
|
@@ -1913,7 +1913,7 @@ export namespace EvinceDocument {
|
|
|
1913
1913
|
class LinkAction extends GObject.Object {
|
|
1914
1914
|
static $gtype: GObject.GType<LinkAction>;
|
|
1915
1915
|
|
|
1916
|
-
//
|
|
1916
|
+
// Properties
|
|
1917
1917
|
|
|
1918
1918
|
get dest(): LinkDest;
|
|
1919
1919
|
get exclude_reset_fields(): boolean;
|
|
@@ -1932,7 +1932,7 @@ export namespace EvinceDocument {
|
|
|
1932
1932
|
get type(): LinkActionType;
|
|
1933
1933
|
get uri(): string;
|
|
1934
1934
|
|
|
1935
|
-
// Constructors
|
|
1935
|
+
// Constructors
|
|
1936
1936
|
|
|
1937
1937
|
constructor(properties?: Partial<LinkAction.ConstructorProps>, ...args: any[]);
|
|
1938
1938
|
|
|
@@ -1952,7 +1952,7 @@ export namespace EvinceDocument {
|
|
|
1952
1952
|
|
|
1953
1953
|
static new_reset_form(fields: string[], exclude_fields: boolean): LinkAction;
|
|
1954
1954
|
|
|
1955
|
-
//
|
|
1955
|
+
// Methods
|
|
1956
1956
|
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Checks whether `a` and `b` are equal.
|
|
@@ -1994,7 +1994,7 @@ export namespace EvinceDocument {
|
|
|
1994
1994
|
class LinkDest extends GObject.Object {
|
|
1995
1995
|
static $gtype: GObject.GType<LinkDest>;
|
|
1996
1996
|
|
|
1997
|
-
//
|
|
1997
|
+
// Properties
|
|
1998
1998
|
|
|
1999
1999
|
get bottom(): number;
|
|
2000
2000
|
get change(): number;
|
|
@@ -2008,7 +2008,7 @@ export namespace EvinceDocument {
|
|
|
2008
2008
|
get type(): LinkDestType;
|
|
2009
2009
|
get zoom(): number;
|
|
2010
2010
|
|
|
2011
|
-
// Constructors
|
|
2011
|
+
// Constructors
|
|
2012
2012
|
|
|
2013
2013
|
constructor(properties?: Partial<LinkDest.ConstructorProps>, ...args: any[]);
|
|
2014
2014
|
|
|
@@ -2038,7 +2038,7 @@ export namespace EvinceDocument {
|
|
|
2038
2038
|
change_zoom: boolean,
|
|
2039
2039
|
): LinkDest;
|
|
2040
2040
|
|
|
2041
|
-
//
|
|
2041
|
+
// Methods
|
|
2042
2042
|
|
|
2043
2043
|
/**
|
|
2044
2044
|
* Checks whether `a` and `b` are equal.
|
|
@@ -2066,11 +2066,11 @@ export namespace EvinceDocument {
|
|
|
2066
2066
|
class Media extends GObject.Object {
|
|
2067
2067
|
static $gtype: GObject.GType<Media>;
|
|
2068
2068
|
|
|
2069
|
-
//
|
|
2069
|
+
// Fields
|
|
2070
2070
|
|
|
2071
2071
|
base_instance: GObject.Object;
|
|
2072
2072
|
|
|
2073
|
-
// Constructors
|
|
2073
|
+
// Constructors
|
|
2074
2074
|
|
|
2075
2075
|
constructor(properties?: Partial<Media.ConstructorProps>, ...args: any[]);
|
|
2076
2076
|
|
|
@@ -2078,7 +2078,7 @@ export namespace EvinceDocument {
|
|
|
2078
2078
|
|
|
2079
2079
|
static new_for_uri(page: Page, uri: string): Media;
|
|
2080
2080
|
|
|
2081
|
-
//
|
|
2081
|
+
// Methods
|
|
2082
2082
|
|
|
2083
2083
|
get_page_index(): number;
|
|
2084
2084
|
get_show_controls(): boolean;
|
|
@@ -2095,14 +2095,14 @@ export namespace EvinceDocument {
|
|
|
2095
2095
|
class Page extends GObject.Object {
|
|
2096
2096
|
static $gtype: GObject.GType<Page>;
|
|
2097
2097
|
|
|
2098
|
-
//
|
|
2098
|
+
// Fields
|
|
2099
2099
|
|
|
2100
2100
|
base_instance: GObject.Object;
|
|
2101
2101
|
index: number;
|
|
2102
2102
|
backend_page: BackendPage;
|
|
2103
2103
|
backend_destroy_func: BackendPageDestroyFunc;
|
|
2104
2104
|
|
|
2105
|
-
// Constructors
|
|
2105
|
+
// Constructors
|
|
2106
2106
|
|
|
2107
2107
|
constructor(properties?: Partial<Page.ConstructorProps>, ...args: any[]);
|
|
2108
2108
|
|
|
@@ -2120,7 +2120,7 @@ export namespace EvinceDocument {
|
|
|
2120
2120
|
class RenderContext extends GObject.Object {
|
|
2121
2121
|
static $gtype: GObject.GType<RenderContext>;
|
|
2122
2122
|
|
|
2123
|
-
//
|
|
2123
|
+
// Fields
|
|
2124
2124
|
|
|
2125
2125
|
page: Page;
|
|
2126
2126
|
rotation: number;
|
|
@@ -2128,7 +2128,7 @@ export namespace EvinceDocument {
|
|
|
2128
2128
|
target_width: number;
|
|
2129
2129
|
target_height: number;
|
|
2130
2130
|
|
|
2131
|
-
// Constructors
|
|
2131
|
+
// Constructors
|
|
2132
2132
|
|
|
2133
2133
|
constructor(properties?: Partial<RenderContext.ConstructorProps>, ...args: any[]);
|
|
2134
2134
|
|
|
@@ -2136,7 +2136,7 @@ export namespace EvinceDocument {
|
|
|
2136
2136
|
|
|
2137
2137
|
static ['new'](page: Page, rotation: number, scale: number): RenderContext;
|
|
2138
2138
|
|
|
2139
|
-
//
|
|
2139
|
+
// Methods
|
|
2140
2140
|
|
|
2141
2141
|
compute_scaled_size(
|
|
2142
2142
|
width_points: number,
|
|
@@ -2176,7 +2176,7 @@ export namespace EvinceDocument {
|
|
|
2176
2176
|
class TransitionEffect extends GObject.Object {
|
|
2177
2177
|
static $gtype: GObject.GType<TransitionEffect>;
|
|
2178
2178
|
|
|
2179
|
-
//
|
|
2179
|
+
// Properties
|
|
2180
2180
|
|
|
2181
2181
|
get alignment(): TransitionEffectAlignment;
|
|
2182
2182
|
set alignment(val: TransitionEffectAlignment);
|
|
@@ -2197,7 +2197,7 @@ export namespace EvinceDocument {
|
|
|
2197
2197
|
get type(): TransitionEffectType;
|
|
2198
2198
|
set type(val: TransitionEffectType);
|
|
2199
2199
|
|
|
2200
|
-
// Constructors
|
|
2200
|
+
// Constructors
|
|
2201
2201
|
|
|
2202
2202
|
constructor(properties?: Partial<TransitionEffect.ConstructorProps>, ...args: any[]);
|
|
2203
2203
|
|
|
@@ -2216,12 +2216,12 @@ export namespace EvinceDocument {
|
|
|
2216
2216
|
class DocumentBackendInfo {
|
|
2217
2217
|
static $gtype: GObject.GType<DocumentBackendInfo>;
|
|
2218
2218
|
|
|
2219
|
-
//
|
|
2219
|
+
// Fields
|
|
2220
2220
|
|
|
2221
2221
|
name: string;
|
|
2222
2222
|
version: string;
|
|
2223
2223
|
|
|
2224
|
-
// Constructors
|
|
2224
|
+
// Constructors
|
|
2225
2225
|
|
|
2226
2226
|
constructor(
|
|
2227
2227
|
properties?: Partial<{
|
|
@@ -2240,7 +2240,7 @@ export namespace EvinceDocument {
|
|
|
2240
2240
|
class DocumentInfo {
|
|
2241
2241
|
static $gtype: GObject.GType<DocumentInfo>;
|
|
2242
2242
|
|
|
2243
|
-
//
|
|
2243
|
+
// Fields
|
|
2244
2244
|
|
|
2245
2245
|
title: string;
|
|
2246
2246
|
format: string;
|
|
@@ -2264,7 +2264,7 @@ export namespace EvinceDocument {
|
|
|
2264
2264
|
contains_js: DocumentContainsJS;
|
|
2265
2265
|
fields_mask: number;
|
|
2266
2266
|
|
|
2267
|
-
// Constructors
|
|
2267
|
+
// Constructors
|
|
2268
2268
|
|
|
2269
2269
|
constructor(
|
|
2270
2270
|
properties?: Partial<{
|
|
@@ -2294,7 +2294,7 @@ export namespace EvinceDocument {
|
|
|
2294
2294
|
|
|
2295
2295
|
static ['new'](): DocumentInfo;
|
|
2296
2296
|
|
|
2297
|
-
//
|
|
2297
|
+
// Methods
|
|
2298
2298
|
|
|
2299
2299
|
copy(): DocumentInfo;
|
|
2300
2300
|
/**
|
|
@@ -2312,13 +2312,13 @@ export namespace EvinceDocument {
|
|
|
2312
2312
|
class DocumentLicense {
|
|
2313
2313
|
static $gtype: GObject.GType<DocumentLicense>;
|
|
2314
2314
|
|
|
2315
|
-
//
|
|
2315
|
+
// Fields
|
|
2316
2316
|
|
|
2317
2317
|
text: string;
|
|
2318
2318
|
uri: string;
|
|
2319
2319
|
web_statement: string;
|
|
2320
2320
|
|
|
2321
|
-
// Constructors
|
|
2321
|
+
// Constructors
|
|
2322
2322
|
|
|
2323
2323
|
constructor(
|
|
2324
2324
|
properties?: Partial<{
|
|
@@ -2331,7 +2331,7 @@ export namespace EvinceDocument {
|
|
|
2331
2331
|
|
|
2332
2332
|
static ['new'](): DocumentLicense;
|
|
2333
2333
|
|
|
2334
|
-
//
|
|
2334
|
+
// Methods
|
|
2335
2335
|
|
|
2336
2336
|
copy(): DocumentLicense;
|
|
2337
2337
|
/**
|
|
@@ -2349,7 +2349,7 @@ export namespace EvinceDocument {
|
|
|
2349
2349
|
abstract class DocumentPrivate {
|
|
2350
2350
|
static $gtype: GObject.GType<DocumentPrivate>;
|
|
2351
2351
|
|
|
2352
|
-
// Constructors
|
|
2352
|
+
// Constructors
|
|
2353
2353
|
|
|
2354
2354
|
_init(...args: any[]): void;
|
|
2355
2355
|
}
|
|
@@ -2360,7 +2360,7 @@ export namespace EvinceDocument {
|
|
|
2360
2360
|
class FileExporterContext {
|
|
2361
2361
|
static $gtype: GObject.GType<FileExporterContext>;
|
|
2362
2362
|
|
|
2363
|
-
//
|
|
2363
|
+
// Fields
|
|
2364
2364
|
|
|
2365
2365
|
format: FileExporterFormat;
|
|
2366
2366
|
filename: string;
|
|
@@ -2371,7 +2371,7 @@ export namespace EvinceDocument {
|
|
|
2371
2371
|
duplex: boolean;
|
|
2372
2372
|
pages_per_sheet: number;
|
|
2373
2373
|
|
|
2374
|
-
// Constructors
|
|
2374
|
+
// Constructors
|
|
2375
2375
|
|
|
2376
2376
|
_init(...args: any[]): void;
|
|
2377
2377
|
}
|
|
@@ -2380,7 +2380,7 @@ export namespace EvinceDocument {
|
|
|
2380
2380
|
class FindRectangle {
|
|
2381
2381
|
static $gtype: GObject.GType<FindRectangle>;
|
|
2382
2382
|
|
|
2383
|
-
//
|
|
2383
|
+
// Fields
|
|
2384
2384
|
|
|
2385
2385
|
x1: number;
|
|
2386
2386
|
y1: number;
|
|
@@ -2389,7 +2389,7 @@ export namespace EvinceDocument {
|
|
|
2389
2389
|
next_line: boolean;
|
|
2390
2390
|
after_hyphen: boolean;
|
|
2391
2391
|
|
|
2392
|
-
// Constructors
|
|
2392
|
+
// Constructors
|
|
2393
2393
|
|
|
2394
2394
|
constructor(
|
|
2395
2395
|
properties?: Partial<{
|
|
@@ -2405,7 +2405,7 @@ export namespace EvinceDocument {
|
|
|
2405
2405
|
|
|
2406
2406
|
static ['new'](): FindRectangle;
|
|
2407
2407
|
|
|
2408
|
-
//
|
|
2408
|
+
// Methods
|
|
2409
2409
|
|
|
2410
2410
|
copy(): FindRectangle;
|
|
2411
2411
|
free(): void;
|
|
@@ -2420,7 +2420,7 @@ export namespace EvinceDocument {
|
|
|
2420
2420
|
abstract class ImagePrivate {
|
|
2421
2421
|
static $gtype: GObject.GType<ImagePrivate>;
|
|
2422
2422
|
|
|
2423
|
-
// Constructors
|
|
2423
|
+
// Constructors
|
|
2424
2424
|
|
|
2425
2425
|
_init(...args: any[]): void;
|
|
2426
2426
|
}
|
|
@@ -2429,7 +2429,7 @@ export namespace EvinceDocument {
|
|
|
2429
2429
|
abstract class LayerPrivate {
|
|
2430
2430
|
static $gtype: GObject.GType<LayerPrivate>;
|
|
2431
2431
|
|
|
2432
|
-
// Constructors
|
|
2432
|
+
// Constructors
|
|
2433
2433
|
|
|
2434
2434
|
_init(...args: any[]): void;
|
|
2435
2435
|
}
|
|
@@ -2438,7 +2438,7 @@ export namespace EvinceDocument {
|
|
|
2438
2438
|
abstract class LinkActionPrivate {
|
|
2439
2439
|
static $gtype: GObject.GType<LinkActionPrivate>;
|
|
2440
2440
|
|
|
2441
|
-
// Constructors
|
|
2441
|
+
// Constructors
|
|
2442
2442
|
|
|
2443
2443
|
_init(...args: any[]): void;
|
|
2444
2444
|
}
|
|
@@ -2448,7 +2448,7 @@ export namespace EvinceDocument {
|
|
|
2448
2448
|
abstract class LinkDestPrivate {
|
|
2449
2449
|
static $gtype: GObject.GType<LinkDestPrivate>;
|
|
2450
2450
|
|
|
2451
|
-
// Constructors
|
|
2451
|
+
// Constructors
|
|
2452
2452
|
|
|
2453
2453
|
_init(...args: any[]): void;
|
|
2454
2454
|
}
|
|
@@ -2456,7 +2456,7 @@ export namespace EvinceDocument {
|
|
|
2456
2456
|
abstract class LinkPrivate {
|
|
2457
2457
|
static $gtype: GObject.GType<LinkPrivate>;
|
|
2458
2458
|
|
|
2459
|
-
// Constructors
|
|
2459
|
+
// Constructors
|
|
2460
2460
|
|
|
2461
2461
|
_init(...args: any[]): void;
|
|
2462
2462
|
}
|
|
@@ -2464,12 +2464,12 @@ export namespace EvinceDocument {
|
|
|
2464
2464
|
class Mapping {
|
|
2465
2465
|
static $gtype: GObject.GType<Mapping>;
|
|
2466
2466
|
|
|
2467
|
-
//
|
|
2467
|
+
// Fields
|
|
2468
2468
|
|
|
2469
2469
|
area: Rectangle;
|
|
2470
2470
|
data: any;
|
|
2471
2471
|
|
|
2472
|
-
// Constructors
|
|
2472
|
+
// Constructors
|
|
2473
2473
|
|
|
2474
2474
|
constructor(
|
|
2475
2475
|
properties?: Partial<{
|
|
@@ -2483,14 +2483,14 @@ export namespace EvinceDocument {
|
|
|
2483
2483
|
class MappingList {
|
|
2484
2484
|
static $gtype: GObject.GType<MappingList>;
|
|
2485
2485
|
|
|
2486
|
-
// Constructors
|
|
2486
|
+
// Constructors
|
|
2487
2487
|
|
|
2488
2488
|
constructor(page: number, list: Mapping[]);
|
|
2489
2489
|
_init(...args: any[]): void;
|
|
2490
2490
|
|
|
2491
2491
|
static ['new'](page: number, list: Mapping[]): MappingList;
|
|
2492
2492
|
|
|
2493
|
-
//
|
|
2493
|
+
// Methods
|
|
2494
2494
|
|
|
2495
2495
|
find(data?: any | null): Mapping;
|
|
2496
2496
|
find_custom(data: any | null, func: GLib.CompareFunc): Mapping;
|
|
@@ -2509,7 +2509,7 @@ export namespace EvinceDocument {
|
|
|
2509
2509
|
abstract class MediaPrivate {
|
|
2510
2510
|
static $gtype: GObject.GType<MediaPrivate>;
|
|
2511
2511
|
|
|
2512
|
-
// Constructors
|
|
2512
|
+
// Constructors
|
|
2513
2513
|
|
|
2514
2514
|
_init(...args: any[]): void;
|
|
2515
2515
|
}
|
|
@@ -2518,12 +2518,12 @@ export namespace EvinceDocument {
|
|
|
2518
2518
|
class Point {
|
|
2519
2519
|
static $gtype: GObject.GType<Point>;
|
|
2520
2520
|
|
|
2521
|
-
//
|
|
2521
|
+
// Fields
|
|
2522
2522
|
|
|
2523
2523
|
x: number;
|
|
2524
2524
|
y: number;
|
|
2525
2525
|
|
|
2526
|
-
// Constructors
|
|
2526
|
+
// Constructors
|
|
2527
2527
|
|
|
2528
2528
|
constructor(
|
|
2529
2529
|
properties?: Partial<{
|
|
@@ -2537,14 +2537,14 @@ export namespace EvinceDocument {
|
|
|
2537
2537
|
class Rectangle {
|
|
2538
2538
|
static $gtype: GObject.GType<Rectangle>;
|
|
2539
2539
|
|
|
2540
|
-
//
|
|
2540
|
+
// Fields
|
|
2541
2541
|
|
|
2542
2542
|
x1: number;
|
|
2543
2543
|
y1: number;
|
|
2544
2544
|
x2: number;
|
|
2545
2545
|
y2: number;
|
|
2546
2546
|
|
|
2547
|
-
// Constructors
|
|
2547
|
+
// Constructors
|
|
2548
2548
|
|
|
2549
2549
|
constructor(
|
|
2550
2550
|
properties?: Partial<{
|
|
@@ -2558,7 +2558,7 @@ export namespace EvinceDocument {
|
|
|
2558
2558
|
|
|
2559
2559
|
static ['new'](): Rectangle;
|
|
2560
2560
|
|
|
2561
|
-
//
|
|
2561
|
+
// Methods
|
|
2562
2562
|
|
|
2563
2563
|
copy(): Rectangle;
|
|
2564
2564
|
free(): void;
|
|
@@ -2569,13 +2569,13 @@ export namespace EvinceDocument {
|
|
|
2569
2569
|
class SourceLink {
|
|
2570
2570
|
static $gtype: GObject.GType<SourceLink>;
|
|
2571
2571
|
|
|
2572
|
-
//
|
|
2572
|
+
// Fields
|
|
2573
2573
|
|
|
2574
2574
|
filename: string;
|
|
2575
2575
|
line: number;
|
|
2576
2576
|
col: number;
|
|
2577
2577
|
|
|
2578
|
-
// Constructors
|
|
2578
|
+
// Constructors
|
|
2579
2579
|
|
|
2580
2580
|
constructor(
|
|
2581
2581
|
properties?: Partial<{
|
|
@@ -2588,7 +2588,7 @@ export namespace EvinceDocument {
|
|
|
2588
2588
|
|
|
2589
2589
|
static ['new'](filename: string, line: number, col: number): SourceLink;
|
|
2590
2590
|
|
|
2591
|
-
//
|
|
2591
|
+
// Methods
|
|
2592
2592
|
|
|
2593
2593
|
copy(): SourceLink;
|
|
2594
2594
|
free(): void;
|
|
@@ -2598,12 +2598,12 @@ export namespace EvinceDocument {
|
|
|
2598
2598
|
class TypeInfo {
|
|
2599
2599
|
static $gtype: GObject.GType<TypeInfo>;
|
|
2600
2600
|
|
|
2601
|
-
//
|
|
2601
|
+
// Fields
|
|
2602
2602
|
|
|
2603
2603
|
desc: string;
|
|
2604
2604
|
mime_types: string;
|
|
2605
2605
|
|
|
2606
|
-
// Constructors
|
|
2606
|
+
// Constructors
|
|
2607
2607
|
|
|
2608
2608
|
constructor(
|
|
2609
2609
|
properties?: Partial<{
|
|
@@ -2635,7 +2635,7 @@ export namespace EvinceDocument {
|
|
|
2635
2635
|
prototype: AnnotationMarkup;
|
|
2636
2636
|
}
|
|
2637
2637
|
interface AnnotationMarkup extends Annotation {
|
|
2638
|
-
//
|
|
2638
|
+
// Properties
|
|
2639
2639
|
|
|
2640
2640
|
get can_have_popup(): boolean;
|
|
2641
2641
|
set can_have_popup(val: boolean);
|
|
@@ -2656,7 +2656,7 @@ export namespace EvinceDocument {
|
|
|
2656
2656
|
get rectangle(): Rectangle;
|
|
2657
2657
|
set rectangle(val: Rectangle);
|
|
2658
2658
|
|
|
2659
|
-
//
|
|
2659
|
+
// Methods
|
|
2660
2660
|
|
|
2661
2661
|
get_label(): string;
|
|
2662
2662
|
get_opacity(): number;
|
|
@@ -2682,11 +2682,11 @@ export namespace EvinceDocument {
|
|
|
2682
2682
|
prototype: AsyncRenderer;
|
|
2683
2683
|
}
|
|
2684
2684
|
interface AsyncRenderer extends GObject.Object {
|
|
2685
|
-
//
|
|
2685
|
+
// Methods
|
|
2686
2686
|
|
|
2687
2687
|
render_pixbuf(page: number, scale: number, rotation: number): void;
|
|
2688
2688
|
|
|
2689
|
-
//
|
|
2689
|
+
// Virtual methods
|
|
2690
2690
|
|
|
2691
2691
|
vfunc_render_finished(pixbuf: GdkPixbuf.Pixbuf): void;
|
|
2692
2692
|
vfunc_render_pixbuf(page: number, scale: number, rotation: number): void;
|
|
@@ -2705,7 +2705,7 @@ export namespace EvinceDocument {
|
|
|
2705
2705
|
prototype: DocumentAnnotations;
|
|
2706
2706
|
}
|
|
2707
2707
|
interface DocumentAnnotations extends GObject.Object {
|
|
2708
|
-
//
|
|
2708
|
+
// Methods
|
|
2709
2709
|
|
|
2710
2710
|
add_annotation(annot: Annotation, rect: Rectangle): void;
|
|
2711
2711
|
can_add_annotation(): boolean;
|
|
@@ -2716,7 +2716,7 @@ export namespace EvinceDocument {
|
|
|
2716
2716
|
remove_annotation(annot: Annotation): void;
|
|
2717
2717
|
save_annotation(annot: Annotation, mask: AnnotationsSaveMask): void;
|
|
2718
2718
|
|
|
2719
|
-
//
|
|
2719
|
+
// Virtual methods
|
|
2720
2720
|
|
|
2721
2721
|
vfunc_add_annotation(annot: Annotation, rect: Rectangle): void;
|
|
2722
2722
|
vfunc_document_is_modified(): boolean;
|
|
@@ -2739,12 +2739,12 @@ export namespace EvinceDocument {
|
|
|
2739
2739
|
prototype: DocumentAttachments;
|
|
2740
2740
|
}
|
|
2741
2741
|
interface DocumentAttachments extends GObject.Object {
|
|
2742
|
-
//
|
|
2742
|
+
// Methods
|
|
2743
2743
|
|
|
2744
2744
|
get_attachments(): Attachment[];
|
|
2745
2745
|
has_attachments(): boolean;
|
|
2746
2746
|
|
|
2747
|
-
//
|
|
2747
|
+
// Virtual methods
|
|
2748
2748
|
|
|
2749
2749
|
vfunc_get_attachments(): Attachment[];
|
|
2750
2750
|
vfunc_has_attachments(): boolean;
|
|
@@ -2763,14 +2763,14 @@ export namespace EvinceDocument {
|
|
|
2763
2763
|
prototype: DocumentFind;
|
|
2764
2764
|
}
|
|
2765
2765
|
interface DocumentFind extends GObject.Object {
|
|
2766
|
-
//
|
|
2766
|
+
// Methods
|
|
2767
2767
|
|
|
2768
2768
|
find_text(page: Page, text: string, case_sensitive: boolean): Rectangle[];
|
|
2769
2769
|
find_text_extended(page: Page, text: string, options: FindOptions): FindRectangle[];
|
|
2770
2770
|
find_text_with_options(page: Page, text: string, options: FindOptions): Rectangle[];
|
|
2771
2771
|
get_supported_options(): FindOptions;
|
|
2772
2772
|
|
|
2773
|
-
//
|
|
2773
|
+
// Virtual methods
|
|
2774
2774
|
|
|
2775
2775
|
vfunc_find_text(page: Page, text: string, case_sensitive: boolean): Rectangle[];
|
|
2776
2776
|
vfunc_find_text_extended(page: Page, text: string, options: FindOptions): FindRectangle[];
|
|
@@ -2791,14 +2791,14 @@ export namespace EvinceDocument {
|
|
|
2791
2791
|
prototype: DocumentFonts;
|
|
2792
2792
|
}
|
|
2793
2793
|
interface DocumentFonts extends GObject.Object {
|
|
2794
|
-
//
|
|
2794
|
+
// Methods
|
|
2795
2795
|
|
|
2796
2796
|
fill_model(model: Gtk.TreeModel): void;
|
|
2797
2797
|
get_fonts_summary(): string;
|
|
2798
2798
|
get_progress(): number;
|
|
2799
2799
|
scan(n_pages: number): boolean;
|
|
2800
2800
|
|
|
2801
|
-
//
|
|
2801
|
+
// Virtual methods
|
|
2802
2802
|
|
|
2803
2803
|
vfunc_fill_model(model: Gtk.TreeModel): void;
|
|
2804
2804
|
vfunc_get_fonts_summary(): string;
|
|
@@ -2819,7 +2819,7 @@ export namespace EvinceDocument {
|
|
|
2819
2819
|
prototype: DocumentForms;
|
|
2820
2820
|
}
|
|
2821
2821
|
interface DocumentForms extends GObject.Object {
|
|
2822
|
-
//
|
|
2822
|
+
// Methods
|
|
2823
2823
|
|
|
2824
2824
|
document_is_modified(): boolean;
|
|
2825
2825
|
form_field_button_get_state(field: FormField): boolean;
|
|
@@ -2837,7 +2837,7 @@ export namespace EvinceDocument {
|
|
|
2837
2837
|
get_form_fields(page: Page): MappingList;
|
|
2838
2838
|
reset_form(action: LinkAction): void;
|
|
2839
2839
|
|
|
2840
|
-
//
|
|
2840
|
+
// Virtual methods
|
|
2841
2841
|
|
|
2842
2842
|
vfunc_document_is_modified(): boolean;
|
|
2843
2843
|
vfunc_form_field_button_get_state(field: FormField): boolean;
|
|
@@ -2869,12 +2869,12 @@ export namespace EvinceDocument {
|
|
|
2869
2869
|
prototype: DocumentImages;
|
|
2870
2870
|
}
|
|
2871
2871
|
interface DocumentImages extends GObject.Object {
|
|
2872
|
-
//
|
|
2872
|
+
// Methods
|
|
2873
2873
|
|
|
2874
2874
|
get_image(image: Image): GdkPixbuf.Pixbuf;
|
|
2875
2875
|
get_image_mapping(page: Page): MappingList;
|
|
2876
2876
|
|
|
2877
|
-
//
|
|
2877
|
+
// Virtual methods
|
|
2878
2878
|
|
|
2879
2879
|
vfunc_get_image(image: Image): GdkPixbuf.Pixbuf;
|
|
2880
2880
|
vfunc_get_image_mapping(page: Page): MappingList;
|
|
@@ -2893,7 +2893,7 @@ export namespace EvinceDocument {
|
|
|
2893
2893
|
prototype: DocumentLayers;
|
|
2894
2894
|
}
|
|
2895
2895
|
interface DocumentLayers extends GObject.Object {
|
|
2896
|
-
//
|
|
2896
|
+
// Methods
|
|
2897
2897
|
|
|
2898
2898
|
get_layers(): Gtk.TreeModel;
|
|
2899
2899
|
has_layers(): boolean;
|
|
@@ -2901,7 +2901,7 @@ export namespace EvinceDocument {
|
|
|
2901
2901
|
layer_is_visible(layer: Layer): boolean;
|
|
2902
2902
|
show_layer(layer: Layer): void;
|
|
2903
2903
|
|
|
2904
|
-
//
|
|
2904
|
+
// Virtual methods
|
|
2905
2905
|
|
|
2906
2906
|
vfunc_get_layers(): Gtk.TreeModel;
|
|
2907
2907
|
vfunc_has_layers(): boolean;
|
|
@@ -2923,7 +2923,7 @@ export namespace EvinceDocument {
|
|
|
2923
2923
|
prototype: DocumentLinks;
|
|
2924
2924
|
}
|
|
2925
2925
|
interface DocumentLinks extends GObject.Object {
|
|
2926
|
-
//
|
|
2926
|
+
// Methods
|
|
2927
2927
|
|
|
2928
2928
|
find_link_dest(link_name: string): LinkDest;
|
|
2929
2929
|
find_link_page(link_name: string): number;
|
|
@@ -2935,7 +2935,7 @@ export namespace EvinceDocument {
|
|
|
2935
2935
|
get_links_model(): Gtk.TreeModel;
|
|
2936
2936
|
has_document_links(): boolean;
|
|
2937
2937
|
|
|
2938
|
-
//
|
|
2938
|
+
// Virtual methods
|
|
2939
2939
|
|
|
2940
2940
|
vfunc_find_link_dest(link_name: string): LinkDest;
|
|
2941
2941
|
vfunc_find_link_page(link_name: string): number;
|
|
@@ -2957,11 +2957,11 @@ export namespace EvinceDocument {
|
|
|
2957
2957
|
prototype: DocumentMedia;
|
|
2958
2958
|
}
|
|
2959
2959
|
interface DocumentMedia extends GObject.Object {
|
|
2960
|
-
//
|
|
2960
|
+
// Methods
|
|
2961
2961
|
|
|
2962
2962
|
get_media_mapping(page: Page): MappingList;
|
|
2963
2963
|
|
|
2964
|
-
//
|
|
2964
|
+
// Virtual methods
|
|
2965
2965
|
|
|
2966
2966
|
vfunc_get_media_mapping(page: Page): MappingList;
|
|
2967
2967
|
}
|
|
@@ -2979,11 +2979,11 @@ export namespace EvinceDocument {
|
|
|
2979
2979
|
prototype: DocumentPrint;
|
|
2980
2980
|
}
|
|
2981
2981
|
interface DocumentPrint extends GObject.Object {
|
|
2982
|
-
//
|
|
2982
|
+
// Methods
|
|
2983
2983
|
|
|
2984
2984
|
print_page(page: Page, cr: cairo.Context): void;
|
|
2985
2985
|
|
|
2986
|
-
//
|
|
2986
|
+
// Virtual methods
|
|
2987
2987
|
|
|
2988
2988
|
vfunc_print_page(page: Page, cr: cairo.Context): void;
|
|
2989
2989
|
}
|
|
@@ -3001,12 +3001,12 @@ export namespace EvinceDocument {
|
|
|
3001
3001
|
prototype: DocumentSecurity;
|
|
3002
3002
|
}
|
|
3003
3003
|
interface DocumentSecurity extends GObject.Object {
|
|
3004
|
-
//
|
|
3004
|
+
// Methods
|
|
3005
3005
|
|
|
3006
3006
|
has_document_security(): boolean;
|
|
3007
3007
|
set_password(password: string): void;
|
|
3008
3008
|
|
|
3009
|
-
//
|
|
3009
|
+
// Virtual methods
|
|
3010
3010
|
|
|
3011
3011
|
vfunc_has_document_security(): boolean;
|
|
3012
3012
|
vfunc_set_password(password: string): void;
|
|
@@ -3025,7 +3025,7 @@ export namespace EvinceDocument {
|
|
|
3025
3025
|
prototype: DocumentText;
|
|
3026
3026
|
}
|
|
3027
3027
|
interface DocumentText extends GObject.Object {
|
|
3028
|
-
//
|
|
3028
|
+
// Methods
|
|
3029
3029
|
|
|
3030
3030
|
get_text(page: Page): string;
|
|
3031
3031
|
/**
|
|
@@ -3037,7 +3037,7 @@ export namespace EvinceDocument {
|
|
|
3037
3037
|
get_text_layout(page: Page, areas: Rectangle, n_areas: number): boolean;
|
|
3038
3038
|
get_text_mapping(page: Page): cairo.Region;
|
|
3039
3039
|
|
|
3040
|
-
//
|
|
3040
|
+
// Virtual methods
|
|
3041
3041
|
|
|
3042
3042
|
vfunc_get_text(page: Page): string;
|
|
3043
3043
|
/**
|
|
@@ -3062,12 +3062,12 @@ export namespace EvinceDocument {
|
|
|
3062
3062
|
prototype: DocumentTransition;
|
|
3063
3063
|
}
|
|
3064
3064
|
interface DocumentTransition extends GObject.Object {
|
|
3065
|
-
//
|
|
3065
|
+
// Methods
|
|
3066
3066
|
|
|
3067
3067
|
get_effect(page: number): TransitionEffect;
|
|
3068
3068
|
get_page_duration(page: number): number;
|
|
3069
3069
|
|
|
3070
|
-
//
|
|
3070
|
+
// Virtual methods
|
|
3071
3071
|
|
|
3072
3072
|
vfunc_get_effect(page: number): TransitionEffect;
|
|
3073
3073
|
vfunc_get_page_duration(page: number): number;
|
|
@@ -3086,7 +3086,7 @@ export namespace EvinceDocument {
|
|
|
3086
3086
|
prototype: FileExporter;
|
|
3087
3087
|
}
|
|
3088
3088
|
interface FileExporter extends GObject.Object {
|
|
3089
|
-
//
|
|
3089
|
+
// Methods
|
|
3090
3090
|
|
|
3091
3091
|
begin(fc: FileExporterContext): void;
|
|
3092
3092
|
begin_page(): void;
|
|
@@ -3095,7 +3095,7 @@ export namespace EvinceDocument {
|
|
|
3095
3095
|
end_page(): void;
|
|
3096
3096
|
get_capabilities(): FileExporterCapabilities;
|
|
3097
3097
|
|
|
3098
|
-
//
|
|
3098
|
+
// Virtual methods
|
|
3099
3099
|
|
|
3100
3100
|
vfunc_begin(fc: FileExporterContext): void;
|
|
3101
3101
|
vfunc_begin_page(): void;
|
|
@@ -3118,7 +3118,7 @@ export namespace EvinceDocument {
|
|
|
3118
3118
|
prototype: Selection;
|
|
3119
3119
|
}
|
|
3120
3120
|
interface Selection extends GObject.Object {
|
|
3121
|
-
//
|
|
3121
|
+
// Methods
|
|
3122
3122
|
|
|
3123
3123
|
get_selected_text(page: Page, style: SelectionStyle, points: Rectangle): string;
|
|
3124
3124
|
get_selection_region(rc: RenderContext, style: SelectionStyle, points: Rectangle): cairo.Region;
|
|
@@ -3132,7 +3132,7 @@ export namespace EvinceDocument {
|
|
|
3132
3132
|
base: Gdk.Color,
|
|
3133
3133
|
): void;
|
|
3134
3134
|
|
|
3135
|
-
//
|
|
3135
|
+
// Virtual methods
|
|
3136
3136
|
|
|
3137
3137
|
vfunc_get_selected_text(page: Page, style: SelectionStyle, points: Rectangle): string;
|
|
3138
3138
|
vfunc_get_selection_region(rc: RenderContext, style: SelectionStyle, points: Rectangle): cairo.Region;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@girs/evincedocument-3.0",
|
|
3
|
-
"version": "46.3.0-4.0.0-beta.
|
|
3
|
+
"version": "46.3.0-4.0.0-beta.13",
|
|
4
4
|
"description": "GJS TypeScript type definitions for EvinceDocument-3.0, generated from library version 46.3.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "evincedocument-3.0.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": "*"
|