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

Improve PDFDebugger (2)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0
    • None
    • Utilities
    • 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. sonar_qube_resolve.diff
          14 kB
          khyrul bashar
        2. sonar_qube_resolve_25_08.diff
          13 kB
          khyrul bashar
        3. separate_filter_choice_from_text_hex_views.diff
          12 kB
          khyrul bashar
        4. screenshot_w7_fontsize.png
          103 kB
          Tilman Hausherr
        5. screenshot_debugger_old.png
          140 kB
          Tilman Hausherr
        6. screenshot_debugger_not_aligned.png
          78 kB
          Tilman Hausherr
        7. screenshot_debugger_new.png
          250 kB
          Tilman Hausherr
        8. pdfdebugger-screenshot-trunc.png
          78 kB
          Tilman Hausherr
        9. pdfdebugger-screenshot-reverted.png
          78 kB
          Tilman Hausherr
        10. osx-tabs.png
          9 kB
          John Hewson
        11. keep_zoom.diff
          6 kB
          khyrul bashar
        12. gs-bugzilla694570.pdf
          291 kB
          Tilman Hausherr

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

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

              Dates

                Created:
                Updated: