LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
sw::annotation::SwAnnotationWin Class Referencefinal

#include <AnnotationWin.hxx>

Inheritance diagram for sw::annotation::SwAnnotationWin:
Collaboration diagram for sw::annotation::SwAnnotationWin:

Public Member Functions

 SwAnnotationWin (SwEditWin &rEditWin, SwPostItMgr &aMgr, SwSidebarItem &rSidebarItem, SwFormatField *aField)
virtual ~SwAnnotationWin () override
virtual void dispose () override
void UpdateData ()
void SetPostItText ()
void Delete ()
void GotoPos ()
const SwPostItFieldGetPostItField () const
void UpdateText (const OUString &aText)
OUString GetAuthor () const
Date GetDate () const
tools::Time GetTime () const
sal_uInt32 MoveCaret ()
sal_uInt32 CalcParent ()
 Calculate parent postit id of current annotation window. More...
void InitAnswer (OutlinerParaObject const &rText)
bool IsReadOnlyOrProtected () const
void SetSize (const Size &rNewSize)
void SetPosSizePixelRect (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, const SwRect &aAnchorRect, const tools::Long PageBorder)
void SetPosAndSize ()
void TranslateTopPosition (const tools::Long aAmount)
void CheckMetaText ()
Point const & GetAnchorPos ()
const SwRectGetAnchorRect () const
bool IsAnchorRectChanged () const
void ResetAnchorRectChanged ()
const std::vector< basegfx::B2DRange > & GetAnnotationTextRanges () const
SwEditWinEditWin ()
SwSidebarItemGetSidebarItem ()
OutlinerViewGetOutlinerView ()
OutlinerGetOutliner ()
bool HasScrollbar () const
bool IsScrollbarVisible () const
::sw::sidebarwindows::AnchorOverlayObjectAnchor ()
::sw::sidebarwindows::ShadowOverlayObjectShadow ()
::sw::overlay::OverlayRangesTextRange ()
tools::Long GetPostItTextHeight ()
void SwitchToPostIt (sal_uInt16 aDirection)
void SwitchToFieldPos ()
void ExecuteCommand (sal_uInt16 nSlot)
void InitControls ()
void DoResize ()
void ResizeIfNecessary (tools::Long aOldHeight, tools::Long aNewHeight)
void SetScrollbar ()
void LockView (bool bLock)
void SetVirtualPosSize (const Point &aPoint, const Size &aSize)
Point VirtualPos ()
Size VirtualSize ()
void ShowAnchorOnly (const Point &aPoint)
void ShowNote ()
void HideNote ()
void ResetAttributes ()
void SetSidebarPosition (sw::sidebarwindows::SidebarPosition eSidebarPosition)
void SetReadonly (bool bSet)
bool IsReadOnly () const
void SetColor (Color aColorDark, Color aColorLight, Color aColorAnchor)
const ColorColorDark ()
const ColorColorLight ()
void Rescale ()
void SetViewState (::sw::sidebarwindows::ViewState bViewState)
bool IsFollow () const
void SetFollow (bool bIsFollow)
sal_Int32 GetMetaHeight () const
sal_Int32 GetMinimumSizeWithMeta () const
sal_Int32 GetMinimumSizeWithoutMeta () const
int GetPrefScrollbarWidth () const
sal_Int32 GetNumFields () const
void SetSpellChecking ()
void ToggleInsMode ()
void ActivatePostIt ()
void DeactivatePostIt ()
void SetChangeTracking (const SwPostItHelper::SwLayoutStatus aStatus, const Color &aColor)
SwPostItHelper::SwLayoutStatus GetLayoutStatus () const
const ColorGetChangeColor () const
bool IsMouseOverSidebarWin () const
void ChangeSidebarItem (SwSidebarItem const &rSidebarItem)
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
void DrawForPage (OutputDevice *pDev, const Point &rPos)
void PaintTile (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
bool IsHitWindow (const Point &rPointLogic)
 Is there a matching sub-widget inside this sidebar widget for rPointLogic? More...
void SetCursorLogicPosition (const Point &rPosition, bool bPoint, bool bClearMark)
 Allows adjusting the point or mark of the selection to a document coordinate. More...
void SetResolved (bool resolved)
void ToggleResolved ()
void ToggleResolvedForThread ()
void DeleteThread ()
bool IsResolved () const
bool IsThreadResolved ()
sal_uInt32 GetParaId ()
bool SetActiveSidebarWin ()
void UnsetActiveSidebarWin ()
SwAnnotationWinGetTopReplyNote ()
 Find the first annotation for the thread which this annotation is in. More...
virtual FactoryFunction GetUITestFactory () const override
- Public Member Functions inherited from InterimItemWindow
virtual ~InterimItemWindow () override
virtual void dispose () override
virtual void Resize () override
virtual Size GetOptimalSize () const override
void InvalidateChildSizeCache ()
virtual void StateChanged (StateChangedType nStateChange) override
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
virtual void GetFocus () override
bool ControlHasFocus () const
virtual void Draw (OutputDevice *pDevice, const Point &rPos, SystemTextColorFlags nFlags) override
- Public Member Functions inherited from Control
SAL_DLLPRIVATE void ImplClearLayoutData () const
SAL_DLLPRIVATE void ImplDrawFrame (OutputDevice *pDev, tools::Rectangle &rRect)
 Control (vcl::Window *pParent, WinBits nWinStyle=0)
virtual ~Control () override
virtual void dispose () override
virtual void EnableRTL (bool bEnable=true) override
virtual bool EventNotify (NotifyEvent &rNEvt) override
virtual void StateChanged (StateChangedType nStateChange) override
virtual void Resize () override
virtual void SetText (const OUString &rStr) override
virtual OUString GetDisplayText () const override
tools::Rectangle GetCharacterBounds (tools::Long nIndex) const
tools::Long GetIndexForPoint (const Point &rPoint) const
Pair GetLineStartEnd (tools::Long nLine) const
tools::Long ToRelativeLineIndex (tools::Long nIndex) const
void SetLoseFocusHdl (const Link< Control &, void > &rLink)
bool HasControlFocus () const
void SetLayoutDataParent (const Control *pParent) const
virtual Size GetOptimalSize () const override
void SetReferenceDevice (OutputDevice *_referenceDevice)
OutputDeviceGetReferenceDevice () const
vcl::Font GetUnzoomedControlPointFont () const
void SetShowAccelerator (bool val)
virtual void LogicInvalidate (const tools::Rectangle *pRectangle) override
- Public Member Functions inherited from vcl::Window
 DECL_DLLPRIVATE_LINK (ImplHandlePaintHdl, Timer *, void)
 DECL_DLLPRIVATE_LINK (ImplGenerateMouseMoveHdl, void *, void)
 DECL_DLLPRIVATE_LINK (ImplTrackTimerHdl, Timer *, void)
 DECL_DLLPRIVATE_LINK (ImplAsyncFocusHdl, void *, void)
 DECL_DLLPRIVATE_LINK (ImplHandleResizeTimerHdl, Timer *, void)
SAL_DLLPRIVATE vcl::WindowImplGetFrameWindow () const
weld::WindowGetFrameWeld () const
vcl::WindowGetFrameWindow () const
SalFrameImplGetFrame () const
SAL_DLLPRIVATE ImplFrameDataImplGetFrameData ()
vcl::WindowImplGetWindow () const
SAL_DLLPRIVATE ImplWinDataImplGetWinData () const
SAL_DLLPRIVATE vcl::WindowImplGetClientWindow () const
SAL_DLLPRIVATE vcl::WindowImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr)
SAL_DLLPRIVATE vcl::WindowImplGetParent () const
SAL_DLLPRIVATE vcl::WindowImplFindWindow (const Point &rFramePos)
SAL_DLLPRIVATE void ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags)
SAL_DLLPRIVATE void ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion)
SAL_DLLPRIVATE bool ImplSetClipFlag (bool bSysObjOnlySmaller=false)
SAL_DLLPRIVATE bool ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
SAL_DLLPRIVATE bool ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
SAL_DLLPRIVATE bool ImplIsFloatingWindow () const
SAL_DLLPRIVATE bool ImplIsPushButton () const
SAL_DLLPRIVATE bool ImplIsSplitter () const
SAL_DLLPRIVATE bool ImplIsOverlapWindow () const
SAL_DLLPRIVATE void ImplIsInTaskPaneList (bool mbIsInTaskList)
SAL_DLLPRIVATE WindowImplImplGetWindowImpl () const
SAL_DLLPRIVATE void ImplGrabFocus (GetFocusFlags nFlags)
SAL_DLLPRIVATE void ImplGrabFocusToDocument (GetFocusFlags nFlags)
SAL_DLLPRIVATE void ImplInvertFocus (const tools::Rectangle &rRect)
SAL_DLLPRIVATE PointerStyle ImplGetMousePointer () const
SAL_DLLPRIVATE void ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false)
SAL_DLLPRIVATE void ImplGenerateMouseMove ()
SAL_DLLPRIVATE void ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt)
SAL_DLLPRIVATE void ImplNotifyIconifiedState (bool bIconified)
SAL_DLLPRIVATE void ImplUpdateAll ()
SAL_DLLPRIVATE void ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE)
SAL_DLLPRIVATE void ImplMirrorFramePos (Point &pt) const
SAL_DLLPRIVATE void ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
SAL_DLLPRIVATE void ImplCallResize ()
SAL_DLLPRIVATE void ImplCallMove ()
SAL_DLLPRIVATE void CompatGetFocus ()
SAL_DLLPRIVATE void CompatLoseFocus ()
SAL_DLLPRIVATE void CompatStateChanged (StateChangedType nStateChange)
SAL_DLLPRIVATE void CompatDataChanged (const DataChangedEvent &rDCEvt)
SAL_DLLPRIVATE bool CompatPreNotify (NotifyEvent &rNEvt)
SAL_DLLPRIVATE bool CompatNotify (NotifyEvent &rNEvt)
void IncModalCount ()
void DecModalCount ()
 Window (vcl::Window *pParent, WinBits nStyle=0)
virtual ~Window () override
::OutputDevice const * GetOutDev () const
::OutputDeviceGetOutDev ()
Color GetBackgroundColor () const
const WallpaperGetBackground () const
bool IsBackground () const
const MapModeGetMapMode () const
void SetBackground ()
void SetBackground (const Wallpaper &rBackground)
virtual void MouseMove (const MouseEvent &rMEvt)
virtual void MouseButtonDown (const MouseEvent &rMEvt)
virtual void MouseButtonUp (const MouseEvent &rMEvt)
virtual void KeyInput (const KeyEvent &rKEvt)
virtual void KeyUp (const KeyEvent &rKEvt)
virtual void PrePaint (vcl::RenderContext &rRenderContext)
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual void PostPaint (vcl::RenderContext &rRenderContext)
void Erase (vcl::RenderContext &rRenderContext)
virtual void Draw (::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags)
virtual void Move ()
virtual void Resize ()
virtual void Activate ()
virtual void Deactivate ()
virtual void GetFocus ()
virtual void LoseFocus ()
virtual void RequestHelp (const HelpEvent &rHEvt)
virtual void Command (const CommandEvent &rCEvt)
virtual void Tracking (const TrackingEvent &rTEvt)
virtual void StateChanged (StateChangedType nStateChange)
virtual void DataChanged (const DataChangedEvent &rDCEvt)
virtual bool PreNotify (NotifyEvent &rNEvt)
virtual bool EventNotify (NotifyEvent &rNEvt)
void AddEventListener (const Link< VclWindowEvent &, void > &rEventListener)
void RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener)
void AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
void RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
ImplSVEventPostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
void RemoveUserEvent (ImplSVEvent *nUserEvent)
LanguageType GetInputLanguage () const
void SetStyle (WinBits nStyle)
WinBits GetStyle () const
WinBits GetPrevStyle () const
void SetExtendedStyle (WindowExtendedStyle nExtendedStyle)
WindowExtendedStyle GetExtendedStyle () const
void SetType (WindowType nType)
WindowType GetType () const
bool IsSystemWindow () const
bool IsDockingWindow () const
bool IsDialog () const
bool IsMenuFloatingWindow () const
bool IsToolbarFloatingWindow () const
bool IsTopWindow () const
SystemWindowGetSystemWindow () const
bool SupportsDoubleBuffering () const
void RequestDoubleBuffering (bool bRequest)
void EnableAllResize ()
void SetBorderStyle (WindowBorderStyle nBorderStyle)
WindowBorderStyle GetBorderStyle () const
void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const
Size CalcWindowSize (const Size &rOutSz) const
Size CalcOutputSize (const Size &rWinSz) const
tools::Long CalcTitleWidth () const
void EnableClipSiblings (bool bClipSiblings=true)
void EnableChildTransparentMode (bool bEnable=true)
bool IsChildTransparentModeEnabled () const
void SetMouseTransparent (bool bTransparent)
bool IsMouseTransparent () const
void SetPaintTransparent (bool bTransparent)
bool IsPaintTransparent () const
void SetDialogControlStart (bool bStart)
bool IsDialogControlStart () const
void SetDialogControlFlags (DialogControlFlags nFlags)
DialogControlFlags GetDialogControlFlags () const
PointerState GetPointerState ()
bool IsMouseOver () const
void SetInputContext (const InputContext &rInputContext)
const InputContextGetInputContext () const
void PostExtTextInputEvent (VclEventId nType, const OUString &rText)
void EndExtTextInput ()
void SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0)
const tools::RectangleGetCursorRect () const
tools::Long GetCursorExtTextInputWidth () const
void SetCompositionCharRect (const tools::Rectangle *pRect, tools::Long nCompositionLength, bool bVertical=false)
void UpdateSettings (const AllSettings &rSettings, bool bChild=false)
void NotifyAllChildren (DataChangedEvent &rDCEvt)
void SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
vcl::Font GetPointFont (vcl::RenderContext const &rRenderContext) const
void SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
tools::Long GetDrawPixel (::OutputDevice const *pDev, tools::Long nPixels) const
vcl::Font GetDrawPixelFont (::OutputDevice const *pDev) const
void SetControlFont ()
void SetControlFont (const vcl::Font &rFont)
vcl::Font GetControlFont () const
bool IsControlFont () const
void ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont)
void SetControlForeground ()
void SetControlForeground (const Color &rColor)
const ColorGetControlForeground () const
bool IsControlForeground () const
void ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
void SetControlBackground ()
void SetControlBackground (const Color &rColor)
const ColorGetControlBackground () const
bool IsControlBackground () const
void ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
void SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE)
ParentClipMode GetParentClipMode () const
void SetWindowRegionPixel ()
void SetWindowRegionPixel (const vcl::Region &rRegion)
vcl::Region GetWindowClipRegionPixel () const
vcl::Region GetPaintRegion () const
bool IsInPaint () const
void ExpandPaintClipRegion (const vcl::Region &rRegion)
void SetParent (vcl::Window *pNewParent)
vcl::WindowGetParent () const
DialogGetParentDialog () const
bool IsAncestorOf (const vcl::Window &rWindow) const
void Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
void Hide ()
bool IsVisible () const
bool IsReallyVisible () const
bool IsReallyShown () const
bool IsInInitShow () const
void Enable (bool bEnable=true, bool bChild=true)
void Disable (bool bChild=true)
bool IsEnabled () const
void EnableInput (bool bEnable=true, bool bChild=true)
void EnableInput (bool bEnable, const vcl::Window *pExcludeWindow)
bool IsInputEnabled () const
void AlwaysEnableInput (bool bAlways, bool bChild=true)
bool IsAlwaysEnableInput () const
bool IsInModalMode () const
void SetActivateMode (ActivateModeFlags nMode)
ActivateModeFlags GetActivateMode () const
void ToTop (ToTopFlags nFlags=ToTopFlags::NONE)
void SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags)
void EnableAlwaysOnTop (bool bEnable=true)
bool IsAlwaysOnTopEnabled () const
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All)
virtual void SetPosPixel (const Point &rNewPos)
virtual Point GetPosPixel () const
virtual void SetSizePixel (const Size &rNewSize)
virtual Size GetSizePixel () const
virtual void SetPosSizePixel (const Point &rNewPos, const Size &rNewSize)
virtual void SetOutputSizePixel (const Size &rNewSize)
bool IsDefaultPos () const
bool IsDefaultSize () const
Point GetOffsetPixelFrom (const vcl::Window &rWindow) const
Point OutputToScreenPixel (const Point &rPos) const
Point ScreenToOutputPixel (const Point &rPos) const
Point OutputToNormalizedScreenPixel (const Point &rPos) const
Point NormalizedScreenToOutputPixel (const Point &rPos) const
Point OutputToAbsoluteScreenPixel (const Point &rPos) const
Point AbsoluteScreenToOutputPixel (const Point &rPos) const
tools::Rectangle GetDesktopRectPixel () const
tools::Rectangle GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const
tools::Rectangle GetWindowExtentsAbsolute () const
bool IsScrollable () const
virtual void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE)
void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
void Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE)
virtual void LogicInvalidate (const tools::Rectangle *pRectangle)
virtual void PixelInvalidate (const tools::Rectangle *pRectangle)
void Validate ()
bool HasPaintEvent () const
void PaintImmediately ()
void EnableDocking (bool bEnable=true)
void EnablePaint (bool bEnable)
bool IsPaintEnabled () const
void SetUpdateMode (bool bUpdate)
bool IsUpdateMode () const
void SetParentUpdateMode (bool bUpdate)
void GrabFocus ()
bool HasFocus () const
bool HasChildPathFocus (bool bSystemWindow=false) const
bool IsActive () const
bool HasActiveChildFrame () const
GetFocusFlags GetGetFocusFlags () const
void GrabFocusToDocument ()
VclPtr< vcl::WindowGetFocusedWindow () const
void SetFakeFocus (bool bFocus)
bool IsCompoundControl () const
void LocalStartDrag ()
void CaptureMouse ()
void ReleaseMouse ()
bool IsMouseCaptured () const
virtual void SetPointer (PointerStyle)
PointerStyle GetPointer () const
void EnableChildPointerOverwrite (bool bOverwrite)
void SetPointerPosPixel (const Point &rPos)
Point GetPointerPosPixel ()
Point GetLastPointerPosPixel ()
void SetLastMousePos (const Point &rPos)
void ShowPointer (bool bVisible)
void EnterWait ()
void LeaveWait ()
bool IsWait () const
void SetCursor (vcl::Cursor *pCursor)
vcl::CursorGetCursor () const
void SetZoom (const Fraction &rZoom)
const FractionGetZoom () const
bool IsZoom () const
tools::Long CalcZoom (tools::Long n) const
virtual void SetText (const OUString &rStr)
virtual OUString GetText () const
virtual OUString GetDisplayText () const
virtual const WallpaperGetDisplayBackground () const
void SetHelpText (const OUString &rHelpText)
const OUString & GetHelpText () const
void SetQuickHelpText (const OUString &rHelpText)
const OUString & GetQuickHelpText () const
void SetHelpId (const OUString &)
const OUString & GetHelpId () const
sal_uInt16 GetChildCount () const
vcl::WindowGetChild (sal_uInt16 nChild) const
vcl::WindowGetWindow (GetWindowType nType) const
bool IsChild (const vcl::Window *pWindow) const
bool IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
SAL_DLLPRIVATE void CollectChildren (::std::vector< vcl::Window * > &rAllChildren)
virtual void ShowFocus (const tools::Rectangle &rRect)
void HideFocus ()
void DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder)
void ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small)
void HideTracking ()
void InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags)
void StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE)
void EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE)
bool IsTracking () const
void StartAutoScroll (StartAutoScrollFlags nFlags)
void EndAutoScroll ()
bool HandleScrollCommand (const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl)
virtual const SystemEnvDataGetSystemData () const
virtual css::uno::Reference< css::awt::XVclWindowPeer > GetComponentInterface (bool bCreate=true)
void SetComponentInterface (css::uno::Reference< css::awt::XVclWindowPeer > const &xIFace)
void SetUseFrameData (bool bUseFrameData)
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
const vcl::ILibreOfficeKitNotifierGetLOKNotifier () const
vcl::LOKWindowId GetLOKWindowId () const
VclPtr< vcl::WindowGetParentWithLOKNotifier ()
void ReleaseLOKNotifier ()
virtual void DumpAsPropertyTree (tools::JsonWriter &)
void RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect)
VCLXWindowGetWindowPeer () const
void SetWindowPeer (css::uno::Reference< css::awt::XVclWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow)
bool IsCreatedWithToolkit () const
void SetCreatedWithToolkit (bool b)
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
css::uno::Reference< css::datatransfer::dnd::XDragSource > GetDragSource ()
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > GetDragGestureRecognizer ()
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard ()
void SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard)
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout)
void set_height_request (sal_Int32 nHeightRequest)
sal_Int32 get_height_request () const
void set_width_request (sal_Int32 nWidthRequest)
sal_Int32 get_width_request () const
Size get_preferred_size () const
VclAlign get_halign () const
void set_halign (VclAlign eAlign)
VclAlign get_valign () const
void set_valign (VclAlign eAlign)
bool get_hexpand () const
void set_hexpand (bool bExpand)
bool get_vexpand () const
void set_vexpand (bool bExpand)
bool get_expand () const
void set_expand (bool bExpand)
bool get_fill () const
void set_fill (bool bFill)
void set_border_width (sal_Int32 nBorderWidth)
sal_Int32 get_border_width () const
void set_margin_start (sal_Int32 nWidth)
sal_Int32 get_margin_start () const
void set_margin_end (sal_Int32 nWidth)
sal_Int32 get_margin_end () const
void set_margin_top (sal_Int32 nWidth)
sal_Int32 get_margin_top () const
void set_margin_bottom (sal_Int32 nWidth)
sal_Int32 get_margin_bottom () const
VclPackType get_pack_type () const
void set_pack_type (VclPackType ePackType)
sal_Int32 get_padding () const
void set_padding (sal_Int32 nPadding)
sal_Int32 get_grid_width () const
void set_grid_width (sal_Int32 nCols)
sal_Int32 get_grid_left_attach () const
void set_grid_left_attach (sal_Int32 nAttach)
sal_Int32 get_grid_height () const
void set_grid_height (sal_Int32 nRows)
sal_Int32 get_grid_top_attach () const
void set_grid_top_attach (sal_Int32 nAttach)
bool get_secondary () const
void set_secondary (bool bSecondary)
bool get_non_homogeneous () const
void set_non_homogeneous (bool bNonHomogeneous)
virtual bool set_property (const OUString &rKey, const OUString &rValue)
bool set_font_attribute (const OUString &rKey, std::u16string_view rValue)
void add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup)
void remove_from_all_size_groups ()
void add_mnemonic_label (FixedText *pLabel)
void remove_mnemonic_label (FixedText *pLabel)
const std::vector< VclPtr< FixedText > > & list_mnemonic_labels () const
void reorderWithinParent (sal_uInt16 nNewPosition)
void set_id (const OUString &rID)
const OUString & get_id () const
void EnableNativeWidget (bool bEnable=true)
bool IsNativeWidgetEnabled () const
void PaintToDevice (::OutputDevice *pDevice, const Point &rPos)
KeyIndicatorState GetIndicatorState () const
void SimulateKeyPress (sal_uInt16 nKeyCode) const
virtual OUString GetSurroundingText () const
virtual Selection GetSurroundingTextSelection () const
virtual bool DeleteSurroundingText (const Selection &rSelection)
virtual FactoryFunction GetUITestFactory () const
virtual bool IsChart () const
virtual bool IsStarMath () const
void SetHelpHdl (const Link< vcl::Window &, bool > &rLink)
void SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink)
void SetModalHierarchyHdl (const Link< bool, void > &rLink)
void SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink)
Size GetOutputSizePixel () const
tools::Rectangle GetOutputRectPixel () const
Point LogicToPixel (const Point &rLogicPt) const
Size LogicToPixel (const Size &rLogicSize) const
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect) const
vcl::Region LogicToPixel (const vcl::Region &rLogicRegion) const
Point LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const
Size LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const
Point PixelToLogic (const Point &rDevicePt) const
Size PixelToLogic (const Size &rDeviceSize) const
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect) const
tools::PolyPolygon PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const
vcl::Region PixelToLogic (const vcl::Region &rDeviceRegion) const
Point PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const
Size PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const
Size LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
const AllSettingsGetSettings () const
void SetSettings (const AllSettings &rSettings)
void SetSettings (const AllSettings &rSettings, bool bChild)
tools::Rectangle GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const
float GetDPIScaleFactor () const
tools::Long GetOutOffXPixel () const
tools::Long GetOutOffYPixel () const
void EnableMapMode (bool bEnable=true)
bool IsMapModeEnabled () const
void SetMapMode ()
void SetMapMode (const MapMode &rNewMapMode)
virtual void EnableRTL (bool bEnable=true)
bool IsRTLEnabled () const
void SetFont (const vcl::Font &rNewFont)
const vcl::FontGetFont () const
tools::Long GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
tools::Long GetTextHeight () const
float approximate_digit_width () const
void SetTextColor (const Color &rColor)
const ColorGetTextColor () const
void SetTextFillColor ()
void SetTextFillColor (const Color &rColor)
Color GetTextFillColor () const
bool IsTextFillColor () const
void SetTextLineColor ()
void SetTextLineColor (const Color &rColor)
const ColorGetTextLineColor () const
bool IsTextLineColor () const
void SetOverlineColor ()
void SetOverlineColor (const Color &rColor)
const ColorGetOverlineColor () const
bool IsOverlineColor () const
void SetTextAlign (TextAlign eAlign)
TextAlign GetTextAlign () const
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
css::uno::Reference< css::accessibility::XAccessible > GetAccessible (bool bCreate=true)
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
void SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &)
vcl::WindowGetAccessibleParentWindow () const
sal_uInt16 GetAccessibleChildWindowCount ()
vcl::WindowGetAccessibleChildWindow (sal_uInt16 n)
void SetAccessibleRole (sal_uInt16 nRole)
sal_uInt16 GetAccessibleRole () const
void SetAccessibleName (const OUString &rName)
OUString GetAccessibleName () const
void SetAccessibleDescription (const OUString &rDescr)
OUString GetAccessibleDescription () const
void SetAccessibleRelationLabeledBy (vcl::Window *pLabeledBy)
vcl::WindowGetAccessibleRelationLabeledBy () const
void SetAccessibleRelationLabelFor (vcl::Window *pLabelFor)
vcl::WindowGetAccessibleRelationLabelFor () const
vcl::WindowGetAccessibleRelationMemberOf () const
bool IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true)
void SetAccessibilityEventsSuppressed (bool bSuppressed)
KeyEvent GetActivationKey () const
- Public Member Functions inherited from VclReferenceBase
void acquire () const
void release () const
sal_Int32 getRefCount () const
void disposeOnce ()
bool isDisposed () const

Static Public Member Functions

static sal_uInt32 CreateUniqueParaId ()
- Static Public Member Functions inherited from vcl::Window
static SAL_DLLPRIVATE void ImplInitAppFontData (vcl::Window const *pWindow)
static SAL_DLLPRIVATE void ImplCalcSymbolRect (tools::Rectangle &rRect)
static DockingManagerGetDockingManager ()
static VclPtr< vcl::WindowSaveFocus ()
static void EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin)
static VclPtr< vcl::WindowFindLOKWindow (vcl::LOKWindowId nWindowId)
static bool IsLOKWindowsEmpty ()

Private Member Functions

virtual void LoseFocus () override
virtual void GetFocus () override
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
void SetSizePixel (const Size &rNewSize) override
 DECL_DLLPRIVATE_LINK (ModifyHdl, LinkParamNone *, void)
 DECL_DLLPRIVATE_LINK (ScrollHdl, weld::ScrolledWindow &, void)
 DECL_DLLPRIVATE_LINK (DeleteHdl, void *, void)
 DECL_DLLPRIVATE_LINK (ToggleHdl, weld::Toggleable &, void)
 DECL_DLLPRIVATE_LINK (SelectHdl, const OUString &, void)
 DECL_DLLPRIVATE_LINK (KeyInputHdl, const KeyEvent &, bool)
 DECL_DLLPRIVATE_LINK (MouseMoveHdl, const MouseEvent &, bool)
sal_uInt32 CountFollowing ()
void SetMenuButtonColors ()

Private Attributes

std::unique_ptr< OutlinerViewmpOutlinerView
std::unique_ptr< OutlinermpOutliner
std::unique_ptr< weld::ScrolledWindowmxVScrollbar
std::unique_ptr< sw::sidebarwindows::SidebarTextControlmxSidebarTextControl
std::unique_ptr< weld::CustomWeldmxSidebarTextControlWin
vcl::Font maLabelFont
std::unique_ptr< weld::LabelmxMetadataAuthor
std::unique_ptr< weld::LabelmxMetadataDate
std::unique_ptr< weld::LabelmxMetadataResolved
std::unique_ptr< weld::MenuButtonmxMenuButton
std::unique_ptr< sw::sidebarwindows::AnchorOverlayObjectmpAnchor
std::unique_ptr< sw::sidebarwindows::ShadowOverlayObjectmpShadow
std::unique_ptr< sw::overlay::OverlayRangesmpTextRangeOverlay
Color mColorAnchor
Color mColorDark
Color mColorLight
Color mChangeColor
sw::sidebarwindows::SidebarPosition meSidebarPosition
tools::Rectangle mPosSize
SwRect mAnchorRect
tools::Long mPageBorder
bool mbAnchorRectChanged
bool mbResolvedStateUpdated
std::vector< basegfx::B2DRangemaAnnotationTextRanges
bool mbMouseOver
SwPostItHelper::SwLayoutStatus mLayoutStatus
bool mbReadonly
bool mbIsFollow
const SwFramempAnchorFrame
rtl::Reference< sw::sidebarwindows::SidebarWinAccessiblemxSidebarWinAccessible
std::optional< sal_Int32 > moMetaHeight

Additional Inherited Members

- Protected Member Functions inherited from InterimItemWindow
 InterimItemWindow (vcl::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, bool bAllowCycleFocusOut=true, sal_uInt64 nLOKWindowId=0)
void InitControlBase (weld::Widget *pWidget)
bool ChildKeyInput (const KeyEvent &rKEvt)
virtual void Layout ()
void UnclipVisibleSysObj ()
- Protected Member Functions inherited from Control
 Control (WindowType nType)
virtual void FillLayoutData () const
void AppendLayoutData (const Control &rSubControl) const
void CreateLayoutData () const
bool HasLayoutData () const
bool ImplCallEventListenersAndHandler (VclEventId nEvent, std::function< void()> const &callHandler)
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
tools::Rectangle DrawControlText (OutputDevice &_rTargetDevice, const tools::Rectangle &_rRect, const OUString &_rStr, DrawTextFlags _nStyle, std::vector< tools::Rectangle > *_pVector, OUString *_pDisplayText, const Size *i_pDeviceSize=nullptr) const
tools::Rectangle GetControlTextRect (OutputDevice &_rTargetDevice, const tools::Rectangle &rRect, const OUString &_rStr, DrawTextFlags _nStyle, Size *o_pDeviceSize=nullptr) const
virtual const vcl::FontGetCanonicalFont (const StyleSettings &_rStyle) const
virtual const ColorGetCanonicalTextColor (const StyleSettings &_rStyle) const
void ImplInitSettings ()
virtual void ApplySettings (vcl::RenderContext &rRenderContext) override
virtual bool FocusWindowBelongsToControl (const vcl::Window *pFocusWin) const
- Protected Member Functions inherited from vcl::Window
virtual void dispose () override
SAL_DLLPRIVATE void ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion (const vcl::Region &rRegion)
SAL_DLLPRIVATE void ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags)
SAL_DLLPRIVATE void ImplValidate ()
SAL_DLLPRIVATE void ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
SAL_DLLPRIVATE void ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
SAL_DLLPRIVATE vcl::WindowImplGetBorderWindow () const
virtual void ImplInvalidate (const vcl::Region *pRegion, InvalidateFlags nFlags)
virtual WindowHitTest ImplHitTest (const Point &rFramePos)
SAL_DLLPRIVATE void ImplSetMouseTransparent (bool bTransparent)
SAL_DLLPRIVATE void ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags)
SAL_DLLPRIVATE bool ImplSetClipFlagChildren (bool bSysObjOnlySmaller)
SAL_DLLPRIVATE bool ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false)
SAL_DLLPRIVATE void PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext)
SAL_DLLPRIVATE void PopPaintHelper (PaintHelper const *pHelper)
 Window (WindowType nType)
void SetCompoundControl (bool bCompound)
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
virtual void ImplAdjustNWFSizes ()
virtual void ApplySettings (vcl::RenderContext &rRenderContext)
SAL_DLLPRIVATE float approximate_char_width () const
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationMemberOf () const
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabeledBy () const
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabelFor () const
virtual vcl::WindowgetAccessibleRelationLabelFor () const
virtual sal_uInt16 getDefaultAccessibleRole () const
virtual OUString getDefaultAccessibleName () const
virtual Size GetOptimalSize () const
void InvalidateSizeCache ()
- Protected Member Functions inherited from VclReferenceBase
 VclReferenceBase ()
virtual ~VclReferenceBase ()
virtual void dispose ()
- Protected Attributes inherited from InterimItemWindow
std::unique_ptr< weld::Builderm_xBuilder
VclPtr< vcl::Windowm_xVclContentArea
std::unique_ptr< weld::Containerm_xContainer
- Protected Attributes inherited from Control
std::optional< vcl::ControlLayoutDatamxLayoutData
VclPtr< OutputDevicempReferenceDevice

Detailed Description

Definition at line 59 of file AnnotationWin.hxx.

Constructor & Destructor Documentation

◆ SwAnnotationWin()

sw::annotation::SwAnnotationWin::SwAnnotationWin ( SwEditWin rEditWin,
SwPostItMgr aMgr,
SwSidebarItem rSidebarItem,
SwFormatField aField 

◆ ~SwAnnotationWin()

sw::annotation::SwAnnotationWin::~SwAnnotationWin ( )

Definition at line 133 of file AnnotationWin.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

◆ ActivatePostIt()

void sw::annotation::SwAnnotationWin::ActivatePostIt ( )

◆ Anchor()

::sw::sidebarwindows::AnchorOverlayObject * sw::annotation::SwAnnotationWin::Anchor ( )

Definition at line 111 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::CorrectPositions(), SetPosAndSize(), and SetViewState().

◆ CalcParent()

sal_uInt32 sw::annotation::SwAnnotationWin::CalcParent ( )

◆ ChangeSidebarItem()

void sw::annotation::SwAnnotationWin::ChangeSidebarItem ( SwSidebarItem const &  rSidebarItem)

◆ CheckMetaText()

void sw::annotation::SwAnnotationWin::CheckMetaText ( )

◆ ColorDark()

const Color & sw::annotation::SwAnnotationWin::ColorDark ( )

Definition at line 145 of file AnnotationWin.hxx.

Referenced by sw::sidebarwindows::SidebarTextControl::Paint().

◆ ColorLight()

const Color & sw::annotation::SwAnnotationWin::ColorLight ( )

Definition at line 146 of file AnnotationWin.hxx.

Referenced by sw::sidebarwindows::SidebarTextControl::Paint().

◆ CountFollowing()

sal_uInt32 sw::annotation::SwAnnotationWin::CountFollowing ( )

◆ CreateAccessible()

css::uno::Reference< css::accessibility::XAccessible > sw::annotation::SwAnnotationWin::CreateAccessible ( )

Reimplemented from vcl::Window.

Definition at line 1424 of file AnnotationWin2.cxx.

References SwView::GetWrtShell(), mrSidebarItem, mrView, and mxSidebarWinAccessible.

◆ CreateUniqueParaId()

sal_uInt32 sw::annotation::SwAnnotationWin::CreateUniqueParaId ( )

Definition at line 259 of file AnnotationWin.cxx.

References comphelper::rng::uniform_uint_distribution().

Referenced by GetParaId().

◆ DataChanged()

void sw::annotation::SwAnnotationWin::DataChanged ( const DataChangedEvent rDCEvt)

Reimplemented from vcl::Window.

Definition at line 1224 of file AnnotationWin2.cxx.

References DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), and moMetaHeight.

◆ DeactivatePostIt()

void sw::annotation::SwAnnotationWin::DeactivatePostIt ( )


sw::annotation::SwAnnotationWin::DECL_DLLPRIVATE_LINK ( DeleteHdl  ,
void *  ,


sw::annotation::SwAnnotationWin::DECL_DLLPRIVATE_LINK ( KeyInputHdl  ,
const KeyEvent ,


sw::annotation::SwAnnotationWin::DECL_DLLPRIVATE_LINK ( ModifyHdl  ,
LinkParamNone ,


sw::annotation::SwAnnotationWin::DECL_DLLPRIVATE_LINK ( MouseMoveHdl  ,
const MouseEvent ,


sw::annotation::SwAnnotationWin::DECL_DLLPRIVATE_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,


sw::annotation::SwAnnotationWin::DECL_DLLPRIVATE_LINK ( SelectHdl  ,
const OUString &  ,


sw::annotation::SwAnnotationWin::DECL_DLLPRIVATE_LINK ( ToggleHdl  ,
weld::Toggleable ,

◆ Delete()

void sw::annotation::SwAnnotationWin::Delete ( )

◆ DeleteThread()

void sw::annotation::SwAnnotationWin::DeleteThread ( )

◆ dispose()

void sw::annotation::SwAnnotationWin::dispose ( void  )

◆ DoResize()

void sw::annotation::SwAnnotationWin::DoResize ( )

◆ DrawForPage()

void sw::annotation::SwAnnotationWin::DrawForPage ( OutputDevice pDev,
const Point rPos 

◆ EditWin()

SwEditWin & sw::annotation::SwAnnotationWin::EditWin ( )

Definition at line 1110 of file AnnotationWin2.cxx.

References SwView::GetEditWin(), and mrView.

Referenced by IsHitWindow(), SetPosAndSize(), and SetSizePixel().

◆ ExecuteCommand()

void sw::annotation::SwAnnotationWin::ExecuteCommand ( sal_uInt16  nSlot)

◆ GetAnchorPos()

Point const & sw::annotation::SwAnnotationWin::GetAnchorPos ( )

◆ GetAnchorRect()

const SwRect & sw::annotation::SwAnnotationWin::GetAnchorRect ( ) const

Definition at line 100 of file AnnotationWin.hxx.

Referenced by SwXTextDocument::getPostIts().

◆ GetAnnotationTextRanges()

const std::vector< basegfx::B2DRange > & sw::annotation::SwAnnotationWin::GetAnnotationTextRanges ( ) const

Definition at line 103 of file AnnotationWin.hxx.

Referenced by SwXTextDocument::getPostIts().

◆ GetAuthor()

OUString sw::annotation::SwAnnotationWin::GetAuthor ( ) const

◆ GetChangeColor()

const Color & sw::annotation::SwAnnotationWin::GetChangeColor ( ) const

◆ GetDate()

Date sw::annotation::SwAnnotationWin::GetDate ( ) const

Definition at line 483 of file AnnotationWin.cxx.

References SwPostItField::GetDate(), and mpField.

Referenced by CheckMetaText(), and InitAnswer().

◆ GetFocus()

void sw::annotation::SwAnnotationWin::GetFocus ( )

Reimplemented from InterimItemWindow.

Definition at line 917 of file AnnotationWin2.cxx.

References mxSidebarTextControl.

◆ GetLayoutStatus()

SwPostItHelper::SwLayoutStatus sw::annotation::SwAnnotationWin::GetLayoutStatus ( ) const

◆ GetMetaHeight()

sal_Int32 sw::annotation::SwAnnotationWin::GetMetaHeight ( ) const

◆ GetMinimumSizeWithMeta()

sal_Int32 sw::annotation::SwAnnotationWin::GetMinimumSizeWithMeta ( ) const

Definition at line 1237 of file AnnotationWin2.cxx.

References SwPostItMgr::GetMinimumSizeWithMeta(), and mrMgr.

◆ GetMinimumSizeWithoutMeta()

sal_Int32 sw::annotation::SwAnnotationWin::GetMinimumSizeWithoutMeta ( ) const

Definition at line 1242 of file AnnotationWin2.cxx.

References SwView::GetWrtShellPtr(), mrView, and POSTIT_MINIMUMSIZE_WITHOUT_META.

Referenced by ResizeIfNecessary().

◆ GetNumFields()

sal_Int32 sw::annotation::SwAnnotationWin::GetNumFields ( ) const

Definition at line 1232 of file AnnotationWin2.cxx.

References IsResolved().

Referenced by GetMetaHeight().

◆ GetOutliner()

Outliner * sw::annotation::SwAnnotationWin::GetOutliner ( )

Definition at line 108 of file AnnotationWin.hxx.

◆ GetOutlinerView()

OutlinerView * sw::annotation::SwAnnotationWin::GetOutlinerView ( )

◆ GetParaId()

sal_uInt32 sw::annotation::SwAnnotationWin::GetParaId ( )

◆ GetPostItField()

const SwPostItField * sw::annotation::SwAnnotationWin::GetPostItField ( ) const

Definition at line 73 of file AnnotationWin.hxx.

Referenced by SwXTextDocument::getPostIts().

◆ GetPostItTextHeight()

tools::Long sw::annotation::SwAnnotationWin::GetPostItTextHeight ( )

◆ GetPrefScrollbarWidth()

int sw::annotation::SwAnnotationWin::GetPrefScrollbarWidth ( ) const

Definition at line 1198 of file AnnotationWin2.cxx.

References Application::GetSettings(), SwView::GetWrtShellPtr(), and mrView.

Referenced by Rescale().

◆ GetSidebarItem()

SwSidebarItem & sw::annotation::SwAnnotationWin::GetSidebarItem ( )

Definition at line 105 of file AnnotationWin.hxx.

◆ GetTime()

tools::Time sw::annotation::SwAnnotationWin::GetTime ( ) const

Definition at line 488 of file AnnotationWin.cxx.

References SwPostItField::GetTime(), and mpField.

Referenced by CheckMetaText(), and InitAnswer().

◆ GetTopReplyNote()

SwAnnotationWin * sw::annotation::SwAnnotationWin::GetTopReplyNote ( )

Find the first annotation for the thread which this annotation is in.

This may be the same annotation as this one.

Definition at line 1351 of file AnnotationWin2.cxx.

References SwPostItMgr::GetNextPostIt(), KEY_PAGEUP, and mrMgr.

Referenced by DeleteThread(), ExecuteCommand(), IsThreadResolved(), SetPosAndSize(), SetViewState(), and ToggleResolvedForThread().

◆ GetUITestFactory()

FactoryFunction sw::annotation::SwAnnotationWin::GetUITestFactory ( ) const

Reimplemented from vcl::Window.

Definition at line 493 of file AnnotationWin.cxx.

References CommentUIObject::create().

◆ GotoPos()

void sw::annotation::SwAnnotationWin::GotoPos ( )

◆ HasScrollbar()

bool sw::annotation::SwAnnotationWin::HasScrollbar ( ) const

Definition at line 1388 of file AnnotationWin2.cxx.

References mxVScrollbar.

Referenced by IsScrollbarVisible().

◆ HideNote()

void sw::annotation::SwAnnotationWin::HideNote ( )

◆ InitAnswer()

void sw::annotation::SwAnnotationWin::InitAnswer ( OutlinerParaObject const &  rText)

◆ InitControls()

void sw::annotation::SwAnnotationWin::InitControls ( )

◆ IsAnchorRectChanged()

bool sw::annotation::SwAnnotationWin::IsAnchorRectChanged ( ) const

Definition at line 101 of file AnnotationWin.hxx.

◆ IsFollow()

bool sw::annotation::SwAnnotationWin::IsFollow ( ) const

Definition at line 151 of file AnnotationWin.hxx.

Referenced by SetPosAndSize(), and SetViewState().

◆ IsHitWindow()

bool sw::annotation::SwAnnotationWin::IsHitWindow ( const Point rPointLogic)

Is there a matching sub-widget inside this sidebar widget for rPointLogic?

Definition at line 148 of file AnnotationWin2.cxx.

References tools::Rectangle::Contains(), EditWin(), vcl::Window::GetPosPixel(), vcl::Window::GetSizePixel(), and vcl::Window::PixelToLogic().

Referenced by SwPostItMgr::IsHitSidebarWindow().

◆ IsMouseOverSidebarWin()

bool sw::annotation::SwAnnotationWin::IsMouseOverSidebarWin ( ) const

Definition at line 172 of file AnnotationWin.hxx.

Referenced by sw::sidebarwindows::SidebarTextControl::Paint().

◆ IsReadOnly()

bool sw::annotation::SwAnnotationWin::IsReadOnly ( ) const

Definition at line 139 of file AnnotationWin.hxx.

◆ IsReadOnlyOrProtected()

bool sw::annotation::SwAnnotationWin::IsReadOnlyOrProtected ( ) const

◆ IsResolved()

bool sw::annotation::SwAnnotationWin::IsResolved ( ) const

◆ IsScrollbarVisible()

bool sw::annotation::SwAnnotationWin::IsScrollbarVisible ( ) const

Definition at line 1393 of file AnnotationWin2.cxx.

References HasScrollbar(), and mxVScrollbar.

Referenced by sw::sidebarwindows::SidebarTextControl::Command().

◆ IsThreadResolved()

bool sw::annotation::SwAnnotationWin::IsThreadResolved ( )

First Get the top note

Definition at line 283 of file AnnotationWin.cxx.

References SwPostItMgr::GetNextPostIt(), GetTopReplyNote(), KEY_PAGEDOWN, and mrMgr.

Referenced by ExecuteCommand(), and SwAnnotationShell::GetNoteState().

◆ LockView()

void sw::annotation::SwAnnotationWin::LockView ( bool  bLock)

◆ LoseFocus()

void sw::annotation::SwAnnotationWin::LoseFocus ( )

Reimplemented from vcl::Window.

Definition at line 923 of file AnnotationWin2.cxx.

◆ MoveCaret()

sal_uInt32 sw::annotation::SwAnnotationWin::MoveCaret ( )

Definition at line 360 of file AnnotationWin.cxx.

References CountFollowing(), SwPostItMgr::IsAnswer(), and mrMgr.

Referenced by SwitchToFieldPos().

◆ PaintTile()

void sw::annotation::SwAnnotationWin::PaintTile ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 

◆ Rescale()

void sw::annotation::SwAnnotationWin::Rescale ( )

◆ ResetAnchorRectChanged()

void sw::annotation::SwAnnotationWin::ResetAnchorRectChanged ( )

Definition at line 102 of file AnnotationWin.hxx.

◆ ResetAttributes()

void sw::annotation::SwAnnotationWin::ResetAttributes ( )

Definition at line 1192 of file AnnotationWin2.cxx.

References mpOutliner, and mpOutlinerView.

Referenced by SwAnnotationShell::Exec().

◆ ResizeIfNecessary()

void sw::annotation::SwAnnotationWin::ResizeIfNecessary ( tools::Long  aOldHeight,
tools::Long  aNewHeight 

◆ SetActiveSidebarWin()

bool sw::annotation::SwAnnotationWin::SetActiveSidebarWin ( )

◆ SetChangeTracking()

void sw::annotation::SwAnnotationWin::SetChangeTracking ( const SwPostItHelper::SwLayoutStatus  aStatus,
const Color aColor 

Definition at line 1376 of file AnnotationWin2.cxx.

References vcl::Window::Invalidate(), mChangeColor, and mLayoutStatus.

◆ SetColor()

void sw::annotation::SwAnnotationWin::SetColor ( Color  aColorDark,
Color  aColorLight,
Color  aColorAnchor 

◆ SetCursorLogicPosition()

void sw::annotation::SwAnnotationWin::SetCursorLogicPosition ( const Point rPosition,
bool  bPoint,
bool  bClearMark 

Allows adjusting the point or mark of the selection to a document coordinate.

Definition at line 154 of file AnnotationWin2.cxx.

References mxSidebarTextControl.

◆ SetFollow()

void sw::annotation::SwAnnotationWin::SetFollow ( bool  bIsFollow)

Definition at line 152 of file AnnotationWin.hxx.

◆ SetMenuButtonColors()

void sw::annotation::SwAnnotationWin::SetMenuButtonColors ( )

◆ SetPosAndSize()

void sw::annotation::SwAnnotationWin::SetPosAndSize ( )

Definition at line 543 of file AnnotationWin2.cxx.

References abs(), Anchor(), SwPosition::Assign(), tools::Rectangle::Bottom(), SwRect::Bottom(), sw::overlay::OverlayRanges::CreateOverlayRange(), DoResize(), EditWin(), vcl::Window::EnableMapMode(), SwNode::FindTableBoxStartNode(), SwNode::GetDoc(), SwSidebarItem::GetFormatField(), Size::getHeight(), SwPaM::GetMark(), SwDoc::GetNodes(), vcl::Window::GetPosPixel(), SwTextField::GetpTextNode(), tools::Rectangle::GetSize(), vcl::Window::GetSizePixel(), SwTextAttr::GetStart(), SwFormatField::GetTextField(), GetTopReplyNote(), Size::getWidth(), SwView::GetWrtShell(), Point::getX(), Point::getY(), vcl::Window::HasChildPathFocus(), Height, comphelper::LibreOfficeKit::isActive(), IsFollow(), vcl::Window::IsMapModeEnabled(), tools::Rectangle::Left(), sw::sidebarwindows::LEFT, SwRect::Left(), maAnnotationTextRanges, SwSidebarItem::maLayoutInfo, mAnchorRect, mColorAnchor, meSidebarPosition, SwLayoutInfo::mnStartContent, SwLayoutInfo::mnStartNodeIdx, Point::Move(), mPageBorder, mpAnchor, SwLayoutInfo::mPositionFromCommentAnchor, mPosSize, mpShadow, mpTextRangeOverlay, mrMgr, mrSidebarItem, mrView, SwTableCursor::NewTableSelection(), vcl::Window::PixelToLogic(), tools::Rectangle::Right(), sw::sidebarwindows::RIGHT, sw::sidebarwindows::AnchorOverlayObject::SetAnchorState(), SwShellCursor::SetMark(), SwShellTableCursor::SetMark(), vcl::Window::SetPosPixel(), SetSizePixel(), SwPostItMgr::ShowNotes(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), Width, X, Point::X(), Y, and Point::Y().

Referenced by ShowAnchorOnly(), and ShowNote().

◆ SetPosSizePixelRect()

void sw::annotation::SwAnnotationWin::SetPosSizePixelRect ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
const SwRect aAnchorRect,
const tools::Long  PageBorder 

◆ SetPostItText()

void sw::annotation::SwAnnotationWin::SetPostItText ( )

◆ SetReadonly()

void sw::annotation::SwAnnotationWin::SetReadonly ( bool  bSet)

Definition at line 911 of file AnnotationWin2.cxx.

References GetOutlinerView(), mbReadonly, and OutlinerView::SetReadOnly().

◆ SetResolved()

void sw::annotation::SwAnnotationWin::SetResolved ( bool  resolved)

◆ SetScrollbar()

void sw::annotation::SwAnnotationWin::SetScrollbar ( )

◆ SetSidebarPosition()

void sw::annotation::SwAnnotationWin::SetSidebarPosition ( sw::sidebarwindows::SidebarPosition  eSidebarPosition)

Definition at line 906 of file AnnotationWin2.cxx.

References meSidebarPosition.

◆ SetSize()

void sw::annotation::SwAnnotationWin::SetSize ( const Size rNewSize)

Definition at line 266 of file AnnotationWin2.cxx.

References mPosSize, and tools::Rectangle::SetSize().

◆ SetSizePixel()

void sw::annotation::SwAnnotationWin::SetSizePixel ( const Size rNewSize)

◆ SetSpellChecking()

void sw::annotation::SwAnnotationWin::SetSpellChecking ( )

◆ SetViewState()

void sw::annotation::SwAnnotationWin::SetViewState ( ::sw::sidebarwindows::ViewState  bViewState)

◆ SetVirtualPosSize()

void sw::annotation::SwAnnotationWin::SetVirtualPosSize ( const Point aPoint,
const Size aSize 

Definition at line 271 of file AnnotationWin2.cxx.

References mPosSize.

Referenced by SwPostItMgr::Scroll().

◆ Shadow()

::sw::sidebarwindows::ShadowOverlayObject * sw::annotation::SwAnnotationWin::Shadow ( )

Definition at line 112 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::SetShadowState().

◆ ShowAnchorOnly()

void sw::annotation::SwAnnotationWin::ShowAnchorOnly ( const Point aPoint)

Definition at line 281 of file AnnotationWin2.cxx.

References HideNote(), mpAnchor, mpShadow, SetPosAndSize(), Point::X(), and Point::Y().

Referenced by SwPostItMgr::Scroll().

◆ ShowNote()

void sw::annotation::SwAnnotationWin::ShowNote ( )

◆ SwitchToFieldPos()

void sw::annotation::SwAnnotationWin::SwitchToFieldPos ( )

◆ SwitchToPostIt()

void sw::annotation::SwAnnotationWin::SwitchToPostIt ( sal_uInt16  aDirection)

◆ TextRange()

::sw::overlay::OverlayRanges * sw::annotation::SwAnnotationWin::TextRange ( )

Definition at line 113 of file AnnotationWin.hxx.

Referenced by SetViewState().

◆ ToggleInsMode()

void sw::annotation::SwAnnotationWin::ToggleInsMode ( )

◆ ToggleResolved()

void sw::annotation::SwAnnotationWin::ToggleResolved ( )

Definition at line 231 of file AnnotationWin.cxx.

References IsResolved(), and SetResolved().

Referenced by ExecuteCommand(), and SwPostItMgr::ToggleResolved().

◆ ToggleResolvedForThread()

void sw::annotation::SwAnnotationWin::ToggleResolvedForThread ( )

◆ TranslateTopPosition()

void sw::annotation::SwAnnotationWin::TranslateTopPosition ( const tools::Long  aAmount)

Definition at line 276 of file AnnotationWin2.cxx.

References tools::Rectangle::Move(), and mPosSize.

Referenced by SwPostItMgr::Scroll().

◆ UnsetActiveSidebarWin()

void sw::annotation::SwAnnotationWin::UnsetActiveSidebarWin ( )

◆ UpdateData()

void sw::annotation::SwAnnotationWin::UpdateData ( )

◆ UpdateText()

void sw::annotation::SwAnnotationWin::UpdateText ( const OUString &  aText)

◆ VirtualPos()

Point sw::annotation::SwAnnotationWin::VirtualPos ( )

Definition at line 128 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::Scroll().

◆ VirtualSize()

Size sw::annotation::SwAnnotationWin::VirtualSize ( )

Definition at line 129 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::Scroll().

Member Data Documentation

◆ maAnnotationTextRanges

std::vector<basegfx::B2DRange> sw::annotation::SwAnnotationWin::maAnnotationTextRanges

Definition at line 265 of file AnnotationWin.hxx.

Referenced by SetPosAndSize().

◆ maLabelFont

vcl::Font sw::annotation::SwAnnotationWin::maLabelFont

Definition at line 241 of file AnnotationWin.hxx.

Referenced by DrawForPage(), InitControls(), and Rescale().

◆ mAnchorRect

SwRect sw::annotation::SwAnnotationWin::mAnchorRect

Definition at line 259 of file AnnotationWin.hxx.

Referenced by SetPosAndSize(), and SetPosSizePixelRect().

◆ mbAnchorRectChanged

bool sw::annotation::SwAnnotationWin::mbAnchorRectChanged

Definition at line 261 of file AnnotationWin.hxx.

Referenced by SetPosSizePixelRect().

◆ mbIsFollow

bool sw::annotation::SwAnnotationWin::mbIsFollow

Definition at line 271 of file AnnotationWin.hxx.

◆ mbMouseOver

bool sw::annotation::SwAnnotationWin::mbMouseOver

Definition at line 267 of file AnnotationWin.hxx.

◆ mbReadonly

bool sw::annotation::SwAnnotationWin::mbReadonly

Definition at line 270 of file AnnotationWin.hxx.

Referenced by IsReadOnlyOrProtected(), and SetReadonly().

◆ mbResolvedStateUpdated

bool sw::annotation::SwAnnotationWin::mbResolvedStateUpdated

Definition at line 263 of file AnnotationWin.hxx.

Referenced by SetResolved(), and UpdateData().

◆ mChangeColor

Color sw::annotation::SwAnnotationWin::mChangeColor

Definition at line 254 of file AnnotationWin.hxx.

Referenced by SetChangeTracking().

◆ mColorAnchor

Color sw::annotation::SwAnnotationWin::mColorAnchor

Definition at line 251 of file AnnotationWin.hxx.

Referenced by DrawForPage(), SetColor(), SetMenuButtonColors(), and SetPosAndSize().

◆ mColorDark

Color sw::annotation::SwAnnotationWin::mColorDark

◆ mColorLight

Color sw::annotation::SwAnnotationWin::mColorLight

Definition at line 253 of file AnnotationWin.hxx.

Referenced by SetColor().

◆ meSidebarPosition

sw::sidebarwindows::SidebarPosition sw::annotation::SwAnnotationWin::meSidebarPosition

Definition at line 256 of file AnnotationWin.hxx.

Referenced by SetPosAndSize(), and SetSidebarPosition().

◆ mLayoutStatus

SwPostItHelper::SwLayoutStatus sw::annotation::SwAnnotationWin::mLayoutStatus

Definition at line 268 of file AnnotationWin.hxx.

Referenced by SetChangeTracking().

◆ mnDeleteEventId

ImplSVEvent* sw::annotation::SwAnnotationWin::mnDeleteEventId

Definition at line 233 of file AnnotationWin.hxx.

Referenced by DeactivatePostIt(), Delete(), DeleteThread(), dispose(), and ExecuteCommand().

◆ moMetaHeight

std::optional<sal_Int32> sw::annotation::SwAnnotationWin::moMetaHeight

Definition at line 280 of file AnnotationWin.hxx.

Referenced by DataChanged(), and GetMetaHeight().

◆ mPageBorder

tools::Long sw::annotation::SwAnnotationWin::mPageBorder

Definition at line 260 of file AnnotationWin.hxx.

Referenced by SetPosAndSize(), and SetPosSizePixelRect().

◆ mpAnchor

std::unique_ptr<sw::sidebarwindows::AnchorOverlayObject> sw::annotation::SwAnnotationWin::mpAnchor

◆ mpAnchorFrame

const SwFrame* sw::annotation::SwAnnotationWin::mpAnchorFrame

Definition at line 274 of file AnnotationWin.hxx.

Referenced by ChangeSidebarItem().

◆ mpField

SwPostItField* sw::annotation::SwAnnotationWin::mpField

◆ mpFormatField

SwFormatField* sw::annotation::SwAnnotationWin::mpFormatField

◆ mPosSize

tools::Rectangle sw::annotation::SwAnnotationWin::mPosSize

◆ mpOutliner

std::unique_ptr<Outliner> sw::annotation::SwAnnotationWin::mpOutliner

◆ mpOutlinerView

std::unique_ptr<OutlinerView> sw::annotation::SwAnnotationWin::mpOutlinerView

◆ mpShadow

std::unique_ptr<sw::sidebarwindows::ShadowOverlayObject> sw::annotation::SwAnnotationWin::mpShadow

◆ mpTextRangeOverlay

std::unique_ptr<sw::overlay::OverlayRanges> sw::annotation::SwAnnotationWin::mpTextRangeOverlay

◆ mrMgr

SwPostItMgr& sw::annotation::SwAnnotationWin::mrMgr

◆ mrSidebarItem

SwSidebarItem& sw::annotation::SwAnnotationWin::mrSidebarItem

◆ mrView

SwView& sw::annotation::SwAnnotationWin::mrView

◆ mxMenuButton

std::unique_ptr<weld::MenuButton> sw::annotation::SwAnnotationWin::mxMenuButton

Definition at line 245 of file AnnotationWin.hxx.

Referenced by dispose(), DrawForPage(), InitControls(), PaintTile(), and SetMenuButtonColors().

◆ mxMetadataAuthor

std::unique_ptr<weld::Label> sw::annotation::SwAnnotationWin::mxMetadataAuthor

◆ mxMetadataDate

std::unique_ptr<weld::Label> sw::annotation::SwAnnotationWin::mxMetadataDate

◆ mxMetadataResolved

std::unique_ptr<weld::Label> sw::annotation::SwAnnotationWin::mxMetadataResolved

◆ mxSidebarTextControl

std::unique_ptr<sw::sidebarwindows::SidebarTextControl> sw::annotation::SwAnnotationWin::mxSidebarTextControl

◆ mxSidebarTextControlWin

std::unique_ptr<weld::CustomWeld> sw::annotation::SwAnnotationWin::mxSidebarTextControlWin

Definition at line 240 of file AnnotationWin.hxx.

Referenced by dispose(), and InitControls().

◆ mxSidebarWinAccessible

rtl::Reference<sw::sidebarwindows::SidebarWinAccessible> sw::annotation::SwAnnotationWin::mxSidebarWinAccessible

Definition at line 279 of file AnnotationWin.hxx.

Referenced by ChangeSidebarItem(), and CreateAccessible().

◆ mxVScrollbar

std::unique_ptr<weld::ScrolledWindow> sw::annotation::SwAnnotationWin::mxVScrollbar

The documentation for this class was generated from the following files: