LibreOffice Module sw (master)  1
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 IsProtected () 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 SetLanguage (const SvxLanguageItem &rNewItem)
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 ()
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 Resize () override
virtual Size GetOptimalSize () const override
void InvalidateChildSizeCache ()
virtual void StateChanged (StateChangedType nStateChange) override
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) 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 EnableRTL (bool bEnable=true) override
virtual bool EventNotify (NotifyEvent &rNEvt) 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
void SetReferenceDevice (OutputDevice *_referenceDevice)
OutputDeviceGetReferenceDevice () const
vcl::Font GetUnzoomedControlPointFont () const
void SetShowAccelerator (bool val)
void LogicMouseButtonDown (const MouseEvent &rMouseEvent) override
void LogicMouseButtonUp (const MouseEvent &rMouseEvent) override
void LogicMouseMove (const MouseEvent &rMouseEvent) 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 Point ImplFrameToOutput (const Point &rPos)
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 Activate ()
virtual void Deactivate ()
virtual void RequestHelp (const HelpEvent &rHEvt)
virtual void Command (const CommandEvent &rCEvt)
virtual void Tracking (const TrackingEvent &rTEvt)
virtual void DataChanged (const DataChangedEvent &rDCEvt)
virtual bool PreNotify (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 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 *pRelativeWindow) 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)
virtual void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
virtual void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
virtual 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 CaptureMouse ()
void ReleaseMouse ()
bool IsMouseCaptured () const
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 OUString GetText () 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 OString &)
const OString & 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, ScrollBar *pHScrl, ScrollBar *pVScrl)
virtual const SystemEnvDataGetSystemData () const
virtual css::uno::Reference< css::awt::XWindowPeer > GetComponentInterface (bool bCreate=true)
void SetComponentInterface (css::uno::Reference< css::awt::XWindowPeer > const &xIFace)
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
const vcl::ILibreOfficeKitNotifier * GetLOKNotifier () 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::XWindowPeer > 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)
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 OString &rKey, const OUString &rValue)
bool set_font_attribute (const OString &rKey, const OUString &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 bool IsChart () 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)
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)
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
void SetAccessibleRelationMemberOf (vcl::Window *pMemberOf)
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

Private Member Functions

virtual void LoseFocus () override
virtual void GetFocus () override
void SetSizePixel (const Size &rNewSize) override
SfxItemSet DefaultItem ()
 DECL_LINK (ModifyHdl, LinkParamNone *, void)
 DECL_LINK (ScrollHdl, weld::ScrolledWindow &, void)
 DECL_LINK (DeleteHdl, void *, void)
 DECL_LINK (ToggleHdl, weld::Toggleable &, void)
 DECL_LINK (SelectHdl, const OString &, void)
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 DECL_LINK (MouseMoveHdl, const MouseEvent &, bool)
sal_uInt32 CountFollowing ()
SvxLanguageItem GetLanguage () const
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

Additional Inherited Members

- 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 ()
static OUString GetNonMnemonicString (const OUString &rStr)
- Protected Member Functions inherited from InterimItemWindow
 InterimItemWindow (vcl::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, bool bAllowCycleFocusOut=true, sal_uInt64 nLOKWindowId=0)
void InitControlBase (weld::Widget *pWidget)
bool ChildKeyInput (const KeyEvent &rKEvt)
virtual void Layout ()
- 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
- Protected Member Functions inherited from vcl::Window
SAL_DLLPRIVATE void ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
SAL_DLLPRIVATE Point ImplOutputToFrame (const Point &rPos)
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion (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
SAL_DLLPRIVATE void ImplInvalidate (const vcl::Region *rRegion, 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 ()
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
void InvalidateSizeCache ()
- Protected Member Functions inherited from VclReferenceBase
 VclReferenceBase ()
virtual ~VclReferenceBase ()
- 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

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

Definition at line 128 of file AnnotationWin.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

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

Definition at line 111 of file AnnotationWin.hxx.

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

sal_uInt32 sw::annotation::SwAnnotationWin::CalcParent ( )
void sw::annotation::SwAnnotationWin::ChangeSidebarItem ( SwSidebarItem const &  rSidebarItem)
void sw::annotation::SwAnnotationWin::CheckMetaText ( )
const Color& sw::annotation::SwAnnotationWin::ColorDark ( )

Definition at line 145 of file AnnotationWin.hxx.

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

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

Definition at line 146 of file AnnotationWin.hxx.

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

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

Reimplemented from vcl::Window.

Definition at line 1413 of file AnnotationWin2.cxx.

References mrView.

void sw::annotation::SwAnnotationWin::DeactivatePostIt ( )
sw::annotation::SwAnnotationWin::DECL_LINK ( ModifyHdl  ,
LinkParamNone ,
sw::annotation::SwAnnotationWin::DECL_LINK ( ScrollHdl  ,
weld::ScrolledWindow ,
sw::annotation::SwAnnotationWin::DECL_LINK ( DeleteHdl  ,
void ,
sw::annotation::SwAnnotationWin::DECL_LINK ( ToggleHdl  ,
weld::Toggleable ,
sw::annotation::SwAnnotationWin::DECL_LINK ( SelectHdl  ,
const OString &  ,
sw::annotation::SwAnnotationWin::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
sw::annotation::SwAnnotationWin::DECL_LINK ( MouseMoveHdl  ,
const MouseEvent ,
SfxItemSet sw::annotation::SwAnnotationWin::DefaultItem ( )

Definition at line 276 of file AnnotationWin2.cxx.

References EE_CHAR_FONTHEIGHT(), mrView, and SfxItemSet::Put().

Referenced by InitAnswer(), and SetPostItText().

void sw::annotation::SwAnnotationWin::Delete ( )
void sw::annotation::SwAnnotationWin::DeleteThread ( )
void sw::annotation::SwAnnotationWin::dispose ( void  )
void sw::annotation::SwAnnotationWin::DoResize ( )

Definition at line 737 of file AnnotationWin2.cxx.

References tools::Rectangle::GetHeight(), and Height.

void sw::annotation::SwAnnotationWin::DrawForPage ( OutputDevice pDev,
const Point &  rPos 
SwEditWin & sw::annotation::SwAnnotationWin::EditWin ( )

Definition at line 1130 of file AnnotationWin2.cxx.

References mrView.

void sw::annotation::SwAnnotationWin::ExecuteCommand ( sal_uInt16  nSlot)
Point const& sw::annotation::SwAnnotationWin::GetAnchorPos ( )

Definition at line 99 of file AnnotationWin.hxx.

References Point.

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

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

Definition at line 100 of file AnnotationWin.hxx.

Referenced by SwXTextDocument::getPostIts().

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

Definition at line 103 of file AnnotationWin.hxx.

Referenced by SwXTextDocument::getPostIts().

OUString sw::annotation::SwAnnotationWin::GetAuthor ( ) const
const Color& sw::annotation::SwAnnotationWin::GetChangeColor ( ) const
Date sw::annotation::SwAnnotationWin::GetDate ( ) const

Definition at line 492 of file AnnotationWin.cxx.

References SwPostItField::GetDate(), and mpField.

Referenced by InitAnswer().

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

Reimplemented from InterimItemWindow.

Definition at line 945 of file AnnotationWin2.cxx.

SvxLanguageItem sw::annotation::SwAnnotationWin::GetLanguage ( ) const
SwPostItHelper::SwLayoutStatus sw::annotation::SwAnnotationWin::GetLayoutStatus ( ) const
sal_Int32 sw::annotation::SwAnnotationWin::GetMetaHeight ( ) const

Definition at line 1225 of file AnnotationWin2.cxx.

References f, mrView, and POSTIT_META_FIELD_HEIGHT.

Referenced by SwPostItMgr::LayoutPostIts().

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

Definition at line 1237 of file AnnotationWin2.cxx.

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

Definition at line 1242 of file AnnotationWin2.cxx.


Referenced by SwPostItMgr::LayoutPostIts().

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

Definition at line 1232 of file AnnotationWin2.cxx.

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

Definition at line 108 of file AnnotationWin.hxx.

Referenced by CommentUIObject::execute(), and CommentUIObject::get_state().

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

Definition at line 73 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::Delete(), and SwXTextDocument::getPostIts().

tools::Long sw::annotation::SwAnnotationWin::GetPostItTextHeight ( )
int sw::annotation::SwAnnotationWin::GetPrefScrollbarWidth ( ) const

Definition at line 1219 of file AnnotationWin2.cxx.

References f, Application::GetSettings(), and mrView.

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

Definition at line 105 of file AnnotationWin.hxx.

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

Definition at line 497 of file AnnotationWin.cxx.

References SwPostItField::GetTime(), and mpField.

Referenced by InitAnswer().

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 1345 of file AnnotationWin2.cxx.

References IsFollow(), and KEY_PAGEUP.

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

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

Reimplemented from vcl::Window.

Definition at line 502 of file AnnotationWin.cxx.

References CommentUIObject::create().

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

Definition at line 1381 of file AnnotationWin2.cxx.

void sw::annotation::SwAnnotationWin::HideNote ( )
void sw::annotation::SwAnnotationWin::InitAnswer ( OutlinerParaObject const &  rText)
void sw::annotation::SwAnnotationWin::InitControls ( )
bool sw::annotation::SwAnnotationWin::IsAnchorRectChanged ( ) const

Definition at line 101 of file AnnotationWin.hxx.

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

Definition at line 151 of file AnnotationWin.hxx.

Referenced by GetTopReplyNote(), and SwPostItMgr::LayoutPostIts().

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

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

Definition at line 143 of file AnnotationWin2.cxx.

References tools::Rectangle::IsInside().

Referenced by SwPostItMgr::IsHitSidebarWindow().

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

Definition at line 172 of file AnnotationWin.hxx.

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

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

Definition at line 139 of file AnnotationWin.hxx.

Referenced by CommentUIObject::get_state().

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

First Get the top note

Definition at line 255 of file AnnotationWin.cxx.

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

Referenced by SwAnnotationShell::GetNoteState().

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

Definition at line 1190 of file AnnotationWin2.cxx.

References mrView.

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

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

Reimplemented from vcl::Window.

Definition at line 951 of file AnnotationWin2.cxx.

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

Definition at line 338 of file AnnotationWin.cxx.

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

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

Definition at line 102 of file AnnotationWin.hxx.

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

Definition at line 1212 of file AnnotationWin2.cxx.

Referenced by SwAnnotationShell::Exec().

void sw::annotation::SwAnnotationWin::ResizeIfNecessary ( tools::Long  aOldHeight,
tools::Long  aNewHeight 
bool sw::annotation::SwAnnotationWin::SetActiveSidebarWin ( )
void sw::annotation::SwAnnotationWin::SetChangeTracking ( const SwPostItHelper::SwLayoutStatus  aStatus,
const Color aColor 

Definition at line 1369 of file AnnotationWin2.cxx.

Referenced by SwPostItMgr::LayoutPostIts().

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

Definition at line 853 of file AnnotationWin2.cxx.

References Application::GetSettings(), and m_xContainer.

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 149 of file AnnotationWin2.cxx.

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

Definition at line 152 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::LayoutPostIts().

void sw::annotation::SwAnnotationWin::SetLanguage ( const SvxLanguageItem rNewItem)
void sw::annotation::SwAnnotationWin::SetMenuButtonColors ( )
void sw::annotation::SwAnnotationWin::SetPosAndSize ( )
void sw::annotation::SwAnnotationWin::SetPosSizePixelRect ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
const SwRect aAnchorRect,
const tools::Long  PageBorder 

Definition at line 236 of file AnnotationWin2.cxx.

References Point.

Referenced by SwPostItMgr::LayoutPostIts().

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

Definition at line 881 of file AnnotationWin2.cxx.

Referenced by SwPostItMgr::LayoutPostIts().

void sw::annotation::SwAnnotationWin::SetResolved ( bool  resolved)
void sw::annotation::SwAnnotationWin::SetScrollbar ( )
void sw::annotation::SwAnnotationWin::SetSidebarPosition ( sw::sidebarwindows::SidebarPosition  eSidebarPosition)

Definition at line 876 of file AnnotationWin2.cxx.

Referenced by SwPostItMgr::LayoutPostIts().

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

Definition at line 246 of file AnnotationWin2.cxx.

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

Reimplemented from vcl::Window.

Definition at line 798 of file AnnotationWin2.cxx.

References Height, Point, vcl::Window::SetSizePixel(), and Width.

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

Definition at line 1248 of file AnnotationWin2.cxx.

References SwViewOption::IsOnlineSpell(), and mrView.

void sw::annotation::SwAnnotationWin::SetViewState ( ::sw::sidebarwindows::ViewState  bViewState)
void sw::annotation::SwAnnotationWin::SetVirtualPosSize ( const Point &  aPoint,
const Size aSize 

Definition at line 251 of file AnnotationWin2.cxx.

Referenced by SwPostItMgr::Scroll().

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

Definition at line 112 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::SetShadowState().

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

Definition at line 261 of file AnnotationWin2.cxx.

References sw::sidebarwindows::All.

Referenced by SwPostItMgr::Scroll().

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

Definition at line 955 of file AnnotationWin2.cxx.

Referenced by CommentUIObject::execute(), and SwPostItMgr::Scroll().

void sw::annotation::SwAnnotationWin::SwitchToFieldPos ( )
void sw::annotation::SwAnnotationWin::SwitchToPostIt ( sal_uInt16  aDirection)
::sw::overlay::OverlayRanges* sw::annotation::SwAnnotationWin::TextRange ( )

Definition at line 113 of file AnnotationWin.hxx.

Referenced by SetViewState().

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

Definition at line 222 of file AnnotationWin.cxx.

References IsResolved(), and SetResolved().

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

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

Definition at line 256 of file AnnotationWin2.cxx.

Referenced by SwPostItMgr::Scroll().

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

Definition at line 1181 of file AnnotationWin2.cxx.

References mrView.

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

Definition at line 128 of file AnnotationWin.hxx.

References Point.

Referenced by SwPostItMgr::Scroll().

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

Definition at line 129 of file AnnotationWin.hxx.

Referenced by SwPostItMgr::Scroll().

Member Data Documentation

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

Definition at line 264 of file AnnotationWin.hxx.

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

Definition at line 240 of file AnnotationWin.hxx.

SwRect sw::annotation::SwAnnotationWin::mAnchorRect

Definition at line 258 of file AnnotationWin.hxx.

bool sw::annotation::SwAnnotationWin::mbAnchorRectChanged

Definition at line 260 of file AnnotationWin.hxx.

bool sw::annotation::SwAnnotationWin::mbIsFollow

Definition at line 270 of file AnnotationWin.hxx.

bool sw::annotation::SwAnnotationWin::mbMouseOver

Definition at line 266 of file AnnotationWin.hxx.

bool sw::annotation::SwAnnotationWin::mbReadonly

Definition at line 269 of file AnnotationWin.hxx.

Referenced by IsProtected().

bool sw::annotation::SwAnnotationWin::mbResolvedStateUpdated

Definition at line 262 of file AnnotationWin.hxx.

Referenced by SetResolved(), and UpdateData().

Color sw::annotation::SwAnnotationWin::mChangeColor

Definition at line 253 of file AnnotationWin.hxx.

Color sw::annotation::SwAnnotationWin::mColorAnchor

Definition at line 250 of file AnnotationWin.hxx.

Color sw::annotation::SwAnnotationWin::mColorDark

Definition at line 251 of file AnnotationWin.hxx.

Color sw::annotation::SwAnnotationWin::mColorLight

Definition at line 252 of file AnnotationWin.hxx.

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

Definition at line 255 of file AnnotationWin.hxx.

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

Definition at line 267 of file AnnotationWin.hxx.

ImplSVEvent* sw::annotation::SwAnnotationWin::mnEventId

Definition at line 232 of file AnnotationWin.hxx.

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

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

Definition at line 259 of file AnnotationWin.hxx.

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

Definition at line 246 of file AnnotationWin.hxx.

Referenced by dispose().

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

Definition at line 273 of file AnnotationWin.hxx.

SwPostItField* sw::annotation::SwAnnotationWin::mpField
SwFormatField* sw::annotation::SwAnnotationWin::mpFormatField
tools::Rectangle sw::annotation::SwAnnotationWin::mPosSize

Definition at line 257 of file AnnotationWin.hxx.

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

Definition at line 235 of file AnnotationWin.hxx.

Referenced by dispose(), InitAnswer(), SetPostItText(), UpdateData(), and UpdateText().

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

Definition at line 234 of file AnnotationWin.hxx.

Referenced by dispose().

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

Definition at line 247 of file AnnotationWin.hxx.

Referenced by dispose(), and SwAnnotationWin().

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

Definition at line 248 of file AnnotationWin.hxx.

Referenced by dispose(), and SetResolved().

SwPostItMgr& sw::annotation::SwAnnotationWin::mrMgr
SwSidebarItem& sw::annotation::SwAnnotationWin::mrSidebarItem

Definition at line 272 of file AnnotationWin.hxx.

Referenced by dispose(), SetResolved(), and SwAnnotationWin().

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

Definition at line 230 of file AnnotationWin.hxx.

Referenced by Delete(), GotoPos(), InitAnswer(), SetResolved(), SwAnnotationWin(), and UpdateData().

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

Definition at line 244 of file AnnotationWin.hxx.

Referenced by dispose().

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

Definition at line 241 of file AnnotationWin.hxx.

Referenced by dispose().

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

Definition at line 242 of file AnnotationWin.hxx.

Referenced by dispose().

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

Definition at line 243 of file AnnotationWin.hxx.

Referenced by dispose(), and SetResolved().

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

Definition at line 238 of file AnnotationWin.hxx.

Referenced by dispose().

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

Definition at line 239 of file AnnotationWin.hxx.

Referenced by dispose().

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

Definition at line 278 of file AnnotationWin.hxx.

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

Definition at line 237 of file AnnotationWin.hxx.

Referenced by dispose().

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