[Poppler-bugs] [Bug 69965] New: Allow to save selected pages from documents

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 30 06:53:22 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=69965

          Priority: medium
            Bug ID: 69965
          Assignee: poppler-bugs at lists.freedesktop.org
           Summary: Allow to save selected pages from documents
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: mkasik at redhat.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: glib frontend
           Product: poppler

Created attachment 86849
  --> https://bugs.freedesktop.org/attachment.cgi?id=86849&action=edit
glib: Add poppler_documents_save_pages()

Attached is a patch which implements function poppler_documents_save_pages(). 

This function can be useful in situation when an application needs to save
selected pages from a document or merge / split documents.

Its first parameter "documents" is array of PopplerDocument.
Second parameter "pages" is array of arrays of integers. Every 1st level array
of "pages" corresponds to a PopplerDocument on the same position in
"documents". Every second level array is terminated by -1.
Number of documents is specified in the third parameter "n_documents".
Fourth parameter is an uri to which the result will be saved.
Last parameter is return location for error.

The code is based on the "pdfunite" utility.

Regards

Marek

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130930/5aadacdd/attachment.html>


More information about the Poppler-bugs mailing list