Class SaveOptions

java.lang.Object
io.keikai.axyra.sheets.io.SaveOptions

public final class SaveOptions extends Object
Export options for Workbook.save(path, options). Every field defaults to full-fidelity export; saving never recalculates (call Workbook.recalculate() first if needed).
  • Constructor Details

    • SaveOptions

      public SaveOptions()
  • Method Details

    • create

      public static SaveOptions create()
    • formulaPolicy

      public SaveOptions formulaPolicy(FormulaPolicy policy)
      How formulas are written. Asking for FormulaPolicy.KEEP explicitly is a promise the file will carry its formulas: saving such options to a format that cannot (ODS today, CSV and text always) throws rather than silently writing values.
    • skipComments

      public SaveOptions skipComments(boolean skip)
    • skipHyperlinks

      public SaveOptions skipHyperlinks(boolean skip)
    • formulaPolicy

      public FormulaPolicy formulaPolicy()
    • formulaPolicyExplicit

      public boolean formulaPolicyExplicit()
      Whether formulaPolicy(FormulaPolicy) was called, rather than left at the default.
    • skipComments

      public boolean skipComments()
    • skipHyperlinks

      public boolean skipHyperlinks()