Page 1 of 1

* if it possible to create a word docs using wxWidgets in Windows?

Posted: Tue Aug 18, 2015 3:40 am
by whoops
i'd ask if it possible to create a word docs using wxWidgets in Windows?
which mean that, if i typed sth. in a wxTextCtrl, and click a wxButton, and generate a default microsoft office 97-2003 .doc file (with plain text, no format information)

1) here is sample window:
Image

2) when i typed sth. in the wxTextCtrl, and click the wxButton "Generate .doc".

3) the application will generate a default(without formatted info.) 97-2003 .doc file (ms office), which look like this:
Image
note that "Calibri" is a default font, and font size also.

Image
:)

Re: * if it possible to create a word docs using wxWidgets in Windows?

Posted: Tue Aug 18, 2015 4:51 am
by tierra
Assuming you were to also pull in a 3rd party library that could generate the Word document from raw text, or shell out to a utility to do it, yes, but wxWidgets does not have that ability itself.

Re: * if it possible to create a word docs using wxWidgets in Windows?

Posted: Tue Aug 18, 2015 5:57 pm
by T-Rex