|
||||||||
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)
|
void |
setDefaultRegularFont(java.lang.String value)
|
void |
setDefaultSymbolFont(java.lang.String value)
|
void |
setLoadFormat(int value)
|
void |
setOnlyLoadDocumentProperties(boolean value)
|
void |
setPassword(java.lang.String value)
|
void |
setWarningCallback(IWarningCallback value)
|
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)
setLoadFormat
in interface ILoadOptions
public java.lang.String getDefaultRegularFont()
Returns or sets Regular font used in case source font is not found.
getDefaultRegularFont
in interface ILoadOptions
public void setDefaultRegularFont(java.lang.String value)
setDefaultRegularFont
in interface ILoadOptions
public java.lang.String getDefaultSymbolFont()
Returns or sets Symbol font used in case source font is not found.
getDefaultSymbolFont
in interface ILoadOptions
public void setDefaultSymbolFont(java.lang.String value)
setDefaultSymbolFont
in interface ILoadOptions
public java.lang.String getDefaultAsianFont()
Returns or sets Asian font used in case source font is not found.
getDefaultAsianFont
in interface ILoadOptions
public void setDefaultAsianFont(java.lang.String value)
setDefaultAsianFont
in interface ILoadOptions
public java.lang.String getPassword()
Gets or sets the password.
Value: The password.
getPassword
in interface ILoadOptions
public void setPassword(java.lang.String value)
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.
getOnlyLoadDocumentProperties
in interface ILoadOptions
public void setOnlyLoadDocumentProperties(boolean value)
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)
setWarningCallback
in interface ILoadOptions
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |