DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8968>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8968

basic-link with internal-destination attribute doesn't work inside static-content 
element





------- Additional Comments From [EMAIL PROTECTED]  2002-07-11 10:46 -------
The clickable region of a hyperlink is not the same as the position of the text 
when the margin-bottom of fo:region-body margin-bottom is not equal to the 
extent of the fo:region-after.  The clickable area gets offset vertically by 
the difference.

Take this example below, the hyperlinking works OK.  Then try changing margin-
bottom and the extent of region-after.  I suspect in examples where the link 
didn't appear to work at all the clickable region had shifted completely off 
the page.


<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<fo:layout-master-set>
<fo:simple-page-master master-name="page"
          page-height="29.7cm" 
          page-width="21cm">
        <fo:region-before extent="3cm"/>
        <fo:region-body margin-bottom="1.5cm"/>
        <fo:region-after extent="1.5cm"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="front-section">
  <fo:repeatable-page-master-alternatives>
    <fo:conditional-page-master-reference master-reference="page" page-
position="all"/>
  </fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
                        
</fo:layout-master-set>

<fo:page-sequence master-reference="front-section">
<fo:static-content flow-name="xsl-region-before">
  <fo:block>
    <fo:basic-link external-destination="www.google.com">google</fo:basic-link>
  </fo:block>
</fo:static-content>
<fo:static-content flow-name="xsl-region-after">
  <fo:block>
    <fo:basic-link external-destination="www.google.com">google</fo:basic-link>
  </fo:block>
  </fo:static-content> 
    <fo:flow flow-name="xsl-region-body">
      <fo:block>
        <fo:basic-link external-destination="www.google.com">google</fo:basic-
link>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>   
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to