|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.HtmlGenerator
public final class HtmlGenerator
Html generator.
Method Summary | |
---|---|
void |
addAttributeValue(char[] value)
Quotes attribute value and adds it to the html file. |
void |
addAttributeValue(char[] value,
int startIndex,
int length)
Quotes attribute value and adds it to the html file. |
void |
addAttributeValue(java.lang.String value)
Quotes attribute value and adds it to the html file. |
void |
addHtml(char[] html)
Adds formatted HTML text. |
void |
addHtml(char[] html,
int startIndex,
int length)
Adds formatted HTML text. |
void |
addHtml(java.lang.String html)
Adds formatted HTML text. |
void |
addText(char[] text)
Adds plain text to the html files, replacing special characters with html entities. |
void |
addText(char[] text,
int startIndex,
int length)
Adds plain text to the html files, replacing special characters with html entities. |
void |
addText(java.lang.String text)
Adds plain text to the html files, replacing special characters with html entities. |
int |
getNextSlideIndex()
Returns index of a slide, which will be rendered after the current slide or -1 if currently rendering last slide. |
int |
getPreviousSlideIndex()
Returns index of previously rendered slide or -1 if first slide is rendering. |
java.awt.geom.Dimension2D |
getSlideImageSize()
|
int |
getSlideImageSizeUnit()
Returns a unit in which slide image size is specified. |
java.lang.String |
getSlideImageSizeUnitCode()
Returns a css code of unit in which slide image size is specified. |
int |
getSlideIndex()
Returns index of currently rendering slide. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addHtml(java.lang.String html)
Adds formatted HTML text.
html
- Text to add.public void addHtml(char[] html)
Adds formatted HTML text.
html
- Text to add.public void addHtml(char[] html, int startIndex, int length)
Adds formatted HTML text.
html
- Text to add.startIndex
- Start index of the portion to add.length
- Length of the portion to add.public void addText(java.lang.String text)
Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren't replaced.
text
- Text to add.public void addText(char[] text)
Adds plain text to the html files, replacing special characters with html entities. Linebreaks and whitespaces aren't replaced.
text
- Text to add.public 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.
text
- Text to add.startIndex
- Start index of the portion to add.length
- Length of the portion to add.public void addAttributeValue(java.lang.String value)
Quotes attribute value and adds it to the html file.
value
- Attribute value string.public void addAttributeValue(char[] value)
Quotes attribute value and adds it to the html file.
value
- Attribute value string.public void addAttributeValue(char[] value, int startIndex, int length)
Quotes attribute value and adds it to the html file.
value
- Attribute value string.startIndex
- Start index of the portion to add.length
- Length of the portion to add.public java.awt.geom.Dimension2D getSlideImageSize()
public int getSlideImageSizeUnit()
Returns a unit in which slide image size is specified.
Readonly SvgCoordinateUnit
.
public java.lang.String getSlideImageSizeUnitCode()
Returns a css code of unit in which slide image size is specified.
Readonly string
.
public int getPreviousSlideIndex()
Returns index of previously rendered slide or -1 if first slide is rendering.
Readonly int
.
public int getSlideIndex()
Returns index of currently rendering slide.
Readonly int
.
public int getNextSlideIndex()
Returns index of a slide, which will be rendered after the current slide or -1 if currently rendering last slide.
Readonly int
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |