Class AbstractLowCodeSaveOptionsProvider
Namespace: Aspose.Cells.LowCode
Assembly: Aspose.Cells.dll (25.4.0)
Implementation to provide multiple save options for processes that require multiple outputs. For example, Aspose.Cells.LowCode.SpreadsheetSplitter feature requires multiple destinations to save the split files.
public abstract class AbstractLowCodeSaveOptionsProvider
Inheritance
object ← AbstractLowCodeSaveOptionsProvider
Derived
LowCodeSaveOptionsProviderOfAssembling , LowCodeSaveOptionsProviderOfPlaceHolders
Constructors
AbstractLowCodeSaveOptionsProvider()
protected AbstractLowCodeSaveOptionsProvider()
Methods
Finish(LowCodeSaveOptions)
Releases resources after processing currently split part.
public virtual void Finish(LowCodeSaveOptions part)
Parameters
part
LowCodeSaveOptions
the save options used for currently split part.
Remarks
By default this method just closes the stream specified by the Aspose.Cells.LowCode.LowCodeSaveOptions.OutputStream directly(if the save options specified a Stream as destination). User may overwrite this method to control how to release resources according to their requirement and the implementation of Aspose.Cells.LowCode.AbstractLowCodeSaveOptionsProvider.GetSaveOptions(Aspose.Cells.LowCode.SplitPartInfo).
GetSaveOptions(SplitPartInfo)
Gets the save options from which to get the output settings for currently split part. Returning null denotes to skip given part.
public abstract LowCodeSaveOptions GetSaveOptions(SplitPartInfo part)
Parameters
part
SplitPartInfo