|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.LoadOptions
public class LoadOptions
Allows to specify additional options (such as format or default font) when loading a presentation.
Constructor Summary | |
---|---|
LoadOptions()
Creates new default load options. |
|
LoadOptions(int loadFormat)
Creates new load options. |
Method Summary | |
---|---|
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. |
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. |
IWarningCallback |
getWarningCallback()
Returns or sets an object which receives warnings and decides whether loading process will continue or will be aborted. |
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 |
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 |
setWarningCallback(IWarningCallback value)
Returns or sets an object which receives warnings and decides whether loading process will continue or will be aborted. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoadOptions()
Creates new default load options.
public LoadOptions(int loadFormat)
Creates new load options.
loadFormat
- Format of a presentation to load.Method Detail |
---|
public int getLoadFormat()
Returns or sets format of a presentation to load.
Read/write LoadFormat
.
getLoadFormat
in interface ILoadOptions
public void setLoadFormat(int value)
Returns or sets format of a presentation to load.
Read/write LoadFormat
.
setLoadFormat
in interface ILoadOptions
public java.lang.String getDefaultRegularFont()
Returns or sets Regular font used in case source font is not found.
Read/write String
.
getDefaultRegularFont
in interface ILoadOptions
public void setDefaultRegularFont(java.lang.String value)
Returns or sets Regular font used in case source font is not found.
Read/write String
.
setDefaultRegularFont
in interface ILoadOptions
public java.lang.String getDefaultSymbolFont()
Returns or sets Symbol font used in case source font is not found.
Read/write String
.
getDefaultSymbolFont
in interface ILoadOptions
public void setDefaultSymbolFont(java.lang.String value)
Returns or sets Symbol font used in case source font is not found.
Read/write String
.
setDefaultSymbolFont
in interface ILoadOptions
public java.lang.String getDefaultAsianFont()
Returns or sets Asian font used in case source font is not found.
Read/write String
.
getDefaultAsianFont
in interface ILoadOptions
public void setDefaultAsianFont(java.lang.String value)
Returns or sets Asian font used in case source font is not found.
Read/write String
.
setDefaultAsianFont
in interface ILoadOptions
public java.lang.String getPassword()
Gets or sets the password.
Read/write String
.
getPassword
in interface ILoadOptions
public void setPassword(java.lang.String value)
Gets or sets the password.
Read/write String
.
setPassword
in interface ILoadOptions
public 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
.
getOnlyLoadDocumentProperties
in interface ILoadOptions
public 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
.
setOnlyLoadDocumentProperties
in interface ILoadOptions
public IWarningCallback getWarningCallback()
Returns or sets an object which receives warnings and decides whether loading
process will continue or will be aborted.
Read/write IWarningCallback
.
getWarningCallback
in interface ILoadOptions
public 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
.
setWarningCallback
in interface ILoadOptions
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |