Kaydet (Commit) b46f82eb authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: prefix members of SwPagePreview

Change-Id: Ied4c8aa5ead971d7a373ae580cd7bbe6df1859f8
üst c2f95e69
...@@ -162,28 +162,28 @@ class SW_DLLPUBLIC SwPagePreview: public SfxViewShell ...@@ -162,28 +162,28 @@ class SW_DLLPUBLIC SwPagePreview: public SfxViewShell
{ {
// ViewWindow and handle to core // ViewWindow and handle to core
// current dispatcher shell // current dispatcher shell
VclPtr<SwPagePreviewWin> pViewWin; VclPtr<SwPagePreviewWin> m_pViewWin;
//viewdata of the previous SwView and the new cursor position //viewdata of the previous SwView and the new cursor position
OUString sSwViewData; OUString m_sSwViewData;
//and the new cursor position if the user double click in the PagePreview //and the new cursor position if the user double click in the PagePreview
OUString sNewCursorPos; OUString m_sNewCursorPosition;
// to support keyboard the number of the page to go to can be set too // to support keyboard the number of the page to go to can be set too
sal_uInt16 nNewPage; sal_uInt16 m_nNewPage;
// visible range // visible range
OUString sPageStr; OUString m_sPageStr;
Size aDocSz; Size m_aDocSize;
Rectangle aVisArea; Rectangle m_aVisArea;
// MDI control elements // MDI control elements
VclPtr<SwScrollbar> pHScrollbar; VclPtr<SwScrollbar> m_pHScrollbar;
VclPtr<SwScrollbar> pVScrollbar; VclPtr<SwScrollbar> m_pVScrollbar;
bool mbHScrollbarEnabled : 1; bool mbHScrollbarEnabled : 1;
bool mbVScrollbarEnabled : 1; bool mbVScrollbarEnabled : 1;
// dummy window for filling the lower right edge when both scrollbars are active // dummy window for filling the lower right edge when both scrollbars are active
VclPtr<vcl::Window> pScrollFill; VclPtr<vcl::Window> m_pScrollFill;
sal_uInt16 mnPageCount; sal_uInt16 mnPageCount;
bool bNormalPrint; bool m_bNormalPrint;
// New members to reset design mode at draw view for form shell on switching // New members to reset design mode at draw view for form shell on switching
// back from writer page preview to normal view. // back from writer page preview to normal view.
...@@ -233,9 +233,9 @@ private: ...@@ -233,9 +233,9 @@ private:
public: public:
inline SwViewShell* GetViewShell() const inline SwViewShell* GetViewShell() const
{ return pViewWin->GetViewShell(); } { return m_pViewWin->GetViewShell(); }
inline void RepaintCoreRect( const SwRect& rRect ) inline void RepaintCoreRect( const SwRect& rRect )
{ pViewWin->RepaintCoreRect( rRect ); } { m_pViewWin->RepaintCoreRect( rRect ); }
void DocSzChgd(const Size& rNewSize); void DocSzChgd(const Size& rNewSize);
...@@ -249,16 +249,16 @@ public: ...@@ -249,16 +249,16 @@ public:
void EnableVScrollbar(bool bEnable); void EnableVScrollbar(bool bEnable);
sal_uInt16 GetPageCount() const { return mnPageCount; } sal_uInt16 GetPageCount() const { return mnPageCount; }
sal_uInt16 GetSelectedPage() const {return pViewWin->SelectedPage();} sal_uInt16 GetSelectedPage() const {return m_pViewWin->SelectedPage();}
bool HandleWheelCommands( const CommandEvent& ); bool HandleWheelCommands( const CommandEvent& );
const OUString& GetPrevSwViewData() const { return sSwViewData; } const OUString& GetPrevSwViewData() const { return m_sSwViewData; }
void SetNewCursorPos( const OUString& rStr ) { sNewCursorPos = rStr; } void SetNewCursorPos( const OUString& rStr ) { m_sNewCursorPosition = rStr; }
const OUString& GetNewCursorPos() const { return sNewCursorPos; } const OUString& GetNewCursorPos() const { return m_sNewCursorPosition; }
sal_uInt16 GetNewPage() const {return nNewPage;} sal_uInt16 GetNewPage() const {return m_nNewPage;}
void SetNewPage(sal_uInt16 nSet) {nNewPage = nSet;} void SetNewPage(sal_uInt16 nSet) {m_nNewPage = nSet;}
// Handler // Handler
void Execute(SfxRequest&); void Execute(SfxRequest&);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment