Re: center a graphic in a table cell

2002-05-22 Thread Swanil_Ruth

Hi,
 fo:block text-align=center
  fo:external-graphic src="">
 /fo:block
This should work!
Swanil Roopa







Rodolphe VAGNER [EMAIL PROTECTED]
05/22/02 04:21 PM
Please respond to fop-user


To:[EMAIL PROTECTED]
cc:
Subject:center a graphic in a table cell


Hi,

I try to center a graphic in a table cell without success.
The display-align property don't seem to work on table-cell, block, or
external-graphic.

Does anyone know a mean to center a graphic in a table cell ?

Thanks


- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 1:05 PM
Subject: Re: servlet FOP multi-thread


 Pierre-Adrien Coustillas wrote:
   When the document is ok size = 63 ko, when the document is not ok size

  63 ko (always different) and it's impossible open pdf.

 Do you flush/close output stream explicitly? Could you show us output
related
 snipped of your code?

 --
 Oleg Tkachenko
 Multiconn International, Israel






Re: center a graphic in a table cell

2002-05-22 Thread Swanil_Ruth

  In that case,   fo:table-cell  display-align=center
  is the only other option I can think of for centering vertically. I don't think it should be a problem if your external-graphic is placed within a fo:block and then within the fo:table-cell tag. 
Regards,
Roopa






Rodolphe VAGNER [EMAIL PROTECTED]
05/22/02 05:21 PM
Please respond to fop-user


To:[EMAIL PROTECTED]
cc:
Subject:Re: center a graphic in a table cell


Yes, in a horizontal way it works !

In fact my only problem were on the vertical dimension.
I would ilke to have my graphic center both horizontaly and verticaly, and the second 
point is my problem, what was not very well explained in the previous mail, sorry.

Does anyone know a mean to center verticaly a graphic in a table cell ?

- Original Message - 
From: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Sent: Wednesday, May 22, 2002 1:00 PM
Subject: Re: center a graphic in a table cell


Hi, 
  fo:block text-align=center 
   fo:external-graphic src=""> 
 /fo:block 
 This should work! 
Swanil Roopa 






Rodolphe VAGNER [EMAIL PROTECTED] 
05/22/02 04:21 PM 
Please respond to fop-user 

To:[EMAIL PROTECTED] 
cc: 
Subject:center a graphic in a table cell



Hi,

I try to center a graphic in a table cell without success.
The display-align property don't seem to work on table-cell, block, or
external-graphic.

Does anyone know a mean to center a graphic in a table cell ?

Thanks


- Original Message -
From: Oleg Tkachenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 1:05 PM
Subject: Re: servlet FOP multi-thread


 Pierre-Adrien Coustillas wrote:
   When the document is ok size = 63 ko, when the document is not ok size

  63 ko (always different) and it's impossible open pdf.

 Do you flush/close output stream explicitly? Could you show us output
related
 snipped of your code?

 --
 Oleg Tkachenko
 Multiconn International, Israel