> Basic links that have a destination that will be on a following page are
> broken.
> The changes involving the stream renderer do not check to make sure that
> the links are resolved before rendering the page, or more correctly, the id
> references don't care about basic links.
Unfortunately that's not always correct, I've found an example against
your theory. The <basic-link> is on page 2, the referenced link is on page
1. Have a look at the attached .fo and .pdf-file (don't be confused, the
links are invisible).
MfG, Daniel
--
Daniel Knapp <[EMAIL PROTECTED]>
int a=10000,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0,
g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/=
g--,--b;d*=b);} berechnet Pi auf 800 Stellen genau. :-)
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) by Daniel Knapp (Universität
Rostock) -->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4" page-width="210mm"
page-height="297mm" margin-top="15mm" margin-bottom="15mm" margin-left="25mm"
margin-right="25mm">
<fo:region-before extent="15mm"/>
<fo:region-body margin-top="15mm" margin-bottom="15mm"/>
<fo:region-after extent="15mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name="A4">
<fo:static-content flow-name="xsl-region-before">
<fo:block font-size="9pt"
text-align="center">test_block<fo:block/>
<fo:leader leader-length="160mm" leader-pattern="rule"
rule-thickness="2pt"/>
</fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
<fo:block>
<fo:leader leader-length="160mm" leader-pattern="rule"
rule-thickness="2pt"/>
</fo:block>
<fo:block font-size="9pt">
<fo:table>
<fo:table-column column-width="150mm"/>
<fo:table-column column-width="10mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block
font-size="9pt">H.-R. Vatterrott
(Universität Rostock)
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block
font-size="9pt" text-align="end">
<fo:page-number/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:table>
<fo:table-column column-width="160mm"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:external-graphic src="image_common/abstandu.gif"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block
font-weight="bold" font-size="20pt" text-align="start" line-height="36pt"
id="test">test</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block font-size="12pt" text-align="justify"
line-height="20pt">Dies ist ein Bespiel für einen Programmtext:<fo:block>
<fo:external-graphic
src="image_common/abstandu.gif"/>
</fo:block>
<fo:block id="">
<fo:table table-omit-header-at-break="true"
table-omit-footer-at-break="true">
<fo:table-column
column-width="1.6cm"/>
<fo:table-column
column-width="14.4cm"/>
<fo:table-body>
<fo:table-row
keep-with-next.within-page="always">
<fo:table-cell
background-color="white" padding-left="3pt" padding-right="3pt" padding-bottom="3pt"
padding-top="3pt" keep-together.within-page="always">
<fo:block
font-size="12pt" font-weight="100" keep-together.within-page="always"
line-height="20pt">
<fo:block>
<fo:external-graphic src="image_common/abstandu.gif"/>
</fo:block>
<fo:block text-align="center" id=""/>
<fo:block font-size="10pt" font-style="italic" text-align="center">Na, zufrieden
?<fo:block>
<fo:external-graphic src="image_common/abstandu.gif"/>
</fo:block>
</fo:block>
</fo:block>
</fo:table-cell>
<fo:table-cell
background-color="white" padding-left="3pt" padding-right="3pt" padding-bottom="3pt"
padding-top="3pt" keep-together.within-page="always">
<fo:block
font-size="12pt" font-weight="100" keep-together.within-page="always"
line-height="20pt">
<fo:block background-color="#DDDDDD" id="">
<fo:inline font-family="Courier" id="">0</fo:inline> class test extends Panel
{<fo:block/>
<fo:block id="">
<fo:inline font-family="Courier" id="">1</fo:inline> private Color
backColor;<fo:block/>
<fo:inline font-family="Courier" id="">2</fo:inline> private Color
textColor;<fo:block/>
<fo:inline font-family="Courier" id="">3</fo:inline> private Font
textFont;<fo:block/>
<fo:inline font-family="Courier"
id="">4</fo:inline> /*************************************<fo:block/>
<fo:inline font-family="Courier" id="">5</fo:inline> *
Methoden<fo:block/>
<fo:inline font-family="Courier"
id="">6</fo:inline> **************************************/<fo:block/>
<fo:inline font-family="Courier" id="">7</fo:inline> public test(Color
backColor, Color textColor, Font textFont) {<fo:block/>
<fo:block id="b1">
<fo:inline font-family="Courier"
id="">8</fo:inline> super(new BorderLayout());<fo:block/>
<fo:inline font-family="Courier"
id="">9</fo:inline> this.backColor = backColor;<fo:block/>
<fo:inline font-family="Courier"
id="">10</fo:inline> this.textColor = textColor;<fo:block/>
<fo:inline font-family="Courier"
id="">11</fo:inline> this.textFont = textFont;<fo:block/>
<fo:inline font-family="Courier" id="">12</fo:inline> /* hier
folgt jetzt der eigentlich interessante Teil<fo:block/>
<fo:inline font-family="Courier" id="">13</fo:inline> *
...<fo:block/>
<fo:inline font-family="Courier" id="">14</fo:inline> *
******************************************************/<fo:block/>
<fo:inline font-family="Courier" id="">15</fo:inline> if
(heute_schoenes_wetter) {<fo:block/>
<fo:block id="">
<fo:inline font-family="Courier"
id="l11">16</fo:inline> System.out.println("Feierabend !")<fo:block/>
</fo:block>
<fo:inline font-family="Courier"
id="">17</fo:inline> }<fo:block/>
</fo:block>
<fo:inline font-family="Courier" id="">18</fo:inline> }<fo:block/>
<fo:inline font-family="Courier" id="">19</fo:inline> public test(Color
backColor, Color textColor) {<fo:block/>
<fo:block id="">
<fo:inline font-family="Courier"
id="l1">20</fo:inline> super(new BorderLayout());<fo:block/>
<fo:inline font-family="Courier"
id="">21</fo:inline> this.backColor = backColor;<fo:block/>
<fo:inline font-family="Courier"
id="">22</fo:inline> this.textColor = textColor;<fo:block/>
<fo:inline font-family="Courier" id="">23</fo:inline> // dies
ist die zweite Version der Initialisierungroutine<fo:block/>
<fo:inline font-family="Courier" id="">24</fo:inline> //
...<fo:block/>
</fo:block>
<fo:inline font-family="Courier" id="">25</fo:inline> }<fo:block/>
</fo:block>
<fo:inline font-family="Courier" id="">26</fo:inline> }<fo:block/>
</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block>
<fo:external-graphic
src="image_common/abstandu.gif"/>
</fo:block>Dies ist ein Verweis auf eine Zeile
20<fo:basic-link internal-destination="l1"> super(new(BorderLayout())</fo:basic-link>
<fo:block/>Dies ist ein Verweis auf eine andere Zeile
16<fo:basic-link internal-destination="l11"> System.out.println("Feierabend
!")</fo:basic-link>
<fo:block/>Und dies ist ein Verweis auf einen Block
8<fo:basic-link internal-destination="b1"> erster Block zu public test</fo:basic-link>
<fo:block>
<fo:external-graphic
src="image_common/abstandu.gif"/>
</fo:block>
<fo:block text-align="center" id=""/>
<fo:block font-size="10pt" font-style="italic"
text-align="center">Na, zufrieden ?<fo:block>
<fo:external-graphic
src="image_common/abstandu.gif"/>
</fo:block>
</fo:block>
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
test_block.pdf
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]