Package com.itextpdf.testutils
Class CompareTool.CmpTaggedPdfReaderTool
- java.lang.Object
-
- com.itextpdf.text.pdf.parser.TaggedPdfReaderTool
-
- com.itextpdf.testutils.CompareTool.CmpTaggedPdfReaderTool
-
- Enclosing class:
- CompareTool
class CompareTool.CmpTaggedPdfReaderTool extends TaggedPdfReaderTool
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<PdfDictionary,java.util.Map<java.lang.Integer,java.lang.String>>
parsedTags
-
Fields inherited from class com.itextpdf.text.pdf.parser.TaggedPdfReaderTool
out, reader
-
-
Constructor Summary
Constructors Constructor Description CmpTaggedPdfReaderTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
inspectChildDictionary(PdfDictionary k)
If the child of a structured element is a dictionary, we inspect the child; we may also draw a tag.void
parseTag(java.lang.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 Detail
-
parsedTags
java.util.Map<PdfDictionary,java.util.Map<java.lang.Integer,java.lang.String>> parsedTags
-
-
Method Detail
-
parseTag
public void parseTag(java.lang.String tag, PdfObject object, PdfDictionary page) throws java.io.IOException
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:
java.io.IOException
-
inspectChildDictionary
public void inspectChildDictionary(PdfDictionary k) throws java.io.IOException
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:
java.io.IOException
-
-