@vivliostyle/core
Preparing search index...
ops
OPSDocStore
Class OPSDocStore
Hierarchy (
View Summary
)
ResourceStore
<
XMLDocHolder
>
OPSDocStore
EPUBDocStore
Index
Constructors
constructor
Properties
fetchers
font
Deobfuscator
parser
resources
style
By
Doc
URL
style
By
Key
style
Fetcher
By
Key
triggers
By
Doc
URL
type
validator
Set
Methods
delete
fetch
get
get
Style
For
Doc
get
Triggers
For
Doc
init
load
parse
OPS
Resource
process
Viewport
Meta
Constructors
constructor
new
OPSDocStore
(
fontDeobfuscator
:
(
p1
:
string
)
=>
(
p1
:
Blob
)
=>
Result
<
Blob
>
,
)
:
OPSDocStore
Parameters
fontDeobfuscator
:
(
p1
:
string
)
=>
(
p1
:
Blob
)
=>
Result
<
Blob
>
Returns
OPSDocStore
Properties
fetchers
fetchers
:
{
[
key
:
string
]:
Fetcher
<
XMLDocHolder
>
}
= {}
font
Deobfuscator
fontDeobfuscator
:
(
p1
:
string
)
=>
(
p1
:
Blob
)
=>
Result
<
Blob
>
Readonly
parser
parser
:
(
p1
:
Net
.
FetchResponse
,
p2
:
ResourceStore
<
XMLDocHolder
>
,
)
=>
Result
<
XMLDocHolder
>
resources
resources
:
{
[
key
:
string
]:
XMLDocHolder
}
= {}
style
By
Doc
URL
styleByDocURL
:
{
[
key
:
string
]:
Style
}
= {}
style
By
Key
styleByKey
:
{
[
key
:
string
]:
Style
}
= {}
style
Fetcher
By
Key
styleFetcherByKey
:
{
[
key
:
string
]:
Fetcher
<
Style
>
}
= {}
triggers
By
Doc
URL
triggersByDocURL
:
{
[
key
:
string
]:
Trigger
[]
}
= {}
Readonly
type
type
:
FetchResponseType
validator
Set
validatorSet
:
ValidatorSet
= null
Methods
delete
delete
(
url
:
string
)
:
void
Parameters
url
:
string
Returns
void
fetch
fetch
(
url
:
string
,
opt_required
?:
boolean
,
opt_message
?:
string
,
)
:
Fetcher
<
XMLDocHolder
>
Parameters
url
:
string
Optional
opt_required
:
boolean
Optional
opt_message
:
string
Returns
Fetcher
<
XMLDocHolder
>
fetcher for the resource for the given URL
get
get
(
url
:
string
)
:
XmlDoc
.
XMLDocHolder
Parameters
url
:
string
Returns
XmlDoc
.
XMLDocHolder
get
Style
For
Doc
getStyleForDoc
(
xmldoc
:
XMLDocHolder
)
:
Style
Parameters
xmldoc
:
XMLDocHolder
Returns
Style
get
Triggers
For
Doc
getTriggersForDoc
(
xmldoc
:
XMLDocHolder
)
:
Trigger
[]
Parameters
xmldoc
:
XMLDocHolder
Returns
Trigger
[]
init
init
(
authorStyleSheets
:
{
text
:
string
;
url
:
string
}
[]
,
userStyleSheets
:
{
text
:
string
;
url
:
string
}
[]
,
)
:
Result
<
boolean
>
Parameters
authorStyleSheets
:
{
text
:
string
;
url
:
string
}
[]
userStyleSheets
:
{
text
:
string
;
url
:
string
}
[]
Returns
Result
<
boolean
>
load
load
(
url
:
string
,
opt_required
?:
boolean
,
opt_message
?:
string
,
)
:
Result
<
XMLDocHolder
>
Parameters
url
:
string
Optional
opt_required
:
boolean
Optional
opt_message
:
string
Returns
Result
<
XMLDocHolder
>
resource for the given URL
parse
OPS
Resource
parseOPSResource
(
response
:
Net
.
FetchResponse
)
:
Result
<
XMLDocHolder
>
Parameters
response
:
Net
.
FetchResponse
Returns
Result
<
XMLDocHolder
>
process
Viewport
Meta
processViewportMeta
(
meta
:
Element
)
:
string
Parameters
meta
:
Element
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
fetchers
font
Deobfuscator
parser
resources
style
By
Doc
URL
style
By
Key
style
Fetcher
By
Key
triggers
By
Doc
URL
type
validator
Set
Methods
delete
fetch
get
get
Style
For
Doc
get
Triggers
For
Doc
init
load
parse
OPS
Resource
process
Viewport
Meta
@vivliostyle/core
Loading...