Well, I've found that it works directly within fo:flow or within the first table, but if there's a nested table the links are not rendered correctly.
....
<!-- this is rendered, but not clickable -->
<fo:block margin-left="0.8cm" font-size="10pt">
<fo:basic-link external-destination="http://www.yahoo.com" text-decoration="underline" color="blue">
yahoo</fo:basic-link>
</fo:block>
</fo:table-cell>
</fo:table-row>
<!-- ending inner table (nested) -->
</fo:table-body>
</fo:table>
<!-- this is rendered correctly and clickable as requested -->
<fo:block margin-left="0.8cm" font-size="10pt">
<fo:basic-link external-destination="http://www.yahoo.com" text-decoration="underline" color="blue">
yahoo</fo:basic-link>
</fo:block>
<!-- ending outer table -->
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
Has anybody else had this issue? Maybe this is a bug?
(I'm using fop 0.20.5rc, btw)
thx
Johannes
| "Johannes Fiala"
<[EMAIL PROTECTED]>
20.07.2003 16:12
|
|
hi there,
am I right in that embedding links to external URLs is not yet supported with FOP?
I tried these examples, but non of them opened up the URL as specified (although no warning has been printed during rendering):
<fo:basic-link external-destination="http://www.yahoo.com" text-decoration="underline" color="blue">
yahoo.com </fo:basic-link>
<fo:basic-link external-destination="url('http://www.RenderX.com/')"
text-decoration="underline"
color="blue">RenderX Home</fo:basic-link>
I hope anybody can shed more light onto this...
Johannes
