Save into a word file .doc, .docx



  • Gents;

    After making some calculations using Qlabels and QlineEdits and filling up some tables, I just want to save my work into a word file in .doc or .docx formats. I am pretty much lost between QAxWidget and QFile classes.
    Would you please advise which one is easier for use and what is the proper way to implement it.

    Cheers;


  • Qt Champions 2016

    Hi
    Doc and Docx are structured files and its not really possible to create by hand using only a QFile
    unless you are pretty hardcore. :)

    we talked about it here.

    https://forum.qt.io/topic/74254/how-to-read-and-write-docx-files-in-qt

    Do you need bold and fonts and all that kind of formatting?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.