~ubuntu-branches/ubuntu/quantal/cups-filters/quantal-proposed

« back to all changes in this revision

Viewing changes to filter/pdftopdf/qpdf_tools.h

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-08-20 14:53:42 UTC
  • mfrom: (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20120820145342-bddzpwqv0klmt84d
Tags: 1.0.22-1
* New upstream release
   - pdftopdf filter replaced by new QPDF-based filter from Tobias
     Hoffmann's Google Summer of Code project. The former Poppler-based
     pdftopdf duplicated a lot of Poppler's code. The old filter is
     still in the package as pdftopdf.old with source code in
     filter/pdftopdf.old. It will be removed in a later release.
   - bannertopdf: Page duplication routine fixed.
   - bannertopdf: Fixed invalid output of a direct stream object.
   - Added most recent contributors to AUTHORS and COPYING files.
* debian/control: Added build dependency on libqpdf-dev.
* debian/copyright: Updated for the addition of the new pdftopdf filter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef QPDF_TOOLS_H_
 
2
#define QPDF_TOOLS_H_
 
3
 
 
4
#include <qpdf/QPDFObjectHandle.hh>
 
5
#include <map>
 
6
#include <string>
 
7
 
 
8
QPDFObjectHandle getMediaBox(QPDFObjectHandle page);
 
9
QPDFObjectHandle getCropBox(QPDFObjectHandle page);
 
10
QPDFObjectHandle getBleedBox(QPDFObjectHandle page);
 
11
QPDFObjectHandle getTrimBox(QPDFObjectHandle page);
 
12
QPDFObjectHandle getArtBox(QPDFObjectHandle page);
 
13
 
 
14
QPDFObjectHandle makePage(QPDF &pdf,const std::map<std::string,QPDFObjectHandle> &xobjs,QPDFObjectHandle mediabox,const std::string &content);
 
15
 
 
16
QPDFObjectHandle makeBox(double x1,double y1,double x2,double y2);
 
17
 
 
18
#endif