Package com.itextpdf.tool.xml.html
Interface CssAppliers
-
- All Known Implementing Classes:
CssAppliersImpl
public interface CssAppliers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Element
apply(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.Element
apply(Element e, Tag t, HtmlPipelineContext ctx)
Convenience method.CssAppliers
clone()
ChunkCssApplier
getChunkCssAplier()
void
setChunkCssAplier(ChunkCssApplier chunkCssAplier)
-
-
-
Method Detail
-
apply
Element apply(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. 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
Element apply(Element e, Tag t, HtmlPipelineContext ctx)
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:
apply(Element, Tag, MarginMemory, PageSizeContainable, HtmlPipelineContext)
-
getChunkCssAplier
ChunkCssApplier getChunkCssAplier()
- Returns:
- the chunk css applier
-
setChunkCssAplier
void setChunkCssAplier(ChunkCssApplier chunkCssAplier)
-
clone
CssAppliers clone()
-
-