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 Lalithc <la...@gmail.com> on 2010/03/09 07:29:40 UTC

Fo-Table is not working as expected

Hello All,

We were using fop 0.20.5 for generating PDF’s. We get into infinite loop
issue with images inside the table.
We clearly specified the image height and width. Also tried with different
keep*** options. Also tried by 
Dividing the rows into multiple one row tables. But no use.

Finally we decided to try latest FOP version i.e FOP-0.95. We corrected so
many changes in xsl:fo file. But 
we are facing problems table alignment with images. 



                
                                
                                                
                                                                
                                                                Sincerely
                                                
                                
                                
                                                
                                                                
                                                                                
                                                                                                
                                                                                                                
                                                                                                
                                                                                
                                                                
                                                
                                
                                
                                                
                                                                
                                                                               
Gilchrist, Adam , PhD
                                                                
                                                
                                
                                
                                                
                                                                
                                                                               
Committee for Protection of Human Subjects
                                                                
                                                
                                
                


We have simple table with 3 rows:

1.            1 row contains ‘Signature Image’
2.            2 row ‘simple text’
3.            3 row ‘simple text’

But when we generate the PDF. Image is overlapping with text. We tried with
different image heights and widths. 
But it is not working as expected. 

Please help me in this regard.

Thanks in advance,
LALITH

-- 
View this message in context: http://old.nabble.com/Fo-Table-is-not-working-as-expected-tp27831875p27831875.html
Sent from the FOP - Users mailing list archive at Nabble.com.

RE: Fo-Table is not working as expected

Posted by "Kerry, Richard" <ri...@siemens.com>.
 

> -----Original Message-----
> From: Lalithc [mailto:lalith.prasad@gmail.com] 
> 
> Attached the XSL FO file. Please check it once. 


Why only once ?


;-)



Unhelpfully,
Richard.

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


Re: Fo-Table is not working as expected

Posted by Lalithc <la...@gmail.com>.
Thanks Pascal. It resolved by removing the fo:inline



Pascal Sancho wrote:
> 
> Hi,
> 
> This is a known bug: see [1].
> The overlap comes from the use of fo:inline as properties carrier.
> You should replace *all* fo:inline that are used in that way with
> fo:wrapper.
> IOW, replace all fo:inline that are carrying %blocks% formatting objects.
> 
> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=47430
> 
> Pascal
> 

-- 
View this message in context: http://old.nabble.com/Fo-Table-is-not-working-as-expected-tp27831875p27873910.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: Fo-Table is not working as expected

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi,

This is a known bug: see [1].
The overlap comes from the use of fo:inline as properties carrier.
You should replace *all* fo:inline that are used in that way with
fo:wrapper.
IOW, replace all fo:inline that are carrying %blocks% formatting objects.

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=47430

Pascal

Lalithc a écrit :
> Check the files in the the following URL's:
> http://old.nabble.com/file/p27854500/BILL.jpg BILL.jpg 
> http://old.nabble.com/file/p27854500/test.fo test.fo 
> http://old.nabble.com/file/p27854500/xyz.pdf xyz.pdf 
>
>
> Pascal Sancho wrote:
>   
>> Hi,
>>
>> unless I'm missing something, the provided material doesn't demonstrate
>> what it is said in your 1st message:
>> " we are facing problems table alignment with images (...) Image is
>> overlapping with text".
>>
>> can you provide XSL-FO plus image that reproduce what you describe,
>> please?
>>
>> Pascal
>>
>> Lalithc a écrit :
>>     
>>> cbowditch wrote:
>>>   
>>>       
>>>> Can you send the XSL-FO so we can see what goes wrong.
>>>>     
>>>>         
>>> Hi Chris,
>>> Attached the XSL FO file. Please check it once. 
>>> Thanks,
>>> LALITH
>>> http://old.nabble.com/file/p27833628/test.fo test.fo   
>>>       


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


Re: Fo-Table is not working as expected

Posted by Lalithc <la...@gmail.com>.
Check the files in the the following URL's:
http://old.nabble.com/file/p27854500/BILL.jpg BILL.jpg 
http://old.nabble.com/file/p27854500/test.fo test.fo 
http://old.nabble.com/file/p27854500/xyz.pdf xyz.pdf 


Pascal Sancho wrote:
> 
> Hi,
> 
> unless I'm missing something, the provided material doesn't demonstrate
> what it is said in your 1st message:
> " we are facing problems table alignment with images (...) Image is
> overlapping with text".
> 
> can you provide XSL-FO plus image that reproduce what you describe,
> please?
> 
> Pascal
> 
> Lalithc a écrit :
>> cbowditch wrote:
>>   
>>> Can you send the XSL-FO so we can see what goes wrong.
>>>     
>> Hi Chris,
>> Attached the XSL FO file. Please check it once. 
>> Thanks,
>> LALITH
>> http://old.nabble.com/file/p27833628/test.fo test.fo 
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Fo-Table-is-not-working-as-expected-tp27831875p27854500.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: Fo-Table is not working as expected

Posted by Pascal Sancho <pa...@takoma.fr>.
Hi,

unless I'm missing something, the provided material doesn't demonstrate
what it is said in your 1st message:
" we are facing problems table alignment with images (...) Image is
overlapping with text".

can you provide XSL-FO plus image that reproduce what you describe, please?

Pascal

Lalithc a écrit :
> cbowditch wrote:
>   
>> Can you send the XSL-FO so we can see what goes wrong.
>>     
> Hi Chris,
> Attached the XSL FO file. Please check it once. 
> Thanks,
> LALITH
> http://old.nabble.com/file/p27833628/test.fo test.fo 
>   


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


AW: AW: Fo-Table is not working as expected

Posted by Georg Datterl <gd...@geneon.de>.
Hi,

sorry, I missed that.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de


-----Ursprüngliche Nachricht-----
Von: Chris Bowditch [mailto:bowditch_chris@hotmail.com]
Gesendet: Dienstag, 9. März 2010 13:04
An: fop-users@xmlgraphics.apache.org
Betreff: Re: AW: Fo-Table is not working as expected

Georg Datterl wrote:
> Hi Lalith,
>
> There was no file attached. If you attached it and it got stripped away, just copy the relevant table code into your mail.

Hi Georg,

the file is linked instead of attached:
http://old.nabble.com/file/p27833628/test.fo test.fo

Thanks,

Chris

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


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


Re: AW: Fo-Table is not working as expected

Posted by Chris Bowditch <bo...@hotmail.com>.
Georg Datterl wrote:
> Hi Lalith,
> 
> There was no file attached. If you attached it and it got stripped away, just copy the relevant table code into your mail.

Hi Georg,

the file is linked instead of attached: 
http://old.nabble.com/file/p27833628/test.fo test.fo

Thanks,

Chris

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


AW: Fo-Table is not working as expected

Posted by Georg Datterl <gd...@geneon.de>.
Hi Lalith,

There was no file attached. If you attached it and it got stripped away, just copy the relevant table code into your mail.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de


-----Ursprüngliche Nachricht-----
Von: Lalithc [mailto:lalith.prasad@gmail.com]
Gesendet: Dienstag, 9. März 2010 11:06
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Fo-Table is not working as expected




cbowditch wrote:
>
> Can you send the XSL-FO so we can see what goes wrong.
>

Hi Chris,

Attached the XSL FO file. Please check it once.

Thanks,
LALITH

http://old.nabble.com/file/p27833628/test.fo test.fo
--
View this message in context: http://old.nabble.com/Fo-Table-is-not-working-as-expected-tp27831875p27833628.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


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


Re: Fo-Table is not working as expected

Posted by Lalithc <la...@gmail.com>.


cbowditch wrote:
> 
> Can you send the XSL-FO so we can see what goes wrong.
> 

Hi Chris,

Attached the XSL FO file. Please check it once. 

Thanks,
LALITH

http://old.nabble.com/file/p27833628/test.fo test.fo 
-- 
View this message in context: http://old.nabble.com/Fo-Table-is-not-working-as-expected-tp27831875p27833628.html
Sent from the FOP - Users mailing list archive at Nabble.com.


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


Re: Fo-Table is not working as expected

Posted by Chris Bowditch <bo...@hotmail.com>.
Lalithc wrote:
> Hello All, We were using fop 0.20.5 for generating PDF’s. We get into 
> infinite loop issue with images inside the table. We clearly specified 
> the image height and width. Also tried with different keep*** options. 
> Also tried by Dividing the rows into multiple one row tables. But no 
> use. Finally we decided to try latest FOP version i.e FOP-0.95. We 
> corrected so many changes in xsl:fo file. But we are facing problems 
> table alignment with images. Sincerely Gilchrist, Adam , PhD Committee 
> for Protection of Human Subjects We have simple table with 3 rows: 1. 1 
> row contains ‘Signature Image’ 2. 2 row ‘simple text’ 3. 3 row ‘simple 
> text’ But when we generate the PDF. Image is overlapping with text. We 
> tried with different image heights and widths. But it is not working as 
> expected. Please help me in this regard. Thanks in advance, LALITH

Hi,

Can you send the XSL-FO so we can see what goes wrong.

Thanks,

Chris


> ------------------------------------------------------------------------
> View this message in context: Fo-Table is not working as expected 
> <http://old.nabble.com/Fo-Table-is-not-working-as-expected-tp27831875p27831875.html>
> Sent from the FOP - Users mailing list archive 
> <http://old.nabble.com/FOP---Users-f353.html> at Nabble.com.


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