xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc <Marc.Li...@free.fr>
Subject Re: page overflow picture multi columns
Date Thu, 29 Aug 2013 18:26:55 GMT
I will try to do that.
I find a workaround by add a <fo:block span="all"/> before the block 
containing the picture
Marc

Le mercredi 28 août 2013 15:53:52, Pascal Sancho a écrit :
> Hi,
>
> That sounds like a bug.
> Can you file in a new issue on Jira [1], please?
> You should attach (not copy/paste) your test case as file.
>
> [1] https://issues.apache.org/jira/browse/FOP
>
> 2013/8/28 Marc <Marc.Liste@free.fr>:
>> I discover a problem when the page layout is 2 columns, and an picture
>> (external-graphic or instream-foreign-object) is on all page (span = "all").
>> In this case there is no test about the overflow at the end of the page, and
>> no break insert.
>>
>> Here is an example with an instream-foreign-object, but it's the same with
>> an external-graphic.
>>
>> Marc
>> ---------------------
>> <?xml version="1.0" encoding="UTF-8"?>
>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>>          <fo:layout-master-set>
>>                  <fo:simple-page-master master-name="page" margin-bottom="0"
>> margin-left="0" margin-right="0"
>>                          margin-top="0" page-height="20cm" page-width="20cm">
>>                          <fo:region-body column-count="2" column-gap="0cm"
>> margin-bottom="3cm"
>>                                  margin-left="1.5cm" margin-right="1.5cm"
>> margin-top="3cm"/>
>>                          <fo:region-before extent="3cm" region-name="entete"
>> precedence="true"/>
>>                          <fo:region-after extent="3cm" region-name="bas-page"
>> precedence="true"/>
>>                  </fo:simple-page-master>
>>          </fo:layout-master-set>
>>          <fo:page-sequence initial-page-number="auto-odd"
>> line-height-shift-adjustment="disregard-shifts"
>>                  master-reference="page" font-family="Helvetica"
>> font-size="9.5pt" text-align="justify">
>>                  <fo:static-content flow-name="bas-page">
>>                          <fo:block font-size="10pt" font-style="normal"
>> margin-left="2.5cm"
>>                                  margin-right="1.5cm" margin-top="0.5cm"
>> text-align="justify"
>>                                  text-align-last="justify" text-indent="0"
>> background-color="blue"
>>
>>> <fo:inline><fo:page-number/></fo:inline><fo:leader/><fo:inline>Essai</fo:inline></fo:block>
>>                  </fo:static-content>
>>
>>                  <fo:flow flow-name="xsl-region-body">
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block>essai</fo:block>
>>                          <fo:block span="all"><fo:instream-foreign-object
>> content-height="scale-down-to-fit"
>>                                          content-width="scale-down-to-fit"
>> height="14cm">
>>                                          <svg
>> xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
>>                                                  version="1.1"
>> width="715.20386" height="875.11243" id="svg2982">
>>                                                  <defs id="defs3"/>
>>                                                  <g
>> transform="matrix(1.5709056,0,0,1.3297055,-71.034388,-53.769966)"
>>                                                          id="layer1">
>>                                                          <rect
>> width="454.43762" height="353.74411" x="45.638321" y="40.857647"
>>
>> id="rect2988"
>>
>> style="fill:#ff0000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.84807265;stroke-opacity:1"/>
>>                                                          <rect
>> width="238.27271" height="322.672" x="188.11067" y="375.48044"
>>
>> id="rect2990"
>>
>> style="fill:#00ff00;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0.84807265;stroke-opacity:1"
>>                                                          />
>>                                                  </g>
>>                                          </svg>
>>                                  </fo:instream-foreign-object>
>>                          </fo:block>
>>                  </fo:flow>
>>          </fo:page-sequence>
>> </fo:root>
>> ----------------------------------
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message