public class WordProcessingConvertOptions extends CommonConvertOptions<WordProcessingFileType> implements Serializable, IPageMarginConvertOptions, IPageSizeConvertOptions, IPageOrientationConvertOptions, IPdfRecognitionModeOptions
Options for conversion to WordProcessing file type.
Constructor and Description |
---|
WordProcessingConvertOptions()
Initializes new instance of
WordProcessingConvertOptions class. |
Modifier and Type | Method and Description |
---|---|
double |
getDpi()
Desired page DPI after conversion.
|
int |
getHeight()
Desired page height after conversion.
|
int |
getMarginBottom()
Desired page bottom margin in pixels after conversion.
|
int |
getMarginLeft()
Desired page left margin in pixels after conversion.
|
int |
getMarginRight()
Desired page right margin in pixels after conversion.
|
int |
getMarginTop()
Desired page top margin in pixels after conversion.
|
PageOrientation |
getPageOrientation()
Gets page orientation after conversion
|
PageSize |
getPageSize()
Gets desired page size after conversion
|
String |
getPassword()
Set this property if you want to protect the converted document with a password.
|
PdfRecognitionMode |
getPdfRecognitionMode()
Gets recognition mode when converting from pdf
|
RtfOptions |
getRtfOptions()
RTF specific convert options
|
int |
getWidth()
Desired page width after conversion.
|
int |
getZoom()
Specifies the zoom level in percentage.
|
void |
setDpi(double value)
Desired page DPI after conversion.
|
void |
setHeight(int value)
Desired page height after conversion.
|
void |
setMarginBottom(int value)
Desired page bottom margin in pixels after conversion.
|
void |
setMarginLeft(int value)
Desired page left margin in pixels after conversion.
|
void |
setMarginRight(int value)
Desired page right margin in pixels after conversion.
|
void |
setMarginTop(int value)
Desired page top margin in pixels after conversion.
|
void |
setPageOrientation(PageOrientation pageOrientation)
Sets desired page orientation after conversion
|
void |
setPageSize(PageSize pageSize)
Set desired page size after conversion
|
void |
setPassword(String value)
Set this property if you want to protect the converted document with a password.
|
void |
setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode)
Sets recognition mode when converting from pdf
|
void |
setRtfOptions(RtfOptions value)
RTF specific convert options
|
void |
setWidth(int value)
Desired page width after conversion.
|
void |
setZoom(int value)
Specifies the zoom level in percentage.
|
getPageNumber, getPages, getPagesCount, getWatermark, setPageNumber, setPages, setPagesCount, setWatermark
deepClone, getFormat_ConvertOptions_New, getFormat, setFormat_ConvertOptions_New, setFormat
equals, equals, hashCode, op_Equality, op_Inequality
getClass, notify, notifyAll, toString, wait, wait, wait
getFormat, setFormat
public WordProcessingConvertOptions()
Initializes new instance of WordProcessingConvertOptions
class.
public final int getWidth()
Desired page width after conversion.
public final void setWidth(int value)
Desired page width after conversion.
public final int getHeight()
Desired page height after conversion.
public final void setHeight(int value)
Desired page height after conversion.
public final double getDpi()
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final void setDpi(double value)
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final String getPassword()
Set this property if you want to protect the converted document with a password.
public final void setPassword(String value)
Set this property if you want to protect the converted document with a password.
public final RtfOptions getRtfOptions()
RTF specific convert options
public final void setRtfOptions(RtfOptions value)
RTF specific convert options
public final int getZoom()
Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
public final void setZoom(int value)
Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
public final int getMarginTop()
Desired page top margin in pixels after conversion.
getMarginTop
in interface IPageMarginConvertOptions
public final void setMarginTop(int value)
Desired page top margin in pixels after conversion.
setMarginTop
in interface IPageMarginConvertOptions
public final int getMarginBottom()
Desired page bottom margin in pixels after conversion.
getMarginBottom
in interface IPageMarginConvertOptions
public final void setMarginBottom(int value)
Desired page bottom margin in pixels after conversion.
setMarginBottom
in interface IPageMarginConvertOptions
public final int getMarginLeft()
Desired page left margin in pixels after conversion.
getMarginLeft
in interface IPageMarginConvertOptions
public final void setMarginLeft(int value)
Desired page left margin in pixels after conversion.
setMarginLeft
in interface IPageMarginConvertOptions
public final int getMarginRight()
Desired page right margin in pixels after conversion.
getMarginRight
in interface IPageMarginConvertOptions
public final void setMarginRight(int value)
Desired page right margin in pixels after conversion.
setMarginRight
in interface IPageMarginConvertOptions
public PageOrientation getPageOrientation()
IPageOrientationConvertOptions
getPageOrientation
in interface IPageOrientationConvertOptions
public void setPageOrientation(PageOrientation pageOrientation)
IPageOrientationConvertOptions
setPageOrientation
in interface IPageOrientationConvertOptions
public PageSize getPageSize()
IPageSizeConvertOptions
getPageSize
in interface IPageSizeConvertOptions
public void setPageSize(PageSize pageSize)
IPageSizeConvertOptions
setPageSize
in interface IPageSizeConvertOptions
public PdfRecognitionMode getPdfRecognitionMode()
IPdfRecognitionModeOptions
getPdfRecognitionMode
in interface IPdfRecognitionModeOptions
public void setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode)
IPdfRecognitionModeOptions
setPdfRecognitionMode
in interface IPdfRecognitionModeOptions