Class TableTaggingRule
java.lang.Object
com.itextpdf.layout.tagging.TableTaggingRule
- All Implemented Interfaces:
ITaggingRule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringgetKidRole(TaggingHintKey kidKey, LayoutTaggingHelper helper) private static TaggingDummyElementgetTbodyTag(TaggingHintKey tableHintKey) Creates a dummy element withStandardRoles.TBODYrole if needed.private static voidmoveCaption(LayoutTaggingHelper taggingHelper, TaggingHintKey caption, TaggingHintKey tableHintKey) booleanonTagFinish(LayoutTaggingHelper taggingHelper, TaggingHintKey tableHintKey) Action which creates required children structure for the role.
-
Constructor Details
-
TableTaggingRule
TableTaggingRule()
-
-
Method Details
-
onTagFinish
Description copied from interface:ITaggingRuleAction which creates required children structure for the role.- Specified by:
onTagFinishin interfaceITaggingRule- Parameters:
taggingHelper- tagging helper.tableHintKey- element for which children structure will be created.- Returns:
trueif the structure was created successfully,falseotherwise.
-
getKidRole
-
getTbodyTag
Creates a dummy element withStandardRoles.TBODYrole 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.TBODYrole if needed.
-
moveCaption
private static void moveCaption(LayoutTaggingHelper taggingHelper, TaggingHintKey caption, TaggingHintKey tableHintKey)
-