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> |
CssNestedAtRule.getCssRuleSets(INode node, MediaDeviceDescription deviceDescription) |
List<CssRuleSet> |
CssStatement.getCssRuleSets(INode node, MediaDeviceDescription deviceDescription)
Gets a list of CssRuleSet objects.
|
List<CssRuleSet> |
CssStyleSheet.getCssRuleSets(INode node, MediaDeviceDescription deviceDescription)
Gets the CSS rule sets.
|
List<CssRuleSet> |
CssRuleSet.getCssRuleSets(INode element, MediaDeviceDescription deviceDescription) |
Map<String,String> |
ICssResolver.resolveStyles(INode node, AbstractCssContext context)
Resolves the styles of a node given the passed context.
|
Constructor and Description |
---|
CssContextNode(INode parentNode)
Creates a new CssContextNode instance.
|
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.
|
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 |
---|---|
boolean |
ICssSelector.matches(INode node)
Checks if a node matches the selector.
|
boolean |
CssPageMarginBoxSelector.matches(INode node) |
boolean |
CssSelector.matches(INode element) |
boolean |
CssPageSelector.matches(INode node) |
Modifier and Type | Method and Description |
---|---|
boolean |
CssTagSelectorItem.matches(INode node) |
boolean |
CssIdSelectorItem.matches(INode node) |
boolean |
CssClassSelectorItem.matches(INode node) |
boolean |
CssPagePseudoClassSelectorItem.matches(INode node) |
boolean |
ICssSelectorItem.matches(INode element)
Checks if the selector matches an element.
|
boolean |
CssPseudoClassSelectorItem.matches(INode node) |
boolean |
CssAttributeSelectorItem.matches(INode node) |
boolean |
CssPageTypeSelectorItem.matches(INode node) |
boolean |
CssPseudoElementSelectorItem.matches(INode node) |
boolean |
CssSeparatorSelectorItem.matches(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.
|
Modifier and Type | Class and Description |
---|---|
class |
JsoupDataNode
Implementation of the IDataNode interface; wrapper for the JSoup DataNode class.
|
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
Implementation of the INode interface; wrapper for the JSoup Node class.
|
class |
JsoupTextNode
Implementation of the ITextNode interface; wrapper for the JSoup TextNode class.
|
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 | Method and Description |
---|---|
static INode |
SvgConverter.parse(InputStream stream)
Parse a Stream containing valid SVG into an XML DOM node, using the default JSoup XML parser.
|
static INode |
SvgConverter.parse(InputStream stream, ISvgConverterProperties props)
Parse a Stream containing valid SVG into an XML DOM node, using the default JSoup XML parser.
|
static INode |
SvgConverter.parse(String content)
Parse a String containing valid SVG into an XML DOM node, using the default JSoup XML parser.
|
Modifier and Type | Method and Description |
---|---|
static ISvgProcessorResult |
SvgConverter.process(INode root)
Deprecated.
will be removed in iText 7.2.
|
static ISvgProcessorResult |
SvgConverter.process(INode root, ISvgConverterProperties props)
Use the default implementation of ISvgProcessor to convert an XML DOM tree to a node renderer tree.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
SvgStyleResolver.resolveNativeStyles(INode node, AbstractCssContext cssContext)
Resolves node styles without inheritance of parent element styles.
|
Map<String,String> |
SvgStyleResolver.resolveStyles(INode element, AbstractCssContext context) |
Constructor and Description |
---|
SvgStyleResolver(INode rootNode, SvgProcessorContext context)
Creates a SvgStyleResolver .
|
Modifier and Type | Method and Description |
---|---|
ISvgProcessorResult |
ISvgProcessor.process(INode root, ISvgConverterProperties converterProps)
Process an SVG, returning the root of a renderer-tree and a list of named objects wrapped in a processor result object
|
Modifier and Type | Method and Description |
---|---|
ISvgProcessorResult |
DefaultSvgProcessor.process(INode root)
Deprecated.
|
ISvgProcessorResult |
DefaultSvgProcessor.process(INode root, ISvgConverterProperties converterProps) |
Copyright © 1998–2023 iText Group NV. All rights reserved.