com.groupdocs.editor.options

Class SpreadsheetSaveOptions

  • All Implemented Interfaces:
    IDocumentSaveOptions


    public final class SpreadsheetSaveOptions
    extends Object
    implements IDocumentSaveOptions

    Allows to specify custom options for generating and saving Spreadsheet (Excel-compliant) documents

    • Constructor Detail

      • SpreadsheetSaveOptions

        public SpreadsheetSaveOptions()
    • Method Detail

      • getOutputFormat

        public final byte getOutputFormat()

        Allows to specify a Spreadsheet format, which will be used for saving the document

        Returns:
      • getPassword

        public final String getPassword()

        Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document fornat supports password protection. Specify NULL or empty string for removing (cleaning) the password.

        Specified by:
        getPassword in interface IDocumentSaveOptions
        Returns:
      • getWorksheetProtection

        public final WorksheetProtection getWorksheetProtection()

        Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied.

        Returns:
      • setOutputFormat

        public final void setOutputFormat(byte value)

        Allows to specify a Spreadsheet format, which will be used for saving the document

        Parameters:
        value -
      • setPassword

        public final void setPassword(String value)

        Allows to specify, modify, obtain, or remove a password, which will be used to encode the generated Spreadsheet document, if tis document fornat supports password protection. Specify NULL or empty string for removing (cleaning) the password.

        Specified by:
        setPassword in interface IDocumentSaveOptions
        Parameters:
        value -
      • setWorksheetProtection

        public final void setWorksheetProtection(WorksheetProtection value)

        Allows to enable a worksheet protection for the output Spreadsheet document. By default is NULL - protection is not applied.

        Parameters:
        value -