Package com.itextpdf.tool.xml.css.apply
Class LineSeparatorCssApplier
java.lang.Object
com.itextpdf.tool.xml.css.apply.LineSeparatorCssApplier
- All Implemented Interfaces:
CssApplier<LineSeparator>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(LineSeparator ls, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) Styles an elementapply
(LineSeparator ls, Tag t, PageSizeContainable psc) Applies CSS to LineSeparators
-
Constructor Details
-
LineSeparatorCssApplier
public LineSeparatorCssApplier()
-
-
Method Details
-
apply
Applies CSS to LineSeparators- Parameters:
ls
- the LineSeparatort
- the tag with stylespsc
- thePageSize
container- Returns:
- the styled
LineSeparator
-
apply
public LineSeparator apply(LineSeparator ls, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) Description copied from interface:CssApplier
Styles an element- Specified by:
apply
in interfaceCssApplier<LineSeparator>
- Parameters:
ls
- the elementt
- the tagmm
- the MarginMemorypsc
- the PageSizeContainablectx
- the HtmlPipelineContext- Returns:
- a styled
Paragraph
-