Package com.itextpdf.testutils
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 com.itextpdf.text.pdf.parser.TaggedPdfReaderTool
out, reader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
If the child of a structured element is a dictionary, we inspect the child; we may also draw a tag.void
parseTag
(String tag, PdfObject object, PdfDictionary page) Searches for a tag in a page.Methods inherited from class com.itextpdf.text.pdf.parser.TaggedPdfReaderTool
convertToXml, convertToXml, inspectChild, inspectChildArray, inspectChildDictionary, xmlName
-
Field Details
-
parsedTags
Map<PdfDictionary,Map<Integer, parsedTagsString>>
-
-
Constructor Details
-
CmpTaggedPdfReaderTool
CmpTaggedPdfReaderTool()
-
-
Method Details
-
parseTag
Description copied from class:TaggedPdfReaderTool
Searches for a tag in a page.- Overrides:
parseTag
in 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:TaggedPdfReaderTool
If the child of a structured element is a dictionary, we inspect the child; we may also draw a tag.- Overrides:
inspectChildDictionary
in classTaggedPdfReaderTool
- Parameters:
k
- the child dictionary to inspect- Throws:
IOException
-