public abstract class SaveOptions extends Object implements com.aspose.ms.System.ICloneable, Cloneable
General conversion options class
| Constructor and Description |
|---|
SaveOptions(int saveOptionsType)
Create SaveOptions instance
|
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Clone current instance
|
com.groupdocs.foundation.domain.FileType |
getConvertFileType()
The desired file type to which the input document should be converted to
|
String |
getCustomName()
If set it will be used as a name of the cached file
|
boolean |
getHideWordTrackedChanges()
Hide markup and track changes for Word documents
|
int |
getNumPagesToConvert()
Number of pages to convert
|
int |
getOutputType()
Result type of the conversion - String or Stream default: Stream
|
boolean |
getPageMode()
If true the conversion result will be set of streams/files for each page
If false only one stream/file will be returned Default: false
|
int |
getPageNumber()
Start conversion from
PageNumber page |
int |
getSaveOptionsType()
Shows for which output document type are the options
|
boolean |
getShowGridLines()
Show grid lines when converting Excel files
|
boolean |
getShowHiddenSheets()
Show hidden sheets when converting Excel files
|
protected boolean |
getUsePdf()
If
true, the input firstly is converted to PDF and after that to
desired format |
WatermarkOptions |
getWatermarkOptions()
Watermark specific options
|
protected Object |
memberwiseClone() |
void |
setConvertFileType(com.groupdocs.foundation.domain.FileType value)
The desired file type to which the input document should be converted to
|
void |
setCustomName(String value)
If set it will be used as a name of the cached file
|
void |
setHideWordTrackedChanges(boolean value)
Hide markup and track changes for Word documents
|
void |
setNumPagesToConvert(int value)
Number of pages to convert
|
void |
setOutputType(int value)
Result type of the conversion - String or Stream default: Stream
|
void |
setPageMode(boolean value)
If true the conversion result will be set of streams/files for each page
If false only one stream/file will be returned Default: false
|
void |
setPageNumber(int value)
Start conversion from
PageNumber page |
void |
setShowGridLines(boolean value)
Show grid lines when converting Excel files
|
void |
setShowHiddenSheets(boolean value)
Show hidden sheets when converting Excel files
|
protected void |
setUsePdf(boolean value)
If
true, the input firstly is converted to PDF and after that to
desired format |
void |
setWatermarkOptions(WatermarkOptions value)
Watermark specific options
|
public SaveOptions(int saveOptionsType)
Create SaveOptions instance
saveOptionsType - public int getSaveOptionsType()
Shows for which output document type are the options
public int getOutputType()
Result type of the conversion - String or Stream default: Stream
public void setOutputType(int value)
Result type of the conversion - String or Stream default: Stream
value - public int getPageNumber()
Start conversion from PageNumber page
public void setPageNumber(int value)
Start conversion from PageNumber page
value - public int getNumPagesToConvert()
Number of pages to convert
public void setNumPagesToConvert(int value)
Number of pages to convert
value - protected boolean getUsePdf()
If true, the input firstly is converted to PDF and after that to
desired format
protected void setUsePdf(boolean value)
If true, the input firstly is converted to PDF and after that to
desired format
value - public com.groupdocs.foundation.domain.FileType getConvertFileType()
The desired file type to which the input document should be converted to
public void setConvertFileType(com.groupdocs.foundation.domain.FileType value)
The desired file type to which the input document should be converted to
value - public String getCustomName()
If set it will be used as a name of the cached file
public void setCustomName(String value)
If set it will be used as a name of the cached file
value - public WatermarkOptions getWatermarkOptions()
Watermark specific options
public void setWatermarkOptions(WatermarkOptions value)
Watermark specific options
value - public boolean getShowGridLines()
Show grid lines when converting Excel files
public void setShowGridLines(boolean value)
Show grid lines when converting Excel files
value - public boolean getShowHiddenSheets()
Show hidden sheets when converting Excel files
public void setShowHiddenSheets(boolean value)
Show hidden sheets when converting Excel files
value - public boolean getHideWordTrackedChanges()
Hide markup and track changes for Word documents
public void setHideWordTrackedChanges(boolean value)
Hide markup and track changes for Word documents
value - public boolean getPageMode()
If true the conversion result will be set of streams/files for each page If false only one stream/file will be returned Default: false
public void setPageMode(boolean value)
If true the conversion result will be set of streams/files for each page If false only one stream/file will be returned Default: false
value - public Object deepClone()
Clone current instance
deepClone in interface com.aspose.ms.System.ICloneableprotected Object memberwiseClone()
Copyright © 2017. All rights reserved.