Class PageMarginBoxWorker
java.lang.Object
com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
com.itextpdf.html2pdf.attach.impl.tags.PageMarginBoxWorker
- All Implemented Interfaces:
-
IDisplayAware,ITagWorker
TagWorker class for the page margin box.
-
Field Summary
Fields inherited from class com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
multicolContainer -
Constructor Summary
ConstructorsConstructorDescriptionPageMarginBoxWorker(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a newPageMarginBoxWorkerinstance. -
Method Summary
Modifier and TypeMethodDescriptioncom.itextpdf.layout.IPropertyContainerGets a processed object if it can be expressed as anIPropertyContainerinstance.voidprocessEnd(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Placeholder for what needs to be done after the content of a tag has been processed.Methods inherited from class com.itextpdf.html2pdf.attach.impl.tags.DivTagWorker
addBlockChild, getDisplay, postProcessInlineGroup, processContent, processTagChild
-
Constructor Details
-
PageMarginBoxWorker
public PageMarginBoxWorker(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Creates a newPageMarginBoxWorkerinstance.- Parameters:
-
element- the element -
context- the context
-
-
Method Details
-
processEnd
public void processEnd(com.itextpdf.styledxmlparser.node.IElementNode element, ProcessorContext context) Description copied from interface:ITagWorkerPlaceholder for what needs to be done after the content of a tag has been processed.- Specified by:
-
processEndin interfaceITagWorker - Overrides:
-
processEndin classDivTagWorker - Parameters:
-
element- the element node -
context- the processor context
-
getElementResult
public com.itextpdf.layout.IPropertyContainer getElementResult()Description copied from interface:ITagWorkerGets a processed object if it can be expressed as anIPropertyContainerinstance.- Specified by:
-
getElementResultin interfaceITagWorker - Overrides:
-
getElementResultin classDivTagWorker - Returns:
-
the same object on every call. Might return null either if result is not yet produced or if this particular tag worker doesn't produce result in a form of
IPropertyContainer.
-