Results 1 to 2 of 2

Thread: Setting QTextEdit with microsoft word RTF file

  1. #1
    Join Date
    Feb 2012
    Location
    Stuttgart / Germany
    Posts
    35
    Thanks
    6
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Setting QTextEdit with microsoft word RTF file

    Hello,

    I have problem to read a rtf file and set in my QTextEdit. Is it possible to do that?
    If I use a normal open file for myfile.rtf and copy the qstring to set the QTextEdit does not work, the QString contains all the meta datas and not a readable information.
    Is it possible to read rtf and directly set the QTextEdit or I need to convert to something else? If I need to convert can someone help me and tell how and to what?
    I didn't find a way to read rtf files.

    Thanks in advance.
    Best Regards.

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,536
    Thanked 284 Times in 279 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Setting QTextEdit with microsoft word RTF file

    Ask Mr. Google about "C++ convert rtf html" and .... second link.

Similar Threads

  1. Replies: 2
    Last Post: 8th January 2012, 11:31
  2. Replies: 3
    Last Post: 3rd April 2011, 22:48
  3. Getting Microsoft Word Object to SaveAs
    By jvwebb in forum Newbie
    Replies: 3
    Last Post: 2nd September 2008, 19:27
  4. Remove word microsoft only chars by unicode
    By patrik08 in forum Qt Programming
    Replies: 0
    Last Post: 27th May 2008, 08:30
  5. invoking microsoft word from qt
    By omprakash in forum Qt Programming
    Replies: 2
    Last Post: 31st October 2007, 20:43

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.