Unwanted empty page at the end of rtf.

2010-03-26 Thread lexa2009

Hello, i use this fo 
http://old.nabble.com/file/p28039201/out.txt out.txt 
and have this output.
http://old.nabble.com/file/p28039201/fff.rtf fff.rtf 

How to fix it? I do not want empty page. The same result if i insert big
image. If i create pdf all ok, but i want rtf.
-- 
View this message in context: 
http://old.nabble.com/Unwanted-empty-page-at-the-end-of-rtf.-tp28039201p28039201.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



fo:repeatable-page-master-alternatives - first only page blank condition

2010-03-26 Thread bonekrusher

Hi,

How can I set up my repeatable-page-master-alternatives to detect a page
sequence that has only one page and the next page is blank?

My desired output is to have a recto-verso document, so the pages
end-on-even. If the last page is odd, an even blank page is printed. The odd
page will display in the region after "Page 1 / 2 Blank" to indicate the
next page is intentionally left blank. Everything works with the following
code, unless the page sequence is only a single odd page.










When I add another condition:



Like this:











every first page gets the condition applied (page-position="only"). How do I
set the condition for a page sequence for one-page-only-odd?

Thanks



-- 
View this message in context: 
http://old.nabble.com/fo%3Arepeatable-page-master-alternatives---first-only-page-blank-condition-tp28041214p28041214.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: fo:repeatable-page-master-alternatives - first only page blank condition

2010-03-26 Thread Pascal Sancho
Hi,

did you try a solution mixing page-sequence-master odd/even with a
fo:marker that comes at the end of the fo:flow?
that should do the trick, but I didn't tried it.
--
Pascal

bonekrusher a écrit :
> Hi,
>
> How can I set up my repeatable-page-master-alternatives to detect a page
> sequence that has only one page and the next page is blank?
>
> My desired output is to have a recto-verso document, so the pages
> end-on-even. If the last page is odd, an even blank page is printed. The odd
> page will display in the region after "Page 1 / 2 Blank" to indicate the
> next page is intentionally left blank. Everything works with the following
> code, unless the page sequence is only a single odd page.
>
> 
>   
>master-reference="page-even" blank-or-not-blank="not-blank"/>
>blank-or-not-blank="not-blank"
> odd-or-even="odd" page-position="last" master-reference="last-page-odd"/>
>master-reference="page-odd" blank-or-not-blank="not-blank"/>
>master-reference="alternate-blank"/>
>   
> 
>
> When I add another condition:
>
>  blank-or-not-blank="not-blank" master-reference="only-page"/>
>
> Like this:
>
> 
>   
>page-position="only" blank-or-not-blank="not-blank"
> master-reference="only-page"/>
>master-reference="page-even" blank-or-not-blank="not-blank"/>
>blank-or-not-blank="not-blank"
> odd-or-even="odd" page-position="last" master-reference="last-page-odd"/>
>master-reference="page-odd" blank-or-not-blank="not-blank"/>
>master-reference="alternate-blank"/>
>   
> 
>
> every first page gets the condition applied (page-position="only"). How do I
> set the condition for a page sequence for one-page-only-odd?
>
> Thanks
>
>
>
>   


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



Re: fo:repeatable-page-master-alternatives - first only page blank condition

2010-03-26 Thread bonekrusher

No, but I will give it a try. Thanks.



Pascal Sancho wrote:
> 
> Hi,
> 
> did you try a solution mixing page-sequence-master odd/even with a
> fo:marker that comes at the end of the fo:flow?
> that should do the trick, but I didn't tried it.
> --
> Pascal
> 
> bonekrusher a écrit :
>> Hi,
>>
>> How can I set up my repeatable-page-master-alternatives to detect a page
>> sequence that has only one page and the next page is blank?
>>
>> My desired output is to have a recto-verso document, so the pages
>> end-on-even. If the last page is odd, an even blank page is printed. The
>> odd
>> page will display in the region after "Page 1 / 2 Blank" to indicate the
>> next page is intentionally left blank. Everything works with the
>> following
>> code, unless the page sequence is only a single odd page.
>>
>> 
>>  
>>  > master-reference="page-even" blank-or-not-blank="not-blank"/>
>>  > blank-or-not-blank="not-blank"
>> odd-or-even="odd" page-position="last" master-reference="last-page-odd"/>
>>  > master-reference="page-odd" blank-or-not-blank="not-blank"/>
>>  > master-reference="alternate-blank"/>
>>  
>> 
>>
>> When I add another condition:
>>
>> > page-position="only"
>> blank-or-not-blank="not-blank" master-reference="only-page"/>
>>
>> Like this:
>>
>> 
>>  
>>  > page-position="only" blank-or-not-blank="not-blank"
>> master-reference="only-page"/>
>>  > master-reference="page-even" blank-or-not-blank="not-blank"/>
>>  > blank-or-not-blank="not-blank"
>> odd-or-even="odd" page-position="last" master-reference="last-page-odd"/>
>>  > master-reference="page-odd" blank-or-not-blank="not-blank"/>
>>  > master-reference="alternate-blank"/>
>>  
>> 
>>
>> every first page gets the condition applied (page-position="only"). How
>> do I
>> set the condition for a page sequence for one-page-only-odd?
>>
>> Thanks
>>
>>
>>
>>   
> 
> 
> -
> 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/fo%3Arepeatable-page-master-alternatives---first-only-page-blank-condition-tp28041214p28041585.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



How to set resolution on fop 0.20

2010-03-26 Thread as3a0

Hello All,
I have a requirement where I will have to set the resolution of image to be
600 dpi. Currently we are using fop 0.20 version and changing to the new
version now is out of scope. Is there a way to set the resolution in the old
format configuration file. I could not find any help anywhere in the
doumentation. I could find a tag in the new version config file but not in
the old 0.20 version.Please share your thoughts on this. Thanks in advance
-- 
View this message in context: 
http://old.nabble.com/How-to-set-resolution-on-fop-0.20-tp28047205p28047205.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