iText.Html2pdf.Attach.ITagWorker implementation for elements with display: flex. More...
iText.Html2pdf.Attach.ITagWorker implementation for elements with display: flex.
◆ DisplayFlexTagWorker()
| iText.Html2pdf.Attach.Impl.Tags.DisplayFlexTagWorker.DisplayFlexTagWorker |
( |
IElementNode |
element, |
|
|
ProcessorContext |
context |
|
) |
|
|
|
inline |
Creates instance of DisplayFlexTagWorker.
-
Parameters
-
| element |
the element with defined styles |
| context |
the context of the converter processor |
◆ GetDisplay()
| virtual String iText.Html2pdf.Attach.Impl.Tags.DisplayFlexTagWorker.GetDisplay |
( |
|
) |
|
|
inlinevirtual |
◆ GetElementResult()
| virtual IPropertyContainer iText.Html2pdf.Attach.Impl.Tags.DisplayFlexTagWorker.GetElementResult |
( |
|
) |
|
|
inlinevirtual |
Gets a processed object if it can be expressed as an iText.Layout.IPropertyContainer instance.
-
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 iText.Layout.IPropertyContainer.
Implements iText.Html2pdf.Attach.ITagWorker.
◆ ProcessContent()
| virtual bool iText.Html2pdf.Attach.Impl.Tags.DisplayFlexTagWorker.ProcessContent |
( |
String |
content, |
|
|
ProcessorContext |
context |
|
) |
|
|
|
inlinevirtual |
Placeholder for what needs to be done while the content of a tag is being processed.
-
Parameters
-
| content |
the content of a node |
| context |
the processor context |
-
Returns
-
true, if content was successfully processed, otherwise false.
Implements iText.Html2pdf.Attach.ITagWorker.
◆ ProcessEnd()
| virtual void iText.Html2pdf.Attach.Impl.Tags.DisplayFlexTagWorker.ProcessEnd |
( |
IElementNode |
element, |
|
|
ProcessorContext |
context |
|
) |
|
|
|
inlinevirtual |
Placeholder for what needs to be done after the content of a tag has been processed.
-
Parameters
-
| element |
the element node |
| context |
the processor context |
Implements iText.Html2pdf.Attach.ITagWorker.
◆ ProcessTagChild()
| virtual bool iText.Html2pdf.Attach.Impl.Tags.DisplayFlexTagWorker.ProcessTagChild |
( |
ITagWorker |
childTagWorker, |
|
|
ProcessorContext |
context |
|
) |
|
|
|
inlinevirtual |
Placeholder for what needs to be done when a child node is being processed.
-
Parameters
-
| childTagWorker |
the tag worker of the child node |
| context |
the processor context |
-
Returns
-
true, if child was successfully processed, otherwise false.
Implements iText.Html2pdf.Attach.ITagWorker.