Document
Class
constructor
base
Class
name
get
Backend
Info
get
Info
getNPages
get
Page
get
Page
Label
get
Page
Size
get
Thumbnail
get
Thumbnail
Surface
load
load
Fd
load
Gfile
load
Stream
render
save
support
Synctex
NODE-GTK API Reference
EvinceDocument-3.0
EvinceDocument
DocumentClass
Class DocumentClass
Hierarchy
DocumentClass
Index
Constructors
constructor
Properties
base
Class
name
Methods
get
Backend
Info
get
Info
getNPages
get
Page
get
Page
Label
get
Page
Size
get
Thumbnail
get
Thumbnail
Surface
load
load
Fd
load
Gfile
load
Stream
render
save
support
Synctex
Constructors
constructor
new
Document
Class
(
)
:
EvinceDocument
.
DocumentClass
Returns
EvinceDocument
.
DocumentClass
Properties
base
Class
base
Class
:
GObject
.
ObjectClass
Static
name
name
:
string
Methods
get
Backend
Info
get
Backend
Info
(
document
:
EvinceDocument
.
Document
, info
:
DocumentBackendInfo
)
:
boolean
Parameters
document:
EvinceDocument
.
Document
info:
DocumentBackendInfo
Returns
boolean
get
Info
get
Info
(
document
:
EvinceDocument
.
Document
)
:
DocumentInfo
Parameters
document:
EvinceDocument
.
Document
Returns
DocumentInfo
getNPages
getNPages
(
document
:
EvinceDocument
.
Document
)
:
number
Parameters
document:
EvinceDocument
.
Document
Returns
number
get
Page
get
Page
(
document
:
EvinceDocument
.
Document
, index
:
number
)
:
EvinceDocument
.
Page
Parameters
document:
EvinceDocument
.
Document
index:
number
Returns
EvinceDocument
.
Page
get
Page
Label
get
Page
Label
(
document
:
EvinceDocument
.
Document
, page
:
EvinceDocument
.
Page
)
:
string
Parameters
document:
EvinceDocument
.
Document
page:
EvinceDocument
.
Page
Returns
string
get
Page
Size
get
Page
Size
(
document
:
EvinceDocument
.
Document
, page
:
EvinceDocument
.
Page
)
:
[
number
,
number
]
Parameters
document:
EvinceDocument
.
Document
page:
EvinceDocument
.
Page
Returns
[
number
,
number
]
get
Thumbnail
get
Thumbnail
(
document
:
EvinceDocument
.
Document
, rc
:
RenderContext
)
:
Pixbuf
Parameters
document:
EvinceDocument
.
Document
rc:
RenderContext
Returns
Pixbuf
get
Thumbnail
Surface
get
Thumbnail
Surface
(
document
:
EvinceDocument
.
Document
, rc
:
RenderContext
)
:
cairo
.
Surface
Parameters
document:
EvinceDocument
.
Document
rc:
RenderContext
Returns
cairo
.
Surface
load
load
(
document
:
EvinceDocument
.
Document
, uri
:
string
)
:
boolean
Parameters
document:
EvinceDocument
.
Document
uri:
string
Returns
boolean
load
Fd
load
Fd
(
document
:
EvinceDocument
.
Document
, fd
:
number
, flags
:
DocumentLoadFlags
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
document:
EvinceDocument
.
Document
fd:
number
flags:
DocumentLoadFlags
cancellable:
Gio
.
Cancellable
Returns
boolean
load
Gfile
load
Gfile
(
document
:
EvinceDocument
.
Document
, file
:
Gio
.
File
, flags
:
DocumentLoadFlags
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
document:
EvinceDocument
.
Document
file:
Gio
.
File
flags:
DocumentLoadFlags
cancellable:
Gio
.
Cancellable
Returns
boolean
load
Stream
load
Stream
(
document
:
EvinceDocument
.
Document
, stream
:
Gio
.
InputStream
, flags
:
DocumentLoadFlags
, cancellable
:
Gio
.
Cancellable
)
:
boolean
Parameters
document:
EvinceDocument
.
Document
stream:
Gio
.
InputStream
flags:
DocumentLoadFlags
cancellable:
Gio
.
Cancellable
Returns
boolean
render
render
(
document
:
EvinceDocument
.
Document
, rc
:
RenderContext
)
:
cairo
.
Surface
Parameters
document:
EvinceDocument
.
Document
rc:
RenderContext
Returns
cairo
.
Surface
save
save
(
document
:
EvinceDocument
.
Document
, uri
:
string
)
:
boolean
Parameters
document:
EvinceDocument
.
Document
uri:
string
Returns
boolean
support
Synctex
support
Synctex
(
document
:
EvinceDocument
.
Document
)
:
boolean
Parameters
document:
EvinceDocument
.
Document
Returns
boolean
Document
Class
constructor
base
Class
name
get
Backend
Info
get
Info
getNPages
get
Page
get
Page
Label
get
Page
Size
get
Thumbnail
get
Thumbnail
Sur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