PageSavingArgs
Overview
PageSavingArgs is a class in Aspose.Words FOSS for Java.
Provides data for the IPageSavingCallback.pageSaving() event.
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 PageSavingArgs objects in Java programs.
Available methods include: getKeepPageStreamOpen, getPageFileName, getPageIndex, getPageStream, setKeepPageStreamOpen, setPageFileName, setPageStream.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: keepPageStreamOpen, pageFileName, pageIndex, pageStream.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
pageStream | java.io.OutputStream | Read/Write | Gets or sets the page stream. |
keepPageStreamOpen | boolean | Read/Write | Specifies whether Aspose.Words should keep the stream open or close it after saving a document page. |
pageFileName | String | Read/Write | Gets or sets the file name where the document page will be saved to. |
pageIndex | int | Read | Current page index. |
Methods
| Signature | Description |
|---|---|
getPageStream() → java.io.OutputStream | Returns the page stream. |
setPageStream(value: java.io.OutputStream) | Sets the page stream value. |
getKeepPageStreamOpen() → boolean | Specifies whether Aspose.Words should keep the stream open or close it after saving a document page. |
setKeepPageStreamOpen(value: boolean) | Sets the keep page stream open value. |
getPageFileName() → String | Gets or sets the file name where the document page will be saved to. |
setPageFileName(value: String) | Sets the page file name value. |
getPageIndex() → int | Current page index. |