|
||||||||
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 of 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
.
public void setLoadFormat(int value)
public java.lang.String getDefaultRegularFont()
Returns or sets Regular font used in case source font is not found.
public void setDefaultRegularFont(java.lang.String value)
public java.lang.String getDefaultSymbolFont()
Returns or sets Symbol font used in case source font is not found.
public void setDefaultSymbolFont(java.lang.String value)
public java.lang.String getDefaultAsianFont()
Returns or sets Asian font used in case source font is not found.
public void setDefaultAsianFont(java.lang.String value)
public java.lang.String getPassword()
Gets or sets the password.
Value: The password.
public void setPassword(java.lang.String value)
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.
public void setOnlyLoadDocumentProperties(boolean value)
public IWarningCallback getWarningCallback()
Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted.
Read/write IWarningCallback
.
public void setWarningCallback(IWarningCallback value)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |