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. QTextEdit loses formatting in ODT
Forum Updated to NodeBB v4.3 + New Features

QTextEdit loses formatting in ODT

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtextedit odt
1 Posts 1 Posters 493 Views
  • 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.
  • bclayB Offline
    bclayB Offline
    bclay
    wrote on last edited by
    #1

    I am working on an app to create a document by reading data structures from an XML file. The document looks valid in a QTextEdit on screen. If I save the document to an ODT file it looses all of the table boundaries. If I save it as either PDF or HTML it keeps the formatting. I need to get the document into MS Word for final editing. Word will read the HTML where I can save it as RTF or DOC but that is an extra step. Is anything special required to save tables in the ODT file. I tried to "borrow" code from an app called focuswriter but it loses all formatting.

    1 Reply Last reply
    0

    • Login

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