while exporting document from Word application to pdf, links in the document are exported as URI(i.e. file://…../other_doc.pdf). In order to validate them somewhere else I need the links to be of “Go to remote” type – according to ISO 32000-1:2008 – https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf
Links generated by Word document look like this:
<</Subtype/Link/Rect[ 387.75 627.78 440.07 652.75] /BS<</W 0>>/F 4/A<</Type/Action/S/URI/URI(m1/m1-toc.pdf) >>/StructParent 1>>
I need them to conform to 12.6.4.3 in the above mentioned standard. However when I try to change it to something like this:
<</Subtype/Link/Rect[ 387.75 695.68 440.07 720.65] /BS<</W 0>>/F 4/A<</Type/Action/S/GoToR/F (m1/m1-toc.pdf)/D [ 0 /Fit] >>/StructParent 1>>
It opens ok in Acrobat Reader but validator software (Lorenz eValidator by the way) says that the file is corrupted. I tried multiple space/no-space combination with attributes – nothing works. This is one of few items in the ISO standard, that doesn’t have an example that I can rip off.
It is all part of the Nees procedure, if you want some non-technical context. It has to do with medicinal product registration and the registrar uses Lorenz, so I can’t change that.
Thank you for any insights.