Package com.itextpdf.tool.xml.css.apply
Class HtmlCellCssApplier
java.lang.Object
com.itextpdf.tool.xml.css.apply.HtmlCellCssApplier
- All Implemented Interfaces:
CssApplier<HtmlCell>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc) Applies css to a HtmlCellapply
(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext ctx) Styles an elementprivate void
setBottomOfBorder
(HtmlCell cell, String key, String value, TableStyleValues values) private void
setLeftOfBorder
(HtmlCell cell, String key, String value, TableStyleValues values) private void
setRightOfBorder
(HtmlCell cell, String key, String value, TableStyleValues values) private void
setTopOfBorder
(HtmlCell cell, String key, String value, TableStyleValues values)
-
Field Details
-
utils
-
-
Constructor Details
-
HtmlCellCssApplier
public HtmlCellCssApplier()
-
-
Method Details
-
apply
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
-
setTopOfBorder
-
setBottomOfBorder
-
setLeftOfBorder
-
setRightOfBorder
-