Results 1 to 3 of 3

Thread: Inserting PDF metadata

  1. #1
    Join Date
    May 2009
    Location
    France
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Inserting PDF metadata

    Hi all,

    I was able to generate a PDF file using QPrinter :
    Qt Code:
    1. QPrinter printer;
    2. printer.setOutputFormat(QPrinter::PdfFormat);
    3. printer.setOutputFileName(pdfFile.fileName());
    To copy to clipboard, switch view to plain text mode 

    I know that Qt just can render a PDF file in order to visualize it and not to work with it. My probleme is that I want to insert some informations in the given pdf file to simplify its indexation on a Database.
    So I'm wondering if there's a library that can manipulate a pdf metadata.

    Thanks in advance

  2. #2
    Join Date
    Jul 2006
    Location
    Catalunya - Spain
    Posts
    117
    Thanks
    16
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Inserting PDF metadata

    Take a look at Poppler, perhaps can help you...

    http://doc.trolltech.com/qq/qq27-poppler.html

    http://poppler.freedesktop.org/

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Inserting PDF metadata

    poppler is only a rendering library for pdf files. If you want manipulate the content of a pdf file you could e.g. use pdftk.

Similar Threads

  1. Inserting blob into mysql using QT?
    By maverick_pol in forum Qt Programming
    Replies: 4
    Last Post: 31st August 2010, 05:37
  2. Problem while inserting the data into database
    By sudheer168 in forum Qt Programming
    Replies: 2
    Last Post: 13th December 2008, 13:22
  3. problem: inserting a BLOB into sqlite3 with QT4.3
    By oscar in forum Qt Programming
    Replies: 1
    Last Post: 18th November 2007, 13:38
  4. QFrame inserting text
    By Pharell in forum Qt Programming
    Replies: 9
    Last Post: 8th October 2007, 10:55
  5. Inserting Integer Values to table.
    By kenny_isles in forum Newbie
    Replies: 2
    Last Post: 22nd February 2007, 08:17

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.