Andreas L. Delmelle wrote:
-----Original Message-----
From: Nestor Martinez [mailto:[EMAIL PROTECTED]]

    

Hi,

  
Does any one know why the following code wouldn't work as expected.
When I click on a bookmark link it takes me to the correct
page but not the exact location, it always points to the block right
below the one that actually contains the ID.  I have gone on the Internet
and downloaded sample files which run great, bookmarks go where they are
supposed to go.  Any ideas?
    

Errm... No.
The code you've shown us contains only the outlines. Based on that, we can
only assume that the ID's are in fact on the blocks below the ones that you
think contain the ID...

Can you post a minimized version of the FO demonstrating the problem?

Greetz,

Andreas


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

.

  
Here is a little bit of the fo file, where it shows the block with the id, but it actually goes to the block right after the block with
the leader inside of it, in other words, it points to two blocks down from where it is supposed to point at, any idea why this happens?
I'm using fop-0.20.5.  Thanks.

        <fo:flow flow-name="xsl-region-body">
            <fo:table width="5.4in" height="7.75in" table-layout="fixed">
                <fo:table-column column-width="5.4in"/>
                <fo:table-header>
                    <fo:table-row>
                        <fo:table-cell padding="0.25in">
                            <fo:block/>
                        </fo:table-cell>
                    </fo:table-row>
                </fo:table-header>
                <fo:table-footer>
                    <fo:table-row>
                        <fo:table-cell padding="0.25in">
                            <fo:block/>
                        </fo:table-cell>
                    </fo:table-row>
                </fo:table-footer>
                <fo:table-body>
                    <fo:table-row height="6.75in">
                        <fo:table-cell>
                            <fo:block margin-right="0.5in" margin-left="0.5in">
   ** id -->               <fo:block font-size="16pt" font-weight="bold" id="A1">Title 1</fo:block>
                                <fo:block>
                                    <fo:leader/>
                                </fo:block>
**goes here instead -->   <fo:block>This <fo:inline font-style="italic">is</fo:inline> the paragraph that eventually the outline points to instead of the one above which contains the ID referenced in the outline.  Can anyone explain why that is?  I just don't understand it.</fo:block>
                                <fo:block>
                                    <fo:leader/>
                                </fo:block>
    ** id -->              <fo:block font-size="14pt" font-weight="bold" id="A1B1">SubTitle 1</fo:block>
                                <fo:block>
                                    <fo:leader/>
                                </fo:block>
                                <fo:block>
                                    <fo:list-block>
**goes here instead -->  <fo:list-item>
                                            <fo:list-item-label end-indent="label-end()" width="10pt">
                                                <fo:block font-weight="bold" font-size="10pt" font-family="serif" text-align="right">•</fo:block>
                                            </fo:list-item-label>
                                            <fo:list-item-body start-indent="body-start()">
                                                <fo:block>Instead of pointing at the subtitle 1 above which contains the ID, it points to this block instead.  Any idea why this happens?</fo:block>

Reply via email to