You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Gilad Denneboom (JIRA)" <ji...@apache.org> on 2011/06/07 16:21:58 UTC
[jira] [Updated] (PDFBOX-1024) Some PDBorderStyleDictionary options
not honored
[ https://issues.apache.org/jira/browse/PDFBOX-1024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gilad Denneboom updated PDFBOX-1024:
------------------------------------
Attachment: AddLinks.java
result.pdf
batch_sequences.pdf
Here's the class and the input and output files.
> Some PDBorderStyleDictionary options not honored
> ------------------------------------------------
>
> Key: PDFBOX-1024
> URL: https://issues.apache.org/jira/browse/PDFBOX-1024
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 1.5.0
> Environment: Windows 7, Acrobat 9 Pro, Reader X
> Reporter: Gilad Denneboom
> Priority: Minor
> Labels: border, links
> Attachments: AddLinks.java, batch_sequences.pdf, result.pdf
>
>
> 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.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira