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