Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Use Calligra utility to convert doc to ps or doc to pdf

Use Calligra utility to convert doc to ps or doc to pdf

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 2 Posters 2.3k 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.
  • A Offline
    A Offline
    ankitjain
    wrote on last edited by
    #1

    Hi,

    I want to use the code of calligra to develop my own utility that would convert a doc to ps or a doc to pdf without installing Calligra on my machine.

    Can someone give me any idea on what filters or what files should I explore to do this.Any reference will also be helpful for me on this.
    Also please tell me the basic approach on how to proceed.

    Regards,
    Ankit

    1 Reply Last reply
    0
    • P Offline
      P Offline
      patrik08
      wrote on last edited by
      #2

      Calligra use a patched version from http://wvware.sourceforge.net/
      i found version wv && wv2 aka libwv2-4 to work on kde.
      Abisource www.abisource.com use the first one wv.

      I slightly modified the latest libwv2-4 code to meet our need, to use on qt5.
      But on this time i dont have image or table support, on binary doc format..
      You can append this option from this binary doc escher ole format if you like to handle 200 variable from one simple paragraph..
      But i write from zero class to read docx odt rtf table image and so..

      The best hack ist to convert doc binary to odt openformat..

      My self wv2qt lib to read formatted tex..
      http://qt-apps.org/content/show.php/Wv2qt+Library+to+read+Office+word+doc.?content=162279

      Method to convert document to html web target

      • pdf - docx - odt rtf
        https://github.com/pehohlva/qt-gmail-access/tree/master/console_doc
        All image embedded
        one file html and css style image table inside..

      gif 1x1 pixel=
      data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==

      @
      <xsl:template match="fo:tab">
      <img data="render93" class="tab" width="33px" height="12px" alt="text:tab" />
      </xsl:template>
      @

      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