You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Zsolt Koppany <zk...@intland.com> on 2012/11/04 09:27:22 UTC
Poi to create complicated word documents
Hi Everybody,
I need to create complicated word documents.
As far as I understood the documentation poi-3.8 supports only Word 2003
but not Word 2007. Is that correct?
Can I create nested tables, use fonts, colors and images using poi?
Where can I find examples?
Regards,
Zsolt Koppany
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Re: Poi to create complicated word documents
Posted by Zsolt Koppany <zk...@intland.com>.
Thank you Nick,
for me .docx files would be enough, we don't need both.
Can I created complicated .docx using XWPF (tables, lists, fonts,
colors. etc.?
Where can I find examples?
Regards,
Zsolt
On 04.11.2012 14:18, Nick Burch wrote:
> On Sun, 4 Nov 2012, Zsolt Koppany wrote:
>> I need to create complicated word documents.
>>
>> As far as I understood the documentation poi-3.8 supports only Word
>> 2003 but not Word 2007. Is that correct?
>
> Nope. HWPF supports .doc files, XWPF supports .docx ones. You'll need
> different code though, unlike with HSSF/XSSF there isn't a common set of
> interfaces
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
Re: Poi to create complicated word documents
Posted by Nick Burch <ap...@gagravarr.org>.
On Sun, 4 Nov 2012, Zsolt Koppany wrote:
> I need to create complicated word documents.
>
> As far as I understood the documentation poi-3.8 supports only Word 2003 but
> not Word 2007. Is that correct?
Nope. HWPF supports .doc files, XWPF supports .docx ones. You'll need
different code though, unlike with HSSF/XSSF there isn't a common set of
interfaces
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org