public interface IElementNode extends INode, IStylesContainer
| Modifier and Type | Method and Description |
|---|---|
void |
addAdditionalHtmlStyles(Map<String,String> styles)
Adds additional HTML styles.
|
List<Map<String,String>> |
getAdditionalHtmlStyles()
Gets additional styles, more specifically styles that affect an element
based on its position in the HTML DOM, e.g. cell borders that are set
due to the parent table "border" attribute, or styles from "col" tags
that affect table elements, or blocks horizontal alignment that is
the result of parent's "align" attribute.
|
String |
getAttribute(String key)
Gets an attribute.
|
IAttributes |
getAttributes()
Gets the attributes.
|
String |
getLang()
Gets the language.
|
String |
name()
Gets the name of the element node.
|
addChild, childNodes, parentNodegetStyles, setStylesString name()
IAttributes getAttributes()
String getAttribute(String key)
key - the key of the attribute we want to getList<Map<String,String>> getAdditionalHtmlStyles()
void addAdditionalHtmlStyles(Map<String,String> styles)
styles - the stylesString getLang()
Copyright © 1998–2017 iText Group NV. All rights reserved.