Modifier and Type | Method and Description |
---|---|
com.itextpdf.layout.Document |
IHtmlProcessor.processDocument(INode root, com.itextpdf.kernel.pdf.PdfDocument pdfDocument)
Parses HTML to add the content to a PdfDocument .
|
List |
IHtmlProcessor.processElements(INode root)
Parses HTML to add the content to a list of IElement objects.
|
Modifier and Type | Method and Description |
---|---|
com.itextpdf.layout.Document |
DefaultHtmlProcessor.processDocument(INode root, com.itextpdf.kernel.pdf.PdfDocument pdfDocument) |
List |
DefaultHtmlProcessor.processElements(INode root) |
LinkContext |
LinkContext.scanForIds(INode root)
Scan the DOM tree for all (internal) link targets
|
Modifier and Type | Method and Description |
---|---|
void |
HtmlDocumentRenderer.processPageRules(INode rootNode, ICssResolver cssResolver, ProcessorContext context)
Processes the page rules.
|
Modifier and Type | Method and Description |
---|---|
void |
HtmlTagWorker.processPageRules(INode rootNode, ICssResolver cssResolver, ProcessorContext context)
Processes the page rules.
|
Modifier and Type | Class and Description |
---|---|
class |
CssContextNode
The CSS context node.
|
Modifier and Type | Method and Description |
---|---|
INode |
CssContextNode.parentNode() |
Modifier and Type | Method and Description |
---|---|
List<INode> |
CssContextNode.childNodes() |
Modifier and Type | Method and Description |
---|---|
void |
CssContextNode.addChild(INode node) |
List<CssDeclaration> |
CssStyleSheet.getCssDeclarations(INode node, MediaDeviceDescription deviceDescription)
Gets the CSS declarations.
|
List<CssRuleSet> |
CssStatement.getCssRuleSets(INode node, MediaDeviceDescription deviceDescription)
Gets a list of CssRuleSet objects.
|
List<CssRuleSet> |
CssRuleSet.getCssRuleSets(INode element, MediaDeviceDescription deviceDescription) |
List<CssRuleSet> |
CssNestedAtRule.getCssRuleSets(INode node, MediaDeviceDescription deviceDescription) |
Constructor and Description |
---|
CssContextNode(INode parentNode)
Creates a new CssContextNode instance.
|
Modifier and Type | Method and Description |
---|---|
static void |
CounterProcessorUtil.processCounters(Map<String,String> cssProps, CssContext context, INode scope)
Processes counters.
|
Modifier and Type | Method and Description |
---|---|
List<CssRuleSet> |
CssMediaRule.getCssRuleSets(INode element, MediaDeviceDescription deviceDescription) |
Modifier and Type | Class and Description |
---|---|
class |
PageContextNode
CssContextNode implementation for page contexts.
|
class |
PageMarginBoxContextNode
CssContextNode implementation for page margin box contexts.
|
class |
PageMarginRunningElementNode
Wrapper INode serving as a placeholder for running element.
|
Modifier and Type | Method and Description |
---|---|
INode |
PageMarginRunningElementNode.parentNode() |
Modifier and Type | Method and Description |
---|---|
List<INode> |
PageMarginRunningElementNode.childNodes() |
Modifier and Type | Method and Description |
---|---|
void |
PageMarginRunningElementNode.addChild(INode node) |
Constructor and Description |
---|
PageContextNode(INode parentNode)
Creates a new PageContextNode instance.
|
PageMarginBoxContextNode(INode parentNode, String marginBoxName)
Creates a new PageMarginBoxContextNode instance.
|
Modifier and Type | Class and Description |
---|---|
class |
CssPseudoElementNode
IElementNode implementation for pseudo elements.
|
Constructor and Description |
---|
CssPseudoElementNode(INode parentNode, String pseudoElementName)
Creates a new CssPseudoElementNode instance.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
ICssResolver.resolveStyles(INode node, CssContext context)
Resolves the styles of a node.
|
Map<String,String> |
DefaultCssResolver.resolveStyles(INode element, CssContext context) |
Constructor and Description |
---|
DefaultCssResolver(INode treeRoot, MediaDeviceDescription mediaDeviceDescription, ResourceResolver resourceResolver)
Creates a new DefaultCssResolver instance.
|
DefaultCssResolver(INode treeRoot, ProcessorContext context)
Creates a new DefaultCssResolver instance.
|
Modifier and Type | Class and Description |
---|---|
class |
PageCountElementNode
ICustomElementNode implementation for a page count element node.
|
Modifier and Type | Method and Description |
---|---|
INode |
PageCountElementNode.parentNode() |
Modifier and Type | Method and Description |
---|---|
List<INode> |
PageCountElementNode.childNodes() |
Modifier and Type | Method and Description |
---|---|
void |
PageCountElementNode.addChild(INode node) |
void |
CssCounterManager.incrementCounter(String counterName, INode scope)
Increments the counter.
|
void |
CssCounterManager.incrementCounter(String counterName, int incrementValue, INode scope)
Increments the counter.
|
void |
CssCounterManager.resetCounter(String counterName, INode scope)
Resets the counter.
|
void |
CssCounterManager.resetCounter(String counterName, int value, INode scope)
Resets the counter.
|
String |
CssCounterManager.resolveCounter(String counterName, String listSymbolType, INode scope)
Resolves a counter.
|
String |
CssCounterManager.resolveCounters(String counterName, String counterSeparatorStr, String listSymbolType, INode scope)
Resolves counters.
|
Constructor and Description |
---|
PageCountElementNode(boolean totalPageCount, INode parent) |
Modifier and Type | Method and Description |
---|---|
boolean |
ICssSelector.matches(INode node)
Checks if a node matches the selector.
|
boolean |
CssSelector.matches(INode element) |
boolean |
CssPageSelector.matches(INode node) |
boolean |
CssPageMarginBoxSelector.matches(INode node) |
Modifier and Type | Method and Description |
---|---|
boolean |
ICssSelectorItem.matches(INode element)
Checks if the selector matches an element.
|
boolean |
CssTagSelectorItem.matches(INode node) |
boolean |
CssSeparatorSelectorItem.matches(INode node) |
boolean |
CssPseudoElementSelectorItem.matches(INode node) |
boolean |
CssPseudoClassSelectorItem.matches(INode node) |
boolean |
CssPageTypeSelectorItem.matches(INode node) |
boolean |
CssPagePseudoClassSelectorItem.matches(INode node) |
boolean |
CssIdSelectorItem.matches(INode node) |
boolean |
CssClassSelectorItem.matches(INode node) |
boolean |
CssAttributeSelectorItem.matches(INode node) |
Modifier and Type | Class and Description |
---|---|
class |
JsoupDataNode
|
class |
JsoupDocumentNode
Implementation of the IDocumentNode interface; wrapper for the JSoup Document class.
|
class |
JsoupDocumentTypeNode
Implementation of the IDocumentTypeNode interface; wrapper for the JSoup DocumentType class.
|
class |
JsoupElementNode
Implementation of the IElementNode interface; wrapper for the JSoup JsoupNode class.
|
class |
JsoupNode
|
class |
JsoupTextNode
|
Modifier and Type | Method and Description |
---|---|
INode |
JsoupNode.parentNode() |
Modifier and Type | Method and Description |
---|---|
List<INode> |
JsoupNode.childNodes() |
Modifier and Type | Method and Description |
---|---|
void |
JsoupNode.addChild(INode node) |
Modifier and Type | Interface and Description |
---|---|
interface |
ICustomElementNode
Interface that serves as a marker indicating that this particular IElementNode is something non-standard.
|
interface |
IDataNode
Interface for data nodes.
|
interface |
IDocumentNode
Interface implemented by classes that are a top node, and as such represent a Document.
|
interface |
IDocumentTypeNode
Interface for the document type node.
|
interface |
IElementNode
Interface for node classes that have a parent and children, and for which styles can be defined; each of these nodes can also have a name and attributes.
|
interface |
ITextNode
Interface for text nodes.
|
Modifier and Type | Method and Description |
---|---|
INode |
INode.parentNode()
Gets the parent node.
|
Modifier and Type | Method and Description |
---|---|
List<INode> |
INode.childNodes()
Gets the child nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
INode.addChild(INode node)
Adds a child node.
|
Copyright © 1998–2019 iText Group NV. All rights reserved.