diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-13 16:47:23 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-16 13:18:28 +0100 |
commit | fe3ab8481eaf50272f1aa3892ff5f74ffd47d461 (patch) | |
tree | ebca9824f0e7ca2f8204cc8696b4751f407834ab /include | |
parent | f1a2759c29955040ac92c96bfa4e5621a78de8bb (diff) |
gtktiledviewer: start in viewer mode, switch to edit mode by mouse click
Change-Id: I0863ec8fb159a2e367951ba9e7d7310d250d8a1e
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 111381d3cb64..3fd0c4ac2008 100644 --- a/include/LibreOfficeKit/LibreOfficeKitGtk.h +++ b/include/LibreOfficeKit/LibreOfficeKitGtk.h @@ -41,6 +41,8 @@ struct _LOKDocView LibreOfficeKit* pOffice; LibreOfficeKitDocument* pDocument; + /// View or edit mode. + gboolean m_bEdit; }; struct _LOKDocViewClass @@ -64,6 +66,9 @@ char* lok_docview_get_part_name (LOKDocView* pDocView, int nPart); void lok_docview_set_partmode (LOKDocView* pDocView, LibreOfficeKitPartMode ePartMode); +/// Sets if the viewer is actually an editor or not. +void lok_docview_set_edit (LOKDocView* pDocView, + gboolean bEdit); #ifdef __cplusplus } #endif |