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 |
|---|---|
int |
getDpi()
Desired page DPI after conversion.
|
int |
getHeight()
Deprecated.
|
float |
getMarginBottom()
Desired page bottom margin in points after conversion.
|
float |
getMarginLeft()
Desired page left margin in points after conversion.
|
float |
getMarginRight()
Desired page right margin in points after conversion.
|
float |
getMarginTop()
Desired page top margin in points after conversion.
|
float |
getPageHeight()
Specified page height in points if
|
PageOrientation |
getPageOrientation()
Gets page orientation after conversion
|
PageSize |
getPageSize()
Gets desired page size after conversion
|
float |
getPageWidth()
Specified page width in points if
|
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()
Deprecated.
|
int |
getZoom()
Specifies the zoom level in percentage.
|
void |
setDpi(int value)
Desired page DPI after conversion.
|
void |
setHeight(int value)
Deprecated.
|
void |
setMarginBottom(float value)
Desired page bottom margin in points after conversion.
|
void |
setMarginLeft(float value)
Desired page left margin in points after conversion.
|
void |
setMarginRight(float value)
Desired page right margin in points after conversion.
|
void |
setMarginTop(float value)
Desired page top margin in points after conversion.
|
void |
setPageHeight(float pageHeight)
Set desired page height
|
void |
setPageOrientation(PageOrientation pageOrientation)
Sets desired page orientation after conversion
|
void |
setPageSize(PageSize pageSize)
Set desired page size after conversion
|
void |
setPageWidth(float pageWidth)
Set desired page width
|
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)
Deprecated.
|
void |
setZoom(int value)
Specifies the zoom level in percentage.
|
getPageNumber, getPages, getPagesCount, getWatermark, setPageNumber, setPages, setPagesCount, setWatermarkdeepClone, getFormat_ConvertOptions_New, getFormat, setFormat_ConvertOptions_New, setFormatequals, equals, hashCode, op_Equality, op_InequalitygetClass, notify, notifyAll, toString, wait, wait, waitgetFormat, setFormatpublic WordProcessingConvertOptions()
Initializes new instance of WordProcessingConvertOptions class.
@Deprecated public final int getWidth()
Desired page width after conversion.
@Deprecated public final void setWidth(int value)
Desired page width after conversion.
@Deprecated public final int getHeight()
Desired page height after conversion.
@Deprecated public final void setHeight(int value)
Desired page height after conversion.
public final int getDpi()
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final void setDpi(int 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 float getMarginTop()
Desired page top margin in points after conversion.
getMarginTop in interface IPageMarginConvertOptionspublic final void setMarginTop(float value)
Desired page top margin in points after conversion.
setMarginTop in interface IPageMarginConvertOptionspublic final float getMarginBottom()
Desired page bottom margin in points after conversion.
getMarginBottom in interface IPageMarginConvertOptionspublic final void setMarginBottom(float value)
Desired page bottom margin in points after conversion.
setMarginBottom in interface IPageMarginConvertOptionspublic final float getMarginLeft()
Desired page left margin in points after conversion.
getMarginLeft in interface IPageMarginConvertOptionspublic final void setMarginLeft(float value)
Desired page left margin in points after conversion.
setMarginLeft in interface IPageMarginConvertOptionspublic final float getMarginRight()
Desired page right margin in points after conversion.
getMarginRight in interface IPageMarginConvertOptionspublic final void setMarginRight(float value)
Desired page right margin in points after conversion.
setMarginRight in interface IPageMarginConvertOptionspublic PageOrientation getPageOrientation()
IPageOrientationConvertOptionsgetPageOrientation in interface IPageOrientationConvertOptionspublic void setPageOrientation(PageOrientation pageOrientation)
IPageOrientationConvertOptionssetPageOrientation in interface IPageOrientationConvertOptionspublic PageSize getPageSize()
IPageSizeConvertOptionsgetPageSize in interface IPageSizeConvertOptionspublic void setPageSize(PageSize pageSize)
IPageSizeConvertOptionssetPageSize in interface IPageSizeConvertOptionspublic float getPageWidth()
IPageSizeConvertOptionsgetPageWidth in interface IPageSizeConvertOptionspublic void setPageWidth(float pageWidth)
IPageSizeConvertOptionssetPageWidth in interface IPageSizeConvertOptionspublic float getPageHeight()
IPageSizeConvertOptionsgetPageHeight in interface IPageSizeConvertOptionspublic void setPageHeight(float pageHeight)
IPageSizeConvertOptionssetPageHeight in interface IPageSizeConvertOptionspublic PdfRecognitionMode getPdfRecognitionMode()
IPdfRecognitionModeOptionsgetPdfRecognitionMode in interface IPdfRecognitionModeOptionspublic void setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode)
IPdfRecognitionModeOptionssetPdfRecognitionMode in interface IPdfRecognitionModeOptionsCopyright © 2025. All rights reserved.