com.groupdocs.conversion.options.convert

Class WordProcessingConvertOptions

    • 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.

      • getPageNumber

        public Integer getPageNumber()
        Gets the page number to start conversion from.
        Specified by:
        getPageNumber in interface IPagedConvertOptions
        Returns:
        The page number to start conversion from.
      • setPageNumber

        public void setPageNumber(int pageNumber)
        Sets the page number to start conversion from.
        Specified by:
        setPageNumber in interface IPagedConvertOptions
        Parameters:
        pageNumber - The page number to start conversion from.
      • getPagesCount

        public Integer getPagesCount()
        Gets number of pages to convert starting from PageNumber.
        Specified by:
        getPagesCount in interface IPagedConvertOptions
        Returns:
        Number of pages to convert starting from PageNumber.
      • setPagesCount

        public void setPagesCount(int pagesCount)
        Sets number of pages to convert starting from PageNumber.
        Specified by:
        setPagesCount in interface IPagedConvertOptions
        Parameters:
        pagesCount - Number of pages to convert starting from PageNumber.
      • getPages

        public List<Integer> getPages()
        Gets The list of page indexes to be converted. Should be specified to convert specific pages.
        Specified by:
        getPages in interface IPageRangedConvertOptions
        Returns:
        The list of page indexes to be converted. Should be specified to convert specific pages.
      • setPages

        public void setPages(List<Integer> pages)
        Sets the list of page indexes to be converted. Should be specified to convert specific pages.
        Specified by:
        setPages in interface IPageRangedConvertOptions
        Parameters:
        pages - The list of page indexes to be converted. Should be specified to convert specific pages.