Package com.itextpdf.layout.tagging
Class LayoutTaggingHelper
java.lang.Object
com.itextpdf.layout.tagging.LayoutTaggingHelper
The class is a helper which is used to correctly create structure tree for layout element (with keeping right order for tags).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddKidsHint(TagTreePointer parentPointer, Iterable extends IPropertyContainer> newKids) voidaddKidsHint(IPropertyContainer parent, Iterable extends IPropertyContainer> newKids) voidaddKidsHint(IPropertyContainer parent, Iterable extends IPropertyContainer> newKids, int insertIndex) voidaddKidsHint(TaggingHintKey parentKey, Collection<TaggingHintKey> newKidsKeys) voidaddKidsHint(TaggingHintKey parentKey, Collection<TaggingHintKey> newKidsKeys, int insertIndex) static voidaddTreeHints(LayoutTaggingHelper taggingHelper, IRenderer rootRenderer) booleancreateTag(IRenderer renderer, TagTreePointer tagPointer) booleancreateTag(TaggingHintKey hintKey, TagTreePointer tagPointer) voidfinishTaggingHint(IPropertyContainer hintOwner) getAccessibleKidsHint(TaggingHintKey parent) getAccessibleParentHint(TaggingHintKey hintKey) static TaggingHintKeygetHintKey(IPropertyContainer container) getKidsHint(TaggingHintKey parent) static TaggingHintKeygetOrCreateHintKey(IPropertyContainer container) getParentHint(IPropertyContainer hintOwner) getParentHint(TaggingHintKey hintKey) booleanisArtifact(IPropertyContainer hintOwner) voidmarkArtifactHint(IPropertyContainer hintOwner) voidmarkArtifactHint(TaggingHintKey hintKey) intmoveKidHint(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent) intmoveKidHint(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent, int insertIndex) voidvoidintreplaceKidHint(TaggingHintKey kidHintKey, Collection<TaggingHintKey> newKidsHintKeys) voidrestoreAutoTaggingPointerPosition(IRenderer renderer) voidsetRoleHint(IPropertyContainer hintOwner, String role)
-
Constructor Details
-
LayoutTaggingHelper
-
-
Method Details
-
addTreeHints
-
getHintKey
-
getOrCreateHintKey
-
addKidsHint
public void addKidsHint(TagTreePointer parentPointer, Iterable extends IPropertyContainer> newKids) -
addKidsHint
-
addKidsHint
public void addKidsHint(IPropertyContainer parent, Iterable extends IPropertyContainer> newKids, int insertIndex) -
addKidsHint
-
addKidsHint
public void addKidsHint(TaggingHintKey parentKey, Collection<TaggingHintKey> newKidsKeys, int insertIndex) -
setRoleHint
-
isArtifact
-
markArtifactHint
-
markArtifactHint
-
useAutoTaggingPointerAndRememberItsPosition
-
restoreAutoTaggingPointerPosition
-
getKidsHint
-
getAccessibleKidsHint
-
getParentHint
-
getParentHint
-
getAccessibleParentHint
-
releaseFinishedHints
public void releaseFinishedHints() -
releaseAllHints
public void releaseAllHints() -
createTag
-
createTag
-
finishTaggingHint
-
replaceKidHint
-
moveKidHint
-
moveKidHint
public int moveKidHint(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent, int insertIndex) -
getPdfDocument
-