public class SpanTagCssApplier extends Object implements ICssApplier
ICssApplier implementation for Span elements.| Constructor and Description |
|---|
SpanTagCssApplier() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ProcessorContext context,
com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer,
ITagWorker tagWorker)
Applies styles to an element.
|
protected void |
applyChildElementStyles(com.itextpdf.layout.IPropertyContainer element,
Map<String,String> css,
ProcessorContext context,
com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer)
Applies styles to child elements.
|
public void apply(ProcessorContext context, com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer, ITagWorker tagWorker)
ICssApplierapply in interface ICssAppliercontext - the processor contextstylesContainer - the stylestagWorker - the tag worker for the elementprotected void applyChildElementStyles(com.itextpdf.layout.IPropertyContainer element,
Map<String,String> css,
ProcessorContext context,
com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer)
element - the elementcss - the CSS mappingcontext - the processor contextstylesContainer - the styles containerCopyright © 1998–2021 iText Group NV. All rights reserved.