]> www.fi.muni.cz Git - evince.git/blobdiff - backend/ev-document-info.h
Adds a paper size field to the properties dialog. Fixes bug #307315. Patch
[evince.git] / backend / ev-document-info.h
index 77fecf2e77a93d08cd64d4ebc7c9997955fb290a..0cd1ef850b244e767f32bb779d1d08c510a1375c 100644 (file)
@@ -90,7 +90,8 @@ typedef enum
        EV_DOCUMENT_INFO_UI_HINTS = 1 << 12,
        EV_DOCUMENT_INFO_PERMISSIONS = 1 << 13,
        EV_DOCUMENT_INFO_N_PAGES = 1 << 14,
-       EV_DOCUMENT_INFO_SECURITY = 1 << 15
+       EV_DOCUMENT_INFO_SECURITY = 1 << 15,
+       EV_DOCUMENT_INFO_PAPER_SIZE = 1 << 16
 } EvDocumentInfoFields;
 
 struct _EvDocumentInfo
@@ -104,13 +105,15 @@ struct _EvDocumentInfo
        char *producer;
        char *linearized;
         char *security;
-       GTime *creation_date;
-       GTime *modified_date;
+       GTime creation_date;
+       GTime modified_date;
        EvDocumentLayout layout;
        EvDocumentMode mode;
        guint ui_hints;
        guint permissions;
        int   n_pages;
+       double paper_height;
+       double paper_width;
 
        /* Mask of all the valid fields */
        guint fields_mask;