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

NameTypeAccessDescription
documentDocumentReadGets the document object that is currently being saved.
keepCssStreamOpenbooleanRead/WriteSpecifies whether Aspose.Words should keep the stream open or close it after saving an CSS information.
cssStreamjava.io.OutputStreamRead/WriteGets or sets the css stream.
exportNeededbooleanRead/WriteAllows to specify whether the CSS will be exported to file and embedded to HTML document.

Methods

SignatureDescription
getDocument() → DocumentGets the document object that is currently being saved.
getKeepCssStreamOpen() → booleanSpecifies 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.OutputStreamReturns the css stream.
setCssStream(value: java.io.OutputStream)Sets the css stream value.
isExportNeeded() → booleanAllows 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.

See Also