Results 1 to 2 of 2

Thread: Document generation

  1. #1
    Join Date
    Jun 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Document generation

    Hi all,

    I would like to generate a document in various file formats. So, is there a way in Qt to create a "Document model" and then export it to some defined file format?

    Thanks,

    Tomas

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Document generation

    There is no Qt QMagicDocument class with a set of saveAsArbitraryFormat() functions. QTextDocument can be exported as HTML or plain text, printed to PDF, or you could write a (non-trivial) function to output some arbitrary format from the object. C++ is a general purpose programming language. You are free to write any functionality you want, with or without using Qt and with or without using other third-party libraries.

Similar Threads

  1. Barcode Generation ??
    By sai_3289 in forum Qt Programming
    Replies: 8
    Last Post: 17th December 2013, 07:59
  2. SVG Generation Problem
    By Jime22 in forum Qt Programming
    Replies: 0
    Last Post: 30th April 2008, 22:49
  3. Qt 4.3.2 vcproj generation annoyance
    By spud in forum Qt Programming
    Replies: 3
    Last Post: 22nd October 2007, 12:07
  4. Random no. generation using QT3??
    By darpan in forum General Programming
    Replies: 1
    Last Post: 8th August 2006, 12:02

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.