DocumentPartSavingArgs
Overview
DocumentPartSavingArgs is a class in Aspose.Words FOSS for Java.
Provides data for the IDocumentPartSavingCallback.documentPartSaving() callback.
Edition status of its 11 listed members (a property and its accessor methods are listed separately, overloads once): 11 not yet exercised by a verified example.
This class declares 7 methods for DocumentPartSavingArgs objects in Java programs.
Available methods include: getDocument, getDocumentPartFileName, getDocumentPartStream, getKeepDocumentPartStreamOpen, setDocumentPartFileName, setDocumentPartStream, setKeepDocumentPartStreamOpen.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: document, documentPartFileName, documentPartStream, keepDocumentPartStreamOpen.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
document | Document | Read | Gets the document object that is being saved. |
documentPartFileName | String | Read/Write | Gets or sets the file name (without path) where the document part will be saved to. |
keepDocumentPartStreamOpen | boolean | Read/Write | Specifies whether Aspose.Words should keep the stream open or close it after saving a document part. |
documentPartStream | java.io.OutputStream | Read/Write | Gets or sets the document part stream. |
Methods
| Signature | Description |
|---|---|
getDocument() → Document | Gets the document object that is being saved. |
getDocumentPartFileName() → String | Gets or sets the file name (without path) where the document part will be saved to. |
setDocumentPartFileName(value: String) | Sets the document part file name value. |
getKeepDocumentPartStreamOpen() → boolean | Specifies whether Aspose.Words should keep the stream open or close it after saving a document part. |
setKeepDocumentPartStreamOpen(value: boolean) | Sets the keep document part stream open value. |
getDocumentPartStream() → java.io.OutputStream | Returns the document part stream. |
setDocumentPartStream(value: java.io.OutputStream) | Sets the document part stream value. |