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.conversion.converter.option.CadOptions |
getCadOptions()
CAD specific convert options
|
com.groupdocs.foundation.domain.FileType |
getConvertFileType()
The desired file type to which the input document should be converted to
|
String |
getConvertFileTypeExtension()
Returns the converted file extension
|
List<Integer> |
getConvertPages()
Convert specific pages.
|
String |
getCustomName()
If set it will be used as a name of the cached file
|
boolean |
getHideComments()
Hide comments during conversion if the source format support comments
|
boolean |
getHidePdfAnnotations()
Hide comments in Word documents
|
boolean |
getHideWordComments()
Deprecated.
|
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 |
setCadOptions(com.groupdocs.conversion.converter.option.CadOptions value)
CAD specific convert options
|
void |
setConvertFileType(com.groupdocs.foundation.domain.FileType value)
The desired file type to which the input document should be converted to
|
void |
setConvertPages(List<Integer> value)
Convert specific pages.
|
void |
setCustomName(String value)
If set it will be used as a name of the cached file
|
void |
setHideComments(boolean value)
Hide comments during conversion if the source format support comments
|
void |
setHidePdfAnnotations(boolean value)
Hide annotations in Pdf documents
|
void |
setHideWordComments(boolean value)
Deprecated.
|
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
- public List<Integer> getConvertPages()
Convert specific pages. The list contains the page indexes of the pages to be converted
public void setConvertPages(List<Integer> value)
Convert specific pages. The list contains the page indexes of the pages to be converted
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 getConvertFileTypeExtension()
Returns the converted file extension
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
- @Deprecated public boolean getHideWordComments()
Hide comments in Word documents
@Deprecated public void setHideWordComments(boolean value)
Hide comments in Word documents
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 com.groupdocs.conversion.converter.option.CadOptions getCadOptions()
CAD specific convert options
public void setCadOptions(com.groupdocs.conversion.converter.option.CadOptions value)
CAD specific convert options
value
- public boolean getHidePdfAnnotations()
Hide comments in Word documents
public void setHidePdfAnnotations(boolean value)
Hide annotations in Pdf documents
value
- public boolean getHideComments()
Hide comments during conversion if the source format support comments
public void setHideComments(boolean value)
Hide comments during conversion if the source format support comments
value
- public Object deepClone()
Clone current instance
deepClone
in interface com.aspose.ms.System.ICloneable
protected Object memberwiseClone()
Copyright © 2017. All rights reserved.