public class WordProcessingContentDescriptor extends OoxmlContentDescriptor<WordProcessingContent>
| Constructor and Description |
|---|
WordProcessingContentDescriptor(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).
|
WordProcessingLoadOptions |
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 WordProcessingContent |
performCreateInstance(LoadOptions options,
WatermarkerSettings watermarkerSettings)
Creates an instance of
WordProcessingContent with default parameters. |
createInstance, getNextDescriptorcanLoad, getContentType, getFileType, getInfo, getStream, isEncrypted, setEncrypted, setFileTypepublic WordProcessingContentDescriptor(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<WordProcessingContent>exception - Thrown exception.public final WordProcessingLoadOptions 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<WordProcessingContent>IContentDescriptorpublic void initFromStream(StreamContainer inputStream)
ContentDescriptor
Initializes the current instance of IContentDescriptor from specified stream.
initFromStream in interface IContentDescriptorinitFromStream in class ContentDescriptor<WordProcessingContent>inputStream - Stream to initialize current instance from.protected WordProcessingContent performCreateInstance(LoadOptions options, WatermarkerSettings watermarkerSettings)
Creates an instance of WordProcessingContent with default parameters.
performCreateInstance in class ContentDescriptor<WordProcessingContent>options - Additional options to use when loading a document.watermarkerSettings - The settings for customizing Watermarker behaviour.WordProcessingContent instance.Copyright © 2026. All rights reserved.