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