HtmlGenerator
HtmlGenerator class
Html generator.
addAttributeValue
| Name | Description |
|---|---|
| addAttributeValue (String) | Quotes attribute value and adds it to the html file. |
Parameters:
| Name | Type | Description |
|---|---|---|
| value | String | Attribute value string. |
addAttributeValue
| Name | Description |
|---|---|
| addAttributeValue (char[]) | Quotes attribute value and adds it to the html file. |
Parameters:
| Name | Type | Description |
|---|---|---|
| value | char[] | Attribute value string. |
addAttributeValue
| Name | Description |
|---|---|
| addAttributeValue (char[], int, int) | Quotes attribute value and adds it to the html file. |
Parameters:
| Name | Type | Description |
|---|---|---|
| value | char[] | Attribute value string. |
| startIndex | int | Start index of the portion to add. |
| length | int | Length of the portion to add. |
addHtml
| Name | Description |
|---|---|
| addHtml (String) | Adds formatted HTML text. |
Parameters:
| Name | Type | Description |
|---|---|---|
| html | String | Text to add. |
addHtml
| Name | Description |
|---|---|
| addHtml (char[]) | Adds formatted HTML text. |
Parameters:
| Name | Type | Description |
|---|---|---|
| html | char[] | Text to add. |
addHtml
| Name | Description |
|---|---|
| addHtml (char[], int, int) | Adds formatted HTML text. |
Parameters:
| Name | Type | Description |
|---|---|---|
| html | char[] | Text to add. |
| startIndex | int | Start index of the portion to add. |
| length | int | Length of the portion to add. |
addText
| Name | Description |
|---|---|
| addText (String) | Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced. |
Parameters:
| Name | Type | Description |
|---|---|---|
| text | String | Text to add. |
addText
| Name | Description |
|---|---|
| addText (char[]) | Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced. |
Parameters:
| Name | Type | Description |
|---|---|---|
| text | char[] | Text to add. |
addText
| Name | Description |
|---|---|
| addText (char[], int, int) | Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced. |
Parameters:
| Name | Type | Description |
|---|---|---|
| text | char[] | Text to add. |
| startIndex | int | Start index of the portion to add. |
| length | int | Length of the portion to add. |
getNextSlideIndex
| Name | Description |
|---|---|
| getNextSlideIndex () | Returns index of a slide, which will be rendered after the current slide or -1 if currently rendering last slide. Read-only int. |
Returns: int
getPreviousSlideIndex
| Name | Description |
|---|---|
| getPreviousSlideIndex () | Returns index of previously rendered slide or -1 if first slide is rendering. Read-only int. |
Returns: int
getSlideImageSize
| Name | Description |
|---|---|
| getSlideImageSize () | Returns slide image size. Read-only java.awt.geom.Dimension2D. |
Returns: Dimension2D
getSlideImageSizeUnit
| Name | Description |
|---|---|
| getSlideImageSizeUnit () | Returns a unit in which slide image size is specified. Read-only SvgCoordinateUnit. |
Returns: int
getSlideImageSizeUnitCode
| Name | Description |
|---|---|
| getSlideImageSizeUnitCode () | Returns a css code of unit in which slide image size is specified. Read-only String. |
Returns: String
getSlideIndex
| Name | Description |
|---|---|
| getSlideIndex () | Returns index of currently rendering slide. Read-only int. |
Returns: int