]> mj.ucw.cz Git - paperjam.git/blobdiff - jam.h
Better formatting of PDF numbers
[paperjam.git] / jam.h
diff --git a/jam.h b/jam.h
index e7e2099c7fb9ac70aeb9f7c70e81174c5b604165..10f547ac55ad7dfe9c58575204a04e9818446328 100644 (file)
--- a/jam.h
+++ b/jam.h
@@ -62,8 +62,10 @@ public:
 extern arg_val null_arg;
 
 struct out_context {
+  QPDF *pdf;
   QPDFObjectHandle resources;
   QPDFObjectHandle xobjects;
+  QPDFObjectHandle egstates;
   string contents;
   int res_cnt;
   string new_resource(const string type);
@@ -71,7 +73,7 @@ struct out_context {
 };
 
 struct page {
-  int index;
+  int index;           // Position in the source PDF, 0 for synthesized pages
   double width;                // Physical dimensions of media
   double height;
   BBox image_box;      // Bounds useful contents