Okay I went to Openoffice and I created a file and added some text altered
the text size, formatting, etc and saved as html. Openoffice gives warning
about losing some formating I ignore that and save.
Then in Gambas2 I have a form with Textedit1 and I add:
textedit1.text=file.load("filename.ht
dear JB SKaggs,
thank you for your reply.
Now i have convert the textdocument (odt) to html.
then I read the htmlfile and insert it to TEXTEDIT object.
But I see only the HTML-Text (with tags)
What must I do, that I see only the text?
kind regards
Jürgen
jbskaggs wrote:
>
> I convert odt to HTM
juelin ha scritto:
> hello,
> how can I show an open office text document (odt) into gambas
> textarea or some object like this?
> the document include pictures.
>
> the object embeded is not possible, while the user do not change the
> document
> and the document is not open with open office.
>
>
I convert odt to HTML and display in a control such as TextEdit. Otherwise
you will need to write a conversion code to convert ODT into HTML or Text
for Gambas.
IN Gambas that is what Rich Text editing is - it is basically HTML.
Personally if you could write a ODT converter I would be very happ
hello,
how can I show an open office text document (odt) into gambas
textarea or some object like this?
the document include pictures.
the object embeded is not possible, while the user do not change the
document
and the document is not open with open office.
kind regards
Jürgen
--
View this me