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 MARTIN Franck <fr...@c-s.fr> on 2002/04/15 12:04:25 UTC

keep-together

Hi

Does anyone know of a way to prevent blocks or tables from being divided
when a page break occurs?
Is the property keep-together implemented in fop?

Thanx

Franck MARTIN



Re: Future release and full compliancy

Posted by Christian Geisert <ch...@isu-gmbh.de>.
MARTIN Franck wrote:
> Does anyone have an idea of when is to occur the next fop release and how

The next release (0.20.4), which will be a maintenance release without
much new functionality should be out in some weeks.

> long is it going to take for fop to be full compliant w/ the W3
> recommendation?

Quite some time ;-)
Seriously, nobody can give you an concrete answer here.

> Franck MARTIN

Christian


Future release and full compliancy

Posted by MARTIN Franck <fr...@c-s.fr>.
Does anyone have an idea of when is to occur the next fop release and how
long is it going to take for fop to be full compliant w/ the W3
recommendation?

Franck MARTIN


Re: Several questions about FOP

Posted by Jeremias Maerki <je...@outline.ch>.
> i've got several questions about PDF generation with FOP. We want to use a
> open-source implementation of XSL-FO in our project, but stumbled across
> several open topics. Perhaps you can help us with these:
> 
> 1) Can one use FOP on a host-environment, ie. IBM mainframe computers, or
> does EBCDIC somehow cause problems

See Alex's comment. Search the mail archives for info.

> 2) Can one use font A, even is font A is _not_ installed on a client? Is
> this done automatically when rendering the PDF, or do I have to include
> additional fonts somehow in the PDF?

You can use font embedding. It's documented on the FOP website.

> 3) Is linearilazation possible, ie. displaying the first page while loading
> the rest? In Acrobat Reader, this can be queried in the "File-
> >Document Info->General->Optimized = true|false"

Not with FOP, I think. Linearization requires all PDF objects to be in
the right order within the PDF. FOP can't don that, yet. You need to
postprocess a PDF if you want that.

> 4) How well does FOP perform in comparision to other XSL-FO implementations?

See Alex's comment.

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


Re: Several questions about FOP

Posted by Alex McLintock <al...@OWAL.co.uk>.
At 14:29 16/04/2002, Sebastian H. Will wrote:
>Hi all,
>
>i've got several questions about PDF generation with FOP. We want to use a
>open-source implementation of XSL-FO in our project, but stumbled across
>several open topics. Perhaps you can help us with these:
>
>1) Can one use FOP on a host-environment, ie. IBM mainframe computers, or
>does EBCDIC somehow cause problems



In my year and a half of using FOP I have heard of several people with 
problems using EBCDIC and nothing much recently.
Maybe they stopped using FOP or maybe they have no problems. You will 
probably have to suck it and see.


>3) Is linearilazation possible, ie. displaying the first page while loading
>the rest? In Acrobat Reader, this can be queried in the "File-
> >Document Info->General->Optimized = true|false"


I think this is possible but I don't know whether I recommend it. If you 
generate on the fly then you will innevitably hit issues regarding Content 
Length and IE resulting in you generating the whole PDF before serving any 
of it at all. Is "linearilazation" a property of the PDF, the reader, or 
the thing serving the PDF?

>4) How well does FOP perform in comparision to other XSL-FO implementations?


FOP's strength is not really in its speed or memory use. It performs 
reasonably when compared to other engines (so I am told) but other 
commercial xsl:fo engines may be faster for what you need to do.


Goodluck

Alex McLintock





Openweb Analysts Ltd, London: Software For Complex Websites 
http://www.OWAL.co.uk/
Free Consultancy for London Companies thinking of Open Source Software.


Re: to J.Pietschmann (about keep-together)

Posted by Steinar Bang <sb...@dod.no>.
>>>>> "J.Pietschmann" <j3...@yahoo.de>:

> MARTIN Franck wrote:
>> Thank you for your advice but what do you mean by "blind table"?

> A table without borders, so you don't notice it's actually
> there. Often used for doing complicated layouts which can be fitted
> manually to an underlying grid.
> In your case, just for keeping stuff together.

I have a similar problem.

My problem is that my FO is generated from DocBook source, and that
the only way I can see how to accomplish a blind table, is to create a
different template for DocBook <section> elements that will create a
mess for regular sections.

Hm...



Re: to J.Pietschmann (about keep-together)

Posted by "J.Pietschmann" <j3...@yahoo.de>.
MARTIN Franck wrote:
> Thank you for your advice but what do you mean by "blind table"?

A table without borders, so you don't notice it's
actually there. Often used for doing complicated
layouts which can be fitted manually to an underlying
grid.
In your case, just for keeping stuff together.

J.Pietschmann


Re: Several questions about FOP

Posted by "Sebastian H. Will" <s....@web.de>.
Hi FOPers,

thanks for all the good advice you gave to me. I will report on any suceeds
or failures in case we will use FOP in our projects to the list, if anyone
is interested.

Regards,
Sebastian Will

----- Original Message -----
From: "John Austin" <jo...@integerservices.no-ip.com>
To: <fo...@xml.apache.org>
Sent: Wednesday, April 17, 2002 12:09 AM
Subject: Re: Several questions about FOP


>
> > 1) Can one use FOP on a host-environment, ie. IBM mainframe
> > computers, or does EBCDIC somehow cause problems
>
> FOP is written in Java and Java uses UNICODE for characters. I know
> better than to suggest that EBCDIC won't be problematic but in theory
> it's not supposed to be a problem.
>
> Although it's been a while since I served on a battleship ;-)
> I understand that Big Blue now provide Linux on the Operating Systems
> formerly known as MVS and/or VM.
>


Re: Several questions about FOP

Posted by John Austin <jo...@integerservices.no-ip.com>.
> 1) Can one use FOP on a host-environment, ie. IBM mainframe
> computers, or does EBCDIC somehow cause problems

FOP is written in Java and Java uses UNICODE for characters. I know 
better than to suggest that EBCDIC won't be problematic but in theory 
it's not supposed to be a problem. 

Although it's been a while since I served on a battleship ;-) 
I understand that Big Blue now provide Linux on the Operating Systems 
formerly known as MVS and/or VM. 


Re: Several questions about FOP

Posted by Christian Geisert <ch...@isu-gmbh.de>.
Sebastian H. Will wrote:
> Hi all,
> 
> i've got several questions about PDF generation with FOP. We want to use a
> open-source implementation of XSL-FO in our project, but stumbled across
> several open topics. Perhaps you can help us with these:
> 
> 1) Can one use FOP on a host-environment, ie. IBM mainframe computers, or
> does EBCDIC somehow cause problems

I think there's still a problem on os390 (AS/400 is ok though)

see http://marc.theaimsgroup.com/?l=fop-dev&m=101525667702414&w=2
for details.

but I will hopefully make this change in the next days...

Christian


Several questions about FOP

Posted by "Sebastian H. Will" <s....@web.de>.
Hi all,

i've got several questions about PDF generation with FOP. We want to use a
open-source implementation of XSL-FO in our project, but stumbled across
several open topics. Perhaps you can help us with these:

1) Can one use FOP on a host-environment, ie. IBM mainframe computers, or
does EBCDIC somehow cause problems

2) Can one use font A, even is font A is _not_ installed on a client? Is
this done automatically when rendering the PDF, or do I have to include
additional fonts somehow in the PDF?

3) Is linearilazation possible, ie. displaying the first page while loading
the rest? In Acrobat Reader, this can be queried in the "File-
>Document Info->General->Optimized = true|false"

4) How well does FOP perform in comparision to other XSL-FO implementations?

Thanks for your time in advance,
Sebastian Will


to J.Pietschmann (about keep-together)

Posted by MARTIN Franck <fr...@c-s.fr>.
>>If block elements should be kept together, you can put
>>them into a one-column blind table.

Thank you for your advice but what do you mean by "blind table"?

Franck MARTIN



Re: keep-together

Posted by "J.Pietschmann" <j3...@yahoo.de>.
MARTIN Franck wrote:
> Does anyone know of a way to prevent blocks or tables from being divided
> when a page break occurs?
> Is the property keep-together implemented in fop?

The keep-together property is not yet implemented, and
it will take a while until it is.
The keep-with-next and keep-with-previous properties work
on table rows only.
If block elements should be kept together, you can put
them into a one-column blind table.

HTH
J.Pietschmann