Package com.itextpdf.tool.xml.css.apply
Class ParagraphCssApplier
java.lang.Object
com.itextpdf.tool.xml.css.apply.ParagraphCssApplier
- All Implemented Interfaces:
CssApplier<Paragraph>
Applies CSS on a
Paragraph
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(Paragraph p, Tag t, MarginMemory configuration) Styles a paragraphapply
(Paragraph p, Tag t, MarginMemory configuration, PageSizeContainable psc, HtmlPipelineContext ctx) Styles an element
-
Field Details
-
appliers
-
-
Constructor Details
-
ParagraphCssApplier
Construct a ParagraphCssApplier.
-
-
Method Details
-
apply
Styles a paragraph- Parameters:
p
- the paragrapht
- the tagconfiguration
- the MarginMemory- Returns:
- a styled
Paragraph
-
apply
public Paragraph apply(Paragraph p, Tag t, MarginMemory configuration, PageSizeContainable psc, HtmlPipelineContext ctx) Description copied from interface:CssApplier
Styles an element- Specified by:
apply
in interfaceCssApplier<Paragraph>
- Parameters:
p
- the elementt
- the tagconfiguration
- the MarginMemorypsc
- the PageSizeContainablectx
- the HtmlPipelineContext- Returns:
- a styled
invalid reference
Paragraph
-