You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Giuseppe Briotti <g....@gmail.com> on 2012/07/23 12:38:07 UTC

FOP bug 49910

Try to upgrading from FOP 0.95 to FOP 1.0. In several documents, I
need a two columns layout with a vertical line to separate the two
columns.
This is out of the XSLFO specs, and the solution is to group all the
text in a block or block container with left and right borders,
arranged with
padding in order to place the unwanted line outside the body area with clipping.

This work fine with FOP 0.95 but is affected by this bug in FOP 1.0:
https://issues.apache.org/bugzilla/show_bug.cgi?id=49910

This bug seems partially fixed (the fix doesn't work on landscape
layout, as stated in the bug page) for FOP 1.0

The questions are:

1. do I need to download a new compiled version of FOP 1.0 or I must
apply the patch on source and recompile it from scratch?
2. there is a solution for landscape layout?

TIA

G.

-- 

Giuseppe Briotti
g.briotti@gmail.com

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


Re: FOP bug 49910

Posted by Giuseppe Briotti <g....@gmail.com>.
Thanks Pascal,
>
> IIUC from issue comments, the partial fix was applied to Trunk
> (r1081554) witch occurred *after* the FOP 1.0 tag (r963413).
> You can:
>  - either make the patch from the trunk r1081554 and merge it to the 1.0 source,
>  - or try directly FOP 1.1RC1 (or recent build of trunk).

OK. I planned to test 1.1RC1 too. In the meanwhile I will look for
recent build...

>> 2. there is a solution for landscape layout?
>
> again read in Vincent's comments:
> Limitations are only on reference-orientation property.
> An easy way to have both portrait and landscape pages in the same doc,
> is to play directly on page-width/page-height; that doesn't affect the
> reference-orientation property.

OK. I will try this...

G.

-- 

Giuseppe Briotti
g.briotti@gmail.com

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


Re: FOP bug 49910

Posted by Pascal Sancho <ps...@gmail.com>.
Hi,

2012/7/23 Giuseppe Briotti <g....@gmail.com>:
> Try to upgrading from FOP 0.95 to FOP 1.0. In several documents, I
> need a two columns layout with a vertical line to separate the two
> columns.
> This is out of the XSLFO specs, and the solution is to group all the
> text in a block or block container with left and right borders,
> arranged with
> padding in order to place the unwanted line outside the body area with clipping.
>
> This work fine with FOP 0.95 but is affected by this bug in FOP 1.0:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=49910
>
> This bug seems partially fixed (the fix doesn't work on landscape
> layout, as stated in the bug page) for FOP 1.0
>
> The questions are:
>
> 1. do I need to download a new compiled version of FOP 1.0 or I must
> apply the patch on source and recompile it from scratch?

IIUC from issue comments, the partial fix was applied to Trunk
(r1081554) witch occurred *after* the FOP 1.0 tag (r963413).
You can:
 - either make the patch from the trunk r1081554 and merge it to the 1.0 source,
 - or try directly FOP 1.1RC1 (or recent build of trunk).

> 2. there is a solution for landscape layout?

again read in Vincent's comments:
Limitations are only on reference-orientation property.
An easy way to have both portrait and landscape pages in the same doc,
is to play directly on page-width/page-height; that doesn't affect the
reference-orientation property.

>
> TIA
>
> G.

-- 
pascal

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