X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Fev-document-info.h;h=0cd1ef850b244e767f32bb779d1d08c510a1375c;hb=35512dd1ae66e5dbbeb490d3846dafcf150f1f28;hp=77fecf2e77a93d08cd64d4ebc7c9997955fb290a;hpb=dbbd21a4d621a47629ac03ffc71651172f574138;p=evince.git diff --git a/backend/ev-document-info.h b/backend/ev-document-info.h index 77fecf2e..0cd1ef85 100644 --- a/backend/ev-document-info.h +++ b/backend/ev-document-info.h @@ -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;