com.itextpdf.tool.xml.html
Interface CssAppliers
- All Known Implementing Classes:
- CssAppliersImpl
public interface CssAppliers
- Author:
- redlab
apply
Element apply(Element e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
ImageProvider ip)
- 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:
Chunk
Paragraph
NoNewLineParagraph
HtmlCell
List
LineSeparator
Image
- Parameters:
e
- the Elementt
- the tagmm
- the MarginMemorypsc
- the PageSize
containerip
- an ImageProvider
- 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, ImageProvider)
getChunkCssAplier
ChunkCssApplier getChunkCssAplier()
- Returns:
- the chunk css applier
setChunkCssAplier
void setChunkCssAplier(ChunkCssApplier chunkCssAplier)
clone
CssAppliers clone()
Copyright © 2015. All Rights Reserved.