Package com.itextpdf.layout.tagging
Class TableTaggingRule
java.lang.Object
com.itextpdf.layout.tagging.TableTaggingRule
- All Implemented Interfaces:
ITaggingRule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
getKidRole
(TaggingHintKey kidKey, LayoutTaggingHelper helper) private static TaggingDummyElement
getTbodyTag
(TaggingHintKey tableHintKey) Creates a dummy element withStandardRoles.TBODY
role if needed.private static void
moveCaption
(LayoutTaggingHelper taggingHelper, TaggingHintKey caption, TaggingHintKey tableHintKey) boolean
onTagFinish
(LayoutTaggingHelper taggingHelper, TaggingHintKey tableHintKey) Action which creates required children structure for the role.
-
Constructor Details
-
TableTaggingRule
TableTaggingRule()
-
-
Method Details
-
onTagFinish
Description copied from interface:ITaggingRule
Action which creates required children structure for the role.- Specified by:
onTagFinish
in interfaceITaggingRule
- Parameters:
taggingHelper
- tagging helper.tableHintKey
- element for which children structure will be created.- Returns:
true
if the structure was created successfully,false
otherwise.
-
getKidRole
-
getTbodyTag
Creates a dummy element withStandardRoles.TBODY
role if needed. Otherwise, returns a dummy element with a null role.- Parameters:
tableHintKey
- the hint key of the table.- Returns:
- a dummy element with
StandardRoles.TBODY
role if needed.
-
moveCaption
private static void moveCaption(LayoutTaggingHelper taggingHelper, TaggingHintKey caption, TaggingHintKey tableHintKey)
-