Hi,
I need to export hyperlinks (from RTF band) to PDF and TXT.
For example: http://test.link.testlink.another.test. ... 20link.doc
When I save the report to "Adobe PDF file" (you can reproduce it), the text appears in the pdf file like this:
"http://test.link.testlink.another.test. ... her%20test%
20link.doc"
adding a carriage return after the character "%" and when I click the link, the final text displayed in the browser (and in the tooltip) is as follows:
"http://test.link.testlink.another.test. ... %20test%25"
and then it doesn't work as expected.
With the same hyperlink example, when i try to save as "Text file", the result is:
"http://test.link.testlink.another.test. ... est-link/t"
that is not expected obviously.
Any idea about the reason for these results and what could i do to get the correct result in both cases?
it's very important for me to get a solution.
Thanks.
Hyperlinks unexpected result when save report as PDF or TXT
Hyperlinks unexpected result when save report as PDF or TXT
Hello,
Thank you.
Please use the Interaction\Hyperlink property of the textbox to add hyperlink.When I save the report to "Adobe PDF file" (you can reproduce it), the text appears in the pdf file like this:and then it doesn't work as expected.Code: Select all
"http://test.link.testlink.another.test.link/test%20link/another-test-link/test%20link/another%20test%25"
Please uncheck the "Cut long lines" property in the ExportSettings or in the export menu.With the same hyperlink example, when i try to save as "Text file", the result is:Code: Select all
"http://test.link.testlink.another.test.link/test%20link/another-test-link/t"
Thank you.
Hyperlinks unexpected result when save report as PDF or TXT
Hi,
I realized that the problem occurs when the link length exceeds the width of the report page. Save to pdf seems to take the '%' character as if it would be the last one (maybe it uses this character as line separator), and not only break the line (this is good) but also break de hyperlink (and tooltip).
In my report I have check "Word wrap" property and is in this case when the link does not work. If I uncheck the property "Wordwrap" then the link works fine, but the end of the text exceeds the margins and does not look good.
How could i get the correct hyperlink without uncheck "Word wrap" property? (i want to use this property but applied only to text not to hyperlinks destination).
How could i get the correct hyperlink unchecking "Word wrap" but displaying the hyperlink text within the margins? (maybe as work around ...)
Thanks in advance.
I can't use this field because in my case i get external information as RTF content and i have to use Rich Text band for this purpose.Please use the Interaction\Hyperlink property of the textbox to add hyperlink.
I realized that the problem occurs when the link length exceeds the width of the report page. Save to pdf seems to take the '%' character as if it would be the last one (maybe it uses this character as line separator), and not only break the line (this is good) but also break de hyperlink (and tooltip).
In my report I have check "Word wrap" property and is in this case when the link does not work. If I uncheck the property "Wordwrap" then the link works fine, but the end of the text exceeds the margins and does not look good.
How could i get the correct hyperlink without uncheck "Word wrap" property? (i want to use this property but applied only to text not to hyperlinks destination).
How could i get the correct hyperlink unchecking "Word wrap" but displaying the hyperlink text within the margins? (maybe as work around ...)
Thanks in advance.
Hyperlinks unexpected result when save report as PDF or TXT
Hello.
But you insert link as text, therefore text is wrapped. In this case no hyperlink is written in the PDF file.
Adobe Acrobat Reader ver. 9 and higher finds hyperlinks in text by itself. And here is a problem that Acrobat Reader don't take the rest of the link when it is wrapped.
So you can use Hyperlink property or change size of the font to link intermeddle in one line.
Please, send us a report template with data to reproduce the issue and we'll try to do something.
Thank you.
If you will use the Hyperlink property, then the link will be added to PDF as object and all will work right.ajcervera wrote:I can't use this field because in my case i get external information as RTF content and i have to use Rich Text band for this purpose.
I realized that the problem occurs when the link length exceeds the width of the report page. Save to pdf seems to take the '%' character as if it would be the last one (maybe it uses this character as line separator), and not only break the line (this is good) but also break de hyperlink (and tooltip).
In my report I have check "Word wrap" property and is in this case when the link does not work. If I uncheck the property "Wordwrap" then the link works fine, but the end of the text exceeds the margins and does not look good.
How could i get the correct hyperlink without uncheck "Word wrap" property? (i want to use this property but applied only to text not to hyperlinks destination).
How could i get the correct hyperlink unchecking "Word wrap" but displaying the hyperlink text within the margins? (maybe as work around ...)
Thanks in advance.
But you insert link as text, therefore text is wrapped. In this case no hyperlink is written in the PDF file.
Adobe Acrobat Reader ver. 9 and higher finds hyperlinks in text by itself. And here is a problem that Acrobat Reader don't take the rest of the link when it is wrapped.
So you can use Hyperlink property or change size of the font to link intermeddle in one line.
Please, send us a report template with data to reproduce the issue and we'll try to do something.
Thank you.