summaryrefslogtreecommitdiff
path: root/sw/inc/docsh.hxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-05-19 14:28:33 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-05-19 14:28:33 +0200
commit9c4d0fbe73cf1311aa82cc986206fdb9ddd9c6c3 (patch)
tree2ca67ec03bf907cc9af244e1dcf0a9e82a348d6f /sw/inc/docsh.hxx
parent63b943b072c79fac580f7e7f92e1abbabf59d799 (diff)
cws tl79: #i110254# new security tap page in 'File/Properties'
Diffstat (limited to 'sw/inc/docsh.hxx')
-rwxr-xr-xsw/inc/docsh.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx
index 16e6cd047fb6..75d32b1b7f1d 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;