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.
|
protected List<Object> |
getEqualityComponents()
Gets equality components.
|
int |
getHeight()
Deprecated.
|
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.
|
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(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 |
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, memberwiseClone, setFormat_ConvertOptions_New, setFormatequals, equals, hashCode, op_Equality, op_Inequalityclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetFormat, setFormatpublic WordProcessingConvertOptions()
Initializes new instance of WordProcessingConvertOptions class.
public final int getDpi()
Desired page DPI after conversion. The default resolution is: 96 dpi.
protected List<Object> getEqualityComponents()
ValueObjectGets equality components.
getEqualityComponents in class ValueObject@Deprecated public final int getHeight()
Desired page height after conversion.
public final int getMarginBottom()
Desired page bottom margin in pixels after conversion.
getMarginBottom in interface IPageMarginConvertOptionspublic final int getMarginLeft()
Desired page left margin in pixels after conversion.
getMarginLeft in interface IPageMarginConvertOptionspublic final int getMarginRight()
Desired page right margin in pixels after conversion.
getMarginRight in interface IPageMarginConvertOptionspublic final int getMarginTop()
Desired page top margin in pixels after conversion.
getMarginTop in interface IPageMarginConvertOptionspublic float getPageHeight()
IPageSizeConvertOptionsgetPageHeight in interface IPageSizeConvertOptionspublic PageOrientation getPageOrientation()
IPageOrientationConvertOptionsgetPageOrientation in interface IPageOrientationConvertOptionspublic PageSize getPageSize()
IPageSizeConvertOptionsgetPageSize in interface IPageSizeConvertOptionspublic float getPageWidth()
IPageSizeConvertOptionsgetPageWidth in interface IPageSizeConvertOptionspublic final String getPassword()
Set this property if you want to protect the converted document with a password.
public PdfRecognitionMode getPdfRecognitionMode()
IPdfRecognitionModeOptionsgetPdfRecognitionMode in interface IPdfRecognitionModeOptionspublic final RtfOptions getRtfOptions()
RTF specific convert options
@Deprecated public final int getWidth()
Desired page width after conversion.
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 setDpi(int value)
Desired page DPI after conversion. The default resolution is: 96 dpi.
@Deprecated public final void setHeight(int value)
Desired page height after conversion.
public final void setMarginBottom(int value)
Desired page bottom margin in pixels after conversion.
setMarginBottom in interface IPageMarginConvertOptionspublic final void setMarginLeft(int value)
Desired page left margin in pixels after conversion.
setMarginLeft in interface IPageMarginConvertOptionspublic final void setMarginRight(int value)
Desired page right margin in pixels after conversion.
setMarginRight in interface IPageMarginConvertOptionspublic final void setMarginTop(int value)
Desired page top margin in pixels after conversion.
setMarginTop in interface IPageMarginConvertOptionspublic void setPageHeight(float pageHeight)
IPageSizeConvertOptionssetPageHeight in interface IPageSizeConvertOptionspublic void setPageOrientation(PageOrientation pageOrientation)
IPageOrientationConvertOptionssetPageOrientation in interface IPageOrientationConvertOptionspublic void setPageSize(PageSize pageSize)
IPageSizeConvertOptionssetPageSize in interface IPageSizeConvertOptionspublic void setPageWidth(float pageWidth)
IPageSizeConvertOptionssetPageWidth in interface IPageSizeConvertOptionspublic final void setPassword(String value)
Set this property if you want to protect the converted document with a password.
public void setPdfRecognitionMode(PdfRecognitionMode pdfRecognitionMode)
IPdfRecognitionModeOptionssetPdfRecognitionMode in interface IPdfRecognitionModeOptionspublic final void setRtfOptions(RtfOptions value)
RTF specific convert options
@Deprecated public final void setWidth(int value)
Desired page width after conversion.
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.
Copyright © 2024. All rights reserved.