Uses of Class
com.itextpdf.tool.xml.pipeline.html.HtmlPipelineContext
-
Packages that use HtmlPipelineContext Package Description com.itextpdf.tool.xml.css.apply Contains classes that can apply css rules on certainElement
s.com.itextpdf.tool.xml.html Everything to parse HTML tags to pdf used by theHtmlPipeline
is in here.com.itextpdf.tool.xml.pipeline.html Contains pipeline stuff for HTML -
-
Uses of HtmlPipelineContext in com.itextpdf.tool.xml.css.apply
-
Uses of HtmlPipelineContext in com.itextpdf.tool.xml.html
Methods in com.itextpdf.tool.xml.html that return HtmlPipelineContext Modifier and Type Method Description HtmlPipelineContext
AbstractTagProcessor. getHtmlPipelineContext(WorkerContext context)
Utility method that fetches the HtmlPipelineContext used if any and if it uses the default key.Methods in com.itextpdf.tool.xml.html with parameters of type HtmlPipelineContext Modifier and Type Method Description T
CssApplier. apply(T e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)
Styles an elementElement
CssAppliers. 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
CssAppliers. apply(Element e, Tag t, HtmlPipelineContext ctx)
Convenience method.Element
CssAppliersImpl. apply(Element e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx)
Element
CssAppliersImpl. apply(Element e, Tag t, HtmlPipelineContext ctx)
-
Uses of HtmlPipelineContext in com.itextpdf.tool.xml.pipeline.html
Fields in com.itextpdf.tool.xml.pipeline.html declared as HtmlPipelineContext Modifier and Type Field Description private HtmlPipelineContext
HtmlPipeline. hpc
Methods in com.itextpdf.tool.xml.pipeline.html that return HtmlPipelineContext Modifier and Type Method Description HtmlPipelineContext
HtmlPipelineContext. autoBookmark(boolean autoBookmark)
Set to true to enable the automatic creation of bookmarks on <h1> to <h6> tags.HtmlPipelineContext
HtmlPipelineContext. charSet(java.nio.charset.Charset cSet)
Set aCharset
to use.HtmlPipelineContext
HtmlPipelineContext. clone()
Create a clone of this HtmlPipelineContext, the clone only contains the initial values, not the internal values.HtmlPipelineContext
HtmlPipelineContext. setAcceptUnknown(boolean acceptUnknown)
Set to true to allow the HtmlPipeline to accept tags it does not find in the givenTagProcessorFactory
HtmlPipelineContext
HtmlPipelineContext. setCssApplier(CssAppliers cssAppliers)
Fluent variant ofsetCssAppliers(CssAppliers)
HtmlPipelineContext
HtmlPipelineContext. setImageProvider(ImageProvider imageProvider)
An ImageProvider can be provided and works in conjunction withImage
andListStyleTypeCssApplier
for List Images.HtmlPipelineContext
HtmlPipelineContext. setLinkProvider(LinkProvider linkprovider)
Set the LinkProvider to use if any.HtmlPipelineContext
HtmlPipelineContext. setPageSize(Rectangle pageSize)
If no pageSize is set, the default value A4 is used.HtmlPipelineContext
HtmlPipelineContext. setRootTags(java.util.List<java.lang.String> roottags)
Set the root-tags, this matters for margins.HtmlPipelineContext
HtmlPipelineContext. setTagFactory(TagProcessorFactory tagFactory)
Set theTagProcessorFactory
to be used.Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type HtmlPipelineContext Modifier and Type Method Description protected void
HtmlPipeline. addStackKeeper(Tag t, HtmlPipelineContext hcc, TagProcessor tp)
Constructors in com.itextpdf.tool.xml.pipeline.html with parameters of type HtmlPipelineContext Constructor Description HtmlPipeline(HtmlPipelineContext hpc, Pipeline<?> next)
-