diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-10-22 15:58:31 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-10-23 15:21:24 +0200 |
commit | d5d96e04ad8014f3e68351ccb54221d9610b565b (patch) | |
tree | 3e8ac0f0082dbadac30b66fa5d04235e20d649fb /include | |
parent | 8f06d4b34661411db5c6fd78c4c6c702557cf344 (diff) |
Add document-level option to lock down printing
Change-Id: I85694021d74be79293079d04d5ba1d9b48cfa557
Reviewed-on: https://gerrit.libreoffice.org/81340
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sfxsids.hrc | 1 | ||||
-rw-r--r-- | include/sfx2/viewsh.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/sfxsids.hrc b/include/sfx2/sfxsids.hrc index 0b5eeb73a32b..d323147ec456 100644 --- a/include/sfx2/sfxsids.hrc +++ b/include/sfx2/sfxsids.hrc @@ -266,6 +266,7 @@ class SvxSearchItem; #define SID_IS_REDACT_MODE (SID_SFX_START + 1733) #define SID_REDACTION_STYLE (SID_SFX_START + 1734) #define SID_DIALOG_PARENT (SID_SFX_START + 1735) +#define SID_LOCK_PRINT (SID_SFX_START + 1736) // SID_SFX_free_START (SID_SFX_START + 1737) // SID_SFX_free_END (SID_SFX_START + 3999) diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index 525cc111d216..6a82b3cd8189 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -290,6 +290,7 @@ public: css::uno::Reference< css::datatransfer::clipboard::XClipboardNotifier > GetClipboardNotifier() const; bool isContentExtractionLocked(); bool isExportLocked(); + bool isPrintLocked(); SAL_DLLPRIVATE SfxInPlaceClient* GetUIActiveIPClient_Impl() const; SAL_DLLPRIVATE void AddContextMenuInterceptor_Impl( const css::uno::Reference < css::ui::XContextMenuInterceptor >& xInterceptor ); |