diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-11-25 15:24:42 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-11-30 18:07:12 +0100 |
commit | 2fd9c2bf9af0c50dae3af3dbe5e22965ccdb4ae7 (patch) | |
tree | 2a0438c371fbb51a3d2e919793802d6827e07fbd /sw/inc/pagedesc.hxx | |
parent | 36b7794d832dbc87c250ef02eee643c4ce68f87a (diff) |
Allow to hide styles in the "Styles & Formating" dialog
In its current state, the feature only hides the styles. Things to sort
out are:
+ Add some automatic filter to show hidden styles
+ Make the visibility persist in the file format
Change-Id: I5904f41bb567add7b6bf501c6c5297f9f149a915
Diffstat (limited to 'sw/inc/pagedesc.hxx')
-rw-r--r-- | sw/inc/pagedesc.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/pagedesc.hxx b/sw/inc/pagedesc.hxx index 76a68097f6b2..b6c40a8873eb 100644 --- a/sw/inc/pagedesc.hxx +++ b/sw/inc/pagedesc.hxx @@ -144,6 +144,7 @@ class SW_DLLPUBLIC SwPageDesc : public SwModify sal_uInt16 nRegAscent; ///< For grid alignment (Registerhaltigkeit). UseOnPage eUse; sal_Bool bLandscape; + sal_Bool bHidden; /// Footnote information. SwPageFtnInfo aFtnInfo; @@ -180,6 +181,9 @@ public: sal_Bool IsFirstShared() const; void ChgFirstShare( sal_Bool bNew ); + sal_Bool IsHidden( ) const { return bHidden; } + void SetHidden( sal_Bool bValue ) { bHidden = bValue; } + inline void SetUseOn( UseOnPage eNew ); inline UseOnPage GetUseOn() const; |