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 voidsetBottomOfBorder(HtmlCell cell, String key, String value, TableStyleValues values) private voidsetLeftOfBorder(HtmlCell cell, String key, String value, TableStyleValues values) private voidsetRightOfBorder(HtmlCell cell, String key, String value, TableStyleValues values) private voidsetTopOfBorder(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- 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
invalid reference
Paragraph
-
setTopOfBorder
-
setBottomOfBorder
-
setLeftOfBorder
-
setRightOfBorder
-