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 "Todtenhaupt, Susann" <Su...@astrium-space.com> on 2003/07/03 14:53:23 UTC

block-collapse

Hello!

I've created in my stylesheet three fo:blocks in one table-cell. The first
and third one have some text inside, but the second one not. I've assigned
for each block a line-height. But the second block always collapses and the
third is directly below the first one. Is there a way to make the second one
not collapsing?

Thanx suse

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


Re: block-collapse

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Todtenhaupt, Susann wrote:
> I've created in my stylesheet three fo:blocks in one table-cell. The first
> and third one have some text inside, but the second one not. I've assigned
> for each block a line-height. But the second block always collapses and the
> third is directly below the first one. Is there a way to make the second one
> not collapsing?

The way professional typographers recommend is not to use
a second block but to define the space between the blocks
by either space-after on the first or space-beofre on the
following block, or both if necessary.
Of course, if you insist on keeping bad habits learned on
mediocre text processors, just put a non-breaking space into
the second block.

J.Pietschmann



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


Re: block-collapse

Posted by ap...@free.fr.
The best solution is to create a new table inside the first cell. This sub-
table has 3 rows (with the height you have specified)...
A second solution (i am not sure) is to use "bloc-container"...
Antoine POURCHEZ

Selon "Todtenhaupt, Susann" <Su...@astrium-space.com>:

> Hello!
> 
> I've created in my stylesheet three fo:blocks in one table-cell. The first
> and third one have some text inside, but the second one not. I've assigned
> for each block a line-height. But the second block always collapses and the
> third is directly below the first one. Is there a way to make the second one
> not collapsing?
> 
> Thanx suse
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> 



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


Re: block-collapse

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Andreas Delmelle wrote:
> Does the empty block look like this :
> 
> <fo:block />
> 
> or like this :
> 
> <fo:block></fo:block>

There is no difference, because the parser handles
both these cases identically.

J.Pietschmann



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


RE: block-collapse

Posted by Andreas Delmelle <a_...@pandora.be>.
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Does the empty block look like this :

<fo:block />

or like this :

<fo:block></fo:block>

?

Why I'm asking is because a thread was started last week about a
problem with line-breaks & I remember someone pointing out that
'<fo:block />' renders a content area containing nothing.
Perhaps this could be the reason for your problem?

greetz,

ald

> -----Original Message-----
> From: Todtenhaupt, Susann
> [mailto:Susann.Todtenhaupt@astrium-space.com] Sent: donderdag 3
> juli 2003 14:53
> To: 'fop-user@xml.apache.org'
> Subject: block-collapse
> 
> 
> Hello!
> 
> I've created in my stylesheet three fo:blocks in one table-cell.
> The first and third one have some text inside, but the second one
> not. I've assigned for each block a line-height. But the second
> block always 
> collapses and the
> third is directly below the first one. Is there a way to make the 
> second one
> not collapsing?
> 
> Thanx suse
> 
> --------------------------------------------------------------------
> - To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPwRpPdBw/OvTa+XUEQKe2ACg7CcR+z9iG4QuBynErnsbieD3nlIAnRKY
riD8c7WTNifOjvJ37BjlSffI
=lFQk
-----END PGP SIGNATURE-----


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