What steps will reproduce the problem?
1.export links with equal sign
What is the expected output? What do you see instead?
Get bad option error on PDFlib function
What version of the product are you using? On what operating system?
0.5.1 (nux)
Please provide any additional information below.
Fix :
file : /include/pdflib_adapter.cls.php (l:~723)
function : add_link
removed line : $url = str_replace("=", "%3D", rawurldecode($url));
changed lines (bad syntax):
$action = $this->_pdf->create_action("URI", "url {" . $url."}");
$this->_pdf->create_annotation($x, $y, $x + $width, $y + $height, 'Link',
"contents { $url } action {activate $action} linewidth=0");
Additional fix : allow spaces inside links
replace $url = str_replace("=", "%3D", rawurldecode($url));
by $url = str_replace(" ", "%20",rawurldecode($url));
Many thanks for your great work and have a nice day!
Original issue reported on code.google.com by tsa.te...@gmail.com on 11 Aug 2009 at 9:23
Original issue reported on code.google.com by
tsa.te...@gmail.com
on 11 Aug 2009 at 9:23