Package com.itextpdf.layout.tagging
Class FootnoteTaggingHelper
java.lang.Object
com.itextpdf.layout.tagging.FootnoteTaggingHelper
The class is a helper which is used to correctly create structure tree for Footnote elements.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidrepairFootnoteAnchorTagIfNeeded(FootnoteAnchorRenderer hintOwner, LayoutTaggingHelper taggingHelper) Adjusts the tag roles when required by the PdfVersion targeted.static voidrepairFootnoteTagIfNeeded(FootnoteRenderer hintOwner, LayoutTaggingHelper taggingHelper) Adjusts the tag roles of theFootnoteelement when required by the PdfVersion targeted.static voidwrapAnchorInsideFootnoteIntoLbl(IPropertyContainer footnoteAnchorContent, LayoutTaggingHelper taggingHelper) Wraps the FootnoteAnchor content element with a dummy element.
-
Method Details
-
repairFootnoteTagIfNeeded
public static void repairFootnoteTagIfNeeded(FootnoteRenderer hintOwner, LayoutTaggingHelper taggingHelper) Adjusts the tag roles of theFootnoteelement when required by the PdfVersion targeted.- Parameters:
-
hintOwner- theFootnoteRendererto repair -
taggingHelper- theLayoutTaggingHelperinstance to use
-
wrapAnchorInsideFootnoteIntoLbl
public static void wrapAnchorInsideFootnoteIntoLbl(IPropertyContainer footnoteAnchorContent, LayoutTaggingHelper taggingHelper) Wraps the FootnoteAnchor content element with a dummy element.- Parameters:
-
footnoteAnchorContent- the FootnoteAnchor content element to wrap. -
taggingHelper- theLayoutTaggingHelperinstance to use
-
repairFootnoteAnchorTagIfNeeded
public static void repairFootnoteAnchorTagIfNeeded(FootnoteAnchorRenderer hintOwner, LayoutTaggingHelper taggingHelper) Adjusts the tag roles when required by the PdfVersion targeted.- Parameters:
-
hintOwner- theFootnoteAnchorRendererto repair -
taggingHelper- theLayoutTaggingHelperinstance to use
-