CssSavingArgs
Overview
CssSavingArgs is a class in Aspose.Words FOSS for Java.
Provides data for the ICssSavingCallback.cssSaving() event.
Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.
This class declares 7 methods for CssSavingArgs objects in Java programs.
Available methods include: getCssStream, getDocument, getKeepCssStreamOpen, isExportNeeded, setCssStream, setKeepCssStreamOpen.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: cssStream, document, exportNeeded, keepCssStreamOpen.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
document | Document | Read | Gets the document object that is currently being saved. |
keepCssStreamOpen | boolean | Read/Write | Specifies whether Aspose.Words should keep the stream open or close it after saving an CSS information. |
cssStream | java.io.OutputStream | Read/Write | Gets or sets the css stream. |
exportNeeded | boolean | Read/Write | Allows to specify whether the CSS will be exported to file and embedded to HTML document. |
Methods
| Signature | Description |
|---|---|
getDocument() → Document | Gets the document object that is currently being saved. |
getKeepCssStreamOpen() → boolean | Specifies whether Aspose.Words should keep the stream open or close it after saving an CSS information. |
setKeepCssStreamOpen(value: boolean) | Sets the keep css stream open value. |
getCssStream() → java.io.OutputStream | Returns the css stream. |
setCssStream(value: java.io.OutputStream) | Sets the css stream value. |
isExportNeeded() → boolean | Allows to specify whether the CSS will be exported to file and embedded to HTML document. |
isExportNeeded(value: boolean) | Calls isExportNeeded(value) on this CssSavingArgs instance. |