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 ma...@zf.com on 2013/02/19 13:53:44 UTC

Table in ListItemBody Error

Hi,

 

tried to have a table in a List but like in the PDF.

But I've got the table under the list. This is cause by 
the class RtfElement maybe. Because if the function 
getChildren is called the table is returned after the ListItems.

 

Maybe somebody has an explanation for me why this is done in
this way.

 

Oh, by the way I fixed the List Numbering Issue.

Mit freundlichen Gr��en/Kind regards

Markus Sticker
Technik ZF-Konzern/Operations and Technology ZF Group
Infrastruktur/Infrastructure (OTEP4)

ZF Friedrichshafen AG
88038 Friedrichshafen, Deutschland/Germany
Telefon/Phone  +49 7541 77-7644, Telefax/Fax  +49 7541 77-907644
Markus.Sticker.epos@zf.com


Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Prof. Dr. Giorgio Behr 
Vorstand/Board of Management: Dr. Stefan Sommer (Vorsitzender/CEO), Dr. Konstantin Sauer, Dr. Peter Ottenbruch, J�rgen Holeksa, Dr. Gerhard Wagner, Reinhard Buhl, Rolf Lutz, Wilhelm Rehm

Sitz/Headquarters: Friedrichshafen 
Handelsregistereintrag Amtsgericht Ulm HRB 630206/Trade register of the municipal court of Ulm HRB 630206

 


AW: Table in ListItemBody Error

Posted by ma...@zf.com.
Hi,

I tried it with OpenOffice 3.4.1.
There was no problem for open it.

I seached for the context the render process uses 
to build the document.
I think the RTFHandler is doing it in the right order, 
depending on the foTree.
Between paring the fo-document and start writing the
RTF the order of the element is changed.
So what is called between these steps?
Thanks for your help

Markus


-----Ursprüngliche Nachricht-----
Von: Pascal Sancho [mailto:psancho.asf@gmail.com] 
Gesendet: Mittwoch, 20. Februar 2013 11:41
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Table in ListItemBody Error

Hi,

I get an IO error while reading your rtf with LibreOffice 4.
Not tried with Word, I don't get it.

2013/2/19  <ma...@zf.com>:
> Hi Pascal,
>
> I tried to produce RTF with POI, OpenOffice and Microsoft Word.
> If got allways valid RTF-Docs with nasted tables in lists, like shown 
> in the pdf (made by Word with "handmade" RTF ). I tried to trace the process:
> The process set the chlidren in the right order ( RtfContainer.setChildren() ).
> But if I trace the method RtfContainer.writeRtfContent() the order is changed (???).
> Maybe you can give me a hint for finding the right code part.
>
> Best regards
>
> Markus
>
>
> -----Ursprüngliche Nachricht-----
> Von: Pascal Sancho [mailto:psancho.asf@gmail.com]
> Gesendet: Dienstag, 19. Februar 2013 16:53
>
> Hi markus,
>
> I'm not familiar with RTF, but I'm not sure that this format allows table to be nested in list.
> There are some limitation with such output.
>
> 2013/2/19  <ma...@zf.com>:
>> Sorry but it seems that the rtf is empty.
>>
>> Von: Sticker Markus EXT FRD EPOS
>> Gesendet: Dienstag, 19. Februar 2013 13:54
>>
>> Hi,
>>
>> tried to have a table in a List but like in the PDF.
>>
>> But I’ve got the table under the list. This is cause by the class 
>> RtfElement maybe. Because if the function getChildren is called the 
>> table is returned after the ListItems.
>>
>> Maybe somebody has an explanation for me why this is done in this way.
>>
>> Oh, by the way I fixed the List Numbering Issue.
>>
>> Mit freundlichen Grüßen/Kind regards

--
pascal

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


AW: Table in ListItemBody Error

Posted by ma...@zf.com.
Hi,

I did some tests with OpenOffice.
So it seems that RTF supports nasted Tables.

Best regards

Markus

-----Ursprüngliche Nachricht-----
Von: Pascal Sancho [mailto:psancho.asf@gmail.com] 
Gesendet: Mittwoch, 20. Februar 2013 11:41
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Table in ListItemBody Error

Hi,

I get an IO error while reading your rtf with LibreOffice 4.
Not tried with Word, I don't get it.

2013/2/19  <ma...@zf.com>:
> Hi Pascal,
>
> I tried to produce RTF with POI, OpenOffice and Microsoft Word.
> If got allways valid RTF-Docs with nasted tables in lists, like shown 
> in the pdf (made by Word with "handmade" RTF ). I tried to trace the process:
> The process set the chlidren in the right order ( RtfContainer.setChildren() ).
> But if I trace the method RtfContainer.writeRtfContent() the order is changed (???).
> Maybe you can give me a hint for finding the right code part.
>
> Best regards
>
> Markus
>
>
> -----Ursprüngliche Nachricht-----
> Von: Pascal Sancho [mailto:psancho.asf@gmail.com]
> Gesendet: Dienstag, 19. Februar 2013 16:53
>
> Hi markus,
>
> I'm not familiar with RTF, but I'm not sure that this format allows table to be nested in list.
> There are some limitation with such output.
>
> 2013/2/19  <ma...@zf.com>:
>> Sorry but it seems that the rtf is empty.
>>
>> Von: Sticker Markus EXT FRD EPOS
>> Gesendet: Dienstag, 19. Februar 2013 13:54
>>
>> Hi,
>>
>> tried to have a table in a List but like in the PDF.
>>
>> But I’ve got the table under the list. This is cause by the class 
>> RtfElement maybe. Because if the function getChildren is called the 
>> table is returned after the ListItems.
>>
>> Maybe somebody has an explanation for me why this is done in this way.
>>
>> Oh, by the way I fixed the List Numbering Issue.
>>
>> Mit freundlichen Grüßen/Kind regards

--
pascal

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


Re: Table in ListItemBody Error

Posted by Pascal Sancho <ps...@gmail.com>.
Hi,

I get an IO error while reading your rtf with LibreOffice 4.
Not tried with Word, I don't get it.

2013/2/19  <ma...@zf.com>:
> Hi Pascal,
>
> I tried to produce RTF with POI, OpenOffice and Microsoft Word.
> If got allways valid RTF-Docs with nasted tables in lists, like shown
> in the pdf (made by Word with "handmade" RTF ). I tried to trace the process:
> The process set the chlidren in the right order ( RtfContainer.setChildren() ).
> But if I trace the method RtfContainer.writeRtfContent() the order is changed (???).
> Maybe you can give me a hint for finding the right code part.
>
> Best regards
>
> Markus
>
>
> -----Ursprüngliche Nachricht-----
> Von: Pascal Sancho [mailto:psancho.asf@gmail.com]
> Gesendet: Dienstag, 19. Februar 2013 16:53
>
> Hi markus,
>
> I'm not familiar with RTF, but I'm not sure that this format allows table to be nested in list.
> There are some limitation with such output.
>
> 2013/2/19  <ma...@zf.com>:
>> Sorry but it seems that the rtf is empty.
>>
>> Von: Sticker Markus EXT FRD EPOS
>> Gesendet: Dienstag, 19. Februar 2013 13:54
>>
>> Hi,
>>
>> tried to have a table in a List but like in the PDF.
>>
>> But I’ve got the table under the list. This is cause by the class
>> RtfElement maybe. Because if the function getChildren is called the
>> table is returned after the ListItems.
>>
>> Maybe somebody has an explanation for me why this is done in this way.
>>
>> Oh, by the way I fixed the List Numbering Issue.
>>
>> Mit freundlichen Grüßen/Kind regards

-- 
pascal

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


AW: Table in ListItemBody Error

Posted by ma...@zf.com.
Hi Pascal,

I tried to produce RTF with POI, OpenOffice and Microsoft Word.
If got allways valid RTF-Docs with nasted tables in lists, like shown 
in the pdf (made by Word with "handmade" RTF ). I tried to trace the process:
The process set the chlidren in the right order ( RtfContainer.setChildren() ).
But if I trace the method RtfContainer.writeRtfContent() the order is changed (???).
Maybe you can give me a hint for finding the right code part.

Best regards

Markus


-----Ursprüngliche Nachricht-----
Von: Pascal Sancho [mailto:psancho.asf@gmail.com] 
Gesendet: Dienstag, 19. Februar 2013 16:53
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Table in ListItemBody Error

Hi markus,

I'm not familiar with RTF, but I'm not sure that this format allows table to be nested in list.
There are some limitation with such output.

2013/2/19  <ma...@zf.com>:
> Sorry but it seems that the rtf is empty.
>
> Von: Sticker Markus EXT FRD EPOS
> Gesendet: Dienstag, 19. Februar 2013 13:54
>
> Hi,
>
> tried to have a table in a List but like in the PDF.
>
> But I’ve got the table under the list. This is cause by the class 
> RtfElement maybe. Because if the function getChildren is called the 
> table is returned after the ListItems.
>
> Maybe somebody has an explanation for me why this is done in this way.
>
> Oh, by the way I fixed the List Numbering Issue.
>
> Mit freundlichen Grüßen/Kind regards

--
pascal

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


Re: Table in ListItemBody Error

Posted by Pascal Sancho <ps...@gmail.com>.
Hi markus,

I'm not familiar with RTF, but I'm not sure that this format allows
table to be nested in list.
There are some limitation with such output.

2013/2/19  <ma...@zf.com>:
> Sorry but it seems that the rtf is empty.
>
> Von: Sticker Markus EXT FRD EPOS
> Gesendet: Dienstag, 19. Februar 2013 13:54
>
> Hi,
>
> tried to have a table in a List but like in the PDF.
>
> But I’ve got the table under the list. This is cause by
> the class RtfElement maybe. Because if the function
> getChildren is called the table is returned after the ListItems.
>
> Maybe somebody has an explanation for me why this is done in
> this way.
>
> Oh, by the way I fixed the List Numbering Issue.
>
> Mit freundlichen Grüßen/Kind regards

-- 
pascal

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


AW: Table in ListItemBody Error

Posted by ma...@zf.com.
Sorry but it seems that the rtf is empty.

 

Von: Sticker Markus EXT FRD EPOS 
Gesendet: Dienstag, 19. Februar 2013 13:54
An: fop-users@xmlgraphics.apache.org
Betreff: Table in ListItemBody Error

 

Hi,

 

tried to have a table in a List but like in the PDF.

But I've got the table under the list. This is cause by 
the class RtfElement maybe. Because if the function 
getChildren is called the table is returned after the ListItems.

 

Maybe somebody has an explanation for me why this is done in
this way.

 

Oh, by the way I fixed the List Numbering Issue.

Mit freundlichen Gr��en/Kind regards

Markus Sticker
Technik ZF-Konzern/Operations and Technology ZF Group
Infrastruktur/Infrastructure (OTEP4)

ZF Friedrichshafen AG
88038 Friedrichshafen, Deutschland/Germany
Telefon/Phone  +49 7541 77-7644, Telefax/Fax  +49 7541 77-907644
Markus.Sticker.epos@zf.com


Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Prof. Dr. Giorgio Behr 
Vorstand/Board of Management: Dr. Stefan Sommer (Vorsitzender/CEO), Dr. Konstantin Sauer, Dr. Peter Ottenbruch, J�rgen Holeksa, Dr. Gerhard Wagner, Reinhard Buhl, Rolf Lutz, Wilhelm Rehm

Sitz/Headquarters: Friedrichshafen 
Handelsregistereintrag Amtsgericht Ulm HRB 630206/Trade register of the municipal court of Ulm HRB 630206