HtmlGenerator

HtmlGenerator class

Html generator.

addAttributeValue

NameDescription
addAttributeValue (String)Quotes attribute value and adds it to the html file.

Parameters:

NameTypeDescription
valueStringAttribute value string.

addAttributeValue

NameDescription
addAttributeValue (char[])Quotes attribute value and adds it to the html file.

Parameters:

NameTypeDescription
valuechar[]Attribute value string.

addAttributeValue

NameDescription
addAttributeValue (char[], int, int)Quotes attribute value and adds it to the html file.

Parameters:

NameTypeDescription
valuechar[]Attribute value string.
startIndexintStart index of the portion to add.
lengthintLength of the portion to add.

addHtml

NameDescription
addHtml (String)Adds formatted HTML text.

Parameters:

NameTypeDescription
htmlStringText to add.

addHtml

NameDescription
addHtml (char[])Adds formatted HTML text.

Parameters:

NameTypeDescription
htmlchar[]Text to add.

addHtml

NameDescription
addHtml (char[], int, int)Adds formatted HTML text.

Parameters:

NameTypeDescription
htmlchar[]Text to add.
startIndexintStart index of the portion to add.
lengthintLength of the portion to add.

addText

NameDescription
addText (String)Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced.

Parameters:

NameTypeDescription
textStringText to add.

addText

NameDescription
addText (char[])Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced.

Parameters:

NameTypeDescription
textchar[]Text to add.

addText

NameDescription
addText (char[], int, int)Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren’t replaced.

Parameters:

NameTypeDescription
textchar[]Text to add.
startIndexintStart index of the portion to add.
lengthintLength of the portion to add.

getNextSlideIndex

NameDescription
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

NameDescription
getPreviousSlideIndex ()Returns index of previously rendered slide or -1 if first slide is rendering. Read-only int.

Returns: int


getSlideImageSize

NameDescription
getSlideImageSize ()Returns slide image size. Read-only java.awt.geom.Dimension2D.

Returns: Dimension2D


getSlideImageSizeUnit

NameDescription
getSlideImageSizeUnit ()Returns a unit in which slide image size is specified. Read-only SvgCoordinateUnit.

Returns: int


getSlideImageSizeUnitCode

NameDescription
getSlideImageSizeUnitCode ()Returns a css code of unit in which slide image size is specified. Read-only String.

Returns: String


getSlideIndex

NameDescription
getSlideIndex ()Returns index of currently rendering slide. Read-only int.

Returns: int