public class AccessiblePropHelper extends Object
| Constructor and Description |
|---|
AccessiblePropHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
trySetLangAttribute(com.itextpdf.layout.tagging.IAccessibleElement accessibleElement,
com.itextpdf.styledxmlparser.node.IElementNode element)
Set language attribute in elements accessibility properties if it is not set, does nothing otherwise.
|
static void |
trySetLangAttribute(com.itextpdf.layout.tagging.IAccessibleElement accessibleElement,
String lang)
Set language attribute in elements accessibility properties if it is not set, does nothing otherwise.
|
public static void trySetLangAttribute(com.itextpdf.layout.tagging.IAccessibleElement accessibleElement,
com.itextpdf.styledxmlparser.node.IElementNode element)
accessibleElement - pdf element to set language property onelement - html element from which lang property will be extractedpublic static void trySetLangAttribute(com.itextpdf.layout.tagging.IAccessibleElement accessibleElement,
String lang)
accessibleElement - pdf element to set language property onlang - language to setCopyright © 1998–2026 Apryse Group NV. All rights reserved.