Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-2941

Improve PDFDebugger (2)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0
    • Fix Version/s: None
    • Component/s: Utilities
    • Labels:
      None

      Description

      This is a follow-up issue to PDFBOX-2530 to implement extra ideas that came up in GSoC2015, ideas that were not implemented due to lack of time, and new ideas.

      Viewing

      • refactor PDFDebugger.java
      • render glyphs of fonts
      • ✓ refactor StreamPane to share stream filtering among Text view and hex view
      • ✓ password dialog when hitting protected PDF
      • show "pretty" XML
      • display filtered streams even if the unfiltered stream is corrupt (PDFBOX-2976)
      • ✓ display the "caused by" part exception stack trace (nested exceptions)
      • ✓ keep zoom
      • ✓ integrate DrawPrintTextLocations into rendering
      • integrate area text extraction with a mouse-created rectangle that shows the coordinates in a status line
      • ✓ show permission flags of Encrypt/P entry
      • ✓ show signature flags of Root/AcroForm/SigFlags entry, see Table 219 in PDF spec
      • show page labels additional to page number (see file from TIKA-2121 as example)
      • ✓ "reopen" menu item (useful when editing an existing PDF to create a reduced PDF)
      • choose zoom automatically so that PDF page can be seen in full

      Editing

      • save modified PDFs
      • editing in hex viewer
      • remove nodes (e.g. elements from a COSDictionary)
      • delete array or dictionary elements
      • load content streams
      • edit & keep content streams

        Attachments

        1. pdfdebugger-screenshot-trunc.png
          78 kB
          Tilman Hausherr
        2. pdfdebugger-screenshot-reverted.png
          78 kB
          Tilman Hausherr
        3. keep_zoom.diff
          6 kB
          khyrul bashar
        4. gs-bugzilla694570.pdf
          291 kB
          Tilman Hausherr
        5. separate_filter_choice_from_text_hex_views.diff
          12 kB
          khyrul bashar
        6. osx-tabs.png
          9 kB
          John Hewson
        7. screenshot_w7_fontsize.png
          103 kB
          Tilman Hausherr
        8. screenshot_debugger_not_aligned.png
          78 kB
          Tilman Hausherr
        9. sonar_qube_resolve_25_08.diff
          13 kB
          khyrul bashar
        10. sonar_qube_resolve.diff
          14 kB
          khyrul bashar
        11. screenshot_debugger_old.png
          140 kB
          Tilman Hausherr
        12. screenshot_debugger_new.png
          250 kB
          Tilman Hausherr
        There are no Sub-Tasks for this issue.

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: