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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKidsHint
(TagTreePointer parentPointer, Iterable extends IPropertyContainer> newKids) void
addKidsHint
(IPropertyContainer parent, Iterable extends IPropertyContainer> newKids) void
addKidsHint
(IPropertyContainer parent, Iterable extends IPropertyContainer> newKids, int insertIndex) void
addKidsHint
(TaggingHintKey parentKey, Collection<TaggingHintKey> newKidsKeys) void
addKidsHint
(TaggingHintKey parentKey, Collection<TaggingHintKey> newKidsKeys, int insertIndex) static void
addTreeHints
(LayoutTaggingHelper taggingHelper, IRenderer rootRenderer) boolean
createTag
(IRenderer renderer, TagTreePointer tagPointer) boolean
createTag
(TaggingHintKey hintKey, TagTreePointer tagPointer) void
finishTaggingHint
(IPropertyContainer hintOwner) getAccessibleKidsHint
(TaggingHintKey parent) getAccessibleParentHint
(TaggingHintKey hintKey) static TaggingHintKey
getHintKey
(IPropertyContainer container) getKidsHint
(TaggingHintKey parent) static TaggingHintKey
getOrCreateHintKey
(IPropertyContainer container) getParentHint
(IPropertyContainer hintOwner) getParentHint
(TaggingHintKey hintKey) boolean
isArtifact
(IPropertyContainer hintOwner) void
markArtifactHint
(IPropertyContainer hintOwner) void
markArtifactHint
(TaggingHintKey hintKey) int
moveKidHint
(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent) int
moveKidHint
(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent, int insertIndex) void
void
int
replaceKidHint
(TaggingHintKey kidHintKey, Collection<TaggingHintKey> newKidsHintKeys) void
restoreAutoTaggingPointerPosition
(IRenderer renderer) void
setRoleHint
(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
-