diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-06-13 15:22:56 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-06-13 15:22:56 +0200 |
commit | ebc5777548dea42ed966a16c66d879b1485bbfb4 (patch) | |
tree | bbba6f44a8ddd5c25683de28f8c56331589a3bc1 /sw/inc/viewopt.hxx | |
parent | a572c2e12be5c2c40088269f3dc96e75e5912398 (diff) |
CWS swlayoutrefactoring: #i81480#: enable sw code to use multiple layouts
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rwxr-xr-x[-rw-r--r--] | sw/inc/viewopt.hxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index f0036e7abf35..8037bec0f4de 100644..100755 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -159,9 +159,10 @@ protected: BOOL bIsPagePreview : 1; // the preview mustn't print field/footnote/... shadings BOOL bSelectionInReadonly : 1; //determines whether selection is switched on in readonly documents // --> FME 2004-06-29 #114856# Formular view - BOOL bFormView : 1; + BOOL mbFormView : 1; // <-- - BOOL bBookview : 1; // view mode for page preview + BOOL mbBookview : 1; // view mode for page preview + BOOL mbBrowseMode : 1; //swmod 080130 BOOL mbViewLayoutBookMode : 1; // book view mode for edit view sal_Bool bShowPlaceHolderFields : 1; //only used in printing! @@ -404,12 +405,15 @@ public: void SetSelectionInReadonly(BOOL bSet) {bSelectionInReadonly = bSet;} // --> FME 2004-06-29 #114856# Formular view - BOOL IsFormView() const { return bFormView; } - void SetFormView( BOOL bSet ) { bFormView = bSet; } + BOOL IsFormView() const { return mbFormView; } + void SetFormView( BOOL bSet ) { mbFormView = bSet; } // <-- - inline BOOL IsPagePrevBookview() const { return bBookview; } - inline void SetPagePrevBookview(BOOL bSet) { bBookview = bSet; } + inline BOOL IsPagePrevBookview() const { return mbBookview; } + inline void SetPagePrevBookview(BOOL bSet) { mbBookview = bSet; } + + inline BOOL getBrowseMode() const { return mbBrowseMode; } + inline void setBrowseMode(BOOL bSet) { mbBrowseMode = bSet; } BOOL IsAutoCompleteWords() const; |