diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-05-30 08:27:33 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-05-30 08:27:33 +0000 |
commit | 8ed9666207baf6984d15b3de63ba38d2270dc00f (patch) | |
tree | 0a000bbf25202e44f2717c151c3d8d3aa5318dbf /sw/inc/PostItMgr.hxx | |
parent | 80e173d388b386a1eafcef9a954194d022b23d13 (diff) |
INTEGRATION: CWS notes4 (1.5.4); FILE MERGED
2008/04/24 17:36:59 mod 1.5.4.4: spellcheck inside draw object
2008/04/18 01:14:28 mod 1.5.4.3: #i86524#
2008/04/17 23:15:01 mod 1.5.4.2: #i88233#
2008/04/17 10:51:13 mod 1.5.4.1: various small fixes
Diffstat (limited to 'sw/inc/PostItMgr.hxx')
-rw-r--r-- | sw/inc/PostItMgr.hxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 976f5a525d4b..00eb4b74e1e9 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: PostItMgr.hxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.6 $ * * This file is part of OpenOffice.org. * @@ -44,6 +44,7 @@ class SwDoc; class SwView; class SwPostItField; class SwFmtFld; +class SwField; class SfxBroadcaster; class SfxHint; class SwPostIt; @@ -98,6 +99,13 @@ struct SwPostItPageItem }; +struct FieldShadowState +{ + const SwPostItField* mpShadowFld; + bool bCursor; + bool bMouse; +}; + class SwPostItMgr: public SfxListener { private: @@ -114,6 +122,7 @@ class SwPostItMgr: public SfxListener long mbLayouting; bool mbReadOnly; bool mbDeleteNote; + FieldShadowState mShadowState; typedef std::list<SwPostItItem*>::iterator SwPostItItem_iterator; typedef std::list<SwPostIt*>::iterator SwPostIt_iterator; @@ -187,13 +196,22 @@ class SwPostItMgr: public SfxListener SwPostIt* GetNextPostIt(USHORT aDirection, SwPostIt* aPostIt); long GetNextBorder(); - SwFmtFld* GetFmtFld(SwPostIt* mpPostIt); SwPostIt* GetActivePostIt() { return mpActivePostIt; } void SetActivePostIt( SwPostIt* p); sal_Int32 GetMinimumSizeWithMeta() const; sal_Int32 GetSidebarScrollerHeight() const; + SwFmtFld* GetFmtFld(SwPostIt* mpPostIt) const; + SwPostIt* GetPostIt(const SwFmtFld* pFld) const; + SwPostIt* GetPostIt(const SwPostItField* pFld) const; + SwPostIt* GetPostIt(SwFmtFld* pFld) const; + SwPostIt* GetPostIt(SwPostItField* pFld) const; + + void SetShadowState(const SwPostItField* pFld,bool bCursor = true); + void SetSpellChecking(bool bEnable); + + bool ShowPreview(const SwField* pFld,SwFmtFld*& pFmtFld) const; }; #endif |