com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ExcelSaveOptions



  • public class ExcelSaveOptions
    extends UnifiedSaveOptions

    Save options for export to Excel format

    • Field Detail

      • ConversionEngine

        public int ConversionEngine

        Defines conversion engine that will be used for conversion

    • Constructor Detail

      • ExcelSaveOptions

        public ExcelSaveOptions()

        Constructor

    • Method Detail

      • getMinimizeTheNumberOfWorksheets

        public boolean getMinimizeTheNumberOfWorksheets()

        Set true if you need to minimize the number of worksheets in resultant workbook. Default value is false; it means save of each PDF page as separated worksheet.

        Returns:
        boolean value
      • setMinimizeTheNumberOfWorksheets

        public void setMinimizeTheNumberOfWorksheets(boolean value)

        Set true if you need to minimize the number of worksheets in resultant workbook. Default value is false; it means save of each PDF page as separated worksheet.

        Parameters:
        value - boolean value
      • isInsertBlankColumnAtFirst

        public boolean isInsertBlankColumnAtFirst()

        Set false if you need suppress inserting of blank column as the first column of worksheet. Default value is true; it means that blank column will be inserted.

        Returns:
        boolean value
      • setInsertBlankColumnAtFirst

        public void setInsertBlankColumnAtFirst(boolean value)

        Set false if you need suppress inserting of blank column as the first column of worksheet. Default value is true; it means that blank column will be inserted.

        Parameters:
        value - boolean value
      • isUniformWorksheets

        public boolean isUniformWorksheets()

        Set true for using uniform columns division through the document. Default value is false; it means that columns division will independent for each page.

        Returns:
        boolean value
      • setUniformWorksheets

        public void setUniformWorksheets(boolean value)

        Set true for using uniform columns division through the document. Default value is false; it means that columns division will independent for each page.

        Parameters:
        value - boolean value
      • getScaleFactor

        public double getScaleFactor()

        Gets or sets factor that will be applied to (virtual) scaling font size during conversion to Excel table. Setting of less value facilitates the search for columns and prevents merging of them for some documents. Default value is 0.9; Setting value to zero allows algorithm choose scaling automatically.

        Returns:
        double value
      • setScaleFactor

        public void setScaleFactor(double value)

        Gets or sets factor that will be applied to (virtual) scaling font size during conversion to Excel table. Setting of less value facilitates the search for columns and prevents merging of them for some documents. Default value is 0.9; Setting value to zero allows algorithm choose scaling automatically.

        Parameters:
        value - double value
      • getFormat

        public int getFormat()

        Output format.

        Return ExcelSaveOptions.ExcelFormat.XMLSpreadSheet2003 or ExcelSaveOptions.ExcelFormat.XLSX

        Returns:
        ExcelFormat element
      • setFormat

        public void setFormat(int value)

        Output format

        Use the ExcelSaveOptions.ExcelFormat.XMLSpreadSheet2003 or ExcelSaveOptions.ExcelFormat.XLSX

        Parameters:
        value - ExcelFormat element