![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.SaveOptions
public class SaveOptions
Provides various options that control how a workbook is saved.
Method Summary | |
---|---|
java.lang.String |
getEncoding()
Gets the name of the character encoding being used. |
ExportObjectListener |
getExportObjectListener()
Gets the ExportObjectListener to receive ExportObjectEvent. |
java.lang.String[] |
getFontPath()
Gets the font path(a list of directories containing fonts. |
java.lang.String |
getHtmlExportImagesFolder()
Gets the physical folder where images are saved when exporting to HTML format. |
java.lang.String |
getHtmlExportImagesFolderAlias()
Gets the name of the folder used to construct image URIs written into an HTML file. |
ImageOptions |
getImageOptions()
Gets the settings for generating Images. |
boolean |
getOnePagePerSheet()
Checks whether render one sheet in one pdf page. |
java.lang.String |
getOpenDocumentVersion()
Gets the version of Open Document. |
PdfBookmarkEntry |
getPdfBookmarkEntry()
Gets pdf bookmark. |
byte |
getPdfCompliance()
Gets the compliance for PDF convertion. |
boolean |
isDisplayHTMLCrossString()
Checks whether a cross-cell string will be displayed in the same way as MS Excel when saving an Excel file in html format. |
boolean |
isForMac()
Check whether the workbook will be saved for Mac OS. |
void |
setDisplayHTMLCrossString(boolean value)
Sets whether a cross-cell string will be displayed in the same way as MS Excel when saving an Excel file in html format. |
void |
setEncoding(java.lang.String encoding)
Sets the name of the character encoding being used. |
void |
setExportObjectListener(ExportObjectListener newListener)
Sets the ExportObjectListener to receive ExportObjectEvent. |
void |
setFontPath(java.lang.String[] arrFontPath)
Sets the font path(a list of directories containing fonts. |
void |
setForMac(boolean isForMac)
Sets whether the workbook will be saved for Mac OS. |
void |
setHtmlExportImagesFolder(java.lang.String value)
Sets the physical folder where images are saved when exporting to HTML format. |
void |
setHtmlExportImagesFolderAlias(java.lang.String value)
Sets the name of the folder used to construct image URIs written into an HTML file. |
void |
setOnePagePerSheet(boolean value)
Sets whether render one sheet in one pdf page. |
void |
setOpenDocumentVersion(java.lang.String version)
Sets the version of Open Document when saving ODS file. |
void |
setPdfBookmarkEntry(PdfBookmarkEntry entry)
Sets pdf bookmark. |
void |
setPdfCompliance(byte compliance)
Sets the compliance for PDF convertion. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String[] getFontPath()
setFontPath(String[])
.
Also it can be set globally by the system property with key "Aspose.Cells.FontPath".
For the system property "Aspose.Cells.FontPath",
the value should be a font path list string with system-dependent path-separator character.
public void setFontPath(java.lang.String[] arrFontPath)
arrFontPath
- font path list.public java.lang.String getHtmlExportImagesFolder()
public void setHtmlExportImagesFolder(java.lang.String value)
value
- the physical folder where images are saved.public java.lang.String getHtmlExportImagesFolderAlias()
public void setHtmlExportImagesFolderAlias(java.lang.String value)
value
- the name of the folder used to construct image URIs.public ExportObjectListener getExportObjectListener()
public void setExportObjectListener(ExportObjectListener newListener)
newListener
- the new ExportObjectListener. null to remove current listener.public boolean isDisplayHTMLCrossString()
public void setDisplayHTMLCrossString(boolean value)
value
- whether a cross-cell string will be displayed.public ImageOptions getImageOptions()
public boolean getOnePagePerSheet()
public void setOnePagePerSheet(boolean value)
value
- whether render one sheet in one pdf page.public PdfBookmarkEntry getPdfBookmarkEntry()
public void setPdfBookmarkEntry(PdfBookmarkEntry entry)
entry
- pdf bookmarkpublic byte getPdfCompliance()
public void setPdfCompliance(byte compliance)
compliance
- compliance for PDF convertion.public boolean isForMac()
public void setForMac(boolean isForMac)
isForMac
- whether the workbook will be saved for Mac OS.public java.lang.String getOpenDocumentVersion()
public void setOpenDocumentVersion(java.lang.String version)
version
- version of Open Document, can only be 1.1 or 1.2 currently.public java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
encoding
- the name of the character encoding being used. null will set the encoding to the default of System.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |