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. Importing *.doc,*.docx to Qt project
Forum Updated to NodeBB v4.3 + New Features

Importing *.doc,*.docx to Qt project

Scheduled Pinned Locked Moved General and Desktop
12 Posts 5 Posters 9.0k 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.
  • A Offline
    A Offline
    andre
    wrote on last edited by
    #3

    There are no ready-made widgets that will do exactly what you want. However, you're not completely lost. MS Word, AFAIK, allows you to embed a Word instance in another application via ActiveX/Com. You can use [[Doc:QAxWidget]] for that. If you are content with just opening Word itself, then this is much easier. You can get away with just using [[Doc:QDesktopServices]] for that.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #4

      There is a word viewer if you only want readonly access :
      http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=4

      bq. With Word Viewer and the Compatibility Pack, you can view, print, and copy document contents to another program. However, you cannot edit an open document, save a document, or create a new document. This download is a replacement for Word Viewer 2003 and all previous Word Viewer versions.
      NOTE: If you comply with the other license terms for the Word Viewer, you may distribute this viewer without a document created in Microsoft Office.

      Sounds like they have made it available to use in other programs. Hopefully the way Andre explained. haven't used it in Qt though.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • M Offline
        M Offline
        manar_mk
        wrote on last edited by
        #5

        @Eddy I need that function in the my project, not in other application.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #6

          Then, good luck with battling with QAxWidget!

          1 Reply Last reply
          0
          • M Offline
            M Offline
            manar_mk
            wrote on last edited by
            #7

            I am "battling" with QAxWidget, but already need your ideas))

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #8

              My idea is, that you can not get a helpful answer to a question, if that question is not formulated in a way that makes the one you expect an answer from understands what your problem is. Try to be more specific in what the problem is, when asking for help. "This guide":http://www.catb.org/~esr/faqs/smart-questions.html may help you.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                manar_mk
                wrote on last edited by
                #9

                @Andre Thanks a lot))

                1 Reply Last reply
                0
                • EddyE Offline
                  EddyE Offline
                  Eddy
                  wrote on last edited by
                  #10

                  [quote author="manar_mk" date="1309424344"]@Eddy I need that function in the my project, not in other application.[/quote]

                  @mana_mk
                  I know of a program that is using the viewer (it's closed source). So it must be possible.
                  That's why i suggested to look into this. it's less overhead than using word.

                  Qt Certified Specialist
                  www.edalsolutions.be

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    manar_mk
                    wrote on last edited by
                    #11

                    @Eddy Thanks. I'll try

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      dialingo
                      wrote on last edited by
                      #12

                      Calligra Suite is able to read MS Office files. Calligra (KOffice fork) is open source . You can extract the filters if you like.
                      http://www.calligra-suite.org/

                      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