com.lowagie.text.html.simpleparser
public class HTMLWorker extends Object implements SimpleXMLDocHandler, DocListener
| Field Summary | |
|---|---|
| ChainedProperties | cprops |
| Paragraph | currentParagraph |
| protected DocListener | document |
| FactoryProperties | factoryProperties |
| HashMap | interfaceProps |
| boolean | isPRE |
| protected ArrayList | objectList |
| boolean | pendingLI |
| boolean | pendingTD |
| boolean | pendingTR |
| boolean | skipText |
| Stack | stack |
| StyleSheet | style |
| Stack | tableState |
| static HashMap | tagsSupported |
| static String | tagsSupportedString |
| Constructor Summary | |
|---|---|
| HTMLWorker(DocListener document) Creates a new instance of HTMLWorker | |
| Method Summary | |
|---|---|
| boolean | add(Element element) |
| void | clearTextWrap() |
| void | close() |
| void | endDocument() |
| void | endElement(String tag) |
| HashMap | getInterfaceProps() |
| StyleSheet | getStyleSheet() |
| static float | lengthParse(String txt, int c)
This method is replace with Markup.lengthParse |
| boolean | newPage() |
| void | open() |
| void | parse(Reader reader) |
| static ArrayList | parseToList(Reader reader, StyleSheet style) |
| static ArrayList | parseToList(Reader reader, StyleSheet style, HashMap interfaceProps) |
| void | resetFooter() |
| void | resetHeader() |
| void | resetPageCount() |
| void | setFooter(HeaderFooter footer) |
| void | setHeader(HeaderFooter header) |
| void | setInterfaceProps(HashMap interfaceProps) |
| boolean | setMarginMirroring(boolean marginMirroring) |
| boolean | setMargins(float marginLeft, float marginRight, float marginTop, float marginBottom) |
| void | setPageCount(int pageN) |
| boolean | setPageSize(Rectangle pageSize) |
| void | setStyleSheet(StyleSheet style) |
| void | startDocument() |
| void | startElement(String tag, HashMap h) |
| void | text(String str) |
Parameters: document A class that implements DocListener
Deprecated:
This method is replace with Markup.lengthParseParameters: txt c
Returns: float value of length
See Also: Markup