Interface CssApplier<T extends Element>
- Type Parameters:
T- the type of iText element that can be customized
- All Known Implementing Classes:
ChunkCssApplier, DivCssApplier, HtmlCellCssApplier, ImageCssApplier, LineSeparatorCssApplier, ListStyleTypeCssApplier, NoNewLineParagraphCssApplier, ParagraphCssApplier
public interface CssApplier<T extends Element>
An interface for applying custom rules to a certain tag. The most obvious use
case is CRUD operations on XML or CSS attributes from an input document which
cannot be changed.
-
Method Summary
Modifier and TypeMethodDescriptionapply(T e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) Styles an element
-
Method Details
-
apply
Styles an element- Parameters:
e- the elementt- the tagmm- the MarginMemorypsc- the PageSizeContainablectx- the HtmlPipelineContext- Returns:
- a styled
invalid reference
Paragraph
-