com.groupdocs.conversion.options.convert

Class WordProcessingConvertOptions

  • All Implemented Interfaces:
    com.aspose.ms.System.IEquatable<ValueObject>, IConvertOptions, IPagedConvertOptions, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions, IPageRangedConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions, IWatermarkedConvertOptions, Serializable, Cloneable


    public class WordProcessingConvertOptions
    extends com.groupdocs.conversion.options.convert.CommonConvertOptions<WordProcessingFileType>
    implements Serializable, com.groupdocs.conversion.options.convert.IPageMarginConvertOptions, com.groupdocs.conversion.options.convert.IPageSizeConvertOptions, com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions, com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions

    Options for conversion to WordProcessing file type.

    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • getWidth

        public final int getWidth()

        Desired page width after conversion.

      • setWidth

        public final void setWidth(int value)

        Desired page width after conversion.

      • getHeight

        public final int getHeight()

        Desired page height after conversion.

      • setHeight

        public final void setHeight(int value)

        Desired page height after conversion.

      • getDpi

        public final double getDpi()

        Desired page DPI after conversion. The default resolution is: 96 dpi.

      • setDpi

        public final void setDpi(double value)

        Desired page DPI after conversion. The default resolution is: 96 dpi.

      • getPassword

        public final String getPassword()

        Set this property if you want to protect the converted document with a password.

      • setPassword

        public final void setPassword(String value)

        Set this property if you want to protect the converted document with a password.

      • getRtfOptions

        public final RtfOptions getRtfOptions()

        RTF specific convert options

      • setRtfOptions

        public final void setRtfOptions(RtfOptions value)

        RTF specific convert options

      • getZoom

        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.

      • setZoom

        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.

      • getMarginTop

        public final int getMarginTop()

        Desired page top margin in pixels after conversion.

        Specified by:
        getMarginTop in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginTop

        public final void setMarginTop(int value)

        Desired page top margin in pixels after conversion.

        Specified by:
        setMarginTop in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginBottom

        public final int getMarginBottom()

        Desired page bottom margin in pixels after conversion.

        Specified by:
        getMarginBottom in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginBottom

        public final void setMarginBottom(int value)

        Desired page bottom margin in pixels after conversion.

        Specified by:
        setMarginBottom in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginLeft

        public final int getMarginLeft()

        Desired page left margin in pixels after conversion.

        Specified by:
        getMarginLeft in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginLeft

        public final void setMarginLeft(int value)

        Desired page left margin in pixels after conversion.

        Specified by:
        setMarginLeft in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getMarginRight

        public final int getMarginRight()

        Desired page right margin in pixels after conversion.

        Specified by:
        getMarginRight in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • setMarginRight

        public final void setMarginRight(int value)

        Desired page right margin in pixels after conversion.

        Specified by:
        setMarginRight in interface com.groupdocs.conversion.options.convert.IPageMarginConvertOptions
      • getPageOrientation

        public com.groupdocs.conversion.options.convert.PageOrientation getPageOrientation()
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
        Gets page orientation after conversion
        Specified by:
        getPageOrientation in interface com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
      • setPageOrientation

        public void setPageOrientation(com.groupdocs.conversion.options.convert.PageOrientation pageOrientation)
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
        Sets desired page orientation after conversion
        Specified by:
        setPageOrientation in interface com.groupdocs.conversion.options.convert.IPageOrientationConvertOptions
      • getPageSize

        public com.groupdocs.conversion.options.convert.PageSize getPageSize()
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageSizeConvertOptions
        Gets desired page size after conversion
        Specified by:
        getPageSize in interface com.groupdocs.conversion.options.convert.IPageSizeConvertOptions
      • setPageSize

        public void setPageSize(com.groupdocs.conversion.options.convert.PageSize pageSize)
        Description copied from interface: com.groupdocs.conversion.options.convert.IPageSizeConvertOptions
        Set desired page size after conversion
        Specified by:
        setPageSize in interface com.groupdocs.conversion.options.convert.IPageSizeConvertOptions
      • getPdfRecognitionMode

        public com.groupdocs.conversion.options.convert.PdfRecognitionMode getPdfRecognitionMode()
        Description copied from interface: com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions
        Gets recognition mode when converting from pdf
        Specified by:
        getPdfRecognitionMode in interface com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions
      • setPdfRecognitionMode

        public void setPdfRecognitionMode(com.groupdocs.conversion.options.convert.PdfRecognitionMode pdfRecognitionMode)
        Description copied from interface: com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions
        Sets recognition mode when converting from pdf
        Specified by:
        setPdfRecognitionMode in interface com.groupdocs.conversion.options.convert.IPdfRecognitionModeOptions