Package | Description |
---|---|
com.itextpdf.tool.xml.css |
Collection of classes to handle css files, rules, properties.
|
com.itextpdf.tool.xml.css.apply |
Contains classes that can apply css rules on certain Element s.
|
com.itextpdf.tool.xml.html |
Everything to parse HTML tags to pdf used by the HtmlPipeline is in here.
|
com.itextpdf.tool.xml.pipeline.html |
Contains pipeline stuff for HTML
|
Modifier and Type | Method and Description |
---|---|
float |
CssUtils.calculateMarginTop(float value, MarginMemory configuration)
Calculates the margin top or spacingBefore based on the given value and the last margin bottom.
|
float |
CssUtils.calculateMarginTop(String value, float largestFont, MarginMemory configuration)
Calculates the margin top or spacingBefore based on the given value and the last margin bottom.
|
Modifier and Type | Method and Description |
---|---|
HtmlCell |
HtmlCellCssApplier.apply(HtmlCell cell, Tag t, MarginMemory memory, PageSizeContainable psc)
Applies css to a HtmlCell
|
NoNewLineParagraph |
NoNewLineParagraphCssApplier.apply(NoNewLineParagraph p, Tag t, MarginMemory configuration)
Styles a NoNewLineParagraph
|
Paragraph |
ParagraphCssApplier.apply(Paragraph p, Tag t, MarginMemory configuration)
Styles a paragraph
|
PdfDiv |
DivCssApplier.apply(PdfDiv div, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext context) |
Modifier and Type | Method and Description |
---|---|
Element |
CssAppliersImpl.apply(Element e, Tag t, MarginMemory mm, PageSizeContainable psc, HtmlPipelineContext ctx) |
Element |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
HtmlPipelineContext
The CustomContext object for the HtmlPipeline.
|
Copyright © 2016. All rights reserved.