Class ProhibitedTagRelationsResolver
java.lang.Object
com.itextpdf.layout.tagging.ProhibitedTagRelationsResolver
This class is used to resolve prohibited relations between parent and child tags.
-
Constructor Summary
ConstructorsConstructorDescriptionProhibitedTagRelationsResolver(PdfDocument pdfDocument) Creates a new instance ofProhibitedTagRelationsResolver. -
Method Summary
Modifier and TypeMethodDescriptionvoidoverwriteTaggingRule(String parentRole, String childRole, String newRole) Overwrites tagging rule if it already exists.voidrepairTagStructure(LayoutTaggingHelper taggingHelper, IRenderer topRender) Resolves prohibited relations between parent and child tags.
-
Constructor Details
-
ProhibitedTagRelationsResolver
Creates a new instance ofProhibitedTagRelationsResolver.- Parameters:
pdfDocument- the document to be processed.
-
-
Method Details
-
repairTagStructure
Resolves prohibited relations between parent and child tags.- Parameters:
taggingHelper- the tagging helper.topRender- the top renderer.
-
overwriteTaggingRule
-