49 class SidebarTextControl;
50 class AnchorOverlayObject;
51 class ShadowOverlayObject;
52 class SidebarWinAccessible;
66 virtual void dispose()
override;
73 void UpdateText(
const OUString& aText);
75 OUString GetAuthor()
const;
79 sal_uInt32 MoveCaret();
82 sal_uInt32 CalcParent();
85 bool IsReadOnlyOrProtected()
const;
87 void SetSize(
const Size& rNewSize );
95 void TranslateTopPosition(
const tools::Long aAmount);
108 bool HasScrollbar()
const;
109 bool IsScrollbarVisible()
const;
116 void SwitchToPostIt(sal_uInt16 aDirection);
117 void SwitchToFieldPos();
119 void ExecuteCommand(sal_uInt16 nSlot);
124 void LockView(
bool bLock);
126 void SetVirtualPosSize(
const Point& aPoint,
const Size& aSize);
130 void ShowAnchorOnly(
const Point &aPoint);
134 void ResetAttributes();
137 void SetReadonly(
bool bSet);
151 void SetFollow(
bool bIsFollow) { mbIsFollow = bIsFollow; };
153 sal_Int32 GetMetaHeight()
const;
154 sal_Int32 GetMinimumSizeWithMeta()
const;
155 sal_Int32 GetMinimumSizeWithoutMeta()
const;
156 int GetPrefScrollbarWidth()
const;
157 sal_Int32 GetNumFields()
const;
159 void SetSpellChecking();
161 void ToggleInsMode();
163 void ActivatePostIt();
164 void DeactivatePostIt();
167 const Color& aColor);
175 void ChangeSidebarItem(
SwSidebarItem const & rSidebarItem );
176 virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible()
override;
178 void DrawForPage(
OutputDevice* pDev,
const Point& rPos);
182 bool IsHitWindow(
const Point& rPointLogic);
184 void SetCursorLogicPosition(
const Point& rPosition,
bool bPoint,
bool bClearMark);
187 void SetResolved(
bool resolved);
188 void ToggleResolved();
189 void ToggleResolvedForThread();
191 bool IsResolved()
const;
192 bool IsThreadResolved();
195 sal_uInt32 GetParaId();
197 static sal_uInt32 CreateUniqueParaId();
201 bool SetActiveSidebarWin();
203 void UnsetActiveSidebarWin();
216 void SetSizePixel(
const Size& rNewSize )
override;
227 sal_uInt32 CountFollowing();
231 void SetMenuButtonColors();
250 std::unique_ptr<sw::sidebarwindows::AnchorOverlayObject>
mpAnchor;
251 std::unique_ptr<sw::sidebarwindows::ShadowOverlayObject>
mpShadow;
Window class for the Writer edit area, this is the one handling mouse and keyboard events and doing t...
Base class of the Writer layout elements.
Of course Writer needs its own rectangles.
const SwRect & GetAnchorRect() const
SwPostItHelper::SwLayoutStatus mLayoutStatus
SwPostItHelper::SwLayoutStatus GetLayoutStatus() const
sw::sidebarwindows::SidebarPosition meSidebarPosition
std::unique_ptr< sw::overlay::OverlayRanges > mpTextRangeOverlay
DECL_DLLPRIVATE_LINK(MouseMoveHdl, const MouseEvent &, bool)
const SwFrame * mpAnchorFrame
const std::vector< basegfx::B2DRange > & GetAnnotationTextRanges() const
std::unique_ptr< weld::Label > mxMetadataResolved
SwSidebarItem & GetSidebarItem()
DECL_DLLPRIVATE_LINK(KeyInputHdl, const KeyEvent &, bool)
void ResetAnchorRectChanged()
std::unique_ptr< Outliner > mpOutliner
::sw::sidebarwindows::AnchorOverlayObject * Anchor()
tools::Rectangle mPosSize
const Color & GetChangeColor() const
std::unique_ptr< sw::sidebarwindows::AnchorOverlayObject > mpAnchor
std::unique_ptr< OutlinerView > mpOutlinerView
bool mbResolvedStateUpdated
DECL_DLLPRIVATE_LINK(ModifyHdl, LinkParamNone *, void)
SwFormatField * mpFormatField
std::unique_ptr< weld::CustomWeld > mxSidebarTextControlWin
DECL_DLLPRIVATE_LINK(SelectHdl, const OUString &, void)
const Color & ColorDark()
void SetFollow(bool bIsFollow)
DECL_DLLPRIVATE_LINK(ToggleHdl, weld::Toggleable &, void)
bool IsMouseOverSidebarWin() const
bool IsAnchorRectChanged() const
std::unique_ptr< weld::MenuButton > mxMenuButton
const Color & ColorLight()
rtl::Reference< sw::sidebarwindows::SidebarWinAccessible > mxSidebarWinAccessible
std::vector< basegfx::B2DRange > maAnnotationTextRanges
std::unique_ptr< sw::sidebarwindows::ShadowOverlayObject > mpShadow
DECL_DLLPRIVATE_LINK(DeleteHdl, void *, void)
::sw::sidebarwindows::ShadowOverlayObject * Shadow()
DECL_DLLPRIVATE_LINK(ScrollHdl, weld::ScrolledWindow &, void)
ImplSVEvent * mnDeleteEventId
std::unique_ptr< weld::ScrolledWindow > mxVScrollbar
::sw::overlay::OverlayRanges * TextRange()
OutlinerView * GetOutlinerView()
std::unique_ptr< weld::Label > mxMetadataDate
std::unique_ptr< sw::sidebarwindows::SidebarTextControl > mxSidebarTextControl
std::unique_ptr< weld::Label > mxMetadataAuthor
SwSidebarItem & mrSidebarItem
Point const & GetAnchorPos()
const SwPostItField * GetPostItField() const
std::function< std::unique_ptr< UIObject >(vcl::Window *)> FactoryFunction
void SetLanguage(SwWrtShell &rWrtSh, std::u16string_view rLangText, bool bIsForSelection, SfxItemSet &rCoreSet)
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)
Any GetTime(const OUString &val)