Uses of Class
com.itextpdf.kernel.pdf.tagutils.TagTreePointer
-
Packages that use TagTreePointer Package Description com.itextpdf.kernel.pdf com.itextpdf.kernel.pdf.tagutils com.itextpdf.layout.renderer com.itextpdf.layout.tagging -
-
Uses of TagTreePointer in com.itextpdf.kernel.pdf
Methods in com.itextpdf.kernel.pdf with parameters of type TagTreePointer Modifier and Type Method Description private boolean
PdfPage. addAnnotationTag(TagTreePointer tagPointer, PdfAnnotation annotation)
-
Uses of TagTreePointer in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as TagTreePointer Modifier and Type Field Description protected TagTreePointer
TagStructureContext. autoTaggingPointer
private TagTreePointer
BackedAccessibilityProperties. pointerToBackingElem
protected TagTreePointer
TagReference. tagPointer
Fields in com.itextpdf.kernel.pdf.tagutils with type parameters of type TagTreePointer Modifier and Type Field Description protected java.util.List<TagTreePointer>
DefaultAccessibilityProperties. refs
Methods in com.itextpdf.kernel.pdf.tagutils that return TagTreePointer Modifier and Type Method Description TagTreePointer
TagTreePointer. addAnnotationTag(PdfAnnotation annotation)
Adds a new content item for the givenPdfAnnotation
under the current tag.TagTreePointer
TagTreePointer. addTag(int index, AccessibilityProperties properties)
Adds a new tag to the tag structure.TagTreePointer
TagTreePointer. addTag(int index, java.lang.String role)
Adds a new tag with given role to the tag structure.TagTreePointer
TagTreePointer. addTag(AccessibilityProperties properties)
Adds a new tag to the tag structure.TagTreePointer
TagTreePointer. addTag(java.lang.String role)
Adds a new tag with given role to the tag structure.TagTreePointer
TagStructureContext. createPointerForStructElem(PdfStructElem structElem)
Creates a newTagTreePointer
which points at givenPdfStructElem
.TagTreePointer
TagTreePointer. flushParentsIfAllKidsFlushed()
For current tag and all of it's parents consequentially checks if the following constraints apply, and flushes the tag if they do or stops if they don't: tag is not already flushed; tag is not in waiting state (seeWaitingTagsManager
); tag is not the root tag; tag has no kids or all of the kids are either flushed themselves or (if they are a marked content reference) belong to the flushed page.TagTreePointer
TagTreePointer. flushTag()
Flushes current tag and all it's descendants.TagTreePointer
TagStructureContext. getAutoTaggingPointer()
All tagging logic performed by iText automatically (along with addition of content, annotations etc) usesTagTreePointer
returned by this method to manipulate the tag structure.TagTreePointer
TagStructureContext. getTagPointerById(byte[] id)
Retrieve a pointer to a structure element by ID.TagTreePointer
TagStructureContext. getTagPointerByIdString(java.lang.String id)
Retrieve a pointer to a structure element by ID.TagTreePointer
TagTreePointer. moveToKid(int kidIndex)
Moves thisTagTreePointer
instance to the kid of the current tag.TagTreePointer
TagTreePointer. moveToKid(int n, java.lang.String role)
Moves thisTagTreePointer
instance to the nth descendant of the current tag which has the given role.TagTreePointer
TagTreePointer. moveToKid(java.lang.String role)
Moves thisTagTreePointer
instance to the first descendant of the current tag which has the given role.TagTreePointer
TagTreePointer. moveToParent()
Moves thisTagTreePointer
instance to the parent of the current tag.TagTreePointer
TagTreePointer. moveToPointer(TagTreePointer tagTreePointer)
Moves thisTagTreePointer
instance to the tag at which givenTagTreePointer
instance is pointing.TagTreePointer
TagTreePointer. moveToRoot()
Moves thisTagTreePointer
instance to the document root tag.TagTreePointer
TagTreePointer. relocate(TagTreePointer pointerToNewParent)
Moves current tag to the tag at which givenTagTreePointer
points.TagTreePointer
TagTreePointer. relocateKid(int kidIndex, TagTreePointer pointerToNewParent)
Moves kid of the current tag to the tag at which givenTagTreePointer
points.TagTreePointer
TagStructureContext. removeAnnotationTag(PdfAnnotation annotation)
Removes annotation content item from the tag structure.TagTreePointer
TagStructureContext. removeAnnotationTag(PdfAnnotation annotation, boolean setAutoTaggingPointer)
Removes annotation content item from the tag structure and sets autoTaggingPointer if true is passed.TagTreePointer
TagStructureContext. removeContentItem(PdfPage page, int mcid)
Removes content item from the tag structure.TagTreePointer
TagTreePointer. removeTag()
Removes the current tag.TagTreePointer
TagTreePointer. setContentStreamForTagging(PdfStream contentStream)
Sometimes, tags are desired to be connected with the content that resides not in the page's content stream, but rather in the some appearance stream or in the form xObject stream.(package private) TagTreePointer
TagTreePointer. setCurrentStructElem(PdfStructElem structElem)
TagTreePointer
TagTreePointer. setNamespaceForNewTags(PdfNamespace namespace)
Sets aPdfNamespace
which will be set to every new tag created by thisTagTreePointer
instance if this tag doesn't explicitly define namespace by the means ofDefaultAccessibilityProperties.setNamespace(PdfNamespace)
.TagTreePointer
TagTreePointer. setNextNewKidIndex(int nextNewKidIndex)
Sets index of the next added to the current tag kid, which could be another tag or content item.TagTreePointer
TagTreePointer. setPageForTagging(PdfPage page)
Sets a page which content will be tagged with this instance ofTagTreePointer
.TagTreePointer
TagTreePointer. setRole(java.lang.String role)
Sets new role to the current tag.Methods in com.itextpdf.kernel.pdf.tagutils that return types with arguments of type TagTreePointer Modifier and Type Method Description java.util.List<TagTreePointer>
AccessibilityProperties. getRefsList()
Gets the list of references to other tagged elements.java.util.List<TagTreePointer>
BackedAccessibilityProperties. getRefsList()
java.util.List<TagTreePointer>
DefaultAccessibilityProperties. getRefsList()
Methods in com.itextpdf.kernel.pdf.tagutils with parameters of type TagTreePointer Modifier and Type Method Description AccessibilityProperties
AccessibilityProperties. addRef(TagTreePointer treePointer)
Adds the reference to other tagged element.AccessibilityProperties
BackedAccessibilityProperties. addRef(TagTreePointer treePointer)
AccessibilityProperties
DefaultAccessibilityProperties. addRef(TagTreePointer treePointer)
java.lang.Object
WaitingTagsManager. assignWaitingState(TagTreePointer pointerToTag, java.lang.Object associatedObj)
Assigns waiting state to the tag at which givenTagTreePointer
points, associating it with the givenObject
.PdfStructElem
TagStructureContext. getPointerStructElem(TagTreePointer pointer)
GetsPdfStructElem
at whichTagTreePointer
points.boolean
TagTreePointer. isPointingToSameTag(TagTreePointer otherPointer)
Checks if thisTagTreePointer
is pointing at the same tag as the givingTagTreePointer
.TagTreePointer
TagTreePointer. moveToPointer(TagTreePointer tagTreePointer)
Moves thisTagTreePointer
instance to the tag at which givenTagTreePointer
instance is pointing.TagTreePointer
TagTreePointer. relocate(TagTreePointer pointerToNewParent)
Moves current tag to the tag at which givenTagTreePointer
points.TagTreePointer
TagTreePointer. relocateKid(int kidIndex, TagTreePointer pointerToNewParent)
Moves kid of the current tag to the tag at which givenTagTreePointer
points.boolean
WaitingTagsManager. tryMovePointerToWaitingTag(TagTreePointer tagPointer, java.lang.Object associatedObject)
Moves givenTagTreePointer
to the waiting tag which is associated with the given object.Constructors in com.itextpdf.kernel.pdf.tagutils with parameters of type TagTreePointer Constructor Description BackedAccessibilityProperties(TagTreePointer pointerToBackingElem)
TagReference(PdfStructElem referencedTag, TagTreePointer tagPointer, int insertIndex)
Creates aTagReference
instance which represents a reference toPdfStructElem
.TagTreePointer(TagTreePointer tagPointer)
A copy constructor. -
Uses of TagTreePointer in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer with parameters of type TagTreePointer Modifier and Type Method Description static PdfStructureAttributes
AccessibleAttributesApplier. getLayoutAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer)
static PdfStructureAttributes
AccessibleAttributesApplier. getListAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer)
static PdfStructureAttributes
AccessibleAttributesApplier. getTableAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer)
private static IRoleMappingResolver
AccessibleAttributesApplier. resolveMappingToStandard(TagTreePointer taggingPointer)
-
Uses of TagTreePointer in com.itextpdf.layout.tagging
Fields in com.itextpdf.layout.tagging declared as TagTreePointer Modifier and Type Field Description (package private) TagTreePointer
LayoutTaggingHelper.ScanContext. nextSiblingPointer
(package private) TagTreePointer
LayoutTaggingHelper.ScanContext. parentPointer
private TagTreePointer
TaggingHintKey. tagPointer
Fields in com.itextpdf.layout.tagging with type parameters of type TagTreePointer Modifier and Type Field Description private java.util.Map<IRenderer,TagTreePointer>
LayoutTaggingHelper. autoTaggingPointerSavedPosition
Methods in com.itextpdf.layout.tagging that return TagTreePointer Modifier and Type Method Description TagTreePointer
TaggingHintKey. getTagPointer()
Gets the TagTreePointer.TagTreePointer
LayoutTaggingHelper. useAutoTaggingPointerAndRememberItsPosition(IRenderer renderer)
Methods in com.itextpdf.layout.tagging with parameters of type TagTreePointer Modifier and Type Method Description void
LayoutTaggingHelper. addKidsHint(TagTreePointer parentPointer, java.lang.Iterable<? extends IPropertyContainer> newKids)
private boolean
LayoutTaggingHelper. createSingleTag(TaggingHintKey hintKey, TagTreePointer tagPointer)
boolean
LayoutTaggingHelper. createTag(IRenderer renderer, TagTreePointer tagPointer)
boolean
LayoutTaggingHelper. createTag(TaggingHintKey hintKey, TagTreePointer tagPointer)
private int
LayoutTaggingHelper. getNearestNextSiblingIndex(WaitingTagsManager waitingTagsManager, TagTreePointer parentPointer, TaggingHintKey parentKey, TaggingHintKey kidKey)
void
TaggingHintKey. setTagPointer(TagTreePointer tag)
Sets the TagTreePointer.
-