Class OdsSaveOptions
Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)
Represents the options of saving ods file.
public class OdsSaveOptions : SaveOptions
Inheritance
object ← SaveOptions ← OdsSaveOptions
Inherited Members
SaveOptions.m_SaveFormat, SaveOptions.SaveFormat, SaveOptions.ClearData, SaveOptions.CachedFileFolder, SaveOptions.ValidateMergedAreas, SaveOptions.MergeAreas, SaveOptions.CreateDirectory, SaveOptions.SortNames, SaveOptions.SortExternalNames, SaveOptions.RefreshChartCache, SaveOptions.WarningCallback, SaveOptions.CheckExcelRestriction, SaveOptions.UpdateSmartArt, SaveOptions.EncryptDocumentProperties, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
OdsSaveOptions()
Creates the options of saving ods file.
public OdsSaveOptions()
OdsSaveOptions(SaveFormat)
Creates the options of saving ods file.
public OdsSaveOptions(SaveFormat saveFormat)
Parameters
saveFormat
SaveFormat
The file format. It should be Aspose.Cells.SaveFormat.Ods, Aspose.Cells.SaveFormat.Ots, Aspose.Cells.SaveFormat.Fods or Aspose.Cells.SaveFormat.Sxc, otherwise the saved format will be set as Aspose.Cells.SaveFormat.Ods automatically.
Properties
GeneratorType
Gets and sets the generator of the ods file.
public OdsGeneratorType GeneratorType { get; set; }
Property Value
IgnorePivotTables
Indicates whether saving pivot tables.
public bool IgnorePivotTables { get; set; }
Property Value
Remarks
The pivot table feature of OpenOffice has fewer settings compared to Excel, so their results of pivot table have many differences. Sometimes it’s better to ingore these pivot tables when saving .ods file.
OdfStrictVersion
Gets and sets the ODF version.
public OpenDocumentFormatVersionType OdfStrictVersion { get; set; }