Class CompareTool.CmpTaggedPdfReaderTool
java.lang.Object
com.itextpdf.text.pdf.parser.TaggedPdfReaderTool
com.itextpdf.testutils.CompareTool.CmpTaggedPdfReaderTool
- Enclosing class:
CompareTool
-
Field Summary
FieldsFields inherited from class TaggedPdfReaderTool
out, reader -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidIf the child of a structured element is a dictionary, we inspect the child; we may also draw a tag.voidparseTag(String tag, PdfObject object, PdfDictionary page) Searches for a tag in a page.Methods inherited from class TaggedPdfReaderTool
convertToXml, convertToXml, inspectChild, inspectChildArray, inspectChildDictionary, xmlName
-
Field Details
-
parsedTags
Map<PdfDictionary, Map<Integer,String>> parsedTags
-
-
Constructor Details
-
CmpTaggedPdfReaderTool
CmpTaggedPdfReaderTool()
-
-
Method Details
-
parseTag
Description copied from class:TaggedPdfReaderToolSearches for a tag in a page.- Overrides:
parseTagin classTaggedPdfReaderTool- Parameters:
tag- the name of the tagobject- an identifier to find the marked contentpage- a page dictionary- Throws:
IOException
-
inspectChildDictionary
Description copied from class:TaggedPdfReaderToolIf the child of a structured element is a dictionary, we inspect the child; we may also draw a tag.- Overrides:
inspectChildDictionaryin classTaggedPdfReaderTool- Parameters:
k- the child dictionary to inspect- Throws:
IOException
-