diff options
author | Thomas Lange [tl] <tl@openoffice.org> | 2010-05-19 14:28:33 +0200 |
---|---|---|
committer | Thomas Lange [tl] <tl@openoffice.org> | 2010-05-19 14:28:33 +0200 |
commit | f1d9fc466b96e54f80f9d29f6666c8b242c88e44 (patch) | |
tree | 622cb60190bfda3e8e30117d0d7a398414cb9dfa /sw/inc | |
parent | 3fb0c03aa91784140de6b8d10179c1e647911248 (diff) |
cws tl79: #i110254# new security tap page in 'File/Properties'
Diffstat (limited to 'sw/inc')
-rwxr-xr-x | sw/inc/docsh.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index 0f1a15be56..5ac0a010b4 100755 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -29,6 +29,7 @@ #include <rtl/ref.hxx> #include <com/sun/star/frame/XController.hpp> +#include <com/sun/star/uno/Sequence.h> #include <vcl/timer.hxx> #include <sfx2/docfac.hxx> #include <sfx2/objsh.hxx> @@ -302,6 +303,12 @@ public: SfxInPlaceClient* GetIPClient( const ::svt::EmbeddedObjectRef& xObjRef ); virtual const ::sfx2::IXmlIdRegistry* GetXmlIdRegistry() const; + + // passwword protection for Writer (derived from SfxObjectShell) + // see also: FN_REDLINE_ON, FN_REDLINE_ON + virtual void SetChangeRecording( bool bActivate ); + virtual bool SetProtectionPassword( const String &rPassword ); + virtual bool GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal_Int8 > &rPasswordHash ); }; class Graphic; |