Package com.itextpdf.tool.xml.css.apply
Class HtmlCellCssApplier
- java.lang.Object
-
- com.itextpdf.tool.xml.css.apply.HtmlCellCssApplier
-
- All Implemented Interfaces:
CssApplier<HtmlCell>
public class HtmlCellCssApplier extends java.lang.Object implements CssApplier<HtmlCell>
- Author:
- Emiel Ackermann
-
-
Constructor Summary
Constructors Constructor Description HtmlCellCssApplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HtmlCellapply(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc)Applies css to a HtmlCellHtmlCellapply(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext ctx)Styles an element
-
-
-
Method Detail
-
apply
public HtmlCell apply(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc)
Applies css to a HtmlCell- Parameters:
cell- the HtmlCellt- the tag with the stylesmemory- current margin memorypsc- thePageSizecontainer- Returns:
- a styled HtmlCell
-
apply
public HtmlCell apply(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext ctx)
Description copied from interface:CssApplierStyles an element- Specified by:
applyin interfaceCssApplier<HtmlCell>- Parameters:
cell- the elementt- the tagmemory- the MarginMemorypsc- the PageSizeContainablectx- the HtmlPipelineContext- Returns:
- a styled
Paragraph
-
-