Class AbstractLowCodeSaveOptionsProvider
Namespace: Aspose.Cells.LowCode
Assembly: Aspose.Cells.dll (25.7.0)
Implementation to provide multiple save options for processesthat require multiple outputs. For example,Aspose.Cells.LowCode.SpreadsheetSplitter feature requires multiple destinationsto save the split files.
public abstract class AbstractLowCodeSaveOptionsProvider
{
}
Here's the reformatted version of your input code with proper indentation, spacing and general readability improvements:
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 theAspose.Cells.LowCode.LowCodeSaveOptions.OutputStream directly(if the save optionsspecified a Stream as destination).User may overwrite this method to control how to release resourcesaccording to their requirement and the implementation ofAspose.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)
{
}
In this case, since there are no nested structures or complex conditions, the code is already formatted according to C# conventions. However, for more complex situations with nested structures and multiple statements in a single line, I would format it as follows:
using System;
namespace YourNamespace
{
public abstract class YourClass
{
public abstract LowCodeSaveOptions GetSaveOptions(SplitPartInfo part);
}
}
Parameters
part
SplitPartInfo