Package com.itextpdf.tool.xml.html
Interface CssAppliers
- All Known Implementing Classes:
CssAppliersImpl
public interface CssAppliers
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Element e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) Given the element e, this method will lookup the right applier for the given Element.apply
(Element e, Tag t, HtmlPipelineContext ctx) Convenience method.clone()
void
setChunkCssAplier
(ChunkCssApplier chunkCssAplier)
-
Method Details
-
apply
Given the element e, this method will lookup the right applier for the given Element. The mapping is done by instance of.
order of check:- Parameters:
e
- the Elementt
- the tagmm
- the MarginMemorypsc
- thePageSize
containerctx
- an HtmlPipelineContext- Returns:
- the element with CSS applied onto, note: the element can be a new element.
-
apply
Convenience method.- Parameters:
e
- the Elementt
- the tagctx
- the Context object- Returns:
- the element with CSS applied onto, note: the element can be a new element.
- See Also:
-
getChunkCssAplier
ChunkCssApplier getChunkCssAplier()- Returns:
- the chunk css applier
-
setChunkCssAplier
-
clone
CssAppliers clone()
-