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

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
User avatar
whoops
Earned a small fee
Earned a small fee
Posts: 23
Joined: Sat Jun 27, 2015 5:53 am
Location: China

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

Post by whoops » Tue Aug 18, 2015 3:40 am

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
:)
 Things being equal, the simplest explanation tends to be the right.

 [ Windows 7 Ultimate x64 | wxWidgets 3.0.2 | Microsoft Visual C++ 2010 Express ]

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

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

Post by tierra » Tue Aug 18, 2015 4:51 am

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.


Post Reply