public interface ILoadOptions
Allows to specify additional options (such as format or default font) when loading a presentation.
Modifier and Type | Method and Description |
---|---|
IBlobManagementOptions |
getBlobManagementOptions()
Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior,
such as using of temporary files or max BLOBs bytes in memory.
|
java.lang.String |
getDefaultAsianFont()
Returns or sets Asian font used in case source font is not found.
|
java.lang.String |
getDefaultRegularFont()
Returns or sets Regular font used in case source font is not found.
|
java.lang.String |
getDefaultSymbolFont()
Returns or sets Symbol font used in case source font is not found.
|
IFontSources |
getDocumentLevelFontSources()
Specifies sources for external fonts to be used by the presentation.
|
IInterruptionToken |
getInterruptionToken()
The token to monitor for interruption requests.
|
int |
getLoadFormat()
Returns or sets format of a presentation to load.
|
boolean |
getOnlyLoadDocumentProperties()
This property makes sense, if presentation file is password protected.
|
java.lang.String |
getPassword()
Gets or sets the password.
|
IResourceLoadingCallback |
getResourceLoadingCallback()
Returns or sets callback interface which manages external resources loading.
|
IWarningCallback |
getWarningCallback()
Returns or sets an object which receives warnings and decides whether loading
process will continue or will be aborted.
|
void |
setBlobManagementOptions(IBlobManagementOptions value)
Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior,
such as using of temporary files or max BLOBs bytes in memory.
|
void |
setDefaultAsianFont(java.lang.String value)
Returns or sets Asian font used in case source font is not found.
|
void |
setDefaultRegularFont(java.lang.String value)
Returns or sets Regular font used in case source font is not found.
|
void |
setDefaultSymbolFont(java.lang.String value)
Returns or sets Symbol font used in case source font is not found.
|
void |
setDocumentLevelFontSources(IFontSources value)
Specifies sources for external fonts to be used by the presentation.
|
void |
setInterruptionToken(IInterruptionToken value)
The token to monitor for interruption requests.
|
void |
setLoadFormat(int value)
Returns or sets format of a presentation to load.
|
void |
setOnlyLoadDocumentProperties(boolean value)
This property makes sense, if presentation file is password protected.
|
void |
setPassword(java.lang.String value)
Gets or sets the password.
|
void |
setResourceLoadingCallback(IResourceLoadingCallback value)
Returns or sets callback interface which manages external resources loading.
|
void |
setWarningCallback(IWarningCallback value)
Returns or sets an object which receives warnings and decides whether loading
process will continue or will be aborted.
|
int getLoadFormat()
Returns or sets format of a presentation to load.
Read/write LoadFormat
.
void setLoadFormat(int value)
Returns or sets format of a presentation to load.
Read/write LoadFormat
.
java.lang.String getDefaultRegularFont()
Returns or sets Regular font used in case source font is not found.
Read-write String
.
void setDefaultRegularFont(java.lang.String value)
Returns or sets Regular font used in case source font is not found.
Read-write String
.
java.lang.String getDefaultSymbolFont()
Returns or sets Symbol font used in case source font is not found.
Read-write String
.
void setDefaultSymbolFont(java.lang.String value)
Returns or sets Symbol font used in case source font is not found.
Read-write String
.
java.lang.String getDefaultAsianFont()
Returns or sets Asian font used in case source font is not found.
Read-write String
.
void setDefaultAsianFont(java.lang.String value)
Returns or sets Asian font used in case source font is not found.
Read-write String
.
java.lang.String getPassword()
Gets or sets the password.
Read-write String
.
void setPassword(java.lang.String value)
Gets or sets the password.
Read-write String
.
boolean getOnlyLoadDocumentProperties()
This property makes sense, if presentation file is password protected.
Value of true means that only document properties must be loaded from an encrypted
presentation file and password must be ignored.
Value of false means that entire encrypted presentation must be loaded with use of right
password.
If presentation isn't encrypted then property value is always ignored.
If document properties of an encrypted file aren't public and property value is true then
document properties cannot be loaded and exception will be thrown.
Read-write boolean
.
void setOnlyLoadDocumentProperties(boolean value)
This property makes sense, if presentation file is password protected.
Value of true means that only document properties must be loaded from an encrypted
presentation file and password must be ignored.
Value of false means that entire encrypted presentation must be loaded with use of right
password.
If presentation isn't encrypted then property value is always ignored.
If document properties of an encrypted file aren't public and property value is true then
document properties cannot be loaded and exception will be thrown.
Read-write boolean
.
IWarningCallback getWarningCallback()
Returns or sets an object which receives warnings and decides whether loading
process will continue or will be aborted.
Read/write IWarningCallback
.
void setWarningCallback(IWarningCallback value)
Returns or sets an object which receives warnings and decides whether loading
process will continue or will be aborted.
Read/write IWarningCallback
.
IBlobManagementOptions getBlobManagementOptions()
Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a particular environment or requirements.
void setBlobManagementOptions(IBlobManagementOptions value)
Represents the options which can be used to manage Binary Large Objects (BLOBs) handling behavior, such as using of temporary files or max BLOBs bytes in memory. These options intended to set up the best performance/memory consumption ratio for a particular environment or requirements.
IFontSources getDocumentLevelFontSources()
Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations
void setDocumentLevelFontSources(IFontSources value)
Specifies sources for external fonts to be used by the presentation. These fonts are available to the presentation throughout its lifetime and are not shared with other presentations
IInterruptionToken getInterruptionToken()
The token to monitor for interruption requests.
IPresentation
instance lifetime. Any long-running operation, such as presentation
loading or saving, will be interrupted via calling of the IInterruptionTokenSource.interrupt()
method of
the IInterruptionTokenSource
.
void setInterruptionToken(IInterruptionToken value)
The token to monitor for interruption requests.
IPresentation
instance lifetime. Any long-running operation, such as presentation
loading or saving, will be interrupted via calling of the IInterruptionTokenSource.interrupt()
method of
the IInterruptionTokenSource
.
IResourceLoadingCallback getResourceLoadingCallback()
Returns or sets callback interface which manages external resources loading.
Read/write IResourceLoadingCallback
.
void setResourceLoadingCallback(IResourceLoadingCallback value)
Returns or sets callback interface which manages external resources loading.
Read/write IResourceLoadingCallback
.