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

Some PDBorderStyleDictionary options not honored

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 1.5.0
    • None
    • PDModel
    • Windows 7, Acrobat 9 Pro, Reader X

    Description

      I'm creating links and using PDBorderStyleDictionary to set the border style, but have noticed that some options are not honored when opening the files. Here are my findings:

      PDBorderStyleDictionary.STYLE_UNDERLINE = works correctly.
      PDBorderStyleDictionary.STYLE_SOLID = works correctly.
      PDBorderStyleDictionary.STYLE_BEVELED = identical to using SOLID.
      PDBorderStyleDictionary.STYLE_INSET = identical to using SOLID.
      PDBorderStyleDictionary.STYLE_DASHED = identical to using SOLID in appearance, link type under Properties in Acrobat is "Custom".

      I've noticed that when I manually create a link in Acrobat the only options are Solid, Dashed and Underline, so maybe the PDF specs have changed and need to be updated in PDFBox as well.

      Attachments

        1. AddLinks.java
          2 kB
          Gilad Denneboom
        2. result.pdf
          627 kB
          Gilad Denneboom
        3. batch_sequences.pdf
          264 kB
          Gilad Denneboom

        Activity

          People

            lehmi Andreas Lehmkühler
            giladd Gilad Denneboom
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: