CssStyleSheetType

CssStyleSheetType

Overview

CssStyleSheetType is an enum in Aspose.Words FOSS for Java.

Specifies how CSS (Cascading Style Sheet) styles are exported to HTML.

Edition status of its 8 listed members (a property and its accessor methods are listed separately, overloads once): 8 not yet exercised by a verified example.

This enum declares 4 methods for CssStyleSheetType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
INLINECSS styles are written inline (as a value of the style attribute on every element).
EMBEDDEDCSS styles are written separately from the content in a style sheet embedded in the HTML file.
EXTERNALCSS styles are written separately from the content in a style sheet in an external file.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of CssStyleSheetType values.

Methods

SignatureDescription
getName(cssStyleSheetType: int) → StringReturns JAVA_STYLE string representation of integer CssStyleSheetType value.
toString(cssStyleSheetType: int) → StringReturns DotNetStyle string representation of integer CssStyleSheetType value.
fromName(cssStyleSheetTypeName: String) → intReturns integer representation by CssStyleSheetType name.
getValues() → int[]Returns array of CssStyleSheetType values.

See Also