Hello

(See FO at the end)
I have problems with fo:page-number-citation-last: 
[WARN] Unresolved ID reference "space-after" found.
[WARN] Unresolved ID reference "margin-bottom" found.
[WARN] Unresolved ID reference "margin" found.
[WARN] Unresolved ID reference "padding" found.
[WARN] Unresolved ID reference "padding-bottom" found.

I have tested with FOP-trunk_svn689406

It works fine with "padding-top", "padding-left" ....
but doesn't work with a "space at the end" of the area (margin-bottom / 
padding-bottom / space-after)

I find limitations here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=39118 : [PATCH] Handling of 
page-number-citation-last
but not really my case 

Andreas speaks about "AbstractLM.isLast(Position)"
and I found that in those cases, IdTracker.signalIDProcessed() is not called 
because, in AbstractLayoutManager.checkEndOfLayout(), notifyEndOfLayout() is 
not called :
AbstractLayoutManager.isLast(Position) return false

Is this a bug ?

Thanks 
Regards
Patrice

---------------------------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
        <fo:layout-master-set>
                <fo:simple-page-master master-name="A4" page-height="29.7cm" 
page-width="21cm" margin="2cm">
                        <fo:region-body margin-top="15cm" 
region-name="xsl-region-body"/>
                        <fo:region-before extent="15cm" 
region-name="xsl-region-before" background-color="yellow"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="A4" id="page-sequence">
                <fo:static-content flow-name="xsl-region-before">
                        <fo:block>
                                padding : from <fo:page-number-citation 
ref-id="padding"/> to <fo:page-number-citation-last ref-id="padding"/> 
                        </fo:block>
                        <fo:block>
                                padding-top : from <fo:page-number-citation 
ref-id="padding-top"/> to <fo:page-number-citation-last ref-id="padding-top"/> 
                        </fo:block>
                        <fo:block>
                                padding-bottom : from <fo:page-number-citation 
ref-id="padding-bottom"/> to <fo:page-number-citation-last 
ref-id="padding-bottom"/> 
                        </fo:block>
                        <fo:block>
                                margin : from <fo:page-number-citation 
ref-id="margin"/> to <fo:page-number-citation-last ref-id="margin"/> 
                        </fo:block>
                        <fo:block>
                                margin-top : from <fo:page-number-citation 
ref-id="margin-top"/> to <fo:page-number-citation-last ref-id="margin-top"/> 
                        </fo:block>
                        <fo:block>
                                margin-bottom : from <fo:page-number-citation 
ref-id="margin-bottom"/> to <fo:page-number-citation-last 
ref-id="margin-bottom"/> 
                        </fo:block>
                        <fo:block>
                                space-before : from <fo:page-number-citation 
ref-id="space-before"/> to <fo:page-number-citation-last 
ref-id="space-before"/> 
                        </fo:block>
                        <fo:block>
                                space-after : from <fo:page-number-citation 
ref-id="space-after"/> to <fo:page-number-citation-last ref-id="space-after"/> 
                        </fo:block>
                </fo:static-content>
                <fo:flow flow-name="xsl-region-body">
                        <fo:block id="padding">
                                <fo:block padding="1pt">padding</fo:block>
                        </fo:block>
                        <fo:block id="padding-top">
                                <fo:block 
padding-top="1pt">padding-top</fo:block>
                        </fo:block>
                        <fo:block id="padding-bottom">
                                <fo:block 
padding-bottom="1pt">padding-bottom</fo:block>
                        </fo:block>
                        <fo:block id="margin">
                                <fo:block margin="1pt">margin</fo:block>
                        </fo:block>
                        <fo:block id="margin-top">
                                <fo:block margin-top="1pt">margin-top</fo:block>
                        </fo:block>
                        <fo:block id="margin-bottom">
                                <fo:block 
margin-bottom="1pt">margin-bottom</fo:block>
                        </fo:block>
                        <fo:block id="space-before">
                                <fo:block 
space-before="1pt">space-before</fo:block>
                        </fo:block>
                        <fo:block id="space-after">
                                <fo:block 
space-after="1pt">space-after</fo:block>
                        </fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>
-----------------------------------------------------

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

Reply via email to