LibreOffice Module sw (master) 1
|
#include <AnnotationWin.hxx>
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 SwPostItField * | GetPostItField () 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 SwRect & | GetAnchorRect () const |
bool | IsAnchorRectChanged () const |
void | ResetAnchorRectChanged () |
const std::vector< basegfx::B2DRange > & | GetAnnotationTextRanges () const |
SwEditWin & | EditWin () |
SwSidebarItem & | GetSidebarItem () |
OutlinerView * | GetOutlinerView () |
Outliner * | GetOutliner () |
bool | HasScrollbar () const |
bool | IsScrollbarVisible () const |
::sw::sidebarwindows::AnchorOverlayObject * | Anchor () |
::sw::sidebarwindows::ShadowOverlayObject * | Shadow () |
::sw::overlay::OverlayRanges * | TextRange () |
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 Color & | ColorDark () |
const Color & | ColorLight () |
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 Color & | GetChangeColor () 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 () |
SwAnnotationWin * | GetTopReplyNote () |
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) |
OutputDevice * | GetReferenceDevice () 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::Window * | ImplGetFrameWindow () const |
weld::Window * | GetFrameWeld () const |
vcl::Window * | GetFrameWindow () const |
SalFrame * | ImplGetFrame () const |
SAL_DLLPRIVATE ImplFrameData * | ImplGetFrameData () |
vcl::Window * | ImplGetWindow () const |
SAL_DLLPRIVATE ImplWinData * | ImplGetWinData () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetClientWindow () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr) |
SAL_DLLPRIVATE vcl::Window * | ImplGetParent () const |
SAL_DLLPRIVATE vcl::Window * | ImplFindWindow (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 WindowImpl * | ImplGetWindowImpl () 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 |
::OutputDevice * | GetOutDev () |
Color | GetBackgroundColor () const |
const Wallpaper & | GetBackground () const |
bool | IsBackground () const |
const MapMode & | GetMapMode () 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) |
ImplSVEvent * | PostUserEvent (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 |
SystemWindow * | GetSystemWindow () 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 InputContext & | GetInputContext () const |
void | PostExtTextInputEvent (VclEventId nType, const OUString &rText) |
void | EndExtTextInput () |
void | SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0) |
const tools::Rectangle * | GetCursorRect () 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 Color & | GetControlForeground () const |
bool | IsControlForeground () const |
void | ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetControlBackground () |
void | SetControlBackground (const Color &rColor) |
const Color & | GetControlBackground () 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::Window * | GetParent () const |
Dialog * | GetParentDialog () 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::Window > | GetFocusedWindow () 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::Cursor * | GetCursor () const |
void | SetZoom (const Fraction &rZoom) |
const Fraction & | GetZoom () 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 Wallpaper & | GetDisplayBackground () 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::Window * | GetChild (sal_uInt16 nChild) const |
vcl::Window * | GetWindow (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 SystemEnvData * | GetSystemData () 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::ILibreOfficeKitNotifier * | GetLOKNotifier () const |
vcl::LOKWindowId | GetLOKWindowId () const |
VclPtr< vcl::Window > | GetParentWithLOKNotifier () |
void | ReleaseLOKNotifier () |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
void | RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect) |
VCLXWindow * | GetWindowPeer () 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 AllSettings & | GetSettings () 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::Font & | GetFont () 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 Color & | GetTextColor () const |
void | SetTextFillColor () |
void | SetTextFillColor (const Color &rColor) |
Color | GetTextFillColor () const |
bool | IsTextFillColor () const |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &rColor) |
const Color & | GetTextLineColor () const |
bool | IsTextLineColor () const |
void | SetOverlineColor () |
void | SetOverlineColor (const Color &rColor) |
const Color & | GetOverlineColor () 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::Window * | GetAccessibleParentWindow () const |
sal_uInt16 | GetAccessibleChildWindowCount () |
vcl::Window * | GetAccessibleChildWindow (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::Window * | GetAccessibleRelationLabeledBy () const |
void | SetAccessibleRelationLabelFor (vcl::Window *pLabelFor) |
vcl::Window * | GetAccessibleRelationLabelFor () const |
vcl::Window * | GetAccessibleRelationMemberOf () 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 DockingManager * | GetDockingManager () |
static VclPtr< vcl::Window > | SaveFocus () |
static void | EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin) |
static VclPtr< vcl::Window > | FindLOKWindow (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 () |
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::Font & | GetCanonicalFont (const StyleSettings &_rStyle) const |
virtual const Color & | GetCanonicalTextColor (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::Window * | ImplGetBorderWindow () 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::Window * | getLegacyNonLayoutAccessibleRelationMemberOf () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabeledBy () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabelFor () const |
virtual vcl::Window * | getAccessibleRelationLabelFor () 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::Builder > | m_xBuilder |
VclPtr< vcl::Window > | m_xVclContentArea |
std::unique_ptr< weld::Container > | m_xContainer |
weld::Widget * | m_pWidget |
Protected Attributes inherited from Control | |
std::optional< vcl::ControlLayoutData > | mxLayoutData |
VclPtr< OutputDevice > | mpReferenceDevice |
Definition at line 59 of file AnnotationWin.hxx.
sw::annotation::SwAnnotationWin::SwAnnotationWin | ( | SwEditWin & | rEditWin, |
SwPostItMgr & | aMgr, | ||
SwSidebarItem & | rSidebarItem, | ||
SwFormatField * | aField | ||
) |
Definition at line 90 of file AnnotationWin.cxx.
References SwPostItMgr::ConnectSidebarWinToFrame(), sw::sidebarwindows::ShadowOverlayObject::CreateShadowOverlayObject(), SwSidebarItem::GetFormatField(), SwPostItField::GetPostItId(), LINK, InterimItemWindow::m_xContainer, SwSidebarItem::maLayoutInfo, SwLayoutInfo::mpAnchorFrame, mpField, mpShadow, mrMgr, mrSidebarItem, mrView, mrView, NONE, vcl::Window::set_id(), vcl::Window::SetParentClipMode(), and vcl::Window::SupportsDoubleBuffering().
|
overridevirtual |
Definition at line 133 of file AnnotationWin.cxx.
References VclReferenceBase::disposeOnce().
void sw::annotation::SwAnnotationWin::ActivatePostIt | ( | ) |
Definition at line 960 of file AnnotationWin2.cxx.
References SwPostItMgr::AssureStdModeAtShell(), CheckMetaText(), GetOutlinerView(), Application::GetSettings(), vcl::Window::GetStyle(), SwView::GetWrtShellPtr(), mColorDark, mpOutliner, mpOutlinerView, mrMgr, mrView, OutlinerView::SetBackgroundColor(), vcl::Window::SetStyle(), SetViewState(), OutlinerView::ShowCursor(), and WB_DIALOGCONTROL.
|
inline |
Definition at line 111 of file AnnotationWin.hxx.
Referenced by SwPostItMgr::CorrectPositions(), SetPosAndSize(), and SetViewState().
sal_uInt32 sw::annotation::SwAnnotationWin::CalcParent | ( | ) |
Calculate parent postit id of current annotation window.
Definition at line 370 of file AnnotationWin.cxx.
References SwPosition::GetContentIndex(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrForCharAt(), SwFormatField::GetTextField(), SwTextField::GetTextNode(), mpFormatField, Postit, and RES_TXTATR_ANNOTATION().
Referenced by SwXTextDocument::getPostIts().
void sw::annotation::SwAnnotationWin::ChangeSidebarItem | ( | SwSidebarItem const & | rSidebarItem | ) |
Definition at line 1398 of file AnnotationWin2.cxx.
References SwPostItMgr::ConnectSidebarWinToFrame(), SwPostItMgr::DisconnectSidebarWinFromFrame(), SwSidebarItem::GetFormatField(), SwSidebarItem::maLayoutInfo, mpAnchorFrame, SwLayoutInfo::mpAnchorFrame, mrMgr, mrSidebarItem, and mxSidebarWinAccessible.
void sw::annotation::SwAnnotationWin::CheckMetaText | ( | ) |
Definition at line 413 of file AnnotationWin2.cxx.
References aIndex, GetAuthor(), SwPostItMgr::GetColorAnchor(), SwPostItMgr::GetColorDark(), SwPostItMgr::GetColorLight(), GetDate(), LocaleDataWrapper::getDate(), SvtSysLocale::GetLocaleData(), GetTime(), LocaleDataWrapper::getTime(), Date::IsValidAndGregorian(), mxMetadataAuthor, mxMetadataDate, SetColor(), SW_MOD, and SwResId().
Referenced by ActivatePostIt(), and InitControls().
|
inline |
Definition at line 145 of file AnnotationWin.hxx.
Referenced by sw::sidebarwindows::SidebarTextControl::Paint().
|
inline |
Definition at line 146 of file AnnotationWin.hxx.
Referenced by sw::sidebarwindows::SidebarTextControl::Paint().
|
private |
Definition at line 384 of file AnnotationWin.cxx.
References SwPosition::GetContentIndex(), SwFormatField::GetField(), SwTextAttr::GetFormatField(), SwTextAttr::GetStart(), SwTextNode::GetTextAttrForCharAt(), SwFormatField::GetTextField(), SwTextField::GetTextNode(), mpFormatField, n, Postit, RES_TXTATR_ANNOTATION(), and SwField::Which().
Referenced by MoveCaret().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1424 of file AnnotationWin2.cxx.
References SwView::GetWrtShell(), mrSidebarItem, mrView, and mxSidebarWinAccessible.
|
static |
Definition at line 259 of file AnnotationWin.cxx.
References comphelper::rng::uniform_uint_distribution().
Referenced by GetParaId().
|
overrideprivatevirtual |
Reimplemented from vcl::Window.
Definition at line 1224 of file AnnotationWin2.cxx.
References DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), and moMetaHeight.
void sw::annotation::SwAnnotationWin::DeactivatePostIt | ( | ) |
Definition at line 986 of file AnnotationWin2.cxx.
References COL_TRANSPARENT(), OutlinerView::GetEditView(), GetOutlinerView(), EditView::GetSelection(), Application::GetSettings(), vcl::Window::GetStyle(), IsReadOnlyOrProtected(), comphelper::LibreOfficeKit::isTiledPainting(), LINK, mnDeleteEventId, mpOutliner, ESelection::nEndPara, ESelection::nEndPos, ESelection::nStartPara, ESelection::nStartPos, Application::PostUserEvent(), OutlinerView::SetBackgroundColor(), EditView::SetSelection(), vcl::Window::SetStyle(), comphelper::LibreOfficeKit::setTiledPainting(), SetViewState(), UpdateData(), and WB_DIALOGCONTROL.
Referenced by SwPostItMgr::SetActiveSidebarWin().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void sw::annotation::SwAnnotationWin::Delete | ( | ) |
Definition at line 332 of file AnnotationWin.cxx.
References SwCursorShell::ClearMark(), SwWrtShell::DelRight(), vcl::Window::get_id(), SwPostItMgr::GetActiveSidebarWin(), SwView::GetWrtShellPtr(), SwWrtShell::GotoField(), vcl::Window::GrabFocusToDocument(), mnDeleteEventId, mpFormatField, mrMgr, mrView, Application::RemoveUserEvent(), and SwPostItMgr::SetActiveSidebarWin().
void sw::annotation::SwAnnotationWin::DeleteThread | ( | ) |
Definition at line 264 of file AnnotationWin.cxx.
References SwPostItMgr::GetNextPostIt(), GetTopReplyNote(), KEY_PAGEDOWN, LINK, mnDeleteEventId, mrMgr, and Application::PostUserEvent().
Referenced by SwPostItMgr::DeleteCommentThread(), and ExecuteCommand().
|
overridevirtual |
Reimplemented from InterimItemWindow.
Definition at line 138 of file AnnotationWin.cxx.
References vcl::Window::Disable(), SwPostItMgr::DisconnectSidebarWinFromFrame(), InterimItemWindow::dispose(), SwSidebarItem::maLayoutInfo, mnDeleteEventId, mpAnchor, SwLayoutInfo::mpAnchorFrame, mpOutliner, mpOutlinerView, mpShadow, mpTextRangeOverlay, mrMgr, mrSidebarItem, mxMenuButton, mxMetadataAuthor, mxMetadataDate, mxMetadataResolved, mxSidebarTextControl, mxSidebarTextControlWin, mxVScrollbar, and Application::RemoveUserEvent().
void sw::annotation::SwAnnotationWin::DoResize | ( | ) |
Definition at line 759 of file AnnotationWin2.cxx.
References tools::Rectangle::GetHeight(), GetMetaHeight(), GetOutlinerView(), vcl::Window::GetSizePixel(), Size::Height(), IsResolved(), vcl::Window::LogicToPixel(), min(), mpOutliner, mpOutlinerView, mxMetadataAuthor, mxMetadataDate, mxMetadataResolved, mxVScrollbar, vcl::Window::PixelToLogic(), OutlinerView::Scroll(), and Size::Width().
Referenced by ExecuteCommand(), ResizeIfNecessary(), and SetPosAndSize().
void sw::annotation::SwAnnotationWin::DrawForPage | ( | OutputDevice * | pDev, |
const Point & | rPos | ||
) |
Definition at line 159 of file AnnotationWin2.cxx.
References vcl::CLIPREGION, drawinglayer::processor2d::createProcessor2DFromOutputDevice(), OutputDevice::DrawRect(), OutputDevice::DrawText(), vcl::PDFExtOutDevData::EndStructureElement(), OutputDevice::GetExtOutDevData(), vcl::Font::GetFontHeight(), vcl::PDFExtOutDevData::GetIsExportTaggedPDF(), vcl::Window::GetSizePixel(), OutputDevice::IntersectClipRegion(), InterimItemWindow::m_xContainer, maLabelFont, mColorAnchor, mColorDark, mpAnchor, mpTextRangeOverlay, mxMenuButton, mxMetadataAuthor, mxMetadataDate, mxMetadataResolved, mxSidebarTextControl, mxVScrollbar, vcl::PDFWriter::NonStructElement, vcl::Window::PixelToLogic(), OutputDevice::Pop(), OutputDevice::Push(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), vcl::Font::SetFontHeight(), OutputDevice::SetLineColor(), OutputDevice::SetTextColor(), InterimItemWindow::UnclipVisibleSysObj(), vcl::PDFExtOutDevData::WrapBeginStructureElement(), x, and y.
Referenced by SwPostItMgr::DrawNotesForPage().
SwEditWin & sw::annotation::SwAnnotationWin::EditWin | ( | ) |
Definition at line 1110 of file AnnotationWin2.cxx.
References SwView::GetEditWin(), and mrView.
Referenced by IsHitWindow(), SetPosAndSize(), and SetSizePixel().
void sw::annotation::SwAnnotationWin::ExecuteCommand | ( | sal_uInt16 | nSlot | ) |
Definition at line 1038 of file AnnotationWin2.cxx.
References SwPostItMgr::AssureStdModeAtShell(), DeleteThread(), DoResize(), SfxBindings::Execute(), SfxDispatcher::Execute(), FN_DELETE_ALL_NOTES, FN_DELETE_COMMENT, FN_DELETE_COMMENT_THREAD, FN_DELETE_NOTE_AUTHOR, FN_FORMAT_ALL_NOTES, FN_HIDE_ALL_NOTES, FN_HIDE_NOTE_AUTHOR, FN_POSTIT, FN_REPLY, FN_RESOLVE_NOTE, FN_RESOLVE_NOTE_THREAD, GetAuthor(), SfxViewFrame::GetBindings(), SfxViewFrame::GetDispatcher(), SwPostItMgr::GetLatestPostItField(), GetOutlinerView(), GetParaId(), GetTopReplyNote(), SfxViewShell::GetViewFrame(), SwPostItMgr::HasActiveSidebarWin(), vcl::Window::Invalidate(), IsThreadResolved(), SwPostItMgr::LayoutPostIts(), LINK, mnDeleteEventId, mpOutliner, mrMgr, mrView, Application::PostUserEvent(), SwPostItMgr::RegisterAnswer(), SwPostItMgr::SetActiveSidebarWin(), SwPostItField::SetParentId(), SetResolved(), SwitchToFieldPos(), ToggleResolved(), and SwPostItMgr::UpdateResolvedStatus().
Referenced by SwTextShell::ExecField(), and SwAnnotationShell::NoteExec().
|
inline |
Definition at line 99 of file AnnotationWin.hxx.
Referenced by sw::sidebarwindows::SidebarTextControl::RequestHelp().
|
inline |
Definition at line 100 of file AnnotationWin.hxx.
Referenced by SwXTextDocument::getPostIts().
|
inline |
Definition at line 103 of file AnnotationWin.hxx.
Referenced by SwXTextDocument::getPostIts().
OUString sw::annotation::SwAnnotationWin::GetAuthor | ( | ) | const |
Definition at line 478 of file AnnotationWin.cxx.
References SwPostItField::GetPar1(), and mpField.
Referenced by CheckMetaText(), ExecuteCommand(), SwAnnotationShell::GetNoteState(), InitAnswer(), InitControls(), and SwAnnotationShell::NoteExec().
|
inline |
Definition at line 170 of file AnnotationWin.hxx.
Referenced by sw::sidebarwindows::SidebarTextControl::DrawForPage(), and sw::sidebarwindows::SidebarTextControl::Paint().
Date sw::annotation::SwAnnotationWin::GetDate | ( | ) | const |
Definition at line 483 of file AnnotationWin.cxx.
References SwPostItField::GetDate(), and mpField.
Referenced by CheckMetaText(), and InitAnswer().
|
overrideprivatevirtual |
Reimplemented from InterimItemWindow.
Definition at line 917 of file AnnotationWin2.cxx.
References mxSidebarTextControl.
|
inline |
Definition at line 169 of file AnnotationWin.hxx.
Referenced by sw::sidebarwindows::SidebarTextControl::DrawForPage(), SwAnnotationShell::Exec(), SwAnnotationShell::ExecClpbrd(), SwAnnotationShell::GetLinguState(), SwAnnotationShell::GetState(), IsReadOnlyOrProtected(), sw::sidebarwindows::SidebarTextControl::Paint(), sw::sidebarwindows::SidebarTextControl::RequestHelp(), SwAnnotationShell::StateClpbrd(), SwAnnotationShell::StateInsert(), and SwAnnotationShell::StateUndo().
sal_Int32 sw::annotation::SwAnnotationWin::GetMetaHeight | ( | ) | const |
Definition at line 1209 of file AnnotationWin2.cxx.
References vcl::Window::get_preferred_size(), GetNumFields(), Size::Height(), i, moMetaHeight, mxMetadataAuthor, mxMetadataDate, and mxMetadataResolved.
Referenced by DoResize(), and ResizeIfNecessary().
sal_Int32 sw::annotation::SwAnnotationWin::GetMinimumSizeWithMeta | ( | ) | const |
Definition at line 1237 of file AnnotationWin2.cxx.
References SwPostItMgr::GetMinimumSizeWithMeta(), and mrMgr.
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().
sal_Int32 sw::annotation::SwAnnotationWin::GetNumFields | ( | ) | const |
Definition at line 1232 of file AnnotationWin2.cxx.
References IsResolved().
Referenced by GetMetaHeight().
|
inline |
Definition at line 108 of file AnnotationWin.hxx.
|
inline |
Definition at line 107 of file AnnotationWin.hxx.
Referenced by ActivatePostIt(), SwDocShell::ApplyStyles(), DeactivatePostIt(), DoResize(), sw::sidebarwindows::SidebarTextControl::DrawForPage(), SwAnnotationShell::Exec(), SwAnnotationShell::ExecClpbrd(), SwAnnotationShell::ExecLingu(), SwAnnotationShell::ExecRotateTransliteration(), SwDocShell::ExecStyleSheet(), SwAnnotationShell::ExecTransliteration(), ExecuteCommand(), SwPostItMgr::ExecuteFormatAllDialog(), SwPostItMgr::FinishSearchReplace(), sw::sidebarwindows::SidebarTextControl::GetEditEngine(), sw::sidebarwindows::SidebarTextControl::GetEditView(), SwAnnotationShell::GetLinguState(), SwAnnotationShell::GetState(), SwAnnotationShell::GetUndoManager(), InitAnswer(), InitControls(), SwAnnotationShell::InsertSymbol(), SwPostItMgr::Replace(), SwPostItMgr::SearchReplace(), SetPostItText(), SetReadonly(), SwAnnotationShell::StateClpbrd(), SwAnnotationShell::StateInsert(), SwDocShell::StateStyleSheet(), and UpdateText().
sal_uInt32 sw::annotation::SwAnnotationWin::GetParaId | ( | ) |
Definition at line 244 of file AnnotationWin.cxx.
References CreateUniqueParaId(), SwFormatField::GetField(), SwPostItField::GetParaId(), and mpFormatField.
Referenced by ExecuteCommand().
|
inline |
Definition at line 73 of file AnnotationWin.hxx.
Referenced by SwXTextDocument::getPostIts().
tools::Long sw::annotation::SwAnnotationWin::GetPostItTextHeight | ( | ) |
Definition at line 1115 of file AnnotationWin2.cxx.
References vcl::Window::LogicToPixel(), and mpOutliner.
Referenced by SwAnnotationShell::ExecClpbrd(), SwAnnotationShell::ExecUndo(), and sw::sidebarwindows::SidebarTextControl::KeyInput().
int sw::annotation::SwAnnotationWin::GetPrefScrollbarWidth | ( | ) | const |
Definition at line 1198 of file AnnotationWin2.cxx.
References Application::GetSettings(), SwView::GetWrtShellPtr(), and mrView.
Referenced by Rescale().
|
inline |
Definition at line 105 of file AnnotationWin.hxx.
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().
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().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 493 of file AnnotationWin.cxx.
References CommentUIObject::create().
void sw::annotation::SwAnnotationWin::GotoPos | ( | ) |
Definition at line 355 of file AnnotationWin.cxx.
References SwView::GetDocShell(), SwDocShell::GetWrtShell(), SwWrtShell::GotoField(), mpFormatField, and mrView.
Referenced by SwitchToFieldPos().
bool sw::annotation::SwAnnotationWin::HasScrollbar | ( | ) | const |
Definition at line 1388 of file AnnotationWin2.cxx.
References mxVScrollbar.
Referenced by IsScrollbarVisible().
void sw::annotation::SwAnnotationWin::HideNote | ( | ) |
Definition at line 942 of file AnnotationWin2.cxx.
References vcl::Window::get_id(), SwPostItMgr::IsShowAnchor(), vcl::Window::IsVisible(), mpAnchor, mpShadow, mpTextRangeOverlay, and mrMgr.
Referenced by ShowAnchorOnly().
void sw::annotation::SwAnnotationWin::InitAnswer | ( | OutlinerParaObject const & | rText | ) |
Definition at line 402 of file AnnotationWin.cxx.
References SwRewriter::AddRule(), SwRewriter::Apply(), SwPostItField::Copy(), EE_CHAR_FONTHEIGHT(), EE_CHAR_ITALIC(), EE_PARA_ALL, EE_PARA_MAX_COUNT, EE_TEXTPOS_ALL, EE_TEXTPOS_MAX_COUNT, GetAuthor(), GetDate(), LocaleDataWrapper::getDate(), SwDocShell::GetDoc(), SwView::GetDocShell(), OutlinerView::GetEditView(), SwDoc::GetIDocumentUndoRedo(), SvtSysLocale::GetLocaleData(), SwPostItMgr::GetNextPostIt(), GetOutlinerView(), SfxShell::GetPool(), SwTextAttr::GetStart(), EditTextObject::GetText(), SwFormatField::GetTextField(), SwTextField::GetTextNode(), OutlinerParaObject::GetTextObject(), GetTime(), LocaleDataWrapper::getTime(), OutlinerView::InsertText(), EditView::InsertText(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isTiledAnnotations(), ITALIC_NORMAL, KEY_PAGEUP, LINK, mpField, mpFormatField, mpOutliner, mrMgr, mrView, SfxItemSet::Put(), EditView::RemoveAttribsKeepLanguages(), OutlinerView::SetAttribs(), SwPostItField::SetPar2(), OutlinerView::SetSelection(), SwPostItField::SetTextObject(), SwResId(), and UndoArg1.
void sw::annotation::SwAnnotationWin::InitControls | ( | ) |
Definition at line 296 of file AnnotationWin2.cxx.
References SwRewriter::AddRule(), aIndex, SwRewriter::Apply(), CheckMetaText(), COL_TRANSPARENT(), GetAuthor(), SwPostItMgr::GetColorAnchor(), SwPostItMgr::GetColorDark(), SwPostItMgr::GetColorLight(), SwDocShell::GetDoc(), SwView::GetDocShell(), SwDocStyleSheetPool::GetEEStyleSheetPool(), StyleSettings::GetLabelFont(), AllSettings::GetLayoutRTL(), GetOutlinerView(), SfxShell::GetPool(), Application::GetSettings(), AllSettings::GetStyleSettings(), SwDocShell::GetStyleSheetPool(), SwView::GetWrtShellPtr(), SwViewOption::IsFieldShadings(), SwViewOption::IsOnlineSpell(), IsResolved(), LINK, InterimItemWindow::m_xBuilder, maLabelFont, METABUTTON_HEIGHT, METABUTTON_WIDTH, mpOutliner, mpOutlinerView, mrMgr, mrView, mxMenuButton, mxMetadataAuthor, mxMetadataDate, mxMetadataResolved, mxSidebarTextControl, mxSidebarTextControlWin, mxVScrollbar, vcl::Window::PixelToLogic(), Rescale(), SwDoc::SetCalcFieldValueHdl(), SetColor(), vcl::Font::SetFontHeight(), SetPostItText(), OutlinerView::StartSpeller(), SW_MOD, SwResId(), and UndoArg1.
|
inline |
Definition at line 101 of file AnnotationWin.hxx.
|
inline |
Definition at line 151 of file AnnotationWin.hxx.
Referenced by SetPosAndSize(), and SetViewState().
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().
|
inline |
Definition at line 172 of file AnnotationWin.hxx.
Referenced by sw::sidebarwindows::SidebarTextControl::Paint().
|
inline |
Definition at line 139 of file AnnotationWin.hxx.
bool sw::annotation::SwAnnotationWin::IsReadOnlyOrProtected | ( | ) | const |
Definition at line 471 of file AnnotationWin.cxx.
References SwPostItHelper::DELETED, GetLayoutStatus(), SwFormatField::IsProtect(), mbReadonly, and mpFormatField.
Referenced by sw::sidebarwindows::SidebarTextControl::Command(), DeactivatePostIt(), SwAnnotationShell::GetNoteState(), and sw::sidebarwindows::SidebarTextControl::KeyInput().
bool sw::annotation::SwAnnotationWin::IsResolved | ( | ) | const |
Definition at line 278 of file AnnotationWin.cxx.
References SwFormatField::GetField(), and mpFormatField.
Referenced by DoResize(), SwAnnotationShell::GetNoteState(), GetNumFields(), InitControls(), SetResolved(), ToggleResolved(), and SwPostItMgr::UpdateResolvedStatus().
bool sw::annotation::SwAnnotationWin::IsScrollbarVisible | ( | ) | const |
Definition at line 1393 of file AnnotationWin2.cxx.
References HasScrollbar(), and mxVScrollbar.
Referenced by sw::sidebarwindows::SidebarTextControl::Command().
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().
void sw::annotation::SwAnnotationWin::LockView | ( | bool | bLock | ) |
Definition at line 1170 of file AnnotationWin2.cxx.
References SwView::GetWrtShell(), SwViewShell::LockView(), and mrView.
Referenced by sw::sidebarwindows::SidebarTextControl::LoseFocus().
|
overrideprivatevirtual |
Reimplemented from vcl::Window.
Definition at line 923 of file AnnotationWin2.cxx.
sal_uInt32 sw::annotation::SwAnnotationWin::MoveCaret | ( | ) |
Definition at line 360 of file AnnotationWin.cxx.
References CountFollowing(), SwPostItMgr::IsAnswer(), and mrMgr.
Referenced by SwitchToFieldPos().
void sw::annotation::SwAnnotationWin::PaintTile | ( | vcl::RenderContext & | rRenderContext, |
const tools::Rectangle & | rRect | ||
) |
Definition at line 111 of file AnnotationWin2.cxx.
References COL_BLACK(), drawinglayer::processor2d::createProcessor2DFromOutputDevice(), OutputDevice::DrawRect(), Application::GetSettings(), vcl::Window::GetSizePixel(), InterimItemWindow::m_xContainer, mColorDark, mpAnchor, mpTextRangeOverlay, mxMenuButton, vcl::NONE, OutputDevice::Pop(), OutputDevice::Push(), OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), and tools::Rectangle::TopLeft().
Referenced by SwPostItMgr::PaintTile().
void sw::annotation::SwAnnotationWin::Rescale | ( | ) |
Definition at line 508 of file AnnotationWin2.cxx.
References vcl::Font::GetFontHeight(), OutputDevice::GetMapMode(), vcl::Window::GetMapMode(), SwViewShell::GetOut(), vcl::Window::GetParent(), GetPrefScrollbarWidth(), MapMode::GetScaleY(), SwView::GetWrtShellPtr(), comphelper::LibreOfficeKit::isActive(), comphelper::LibreOfficeKit::isTiledAnnotations(), maLabelFont, mrView, mxMetadataAuthor, mxMetadataDate, mxMetadataResolved, mxSidebarTextControl, mxVScrollbar, vcl::Font::SetFontHeight(), vcl::Window::SetMapMode(), SetMenuButtonColors(), and MapMode::SetOrigin().
Referenced by InitControls().
|
inline |
Definition at line 102 of file AnnotationWin.hxx.
void sw::annotation::SwAnnotationWin::ResetAttributes | ( | ) |
Definition at line 1192 of file AnnotationWin2.cxx.
References mpOutliner, and mpOutlinerView.
Referenced by SwAnnotationShell::Exec().
void sw::annotation::SwAnnotationWin::ResizeIfNecessary | ( | tools::Long | aOldHeight, |
tools::Long | aNewHeight | ||
) |
Definition at line 845 of file AnnotationWin2.cxx.
References DoResize(), GetMetaHeight(), GetMinimumSizeWithoutMeta(), SwPostItMgr::GetNextBorder(), vcl::Window::GetPosPixel(), vcl::Window::GetSizePixel(), Height, vcl::Window::Invalidate(), mrMgr, SetScrollbar(), SetSizePixel(), Width, Y, and Point::Y().
Referenced by SwAnnotationShell::ExecClpbrd(), SwAnnotationShell::ExecUndo(), and sw::sidebarwindows::SidebarTextControl::KeyInput().
bool sw::annotation::SwAnnotationWin::SetActiveSidebarWin | ( | ) |
Definition at line 1150 of file AnnotationWin2.cxx.
References SwPostItMgr::GetActiveSidebarWin(), SwView::GetWrtShell(), SwViewShell::LockView(), mrMgr, mrView, and SwPostItMgr::SetActiveSidebarWin().
Referenced by sw::sidebarwindows::SidebarTextControl::GetFocus().
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.
void sw::annotation::SwAnnotationWin::SetColor | ( | Color | aColorDark, |
Color | aColorLight, | ||
Color | aColorAnchor | ||
) |
Definition at line 883 of file AnnotationWin2.cxx.
References Application::GetSettings(), InterimItemWindow::m_xContainer, mColorAnchor, mColorDark, mColorLight, mxMetadataAuthor, mxMetadataDate, mxMetadataResolved, mxVScrollbar, and SetMenuButtonColors().
Referenced by CheckMetaText(), and InitControls().
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.
|
inline |
Definition at line 152 of file AnnotationWin.hxx.
|
private |
Definition at line 462 of file AnnotationWin2.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), sw::annotation::ColorFromAlphaColor(), DecorationView::DrawSymbol(), VclPtr< class reference_type >::get(), tools::Rectangle::GetHeight(), OutputDevice::GetMapMode(), SwViewShell::GetOut(), MapMode::GetScaleY(), vcl::Window::GetTextColor(), tools::Rectangle::GetWidth(), SwView::GetWrtShellPtr(), Size::Height(), mColorAnchor, mColorDark, METABUTTON_HEIGHT, METABUTTON_WIDTH, mrView, mxMenuButton, and Size::Width().
Referenced by Rescale(), and SetColor().
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().
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 256 of file AnnotationWin2.cxx.
References SwRect::IsEmpty(), mAnchorRect, mbAnchorRectChanged, mPageBorder, and mPosSize.
void sw::annotation::SwAnnotationWin::SetPostItText | ( | ) |
Definition at line 170 of file AnnotationWin.cxx.
References EditView::GetCursor(), OutlinerView::GetEditView(), SwFormatField::GetField(), GetOutlinerView(), SwPostItField::GetPar2(), GetSelection(), SwPostItField::GetTextObject(), OutlinerView::InsertText(), vcl::Window::Invalidate(), vcl::Cursor::IsVisible(), LINK, mpField, mpFormatField, mpOutliner, EditView::SetSelection(), OutlinerView::SetStyleSheet(), OutlinerView::ShowCursor(), and SwResId().
Referenced by InitControls().
void sw::annotation::SwAnnotationWin::SetReadonly | ( | bool | bSet | ) |
Definition at line 911 of file AnnotationWin2.cxx.
References GetOutlinerView(), mbReadonly, and OutlinerView::SetReadOnly().
void sw::annotation::SwAnnotationWin::SetResolved | ( | bool | resolved | ) |
Definition at line 207 of file AnnotationWin.cxx.
References vcl::Window::get_id(), SwFormatField::GetField(), SwView::GetWrtShellPtr(), vcl::Window::Invalidate(), IsResolved(), SwViewOption::IsResolvedPostIts(), mbResolvedStateUpdated, SwSidebarItem::mbShow, mpFormatField, mpTextRangeOverlay, mrSidebarItem, mrView, mxMetadataResolved, SetResolved(), and UpdateData().
Referenced by ExecuteCommand(), SetResolved(), and ToggleResolved().
void sw::annotation::SwAnnotationWin::SetScrollbar | ( | ) |
Definition at line 840 of file AnnotationWin2.cxx.
References mpOutlinerView, and mxVScrollbar.
Referenced by sw::sidebarwindows::SidebarTextControl::EditViewScrollStateChange(), and ResizeIfNecessary().
void sw::annotation::SwAnnotationWin::SetSidebarPosition | ( | sw::sidebarwindows::SidebarPosition | eSidebarPosition | ) |
Definition at line 906 of file AnnotationWin2.cxx.
References meSidebarPosition.
void sw::annotation::SwAnnotationWin::SetSize | ( | const Size & | rNewSize | ) |
Definition at line 266 of file AnnotationWin2.cxx.
References mPosSize, and tools::Rectangle::SetSize().
|
overrideprivatevirtual |
Reimplemented from vcl::Window.
Definition at line 825 of file AnnotationWin2.cxx.
References EditWin(), vcl::Window::GetPosPixel(), vcl::Window::GetSizePixel(), Height, comphelper::LibreOfficeKit::isActive(), mpShadow, vcl::Window::PixelToLogic(), vcl::Window::SetSizePixel(), Width, Point::X(), and Point::Y().
Referenced by ResizeIfNecessary(), and SetPosAndSize().
void sw::annotation::SwAnnotationWin::SetSpellChecking | ( | ) |
Definition at line 1253 of file AnnotationWin2.cxx.
References SwView::GetWrtShellPtr(), vcl::Window::Invalidate(), SwViewOption::IsOnlineSpell(), mpOutliner, and mrView.
void sw::annotation::SwAnnotationWin::SetViewState | ( | ::sw::sidebarwindows::ViewState | bViewState | ) |
Definition at line 1268 of file AnnotationWin2.cxx.
References Anchor(), SwPostItMgr::GetActiveSidebarWin(), GetTopReplyNote(), SwPostItMgr::HasActiveSidebarWin(), sw::overlay::OverlayRanges::HideSolidBorder(), IsFollow(), mpAnchor, mpShadow, mpTextRangeOverlay, mrMgr, sw::sidebarwindows::AnchorOverlayObject::SetAnchorState(), sw::sidebarwindows::AnchorOverlayObject::setLineSolid(), sw::sidebarwindows::SS_EDIT, sw::sidebarwindows::SS_NORMAL, sw::sidebarwindows::SS_VIEW, and TextRange().
Referenced by ActivatePostIt(), DeactivatePostIt(), and SwPostItMgr::SetShadowState().
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().
|
inline |
Definition at line 112 of file AnnotationWin.hxx.
Referenced by SwPostItMgr::SetShadowState().
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().
void sw::annotation::SwAnnotationWin::ShowNote | ( | ) |
Definition at line 927 of file AnnotationWin2.cxx.
References vcl::Window::get_id(), vcl::Window::IsVisible(), mpAnchor, mpShadow, mpTextRangeOverlay, and SetPosAndSize().
Referenced by SwPostItMgr::Scroll().
void sw::annotation::SwAnnotationWin::SwitchToFieldPos | ( | ) |
Definition at line 1364 of file AnnotationWin2.cxx.
References Chars, vcl::Window::get_id(), SwPostItMgr::GetActiveSidebarWin(), SwView::GetDocShell(), SwDocShell::GetWrtShell(), GotoPos(), vcl::Window::GrabFocusToDocument(), MoveCaret(), mrMgr, mrView, and SwPostItMgr::SetActiveSidebarWin().
Referenced by ExecuteCommand(), IMPL_LINK(), and sw::sidebarwindows::SidebarTextControl::KeyInput().
void sw::annotation::SwAnnotationWin::SwitchToPostIt | ( | sal_uInt16 | aDirection | ) |
Definition at line 1120 of file AnnotationWin2.cxx.
References aDirection, SwPostItMgr::GetNextPostIt(), vcl::Window::GrabFocus(), and mrMgr.
Referenced by sw::sidebarwindows::SidebarTextControl::KeyInput().
|
inline |
Definition at line 113 of file AnnotationWin.hxx.
Referenced by SetViewState().
void sw::annotation::SwAnnotationWin::ToggleInsMode | ( | ) |
Definition at line 1023 of file AnnotationWin2.cxx.
References SfxViewFrame::GetBindings(), SfxViewShell::GetViewFrame(), SwView::GetWrtShell(), SfxBindings::Invalidate(), SwEditShell::IsRedlineOn(), mpOutlinerView, mrView, SwWrtShell::ToggleInsMode(), and SfxBindings::Update().
Referenced by sw::sidebarwindows::SidebarTextControl::KeyInput().
void sw::annotation::SwAnnotationWin::ToggleResolved | ( | ) |
Definition at line 231 of file AnnotationWin.cxx.
References IsResolved(), and SetResolved().
Referenced by ExecuteCommand(), and SwPostItMgr::ToggleResolved().
void sw::annotation::SwAnnotationWin::ToggleResolvedForThread | ( | ) |
Definition at line 236 of file AnnotationWin.cxx.
References GetTopReplyNote(), SwPostItMgr::LayoutPostIts(), mrMgr, and SwPostItMgr::UpdateResolvedStatus().
Referenced by SwPostItMgr::ToggleResolvedForThread().
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().
void sw::annotation::SwAnnotationWin::UnsetActiveSidebarWin | ( | ) |
Definition at line 1161 of file AnnotationWin2.cxx.
References SwPostItMgr::GetActiveSidebarWin(), SwView::GetWrtShell(), SwViewShell::LockView(), mrMgr, mrView, and SwPostItMgr::SetActiveSidebarWin().
void sw::annotation::SwAnnotationWin::UpdateData | ( | ) |
Definition at line 298 of file AnnotationWin.cxx.
References SfxBroadcaster::Broadcast(), CHANGED, SwPostItField::Copy(), SwDocShell::GetDoc(), SwView::GetDocShell(), SwDoc::GetIDocumentUndoRedo(), SwTextAttr::GetStart(), SwFormatField::GetTextField(), SwTextField::GetTextNode(), mbResolvedStateUpdated, mpField, mpFormatField, mpOutliner, mrMgr, mrView, RESOLVED, SwPostItMgr::SetLayout(), SwDocShell::SetModified(), SwPostItField::SetPar2(), and SwPostItField::SetTextObject().
Referenced by DeactivatePostIt(), sw::sidebarwindows::SidebarTextControl::KeyInput(), sw::sidebarwindows::SidebarTextControl::LoseFocus(), SetResolved(), and UpdateText().
void sw::annotation::SwAnnotationWin::UpdateText | ( | const OUString & | aText | ) |
Definition at line 464 of file AnnotationWin.cxx.
References GetOutlinerView(), OutlinerView::InsertText(), mpOutliner, and UpdateData().
Referenced by SwTextShell::ExecField().
|
inline |
Definition at line 128 of file AnnotationWin.hxx.
Referenced by SwPostItMgr::Scroll().
|
inline |
Definition at line 129 of file AnnotationWin.hxx.
Referenced by SwPostItMgr::Scroll().
|
private |
Definition at line 265 of file AnnotationWin.hxx.
Referenced by SetPosAndSize().
|
private |
Definition at line 241 of file AnnotationWin.hxx.
Referenced by DrawForPage(), InitControls(), and Rescale().
|
private |
Definition at line 259 of file AnnotationWin.hxx.
Referenced by SetPosAndSize(), and SetPosSizePixelRect().
|
private |
Definition at line 261 of file AnnotationWin.hxx.
Referenced by SetPosSizePixelRect().
|
private |
Definition at line 271 of file AnnotationWin.hxx.
|
private |
Definition at line 267 of file AnnotationWin.hxx.
|
private |
Definition at line 270 of file AnnotationWin.hxx.
Referenced by IsReadOnlyOrProtected(), and SetReadonly().
|
private |
Definition at line 263 of file AnnotationWin.hxx.
Referenced by SetResolved(), and UpdateData().
|
private |
Definition at line 254 of file AnnotationWin.hxx.
Referenced by SetChangeTracking().
|
private |
Definition at line 251 of file AnnotationWin.hxx.
Referenced by DrawForPage(), SetColor(), SetMenuButtonColors(), and SetPosAndSize().
|
private |
Definition at line 252 of file AnnotationWin.hxx.
Referenced by ActivatePostIt(), DrawForPage(), PaintTile(), SetColor(), and SetMenuButtonColors().
|
private |
Definition at line 253 of file AnnotationWin.hxx.
Referenced by SetColor().
|
private |
Definition at line 256 of file AnnotationWin.hxx.
Referenced by SetPosAndSize(), and SetSidebarPosition().
|
private |
Definition at line 268 of file AnnotationWin.hxx.
Referenced by SetChangeTracking().
|
private |
Definition at line 233 of file AnnotationWin.hxx.
Referenced by DeactivatePostIt(), Delete(), DeleteThread(), dispose(), and ExecuteCommand().
|
mutableprivate |
Definition at line 280 of file AnnotationWin.hxx.
Referenced by DataChanged(), and GetMetaHeight().
|
private |
Definition at line 260 of file AnnotationWin.hxx.
Referenced by SetPosAndSize(), and SetPosSizePixelRect().
|
private |
Definition at line 247 of file AnnotationWin.hxx.
Referenced by dispose(), DrawForPage(), HideNote(), PaintTile(), SetPosAndSize(), SetViewState(), ShowAnchorOnly(), and ShowNote().
|
private |
Definition at line 274 of file AnnotationWin.hxx.
Referenced by ChangeSidebarItem().
|
private |
Definition at line 277 of file AnnotationWin.hxx.
Referenced by GetAuthor(), GetDate(), GetTime(), InitAnswer(), SetPostItText(), SwAnnotationWin(), and UpdateData().
|
private |
Definition at line 276 of file AnnotationWin.hxx.
Referenced by CalcParent(), CountFollowing(), Delete(), GetParaId(), GotoPos(), InitAnswer(), IsReadOnlyOrProtected(), IsResolved(), SetPostItText(), SetResolved(), and UpdateData().
|
private |
Definition at line 258 of file AnnotationWin.hxx.
Referenced by SetPosAndSize(), SetPosSizePixelRect(), SetSize(), SetVirtualPosSize(), and TranslateTopPosition().
|
private |
Definition at line 236 of file AnnotationWin.hxx.
Referenced by ActivatePostIt(), DeactivatePostIt(), dispose(), DoResize(), ExecuteCommand(), GetPostItTextHeight(), InitAnswer(), InitControls(), ResetAttributes(), SetPostItText(), SetSpellChecking(), UpdateData(), and UpdateText().
|
private |
Definition at line 235 of file AnnotationWin.hxx.
Referenced by ActivatePostIt(), dispose(), DoResize(), InitControls(), ResetAttributes(), SetScrollbar(), and ToggleInsMode().
|
private |
Definition at line 248 of file AnnotationWin.hxx.
Referenced by dispose(), HideNote(), SetPosAndSize(), SetSizePixel(), SetViewState(), ShowAnchorOnly(), ShowNote(), and SwAnnotationWin().
|
private |
Definition at line 249 of file AnnotationWin.hxx.
Referenced by dispose(), DrawForPage(), HideNote(), PaintTile(), SetPosAndSize(), SetResolved(), SetViewState(), and ShowNote().
|
private |
Definition at line 230 of file AnnotationWin.hxx.
Referenced by ActivatePostIt(), ChangeSidebarItem(), Delete(), DeleteThread(), dispose(), ExecuteCommand(), GetMinimumSizeWithMeta(), GetTopReplyNote(), HideNote(), InitAnswer(), InitControls(), IsThreadResolved(), MoveCaret(), ResizeIfNecessary(), SetActiveSidebarWin(), SetPosAndSize(), SetViewState(), SwAnnotationWin(), SwitchToFieldPos(), SwitchToPostIt(), ToggleResolvedForThread(), UnsetActiveSidebarWin(), and UpdateData().
|
private |
Definition at line 273 of file AnnotationWin.hxx.
Referenced by ChangeSidebarItem(), CreateAccessible(), dispose(), SetPosAndSize(), SetResolved(), and SwAnnotationWin().
|
private |
Definition at line 231 of file AnnotationWin.hxx.
Referenced by ActivatePostIt(), CreateAccessible(), Delete(), EditWin(), ExecuteCommand(), GetMinimumSizeWithoutMeta(), GetPrefScrollbarWidth(), GotoPos(), InitAnswer(), InitControls(), LockView(), Rescale(), SetActiveSidebarWin(), SetMenuButtonColors(), SetPosAndSize(), SetResolved(), SetSpellChecking(), SwAnnotationWin(), SwitchToFieldPos(), ToggleInsMode(), UnsetActiveSidebarWin(), and UpdateData().
|
private |
Definition at line 245 of file AnnotationWin.hxx.
Referenced by dispose(), DrawForPage(), InitControls(), PaintTile(), and SetMenuButtonColors().
|
private |
Definition at line 242 of file AnnotationWin.hxx.
Referenced by CheckMetaText(), dispose(), DoResize(), DrawForPage(), GetMetaHeight(), InitControls(), Rescale(), and SetColor().
|
private |
Definition at line 243 of file AnnotationWin.hxx.
Referenced by CheckMetaText(), dispose(), DoResize(), DrawForPage(), GetMetaHeight(), InitControls(), Rescale(), and SetColor().
|
private |
Definition at line 244 of file AnnotationWin.hxx.
Referenced by dispose(), DoResize(), DrawForPage(), GetMetaHeight(), InitControls(), Rescale(), SetColor(), and SetResolved().
|
private |
Definition at line 239 of file AnnotationWin.hxx.
Referenced by dispose(), DrawForPage(), GetFocus(), InitControls(), Rescale(), and SetCursorLogicPosition().
|
private |
Definition at line 240 of file AnnotationWin.hxx.
Referenced by dispose(), and InitControls().
|
private |
Definition at line 279 of file AnnotationWin.hxx.
Referenced by ChangeSidebarItem(), and CreateAccessible().
|
private |
Definition at line 238 of file AnnotationWin.hxx.
Referenced by dispose(), DoResize(), DrawForPage(), HasScrollbar(), InitControls(), IsScrollbarVisible(), Rescale(), SetColor(), and SetScrollbar().