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 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 HtmlCell
apply(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc)
Applies css to a HtmlCellHtmlCell
apply(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
- thePageSize
container- Returns:
- a styled HtmlCell
-
apply
public HtmlCell apply(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext ctx)
Description copied from interface:CssApplier
Styles an element- Specified by:
apply
in interfaceCssApplier<HtmlCell>
- Parameters:
cell
- the elementt
- the tagmemory
- the MarginMemorypsc
- the PageSizeContainablectx
- the HtmlPipelineContext- Returns:
- a styled
Paragraph
-
-