DocumentPartSavingArgs

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

NameTypeAccessDescription
documentDocumentReadGets the document object that is being saved.
documentPartFileNameStringRead/WriteGets or sets the file name (without path) where the document part will be saved to.
keepDocumentPartStreamOpenbooleanRead/WriteSpecifies whether Aspose.Words should keep the stream open or close it after saving a document part.
documentPartStreamjava.io.OutputStreamRead/WriteGets or sets the document part stream.

Methods

SignatureDescription
getDocument() → DocumentGets the document object that is being saved.
getDocumentPartFileName() → StringGets 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() → booleanSpecifies 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.OutputStreamReturns the document part stream.
setDocumentPartStream(value: java.io.OutputStream)Sets the document part stream value.

See Also