Class CompareTool.CmpTaggedPdfReaderTool

    • Field Detail

      • parsedTags

        java.util.Map<PdfDictionary,​java.util.Map<java.lang.Integer,​java.lang.String>> parsedTags
    • Constructor Detail

      • CmpTaggedPdfReaderTool

        CmpTaggedPdfReaderTool()
    • 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 class TaggedPdfReaderTool
        Parameters:
        tag - the name of the tag
        object - an identifier to find the marked content
        page - 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 class TaggedPdfReaderTool
        Parameters:
        k - the child dictionary to inspect
        Throws:
        java.io.IOException