RE: FOP 1.0 support for 'page-postion=only'

2012-01-25 Thread Amick, Eric
The original was certainly over-specified, but I would have expected it to 
work. Unless I've misunderstood, "only" is true only when "first" and "last" 
are both true, and "rest" is true only when neither "first" nor "last" is true, 
so putting "last" at the end should have been OK.

Eric Amick   Systems Engineer II
Legislative Computer Systems


> -Original Message-
> From: Pascal Sancho [mailto:pascal.san...@takoma.fr]
> Sent: Wednesday, January 25, 2012 3:42
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 1.0 support for 'page-postion=only'
> 
> Hi,
> 
> "only" works as expected.
> 
> Note that fo:conditional-page-master-reference order is taken into
> account within the fo:repeatable-page-master-alternatives.
> (this is a sequential test).
> 
> if you need a "only" master, you have to put it in 1st position,
> otherwise another one can be used.
> Same thing about "last" master, witch is probably more what you need in
> this case.


Re: FOP 1.0 support for 'page-postion=only'

2012-01-25 Thread Pascal Sancho
Hi,

"only" works as expected.

Note that fo:conditional-page-master-reference order is taken into
account within the fo:repeatable-page-master-alternatives.
(this is a sequential test).

if you need a "only" master, you have to put it in 1st position,
otherwise another one can be used.
Same thing about "last" master, witch is probably more what you need in
this case.

See attached example, and try to change order, or comment some parts.

Le 24/01/2012 20:21, FPar a écrit :
> 
> You are indeed right, that works, thank you! For some reason it didn't occur
> to me to not include the page position attribute for the "all-but-last"
> layout.
> 
> Haven't retried the "only" page-position yet (I'm interested in confirming
> that this works.)
> 
> 
> 
> Amick, Eric wrote:
>>
>> I'm probably missing something, but won't this do what you want?
>>
>> 
>>  
>>  > master-reference="letter-last"/>
>>  > master-reference="letter-all-but-last"/>
>>   
>> 
>>
>> Eric Amick   Systems Engineer II
>> Legislative Computer Systems
>>
>>> -Original Message-
>>> From: FPar [mailto:francis.pars...@verizon.net]
>>> Sent: Tuesday, January 24, 2012 8:09
>>> To: fop-users@xmlgraphics.apache.org
>>> Subject: Re: FOP 1.0 support for 'page-postion=only'
>>>
>>>
>>> Hmm, OK. The compliance page seems to be for all versions. Do you have
>>> an
>>> example of something that should work? I have a letter where there is a
>>> signature section that should appear (in the footer) of the last page
>>> (I
>>> want to keep it fixed to the bottom to the page). However, if the page
>>> is
>>> only one page long, I also want that signature section to appear.
>>>
>>> This is what I had that didn't work:
>>>
>>> 
>>> 
>>> >> master-reference="letter-last"/>
>>> >> master-reference="letter-all-but-last"/>
>>> >> master-reference="letter-all-but-last"/>
>>> >> master-reference="letter-last"/>
>>>
>>>
>>> 
>>> 
>>>
>>> Does this look correct? Should this work? Thanks for any help with
>>> this!
>>>
>>>
>>>
>>> Pascal Sancho wrote:
>>>>
>>>> Hi,
>>>>
>>>> Page compliance says that partial support concerns only FOP 0.95.
>>> Latter
>>>> versions have full support for this property.
>>>>
>>>> After SVN check, the "only" support was added in rev 698280, witch
>>> was
>>>> prior to FOP 1.0.
>>>>
>>>> So, page compliance is up to date (regarding that feature), and FOP
>>> 1.0
>>>> should implement it fully.

-- 
Pascal

http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format";>
  

  
  

   
  
  

   
  
  


  
  


  




  

  
  

  Only


  First


  Last


  Other


  page 1
  page 2
  page 3

  



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

RE: FOP 1.0 support for 'page-postion=only'

2012-01-24 Thread FPar

You are indeed right, that works, thank you! For some reason it didn't occur
to me to not include the page position attribute for the "all-but-last"
layout.

Haven't retried the "only" page-position yet (I'm interested in confirming
that this works.)



Amick, Eric wrote:
> 
> I'm probably missing something, but won't this do what you want?
> 
> 
>   
>master-reference="letter-last"/>
>master-reference="letter-all-but-last"/>
>   
> 
> 
> Eric Amick   Systems Engineer II
> Legislative Computer Systems
> 
>> -Original Message-
>> From: FPar [mailto:francis.pars...@verizon.net]
>> Sent: Tuesday, January 24, 2012 8:09
>> To: fop-users@xmlgraphics.apache.org
>> Subject: Re: FOP 1.0 support for 'page-postion=only'
>> 
>> 
>> Hmm, OK. The compliance page seems to be for all versions. Do you have
>> an
>> example of something that should work? I have a letter where there is a
>> signature section that should appear (in the footer) of the last page
>> (I
>> want to keep it fixed to the bottom to the page). However, if the page
>> is
>> only one page long, I also want that signature section to appear.
>> 
>> This is what I had that didn't work:
>> 
>> 
>>  
>>  > master-reference="letter-last"/>
>>  > master-reference="letter-all-but-last"/>
>>  > master-reference="letter-all-but-last"/>
>>  > master-reference="letter-last"/>
>> 
>> 
>> 
>>  
>> 
>> Does this look correct? Should this work? Thanks for any help with
>> this!
>> 
>> 
>> 
>> Pascal Sancho wrote:
>> >
>> > Hi,
>> >
>> > Page compliance says that partial support concerns only FOP 0.95.
>> Latter
>> > versions have full support for this property.
>> >
>> > After SVN check, the "only" support was added in rev 698280, witch
>> was
>> > prior to FOP 1.0.
>> >
>> > So, page compliance is up to date (regarding that feature), and FOP
>> 1.0
>> > should implement it fully.
>> >
>> >
>> 
>> --
>> View this message in context: http://old.nabble.com/FOP-1.0-support-
>> for-%27page-postion%3Donly%27-tp33188282p33194743.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>> 
>> 
>> -
>> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> 
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/FOP-1.0-support-for-%27page-postion%3Donly%27-tp33188282p33197090.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



RE: FOP 1.0 support for 'page-postion=only'

2012-01-24 Thread Amick, Eric
I'm probably missing something, but won't this do what you want?





  


Eric Amick   Systems Engineer II
Legislative Computer Systems

> -Original Message-
> From: FPar [mailto:francis.pars...@verizon.net]
> Sent: Tuesday, January 24, 2012 8:09
> To: fop-users@xmlgraphics.apache.org
> Subject: Re: FOP 1.0 support for 'page-postion=only'
> 
> 
> Hmm, OK. The compliance page seems to be for all versions. Do you have
> an
> example of something that should work? I have a letter where there is a
> signature section that should appear (in the footer) of the last page
> (I
> want to keep it fixed to the bottom to the page). However, if the page
> is
> only one page long, I also want that signature section to appear.
> 
> This is what I had that didn't work:
> 
> 
>   
>master-reference="letter-last"/>
>master-reference="letter-all-but-last"/>
>master-reference="letter-all-but-last"/>
>master-reference="letter-last"/>
> 
> 
> 
>   
> 
> Does this look correct? Should this work? Thanks for any help with
> this!
> 
> 
> 
> Pascal Sancho wrote:
> >
> > Hi,
> >
> > Page compliance says that partial support concerns only FOP 0.95.
> Latter
> > versions have full support for this property.
> >
> > After SVN check, the "only" support was added in rev 698280, witch
> was
> > prior to FOP 1.0.
> >
> > So, page compliance is up to date (regarding that feature), and FOP
> 1.0
> > should implement it fully.
> >
> >
> 
> --
> View this message in context: http://old.nabble.com/FOP-1.0-support-
> for-%27page-postion%3Donly%27-tp33188282p33194743.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
> 
> 
> -
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org


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



Re: FOP 1.0 support for 'page-postion=only'

2012-01-24 Thread FPar

Hmm, OK. The compliance page seems to be for all versions. Do you have an
example of something that should work? I have a letter where there is a
signature section that should appear (in the footer) of the last page (I
want to keep it fixed to the bottom to the page). However, if the page is
only one page long, I also want that signature section to appear.

This is what I had that didn't work:








   



Does this look correct? Should this work? Thanks for any help with this!



Pascal Sancho wrote:
> 
> Hi,
> 
> Page compliance says that partial support concerns only FOP 0.95. Latter
> versions have full support for this property.
> 
> After SVN check, the "only" support was added in rev 698280, witch was
> prior to FOP 1.0.
> 
> So, page compliance is up to date (regarding that feature), and FOP 1.0
> should implement it fully.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/FOP-1.0-support-for-%27page-postion%3Donly%27-tp33188282p33194743.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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



Re: FOP 1.0 support for 'page-postion=only'

2012-01-24 Thread Pascal Sancho
Hi,

Page compliance says that partial support concerns only FOP 0.95. Latter
versions have full support for this property.

After SVN check, the "only" support was added in rev 698280, witch was
prior to FOP 1.0.

So, page compliance is up to date (regarding that feature), and FOP 1.0
should implement it fully.

Le 23/01/2012 15:15, FPar a écrit :
> 
> according to
> http://xmlgraphics.apache.org/fop/compliance.html#fo-property-page-position
> , "value "only" not supported"
> 
> Can anyone confirm that this is up to date? I ask because in searching for
> information on this, I came across a bugzilla item (I think for version
> 0.95) that supposedly fixed a problem with "page-position=only". 
> 
> In any case, I can't get it to work with FOP 1.0.  Does anyone know of a
> good work-around?
> 

-- 
Pascal

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



FOP 1.0 support for 'page-postion=only'

2012-01-23 Thread FPar

according to
http://xmlgraphics.apache.org/fop/compliance.html#fo-property-page-position
, "value "only" not supported"

Can anyone confirm that this is up to date? I ask because in searching for
information on this, I came across a bugzilla item (I think for version
0.95) that supposedly fixed a problem with "page-position=only". 

In any case, I can't get it to work with FOP 1.0.  Does anyone know of a
good work-around?

-- 
View this message in context: 
http://old.nabble.com/FOP-1.0-support-for-%27page-postion%3Donly%27-tp33188282p33188282.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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