public class PBoxPDStructElem extends PBoxPDObject implements PDStructElem
| Modifier and Type | Field and Description |
|---|---|
static String |
CHILDREN
Link name for
K key |
static String |
LANG
Link name for
Lang key |
static String |
STRUCTURE_ELEMENT_TYPE
Type name for
PBoxPDStructElem |
static String |
STRUCTURE_TYPE
Link name for
S key |
cMap, contentStream, document, MAX_NUMBER_OF_ELEMENTS, pdFontLike, simplePDObjectcontextDependent| Constructor and Description |
|---|
PBoxPDStructElem(COSDictionary structElemDictionary,
TaggedPDFRoleMapHelper roleMapHelper,
String type)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActualText()
value of the /ActualText entry
|
String |
getAlt()
value of the /Alt entry
|
List<PDStructElem> |
getChildren() |
Boolean |
getcircularMappingExist()
true, if circular mapping exist
|
String |
getE()
value of the /E entry
|
Boolean |
gethasContentItems()
true if the structure element contains content items as its children
|
Boolean |
getisRemappedStandardType()
true if type is standard but remapped
|
String |
getkidsStandardTypes()
ampersand separated list of child element types, role mapped to the standard types
|
List<? extends Object> |
getLinkedObjects(String link) |
String |
getparentLang()
value of parent Lang entry
|
String |
getparentStandardType()
parent element type, role mapped to the standard type
|
String |
getstandardType()
standard structure type defined via role map
|
static String |
getStructureElementStandardType(COSDictionary pdStructElem,
TaggedPDFRoleMapHelper roleMapHelper) |
String |
getType()
the value of the Type entry
|
static boolean |
isContentItem(COSBase base) |
addAction, getIDgetContext, getExtraContext, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependentpublic static final String STRUCTURE_ELEMENT_TYPE
PBoxPDStructElempublic static final String CHILDREN
K keypublic static final String STRUCTURE_TYPE
S keypublic static final String LANG
Lang keypublic PBoxPDStructElem(COSDictionary structElemDictionary, TaggedPDFRoleMapHelper roleMapHelper, String type)
structElemDictionary - dictionary of structure elementpublic String getType()
PDStructElemgetType in interface PDStructElempublic String getkidsStandardTypes()
PDStructElemgetkidsStandardTypes in interface PDStructElempublic String getparentStandardType()
PDStructElemgetparentStandardType in interface PDStructElempublic Boolean gethasContentItems()
PDStructElemgethasContentItems in interface PDStructElempublic static boolean isContentItem(COSBase base)
public String getstandardType()
PDStructElemgetstandardType in interface PDStructElempublic String getparentLang()
PDStructElemgetparentLang in interface PDStructElempublic static String getStructureElementStandardType(COSDictionary pdStructElem, TaggedPDFRoleMapHelper roleMapHelper)
public Boolean getisRemappedStandardType()
PDStructElemgetisRemappedStandardType in interface PDStructElempublic String getAlt()
PDStructElemgetAlt in interface PDStructElempublic String getActualText()
PDStructElemgetActualText in interface PDStructElempublic String getE()
PDStructElemgetE in interface PDStructElempublic Boolean getcircularMappingExist()
PDStructElemgetcircularMappingExist in interface PDStructElempublic List<? extends Object> getLinkedObjects(String link)
getLinkedObjects in interface ObjectgetLinkedObjects in class GenericModelObjectlink - - the name of a linkpublic List<PDStructElem> getChildren()
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.