com.groupdocs.conversion.converter.option

## Class SaveOptions

- java.lang.Object
- - com.groupdocs.conversion.converter.option.SaveOptions

- All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, Cloneable
  Direct Known Subclasses:
    CellsSaveOptions, HtmlSaveOptions, ImageSaveOptions, PdfSaveOptions, SlidesSaveOptions, WordsSaveOptions

      public abstract class SaveOptions
      extends Object
      implements com.aspose.ms.System.ICloneable, Cloneable

  General conversion options class

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SaveOptions(int saveOptionsType)` Create SaveOptions instance

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `deepClone()` Clone current instance
    `com.groupdocs.conversion.converter.option.CadOptions` | `getCadOptions()` CAD specific convert options
    `com.groupdocs.conversion.converter.option.CellsOptions` | `getCellsOptions()` Cells specific convert options
    `com.groupdocs.foundation.domain.FileType` | `getConvertFileType()` The desired file type to which the input document should be converted to
    `String` | `getConvertFileTypeExtension()` Returns the converted file extension
    `List<Integer>` | `getConvertPages()` Convert specific pages.
    `boolean` | `getHideComments()` Hide comments during conversion if the source format support comments
    `boolean` | `getHidePdfAnnotations()` Hide comments in Word documents
    `boolean` | `getHideWordTrackedChanges()` Hide markup and track changes for Word documents
    `int` | `getNumPagesToConvert()` Number of pages to convert
    `int` | `getPageNumber()` Start conversion from `PageNumber` page
    `int` | `getSaveOptionsType()` Shows for which output document type are the options
    `boolean` | `getShowGridLines()` Show grid lines when converting Excel files
    `boolean` | `getShowHiddenSheets()` Show hidden sheets when converting Excel files
    `protected boolean` | `getUsePdf()` If `true`, the input firstly is converted to PDF and after that to desired format
    `WatermarkOptions` | `getWatermarkOptions()` Watermark specific options
    `protected Object` | `memberwiseClone()`
    `void` | `setCadOptions(com.groupdocs.conversion.converter.option.CadOptions value)` CAD specific convert options
    `void` | `setCellsOptions(com.groupdocs.conversion.converter.option.CellsOptions value)` Cells specific convert options
    `void` | `setConvertFileType(com.groupdocs.foundation.domain.FileType value)` The desired file type to which the input document should be converted to
    `void` | `setConvertPages(List<Integer> value)` Convert specific pages.
    `void` | `setHideComments(boolean value)` Hide comments during conversion if the source format support comments
    `void` | `setHidePdfAnnotations(boolean value)` Hide annotations in Pdf documents
    `void` | `setHideWordTrackedChanges(boolean value)` Hide markup and track changes for Word documents
    `void` | `setNumPagesToConvert(int value)` Number of pages to convert
    `void` | `setPageNumber(int value)` Start conversion from `PageNumber` page
    `void` | `setSaveOptionsType(int value)` Shows for which output document type are the options
    `void` | `setShowGridLines(boolean value)` Show grid lines when converting Excel files
    `void` | `setShowHiddenSheets(boolean value)` Show hidden sheets when converting Excel files
    `protected void` | `setUsePdf(boolean value)` If `true`, the input firstly is converted to PDF and after that to desired format
    `void` | `setWatermarkOptions(WatermarkOptions value)` Watermark specific options

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SaveOptions

          public SaveOptions(int saveOptionsType)

      Create SaveOptions instance

      Parameters:
        `saveOptionsType` -

  - ### Method Detail

    - #### getSaveOptionsType

          public int getSaveOptionsType()

      Shows for which output document type are the options

      Returns:

    - #### setSaveOptionsType

          public void setSaveOptionsType(int value)

      Shows for which output document type are the options

      Parameters:
        `value` -

    - #### getPageNumber

          public int getPageNumber()

      Start conversion from `PageNumber` page

      default is 1

      Returns:

    - #### setPageNumber

          public void setPageNumber(int value)

      Start conversion from `PageNumber` page

      default is 1

      Parameters:
        `value` -

    - #### getNumPagesToConvert

          public int getNumPagesToConvert()

      Number of pages to convert

      Returns:

    - #### setNumPagesToConvert

          public void setNumPagesToConvert(int value)

      Number of pages to convert

      Parameters:
        `value` -

    - #### getConvertPages

          public List<Integer> getConvertPages()

      Convert specific pages. The list contains the page indexes of the pages to be converted

      Returns:

    - #### setConvertPages

          public void setConvertPages(List<Integer> value)

      Convert specific pages. The list contains the page indexes of the pages to be converted

      Parameters:
        `value` -

    - #### getUsePdf

          protected boolean getUsePdf()

      If `true`, the input firstly is converted to PDF and after that to desired format

      Returns:

    - #### setUsePdf

          protected void setUsePdf(boolean value)

      If `true`, the input firstly is converted to PDF and after that to desired format

      Parameters:
        `value` -

    - #### getConvertFileType

          public com.groupdocs.foundation.domain.FileType getConvertFileType()

      The desired file type to which the input document should be converted to

      Returns:

    - #### setConvertFileType

          public void setConvertFileType(com.groupdocs.foundation.domain.FileType value)

      The desired file type to which the input document should be converted to

      Parameters:
        `value` -

    - #### getConvertFileTypeExtension

          public String getConvertFileTypeExtension()

      Returns the converted file extension

      Returns:

    - #### getWatermarkOptions

          public WatermarkOptions getWatermarkOptions()

      Watermark specific options

      Returns:

    - #### setWatermarkOptions

          public void setWatermarkOptions(WatermarkOptions value)

      Watermark specific options

      Parameters:
        `value` -

    - #### getShowGridLines

          public boolean getShowGridLines()

      Show grid lines when converting Excel files

      Returns:

    - #### setShowGridLines

          public void setShowGridLines(boolean value)

      Show grid lines when converting Excel files

      Parameters:
        `value` -

    - #### getShowHiddenSheets

          public boolean getShowHiddenSheets()

      Show hidden sheets when converting Excel files

      Returns:

    - #### setShowHiddenSheets

          public void setShowHiddenSheets(boolean value)

      Show hidden sheets when converting Excel files

      Parameters:
        `value` -

    - #### getHideWordTrackedChanges

          public boolean getHideWordTrackedChanges()

      Hide markup and track changes for Word documents

      Returns:

    - #### setHideWordTrackedChanges

          public void setHideWordTrackedChanges(boolean value)

      Hide markup and track changes for Word documents

      Parameters:
        `value` -

    - #### getCadOptions

          public com.groupdocs.conversion.converter.option.CadOptions getCadOptions()

      CAD specific convert options

      Returns:

    - #### setCadOptions

          public void setCadOptions(com.groupdocs.conversion.converter.option.CadOptions value)

      CAD specific convert options

      Parameters:
        `value` -

    - #### getHidePdfAnnotations

          public boolean getHidePdfAnnotations()

      Hide comments in Word documents

      Returns:

    - #### setHidePdfAnnotations

          public void setHidePdfAnnotations(boolean value)

      Hide annotations in Pdf documents

      Parameters:
        `value` -

    - #### getHideComments

          public boolean getHideComments()

      Hide comments during conversion if the source format support comments

      Returns:

    - #### setHideComments

          public void setHideComments(boolean value)

      Hide comments during conversion if the source format support comments

      Parameters:
        `value` -

    - #### getCellsOptions

          public com.groupdocs.conversion.converter.option.CellsOptions getCellsOptions()

      Cells specific convert options

      Returns:

    - #### setCellsOptions

          public void setCellsOptions(com.groupdocs.conversion.converter.option.CellsOptions value)

      Cells specific convert options

      Parameters:
        `value` -

    - #### deepClone

          public Object deepClone()

      Clone current instance

      Specified by:
        `deepClone` in interface `com.aspose.ms.System.ICloneable`
      Returns:

    - #### memberwiseClone

          protected Object memberwiseClone()

Copyright © 2018. All rights reserved.