开发者

How to export some data into .rtf or .doc?

Say I have created a GUI (Qt) that operates with some data(t开发者_开发技巧ext+image). How I can export that data in one of listed formates in title.

I guess it is better to export info .rtf as it is free cross-platform formt(??), isn't it?


See question about RTF reading and writing.


Depends on what you're trying to do, but maybe HTML + separate image file would be good enough?

If you want to export a file that is easy to view/print etc., but you don't really need to import it back into your application, you could make a PDF.


Do you mean you want to have something that looks like a snapshot of your gui?

In other case you could see it like the document export is just another way to view your data. One way is building your GUI, another way is to build some sort of document and write to a file.

Depending on how much you've mixed your data with the presentation, this could be hard or (comparatively) easy.

I don't know of any way to automatically do this for a QT gui, and I doubt you'll find a tool that does what you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜