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 | 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(java.lang.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 | Description |
---|---|---|
T |
CssApplier.apply(T e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
Styles an element
|
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.
|
Element |
CssAppliersImpl.apply(Element e,
Tag t,
MarginMemory mm,
PageSizeContainable psc,
HtmlPipelineContext ctx) |
Modifier and Type | Class | Description |
---|---|---|
class |
HtmlPipelineContext |
The CustomContext object for the HtmlPipeline.
Use this to configure your HtmlPipeline . |
Copyright © 1998–2018. All rights reserved.