summaryrefslogtreecommitdiff
path: root/sfx2/inc/sfx2
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-05-25 11:45:06 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-05-25 11:45:06 +0200
commit760ca6ad7439194dc9dc2e137e78af248df2c208 (patch)
tree8164045ff548458ce537c0aae6e422c7ab66938b /sfx2/inc/sfx2
parent03fd7e496dbf3b5b825ed34636af3528bf6a4cc9 (diff)
cws tl79: #i110254# security tab page in 'File/Properties'
Diffstat (limited to 'sfx2/inc/sfx2')
-rwxr-xr-xsfx2/inc/sfx2/objsh.hxx2
-rwxr-xr-xsfx2/inc/sfx2/sfx.hrc4
2 files changed, 5 insertions, 1 deletions
diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx
index 1447c7fe58..f87b540878 100755
--- a/sfx2/inc/sfx2/objsh.hxx
+++ b/sfx2/inc/sfx2/objsh.hxx
@@ -686,6 +686,8 @@ public:
// change recording and respective passwword protection for Writer and Calc
// slots available for Writer: FN_REDLINE_ON, FN_REDLINE_ON
// slots used for Calc: FID_CHG_RECORD, SID_CHG_PROTECT
+ virtual bool IsChangeRecording() const;
+ virtual bool HasChangeRecordProtection() const;
virtual void SetChangeRecording( bool bActivate );
virtual bool SetProtectionPassword( const String &rPassword );
virtual bool GetProtectionHash( /*out*/ ::com::sun::star::uno::Sequence< sal_Int8 > &rPasswordHash );
diff --git a/sfx2/inc/sfx2/sfx.hrc b/sfx2/inc/sfx2/sfx.hrc
index 5c7e370619..4dc2fc575f 100755
--- a/sfx2/inc/sfx2/sfx.hrc
+++ b/sfx2/inc/sfx2/sfx.hrc
@@ -234,7 +234,9 @@
#define TP_MANAGE_STYLES (RID_SFX_START+7)
#define DLG_STYLE_DESIGNER (RID_SFX_START+8)
-#define RID_SFX_INCORRECT_PASSWORD (RID_SFX_START+216)
+#define RID_SFX_PROTECT_RECORDS (RID_SFX_START+216)
+#define RID_SFX_UNPROTECT_RECORDS (RID_SFX_START+217)
+#define RID_SFX_INCORRECT_PASSWORD (RID_SFX_START+218)
#define STR_STYLE_FILTER_AUTO (RID_SFX_START+9)
#define STR_STYLE_FILTER_USED (RID_SFX_START+10)