public class SpreadsheetContentDescriptor extends OoxmlContentDescriptor<SpreadsheetContent>
| Constructor and Description |
|---|
SpreadsheetContentDescriptor(IContentDescriptor nextOoxmlContentDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIfUnknownDocumentTypeException(Exception exception)
Determines whether a thrown exception is UnknownDocumentTypeException (exception type can
differ in various versions of Aspose libraries).
|
SpreadsheetLoadOptions |
checkLoadOptions(LoadOptions options,
WatermarkerSettings watermarkerSettings) |
static FileType |
convertFileFormat(int asposeFileFormat) |
IContentDescriptor |
deepClone()
Creates a copy of this
IContentDescriptor |
void |
initFromStream(StreamContainer inputStream)
Initializes the current instance of
IContentDescriptor from specified stream. |
protected SpreadsheetContent |
performCreateInstance(LoadOptions options,
WatermarkerSettings watermarkerSettings)
Creates an instance of
SpreadsheetContent with default parameters. |
createInstance, getNextDescriptorcanLoad, getContentType, getFileType, getInfo, getStream, isEncrypted, setEncrypted, setFileTypepublic SpreadsheetContentDescriptor(IContentDescriptor nextOoxmlContentDescriptor)
protected boolean checkIfUnknownDocumentTypeException(Exception exception)
Determines whether a thrown exception is UnknownDocumentTypeException (exception type can differ in various versions of Aspose libraries).
checkIfUnknownDocumentTypeException in class OoxmlContentDescriptor<SpreadsheetContent>exception - Thrown exception.public final SpreadsheetLoadOptions checkLoadOptions(LoadOptions options, WatermarkerSettings watermarkerSettings)
public static FileType convertFileFormat(int asposeFileFormat)
public IContentDescriptor deepClone()
ContentDescriptor
Creates a copy of this IContentDescriptor
deepClone in interface IContentDescriptordeepClone in class ContentDescriptor<SpreadsheetContent>IContentDescriptorpublic void initFromStream(StreamContainer inputStream)
ContentDescriptor
Initializes the current instance of IContentDescriptor from specified stream.
initFromStream in interface IContentDescriptorinitFromStream in class ContentDescriptor<SpreadsheetContent>inputStream - Stream to initialize current instance from.protected SpreadsheetContent performCreateInstance(LoadOptions options, WatermarkerSettings watermarkerSettings)
Creates an instance of SpreadsheetContent with default parameters.
performCreateInstance in class ContentDescriptor<SpreadsheetContent>options - Additional options to use when loading a content.watermarkerSettings - The settings for customizing Watermarker behaviour.SpreadsheetContent instance.Copyright © 2026. All rights reserved.