Uses of Class
com.itextpdf.tool.xml.pipeline.html.HtmlPipelineContext
Packages that use HtmlPipelineContext
Package
Description
Contains classes that can apply css rules on certain
Element
s.Everything to parse HTML tags to pdf used by the
HtmlPipeline
is in here.Contains pipeline stuff for HTML
-
Uses of HtmlPipelineContext in com.itextpdf.tool.xml.css.apply
Methods in com.itextpdf.tool.xml.css.apply with parameters of type HtmlPipelineContextModifier and TypeMethodDescriptionChunkCssApplier.apply
(Chunk c, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) DivCssApplier.apply
(PdfDiv div, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext context) HtmlCellCssApplier.apply
(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext ctx) ImageCssApplier.apply
(Image img, Tag tag, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) LineSeparatorCssApplier.apply
(LineSeparator ls, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) ListStyleTypeCssApplier.apply
(List list, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext context) ListStyleTypeCssApplier.apply
(List list, Tag t, HtmlPipelineContext context) The ListCssApplier has the capabilities to change the type of the givenList
dependable on the css.NoNewLineParagraphCssApplier.apply
(NoNewLineParagraph p, Tag t, MarginMemory configuration, PageSizeContainable psc, HtmlPipelineContext ctx) ParagraphCssApplier.apply
(Paragraph p, Tag t, MarginMemory configuration, PageSizeContainable psc, HtmlPipelineContext ctx) -
Uses of HtmlPipelineContext in com.itextpdf.tool.xml.html
Methods in com.itextpdf.tool.xml.html that return HtmlPipelineContextModifier and TypeMethodDescriptionAbstractTagProcessor.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 HtmlPipelineContextModifier and TypeMethodDescriptionCssApplier.apply
(T e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) Styles an elementCssAppliers.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.CssAppliers.apply
(Element e, Tag t, HtmlPipelineContext ctx) Convenience method.CssAppliersImpl.apply
(Element e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) 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 HtmlPipelineContextMethods in com.itextpdf.tool.xml.pipeline.html that return HtmlPipelineContextModifier and TypeMethodDescriptionHtmlPipelineContext.autoBookmark
(boolean autoBookmark) Set to true to enable the automatic creation of bookmarks on <h1> to <h6> tags.Set aCharset
to use.HtmlPipelineContext.clone()
Create a clone of this HtmlPipelineContext, the clone only contains the initial values, not the internal values.HtmlPipelineContext.setAcceptUnknown
(boolean acceptUnknown) Set to true to allow the HtmlPipeline to accept tags it does not find in the givenTagProcessorFactory
HtmlPipelineContext.setCssApplier
(CssAppliers cssAppliers) Fluent variant ofsetCssAppliers(CssAppliers)
HtmlPipelineContext.setImageProvider
(ImageProvider imageProvider) An ImageProvider can be provided and works in conjunction withImage
andListStyleTypeCssApplier
for List Images.HtmlPipelineContext.setLinkProvider
(LinkProvider linkprovider) Set the LinkProvider to use if any.HtmlPipelineContext.setPageSize
(Rectangle pageSize) If no pageSize is set, the default value A4 is used.HtmlPipelineContext.setRootTags
(List<String> roottags) Set the root-tags, this matters for margins.HtmlPipelineContext.setTagFactory
(TagProcessorFactory tagFactory) Set theTagProcessorFactory
to be used.Methods in com.itextpdf.tool.xml.pipeline.html with parameters of type HtmlPipelineContextModifier and TypeMethodDescriptionprotected void
HtmlPipeline.addStackKeeper
(Tag t, HtmlPipelineContext hcc, TagProcessor tp) Constructors in com.itextpdf.tool.xml.pipeline.html with parameters of type HtmlPipelineContext