diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-23 15:13:25 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-25 13:04:33 +0100 |
commit | 6024ddbfac8e62db50dd5352d610c87d279627de (patch) | |
tree | b239940321e89d7191b7d4a58bc4af9f0aa5891b /include | |
parent | 3545b78755672321e3017fd25dec756827459fb6 (diff) |
LOK Docview: add set_zoom
Change-Id: I902f3a134b4a7dcc721eff3f67376014a4276885
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitGtk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitGtk.h b/include/LibreOfficeKit/LibreOfficeKitGtk.h index 2435fc26a632..f1609253e7e8 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -37,6 +37,8 @@ struct _LOKDocView GtkWidget* pCanvas; GdkPixbuf* pPixBuf; + float fZoom; + LibreOfficeKit* pOffice; LibreOfficeKitDocument* pDocument; }; @@ -52,6 +54,9 @@ guint lok_docview_get_type (void); GtkWidget* lok_docview_new ( LibreOfficeKit* pOffice ); gboolean lok_docview_open_document (LOKDocView* pDocView, char* pPath); +void lok_docview_set_zoom (LOKDocView* pDocView, + float fZoom); +float lok_docview_get_zoom (LOKDocView* pDocView); #ifdef __cplusplus } |