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
| Value | Description |
|---|---|
INLINE | CSS styles are written inline (as a value of the style attribute on every element). |
EMBEDDED | CSS styles are written separately from the content in a style sheet embedded in the HTML file. |
EXTERNAL | CSS styles are written separately from the content in a style sheet in an external file. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of CssStyleSheetType values. |
Methods
| Signature | Description |
|---|---|
getName(cssStyleSheetType: int) → String | Returns JAVA_STYLE string representation of integer CssStyleSheetType value. |
toString(cssStyleSheetType: int) → String | Returns DotNetStyle string representation of integer CssStyleSheetType value. |
fromName(cssStyleSheetTypeName: String) → int | Returns integer representation by CssStyleSheetType name. |
getValues() → int[] | Returns array of CssStyleSheetType values. |