Package com.itextpdf.tool.xml.html.head
Class Style
java.lang.Object
com.itextpdf.tool.xml.html.AbstractTagProcessor
com.itextpdf.tool.xml.html.head.Style
- All Implemented Interfaces:
CssAppliersAware
,TagProcessor
The Style TagProcessor will try to add the content of a <style> to the
CssResolverPipeline
CSS. If the content cannot be parsed, an error is logged.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.itextpdf.tool.xml.html.AbstractTagProcessor
createParagraph, currentContentToParagraph, currentContentToParagraph, doRtlIndentCorrections, end, endElement, getCssAppliers, getCSSResolver, getHtmlPipelineContext, getRunDirection, invertTextAlignForParagraph, invertTextAlignForParagraph, isStackOwner, setCssAppliers, start, startElement, textContent, updateParagraphFontIfNeeded
-
Field Details
-
LOG
-
-
Constructor Details
-
Style
public Style()
-
-
Method Details
-
content
Description copied from interface:TagProcessor
This method is called if there is text content encountered between the opening and closing tags this TagProcessor is mapped to.- Specified by:
content
in interfaceTagProcessor
- Overrides:
content
in classAbstractTagProcessor
- Parameters:
ctx
- the WorkerContexttag
- the tag encounteredcontent
- the text content between the tags this TagProcessor is mapped to.- Returns:
- the element to add to the currentContent list
-