Bug 3462 - basic-link does not work in list-items inside tables other than 1st column
Summary: basic-link does not work in list-items inside tables other than 1st column
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: all
Hardware: PC All
: P3 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-06 08:09 UTC by mok
Modified: 2012-04-01 06:35 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mok 2001-09-06 08:09:45 UTC
basic-links works except when it is inside a list-block inside a table other 
than the first column.
below is a fo file as example


<?xml version="1.0" encoding="utf-8"?>
<fo:root language="en" xmlns:fo="http://www.w3.org/1999/XSL/Format">

    <fo:layout-master-set>
        <fo:simple-page-master master-name="page">
            <fo:region-body/>
        </fo:simple-page-master>
    </fo:layout-master-set>

    <fo:page-sequence master-name="page">
        <fo:flow flow-name="xsl-region-body">
                <fo:table>
                    <fo:table-column column-width="5cm"/>
                    <fo:table-column column-width="5cm"/>
                    <fo:table-column column-width="5cm"/>
                    <fo:table-body>
                        <fo:table-row>
                            <fo:table-cell border-style="solid">
                                <fo:block><fo:basic-link color="red" external-
destination="418-00.pdf">good reference</fo:basic-link></fo:block>
                                    <fo:list-block provisional-distance-between-
starts="14pt" provisional-label-separation="3pt">
                                        <fo:list-item space-before="1mm">
                                            <fo:list-item-label end-
indent="label-end()">
                                                <fo:block>*</fo:block>
                                            </fo:list-item-label>
                                            <fo:list-item-body start-
indent="body-start()">
                                                <fo:block><fo:basic-link 
color="red" external-destination="418-00.pdf">good reference</fo:basic-
link>.</fo:block>
                                            </fo:list-item-body>
                                        </fo:list-item>
                                        <fo:list-item space-before="1mm">
                                            <fo:list-item-label end-
indent="label-end()">
                                                <fo:block>*</fo:block>
                                            </fo:list-item-label>
                                            <fo:list-item-body start-
indent="body-start()">
                                                <fo:block><fo:basic-link 
color="red" external-destination="418-00.pdf">good reference</fo:basic-
link>.</fo:block>
                                            </fo:list-item-body>
                                        </fo:list-item>
                                    </fo:list-block>
                            </fo:table-cell>

                            <fo:table-cell border-style="solid">
                                <fo:block>
                                    <fo:list-block provisional-distance-between-
starts="14pt" provisional-label-separation="3pt">
                                        <fo:list-item space-before="1mm">
                                            <fo:list-item-label end-
indent="label-end()">
                                                <fo:block>*</fo:block>
                                            </fo:list-item-label>
                                            <fo:list-item-body start-
indent="body-start()">
                                                <fo:block><fo:basic-link 
color="red" external-destination="418-00.pdf">reference breaks in list-block 
not in column 1</fo:basic-link></fo:block>
                                            </fo:list-item-body>
                                        </fo:list-item>
                                        <fo:list-item space-before="1mm">
                                            <fo:list-item-label end-
indent="label-end()">
                                                <fo:block>*</fo:block>
                                            </fo:list-item-label>
                                            <fo:list-item-body start-
indent="body-start()">
                                                <fo:block><fo:basic-link 
color="red" external-destination="418-00.pdf">reference breaks in list-block 
not in column 1</fo:basic-link></fo:block>
                                            </fo:list-item-body>
                                        </fo:list-item>
                                    </fo:list-block>
                                                <fo:block><fo:basic-link 
color="red" external-destination="418-00.pdf">good reference</fo:basic-
link>.</fo:block>

                                </fo:block>

                            </fo:table-cell>

                            <fo:table-cell border-style="solid">
                                <fo:block>
                                    <fo:list-block provisional-distance-between-
starts="14pt" provisional-label-separation="3pt">
                                        <fo:list-item space-before="1mm">
                                            <fo:list-item-label end-
indent="label-end()">
                                                <fo:block>*</fo:block>
                                            </fo:list-item-label>
                                            <fo:list-item-body start-
indent="body-start()">
                                                <fo:block><fo:basic-link 
color="red" external-destination="418-00.pdf">reference breaks in list-block 
not in column 1</fo:basic-link>.</fo:block>
                                            </fo:list-item-body>
                                        </fo:list-item>
                                    </fo:list-block>
                                                <fo:block><fo:basic-link 
color="red" external-destination="418-00.pdf">good reference</fo:basic-
link>.</fo:block>

                                </fo:block>

                            </fo:table-cell>
                        </fo:table-row>
                    </fo:table-body>

                </fo:table>

        </fo:flow>
    </fo:page-sequence>
</fo:root>
Comment 1 J.Pietschmann 2002-04-22 11:14:41 UTC
The links are there, the areas are shifted to the upper left corner
of the table. Another example that link area calculation is still
seriously broken in 0.20.3.
Comment 2 klease 2002-09-26 21:24:02 UTC
Should be in 0.20.5 on the maintenance branch.
Comment 3 Glenn Adams 2012-04-01 06:35:44 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed