public class LayoutTaggingHelper extends Object
Constructor and Description |
---|
LayoutTaggingHelper(PdfDocument document, boolean immediateFlush) |
public LayoutTaggingHelper(PdfDocument document, boolean immediateFlush)
public static void addTreeHints(LayoutTaggingHelper taggingHelper, IRenderer rootRenderer)
public static TaggingHintKey getHintKey(IPropertyContainer container)
public static TaggingHintKey getOrCreateHintKey(IPropertyContainer container)
public void addKidsHint(TagTreePointer parentPointer, Iterable extends IPropertyContainer> newKids)
public void addKidsHint(IPropertyContainer parent, Iterable extends IPropertyContainer> newKids)
public void addKidsHint(IPropertyContainer parent, Iterable extends IPropertyContainer> newKids, int insertIndex)
public void addKidsHint(TaggingHintKey parentKey, Collection<TaggingHintKey> newKidsKeys)
public void addKidsHint(TaggingHintKey parentKey, Collection<TaggingHintKey> newKidsKeys, int insertIndex)
public void setRoleHint(IPropertyContainer hintOwner, String role)
public boolean isArtifact(IPropertyContainer hintOwner)
public void markArtifactHint(IPropertyContainer hintOwner)
public void markArtifactHint(TaggingHintKey hintKey)
public TagTreePointer useAutoTaggingPointerAndRememberItsPosition(IRenderer renderer)
public void restoreAutoTaggingPointerPosition(IRenderer renderer)
public List<TaggingHintKey> getKidsHint(TaggingHintKey parent)
public List<TaggingHintKey> getAccessibleKidsHint(TaggingHintKey parent)
public TaggingHintKey getParentHint(IPropertyContainer hintOwner)
public TaggingHintKey getParentHint(TaggingHintKey hintKey)
public TaggingHintKey getAccessibleParentHint(TaggingHintKey hintKey)
public void releaseFinishedHints()
public void releaseAllHints()
public boolean createTag(IRenderer renderer, TagTreePointer tagPointer)
public boolean createTag(TaggingHintKey hintKey, TagTreePointer tagPointer)
public void finishTaggingHint(IPropertyContainer hintOwner)
public int replaceKidHint(TaggingHintKey kidHintKey, Collection<TaggingHintKey> newKidsHintKeys)
public int moveKidHint(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent)
public int moveKidHint(TaggingHintKey hintKeyOfKidToMove, TaggingHintKey newParent, int insertIndex)
public PdfDocument getPdfDocument()
Copyright © 1998–2023 iText Group NV. All rights reserved.