]> 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 3930910fee42ce3ee106ae14bd7691de83b378e6..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
@@ -111,6 +112,8 @@ struct _EvDocumentInfo
        guint ui_hints;
        guint permissions;
        int   n_pages;
+       double paper_height;
+       double paper_width;
 
        /* Mask of all the valid fields */
        guint fields_mask;