public class DivTagWorker extends Object implements ITagWorker, IDisplayAware
div element.| Modifier and Type | Field and Description |
|---|---|
protected com.itextpdf.layout.element.MulticolContainer |
multicolContainer
Column container element.
|
| Constructor and Description |
|---|
DivTagWorker(com.itextpdf.styledxmlparser.node.IElementNode element,
ProcessorContext context)
Creates a new
DivTagWorker instance. |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
addBlockChild(com.itextpdf.layout.element.IElement element)
Adds a child element to the div block.
|
String |
getDisplay()
Gets the display value.
|
com.itextpdf.layout.IPropertyContainer |
getElementResult()
Gets a processed object if it can be expressed as an
IPropertyContainer instance. |
protected void |
postProcessInlineGroup()
Post-processes the hanging leaves of the waiting inline elements.
|
boolean |
processContent(String content,
ProcessorContext context)
Placeholder for what needs to be done while the content of a tag is being processed.
|
void |
processEnd(com.itextpdf.styledxmlparser.node.IElementNode element,
ProcessorContext context)
Placeholder for what needs to be done after the content of a tag has been processed.
|
boolean |
processTagChild(ITagWorker childTagWorker,
ProcessorContext context)
Placeholder for what needs to be done when a child node is being processed.
|
protected com.itextpdf.layout.element.MulticolContainer multicolContainer
public DivTagWorker(com.itextpdf.styledxmlparser.node.IElementNode element,
ProcessorContext context)
DivTagWorker instance.element - the elementcontext - the contextpublic void processEnd(com.itextpdf.styledxmlparser.node.IElementNode element,
ProcessorContext context)
ITagWorkerprocessEnd in interface ITagWorkerelement - the element nodecontext - the processor contextpublic boolean processContent(String content, ProcessorContext context)
ITagWorkerprocessContent in interface ITagWorkercontent - the content of a nodecontext - the processor contextpublic boolean processTagChild(ITagWorker childTagWorker, ProcessorContext context)
ITagWorkerprocessTagChild in interface ITagWorkerchildTagWorker - the tag worker of the child nodecontext - the processor contextpublic com.itextpdf.layout.IPropertyContainer getElementResult()
ITagWorkerIPropertyContainer instance.getElementResult in interface ITagWorkerIPropertyContainer.public String getDisplay()
IDisplayAwaregetDisplay in interface IDisplayAwareprotected boolean addBlockChild(com.itextpdf.layout.element.IElement element)
element - the elementprotected void postProcessInlineGroup()
Copyright © 1998–2023 Apryse Group NV. All rights reserved.