Uses of Class
com.itextpdf.kernel.pdf.tagutils.TagTreePointer
Packages that use TagTreePointer
Package
Description
-
Uses of TagTreePointer in com.itextpdf.kernel.pdf.tagutils
Fields in com.itextpdf.kernel.pdf.tagutils declared as TagTreePointerModifier and TypeFieldDescriptionprotected TagTreePointerTagStructureContext.autoTaggingPointerprotected TagTreePointerTagReference.tagPointerFields in com.itextpdf.kernel.pdf.tagutils with type parameters of type TagTreePointerModifier and TypeFieldDescriptionprotected List<TagTreePointer>DefaultAccessibilityProperties.refsMethods in com.itextpdf.kernel.pdf.tagutils that return TagTreePointerModifier and TypeMethodDescriptionTagTreePointer.addAnnotationTag(PdfAnnotation annotation) Adds a new content item for the givenPdfAnnotationunder the current tag.TagTreePointer.addTag(int index, AccessibilityProperties properties) Adds a new tag to the tag structure.Adds a new tag with given role to the tag structure.TagTreePointer.addTag(AccessibilityProperties properties) Adds a new tag to the tag structure.Adds a new tag with given role to the tag structure.TagStructureContext.createPointerForStructElem(PdfStructElem structElem) Creates a newTagTreePointerwhich points at givenPdfStructElem.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.flushTag()Flushes current tag and all it's descendants.TagStructureContext.getAutoTaggingPointer()All tagging logic performed by iText automatically (along with addition of content, annotations etc) usesTagTreePointerreturned by this method to manipulate the tag structure.TagStructureContext.getTagPointerById(byte[] id) Retrieve a pointer to a structure element by ID.TagStructureContext.getTagPointerByIdString(String id) Retrieve a pointer to a structure element by ID.TagTreePointer.moveToKid(int kidIndex) Moves thisTagTreePointerinstance to the kid of the current tag.Moves thisTagTreePointerinstance to the nth descendant of the current tag which has the given role.Moves thisTagTreePointerinstance to the first descendant of the current tag which has the given role.TagTreePointer.moveToParent()Moves thisTagTreePointerinstance to the parent of the current tag.TagTreePointer.moveToPointer(TagTreePointer tagTreePointer) Moves thisTagTreePointerinstance to the tag at which givenTagTreePointerinstance is pointing.TagTreePointer.moveToRoot()Moves thisTagTreePointerinstance to the document root tag.TagTreePointer.relocate(TagTreePointer pointerToNewParent) Moves current tag to the tag at which givenTagTreePointerpoints.TagTreePointer.relocateKid(int kidIndex, TagTreePointer pointerToNewParent) Moves kid of the current tag to the tag at which givenTagTreePointerpoints.TagStructureContext.removeAnnotationTag(PdfAnnotation annotation) Removes annotation content item from the tag structure.TagStructureContext.removeAnnotationTag(PdfAnnotation annotation, boolean setAutoTaggingPointer) Removes annotation content item from the tag structure and sets autoTaggingPointer if true is passed.TagStructureContext.removeContentItem(PdfPage page, int mcid) Removes content item from the tag structure.TagTreePointer.removeTag()Removes the current tag.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.TagTreePointer.setNamespaceForNewTags(PdfNamespace namespace) Sets aPdfNamespacewhich will be set to every new tag created by thisTagTreePointerinstance if this tag doesn't explicitly define namespace by the means ofDefaultAccessibilityProperties.setNamespace(PdfNamespace).TagTreePointer.setNextNewKidIndex(int nextNewKidIndex) Sets index of the next added to the current tag kid, which could be another tag or content item.TagTreePointer.setPageForTagging(PdfPage page) Sets a page which content will be tagged with this instance ofTagTreePointer.Sets new role to the current tag.Methods in com.itextpdf.kernel.pdf.tagutils that return types with arguments of type TagTreePointerModifier and TypeMethodDescriptionAccessibilityProperties.getRefsList()Gets the list of references to other tagged elements.DefaultAccessibilityProperties.getRefsList()Methods in com.itextpdf.kernel.pdf.tagutils with parameters of type TagTreePointerModifier and TypeMethodDescriptionAccessibilityProperties.addRef(TagTreePointer treePointer) Adds the reference to other tagged element.DefaultAccessibilityProperties.addRef(TagTreePointer treePointer) WaitingTagsManager.assignWaitingState(TagTreePointer pointerToTag, Object associatedObj) Assigns waiting state to the tag at which givenTagTreePointerpoints, associating it with the givenObject.TagStructureContext.getPointerStructElem(TagTreePointer pointer) GetsPdfStructElemat whichTagTreePointerpoints.booleanTagTreePointer.isPointingToSameTag(TagTreePointer otherPointer) Checks if thisTagTreePointeris pointing at the same tag as the givingTagTreePointer.TagTreePointer.moveToPointer(TagTreePointer tagTreePointer) Moves thisTagTreePointerinstance to the tag at which givenTagTreePointerinstance is pointing.TagTreePointer.relocate(TagTreePointer pointerToNewParent) Moves current tag to the tag at which givenTagTreePointerpoints.TagTreePointer.relocateKid(int kidIndex, TagTreePointer pointerToNewParent) Moves kid of the current tag to the tag at which givenTagTreePointerpoints.booleanWaitingTagsManager.tryMovePointerToWaitingTag(TagTreePointer tagPointer, Object associatedObject) Moves givenTagTreePointerto the waiting tag which is associated with the given object.Constructors in com.itextpdf.kernel.pdf.tagutils with parameters of type TagTreePointerModifierConstructorDescriptionprotectedTagReference(PdfStructElem referencedTag, TagTreePointer tagPointer, int insertIndex) Creates aTagReferenceinstance 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 TagTreePointerModifier and TypeMethodDescriptionstatic PdfStructureAttributesAccessibleAttributesApplier.getLayoutAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) static PdfStructureAttributesAccessibleAttributesApplier.getListAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) static PdfStructureAttributesAccessibleAttributesApplier.getTableAttributes(AbstractRenderer renderer, TagTreePointer taggingPointer) -
Uses of TagTreePointer in com.itextpdf.layout.tagging
Methods in com.itextpdf.layout.tagging that return TagTreePointerModifier and TypeMethodDescriptionTaggingHintKey.getTagPointer()Gets the TagTreePointer.LayoutTaggingHelper.useAutoTaggingPointerAndRememberItsPosition(IRenderer renderer) Methods in com.itextpdf.layout.tagging with parameters of type TagTreePointerModifier and TypeMethodDescriptionvoidLayoutTaggingHelper.addKidsHint(TagTreePointer parentPointer, Iterable extends IPropertyContainer> newKids) booleanLayoutTaggingHelper.createTag(IRenderer renderer, TagTreePointer tagPointer) booleanLayoutTaggingHelper.createTag(TaggingHintKey hintKey, TagTreePointer tagPointer) voidTaggingHintKey.setTagPointer(TagTreePointer tag) Sets the TagTreePointer.