Hello,
I'm testing inline overflow messages with FOP-trunk (668084).
But I don't understand value of line number.

With the following FO, I get those messages:
[WARN]  Line 5 of a paragraph overflows the available area by more than 50 
points. (See position 16:15)
[WARN]  Line 5 of a paragraph overflows the available area by more than 50 
points. (See position 19:15)
[WARN]  Line 1 of a paragraph overflows the available area by more than 50 
points. (See position 22:15)
[WARN]  Line 9 of a paragraph overflows the available area by more than 50 
points. (See position 25:15)

But in the PDF rendering I don't find the same line number:
fo:block (position 16:15) : overflow in line 1 of the block ?
fo:block (position 19:15) : overflow in line 2 of the block ?
fo:block (position 22:15) : overflow in line 5 of the block ?
fo:block (position 25:15) : overflow in line 14 of the block ?

Do you have some explanations?

Thanks
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="SPM" page-height="300mm" 
page-width="148mm" margin="7mm 4mm 7mm 4mm">
                        <fo:region-body margin="22mm 0 12mm 0" 
background-color="yellow"/>
                </fo:simple-page-master>
        </fo:layout-master-set>

        <fo:page-sequence master-reference="SPM" >
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>=== inline ===</fo:block>
                                <fo:block><fo:inline keep-together="always" 
font-style="italic">keep-together keep-together keep-together keep-together 
keep-together keep-together keep-together keep-together 
keep-together</fo:inline> Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text</fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Text Text Text Text <fo:inline 
keep-together="always" font-style="italic">keep-together keep-together 
keep-together keep-together keep-together keep-together keep-together 
keep-together keep-together</fo:inline> Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text</fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text <fo:inline keep-together="always" 
font-style="italic">keep-together keep-together keep-together keep-together 
keep-together keep-together keep-together keep-together 
keep-together</fo:inline></fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
TextText Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text <fo:inline 
keep-together="always" font-style="italic">keep-together keep-together 
keep-together keep-together keep-together keep-together keep-together 
keep-together keep-together</fo:inline> Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text 
Text</fo:block>
                                <fo:block>Block</fo:block>
                                <fo:block>Block</fo:block>
                        </fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>
-------------------------------------------------------------

Reply via email to