You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2007/04/03 14:50:42 UTC
DO NOT REPLY [Bug 42034] New: - basic-link doesn't cover all text inside
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42034>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42034
Summary: basic-link doesn't cover all text inside
Product: Fop
Version: 0.93
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: thomas@gelzhaeuser.de
from the discussion on fop-user:
That sounds like a bug, reproduced with latest FOP TRUNK.
I've noticed that the fo:basic-link i-p-d does not fit to the available i-p-d
when it contains a fo:page-number-citation.
You should fill in a bug report in bugzilla.
For more help, I've shrinked your snippet.
Pascal
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<!-- defines page layout -->
<fo:layout-master-set>
<fo:simple-page-master master-name="1" page-height="297mm"
page-width="210mm" margin-top="2cm" margin-left="1.5cm"
margin-right="1.5cm">
<fo:region-body/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="1">
<fo:flow flow-name="xsl-region-body">
<fo:block font-size="30pt">
Table of Contents
</fo:block>
<fo:block font-size="14" text-align-last="justify">
<fo:basic-link background-color="green" end-indent="0mm"
internal-destination="_toc_level1_32" border="solid red 1pt">
Level 1 Text
<fo:leader leader-pattern="dots"/>
<fo:page-number-citation ref-id="_toc_level1_32"/>
</fo:basic-link>
</fo:block>
<fo:block font-size="14" text-align-last="justify">
<fo:basic-link background-color="green" end-indent="0mm"
internal-destination="_toc_level1_32" border="solid red 1pt">
Level 1 Text
<fo:leader leader-pattern="dots"/>
</fo:basic-link>
</fo:block>
<fo:block break-before="page" id="_toc_level1_32">
Level 1 Text
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
> -----Message d'origine-----
> De : gelzhaeuser@gmail.com [mailto:gelzhaeuser@gmail.com] De
> la part de Thomas Gelzhaeuser
> Envoy� : lundi 2 avril 2007 14:36
> � : fop-users@xmlgraphics.apache.org
> Objet : basic-link doesn't cover all text inside
>
> Hi fopsters.
>
> I'm trying now to create a table of contents in my pdf
> document by using basic-link and page-number-of-citation as
> it has been discussed here on the list before.
>
> Unfortunately, the text of the toc-entry is not completely
> within the link. Most importantly, the page number is not
> clickable. Any Ideas why this is so?
> I attached a smallish example which illustrates what I did.
>
> Thanks a lot.
>
> Thomas.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.