Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Save into a word file .doc, .docx
Forum Updated to NodeBB v4.3 + New Features

Save into a word file .doc, .docx

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AbderaoufA Offline
    AbderaoufA Offline
    Abderaouf
    wrote on last edited by Abderaouf
    #1

    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;

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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?

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved