Heinz,

I have no idea what you actually want to achieve as your English
description is confusing indeed. (Your are welcome to send me an e-mail
in plain German though).
However, as far as I've got it, I would like to suggest to investigate
into another direction:

1) write the text fragments in valid XML (like HTML or docbook) or TeX
2) define various stylesheets
3) use the XSL templates with XSLT for converion from docbook or html
into openoffice or word formats

The docbook-xsl packge is a good starting point. Alternatively there are
TeX-XSLs available also.

Best regards
Andreas




On Sun, 2014-04-13 at 10:37 +0200, Heinz Pfennings wrote:

> Hi Angelo,
> 
> Thanks for your information.
> 
> Sorry if my explanation was a little bit in confusion but my english is not
> so good.
> 
> I have to built an application with java for entering information and
> storing the data in a db.
> 
> The user must be able to format the text with fundamental functions like
> bold, headers, list, tables and so on.
> 
> The text then should be input for a form like a protocol. EG the member list
> of meeting comes from the database, the themes of the meeting from the
> entered text and so on. At the end there should be a formated word file with
> all information.
> 
> My actual idea is
> 
> - Convert the template in word to html
> - Using a html text editor as a js-plugin
> - Like your advice changing the variables from the template with the actual
> values from the db
> - Storing the word working file as docx
> 
> I doesn't know if it works.
> 
> If somebody has a better idea - it is welcome
> 
> Thanks and have a nice Sunday
> 
> Greetings from Germany
> Heinz 
>  
> 
> -----Ursprüngliche Nachricht-----
> Von: Angelo zerr [mailto:[email protected]] 
> Gesendet: Samstag, 12. April 2014 22:38
> An: POI Users List
> Betreff: Re: WYSIWYG-Editor, best format for storing text and using POI to
> change doc and ppt
> 
> Hi Heinz,
> 
> I'm not sure if I undersatnd your need, but perhaps you could be interested
> with https://code.google.com/p/xdocreport/
> 
> If you are, don't hesitate to post your questions on XDocReport forum to
> avoid disturbing POI forum.
> 
> Regards Angelo
> 
> 
> 2014-04-12 18:08 GMT+02:00 Heinz Pfennings <[email protected]>:
> 
> > Hi,
> >
> > I want to write an application in java which allows the user to enter 
> > formatted text which should be stored in a db. Then I want to read a 
> > template (doc, ppt) with formatted text and keywords. The keywords 
> > should be changed with the stored text.
> >
> > What is the best editor for entering the text? What is the best format 
> > to store it? What is the best way to include the text parts into the
> template?
> >
> > Thanks
> > Heinz
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected] For additional 
> > commands, e-mail: [email protected]
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


Reply via email to