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)
ICssApplier
apply
in interface ICssApplier
context
- the processor context
stylesContainer
- the styles
tagWorker
- the tag worker for the element
protected void applyChildElementStyles(com.itextpdf.layout.IPropertyContainer element, Map<String,String> css, ProcessorContext context, com.itextpdf.styledxmlparser.node.IStylesContainer stylesContainer)
element
- the element
css
- the CSS mapping
context
- the processor context
stylesContainer
- the styles container
Copyright © 1998–2019 iText Group NV. All rights reserved.