LibreOffice Module svtools (master) 1
Classes | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
BrowseBox Class Referenceabstract

#include <brwbox.hxx>

Inheritance diagram for BrowseBox:
[legend]
Collaboration diagram for BrowseBox:
[legend]

Classes

struct  BrowserColumnAccess
 access to selected methods, to be granted to the BrowserColumn More...
 
struct  CursorMoveAttempt
 

Public Member Functions

virtual sal_Int32 GetRowCount () const override
 
 BrowseBox (vcl::Window *pParent, WinBits nBits, BrowserMode nMode=BrowserMode::NONE)
 
virtual ~BrowseBox () override
 
virtual void dispose () override
 
virtual void StateChanged (StateChangedType nStateChange) override
 
virtual void MouseButtonDown (const MouseEvent &rEvt) override
 
virtual void MouseMove (const MouseEvent &rEvt) override
 
virtual void MouseButtonUp (const MouseEvent &rEvt) override
 
virtual void KeyInput (const KeyEvent &rEvt) override
 
virtual void LoseFocus () override
 
virtual void GetFocus () override
 
virtual void Resize () override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void Draw (OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags) override
 
virtual void Command (const CommandEvent &rEvt) override
 
virtual void StartDrag (sal_Int8 _nAction, const Point &_rPosPixel) override
 
virtual sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt) override
 
virtual sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt) override
 
virtual sal_Int8 AcceptDrop (const BrowserAcceptDropEvent &rEvt)
 
virtual sal_Int8 ExecuteDrop (const BrowserExecuteDropEvent &rEvt)
 
virtual void MouseButtonDown (const BrowserMouseEvent &rEvt)
 
virtual void MouseButtonUp (const BrowserMouseEvent &rEvt)
 
void StartScroll ()
 
virtual void EndScroll ()
 
virtual void Select ()
 
virtual void DoubleClick (const BrowserMouseEvent &rEvt)
 
virtual bool IsCursorMoveAllowed (sal_Int32 nNewRow, sal_uInt16 nNewColId) const
 
virtual void CursorMoved ()
 
virtual void ColumnMoved (sal_uInt16 nColId)
 
virtual void ColumnResized (sal_uInt16 nColId)
 
virtual void RowHeightChanged ()
 called when the row height has been changed interactively More...
 
virtual tools::Long QueryMinimumRowHeight ()
 
void SetUpdateMode (bool bUpdate)
 
bool GetUpdateMode () const
 
void SetFont (const vcl::Font &rNewFont)
 
const vcl::FontGetFont () const
 
void SetTitleFont (const vcl::Font &rNewFont)
 
void InsertHandleColumn (sal_uLong nWidth)
 
void InsertDataColumn (sal_uInt16 nItemId, const OUString &rText, tools::Long nSize, HeaderBarItemBits nBits=HeaderBarItemBits::STDSTYLE, sal_uInt16 nPos=HEADERBAR_APPEND)
 
void SetColumnTitle (sal_uInt16 nColumnId, const OUString &rTitle)
 
void SetColumnWidth (sal_uInt16 nColumnId, sal_uLong nWidth)
 
void SetColumnPos (sal_uInt16 nColumnId, sal_uInt16 nPos)
 
void FreezeColumn (sal_uInt16 nColumnId)
 
void RemoveColumn (sal_uInt16 nColumnId)
 
void RemoveColumns ()
 
void SetDataRowHeight (tools::Long nPixel)
 
tools::Long GetDataRowHeight () const
 
void SetTitleLines (sal_uInt16 nLines)
 
tools::Long GetTitleHeight () const
 
OUString GetColumnTitle (sal_uInt16 nColumnId) const
 
tools::Rectangle GetFieldRect (sal_uInt16 nColumnId) const
 
sal_uLong GetColumnWidth (sal_uInt16 nColumnId) const
 
sal_uInt16 GetColumnId (sal_uInt16 nPos) const
 
sal_uInt16 GetColumnPos (sal_uInt16 nColumnId) const
 
bool IsFrozen (sal_uInt16 nColumnId) const
 
sal_Int32 ScrollColumns (sal_Int32 nColumns)
 
sal_Int32 ScrollRows (sal_Int32 nRows)
 
void MakeFieldVisible (sal_Int32 nRow, sal_uInt16 nColId)
 
sal_Int32 GetCurRow () const
 
sal_uInt16 GetCurColumnId () const
 
bool GoToRow (sal_Int32 nRow)
 
bool GoToColumnId (sal_uInt16 nColId)
 
bool GoToRowColumnId (sal_Int32 nRow, sal_uInt16 nColId)
 
virtual void SetNoSelection () override
 
virtual void SelectAll () override
 
virtual void SelectRow (sal_Int32 nRow, bool _bSelect=true, bool bExpand=true) override
 
void SelectColumnPos (sal_uInt16 nCol, bool _bSelect=true)
 
void SelectColumnId (sal_uInt16 nColId)
 
sal_Int32 GetSelectRowCount () const
 
sal_uInt16 GetSelectColumnCount () const
 
virtual bool IsRowSelected (sal_Int32 nRow) const override
 
bool IsColumnSelected (sal_uInt16 nColumnId) const
 
sal_Int32 FirstSelectedRow ()
 
sal_Int32 LastSelectedRow ()
 
sal_Int32 NextSelectedRow ()
 
const MultiSelectionGetColumnSelection () const
 
const MultiSelectionGetSelection () const
 
sal_Int32 FirstSelectedColumn () const
 
bool IsResizing () const
 
BrowserDataWinGetDataWindow () const
 
tools::Rectangle GetRowRectPixel (sal_Int32 nRow) const
 
tools::Rectangle GetFieldRectPixel (sal_Int32 nRow, sal_uInt16 nColId, bool bRelToBrowser=true) const
 
bool IsFieldVisible (sal_Int32 nRow, sal_uInt16 nColId, bool bComplete=false) const
 
sal_Int32 GetRowAtYPosPixel (tools::Long nY, bool bRelToBrowser=true) const
 
sal_uInt16 GetColumnAtXPosPixel (tools::Long nX) const
 
void Clear ()
 
void RowRemoved (sal_Int32 nRow, sal_Int32 nNumRows=1, bool bDoPaint=true)
 
void RowModified (sal_Int32 nRow, sal_uInt16 nColId=BROWSER_INVALIDID)
 
void RowInserted (sal_Int32 nRow, sal_Int32 nNumRows=1, bool bDoPaint=true, bool bKeepSelection=false)
 
bool ReserveControlArea (sal_uInt16 nWidth=USHRT_MAX)
 
tools::Rectangle GetControlArea () const
 
virtual bool ProcessKey (const KeyEvent &rEvt)
 
virtual void ChildFocusIn ()
 
virtual void ChildFocusOut ()
 
void Dispatch (sal_uInt16 nId)
 
void SetMode (BrowserMode nMode)
 
BrowserMode GetMode () const
 
void SetCursorColor (const Color &_rCol)
 
void EnableInteractiveRowHeight ()
 specifies that the user is allowed to interactively change the height of a row, by simply dragging an arbitrary row separator. More...
 
bool IsInteractiveRowHeightEnabled () const
 
void DoPaintField (OutputDevice &rDev, const tools::Rectangle &rRect, sal_uInt16 nColumnId, BrowserColumnAccess) const
 public version of PaintField, with selected access rights for the BrowserColumn More...
 
sal_uLong GetDefaultColumnWidth (const OUString &_rText) const
 suggests a default width for a column containing a given text More...
 
virtual OUString GetCellText (sal_Int32 _nRow, sal_uInt16 _nColId) const
 GetCellText returns the text at the given position. More...
 
sal_uInt16 GetColumnCount () const override
 
void commitBrowseBoxEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
 commitBrowseBoxEvent commit the event at all listeners of the browsebox More...
 
void commitTableEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue)
 commitTableEvent commit the event at all listeners of the table More...
 
void commitHeaderBarEvent (sal_Int16 nEventId, const css::uno::Any &rNewValue, const css::uno::Any &rOldValue, bool _bColumnHeaderBar)
 fires an AccessibleEvent relative to a header bar AccessibleContext More...
 
virtual tools::Rectangle calcHeaderRect (bool _bIsColumnBar, bool _bOnScreen=true) override
 returns the Rectangle for either the column header bar or the row header bar More...
 
virtual tools::Rectangle calcTableRect (bool _bOnScreen=true) override
 calculates the Rectangle of the table More...
 
virtual tools::Rectangle GetFieldRectPixel (sal_Int32 _nRowId, sal_uInt16 _nColId, bool _bIsHeader, bool _bOnScreen) override
 
bool isAccessibleAlive () const
 return <TRUE> if and only if the accessible object for this instance has been created and is alive More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 Creates and returns the accessible object of the whole BrowseBox. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCell (sal_Int32 nRow, sal_uInt16 nColumnPos) override
 Creates the accessible object of a data table cell. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleRowHeader (sal_Int32 nRow) override
 Creates the accessible object of a row header. More...
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleColumnHeader (sal_uInt16 nColumnPos) override
 Creates the accessible object of a column header. More...
 
virtual sal_Int32 GetAccessibleControlCount () const override
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl (sal_Int32 nIndex) override
 Creates the accessible object of an additional control. More...
 
virtual bool ConvertPointToCellAddress (sal_Int32 &rnRow, sal_uInt16 &rnColumnId, const Point &rPoint) override
 Converts a point relative to the data window origin to a cell address. More...
 
virtual bool ConvertPointToRowHeader (sal_Int32 &rnRow, const Point &rPoint) override
 Converts a point relative to the row header bar origin to a row header index. More...
 
virtual bool ConvertPointToColumnHeader (sal_uInt16 &rnColumnPos, const Point &rPoint) override
 Converts a point relative to the column header bar origin to a column header index. More...
 
virtual bool ConvertPointToControlIndex (sal_Int32 &rnIndex, const Point &rPoint) override
 Converts a point relative to the BrowseBox origin to the index of an existing control. More...
 
virtual OUString GetAccessibleObjectName (AccessibleBrowseBoxObjType eObjType, sal_Int32 _nPosition=-1) const override
 return the name of the specified object. More...
 
virtual OUString GetAccessibleObjectDescription (AccessibleBrowseBoxObjType eObjType, sal_Int32 _nPosition=-1) const override
 return the description of the specified object. More...
 
virtual OUString GetRowDescription (sal_Int32 nRow) const override
 
virtual OUString GetColumnDescription (sal_uInt16 _nColumn) const override
 
virtual void FillAccessibleStateSet (sal_Int64 &rStateSet, AccessibleBrowseBoxObjType eObjType) const override
 Fills the StateSet with all states (except DEFUNC and SHOWING, done by the accessible object), depending on the specified object type. More...
 
virtual void FillAccessibleStateSetForCell (sal_Int64 &_rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumn) const override
 Fills the StateSet with all states for one cell (except DEFUNC and SHOWING, done by the accessible object). More...
 
virtual void GrabTableFocus () override
 Sets focus to current cell of the data table. More...
 
virtual sal_Int32 GetCurrRow () const override
 
virtual sal_uInt16 GetCurrColumn () const override
 
virtual bool HasRowHeader () const override
 
virtual bool GoToCell (sal_Int32 _nRow, sal_uInt16 _nColumn) override
 
virtual void SelectColumn (sal_uInt16 _nColumn, bool _bSelect=true) override
 
virtual bool IsColumnSelected (sal_Int32 _nColumn) const override
 
virtual sal_Int32 GetSelectedRowCount () const override
 
virtual sal_Int32 GetSelectedColumnCount () const override
 
virtual void GetAllSelectedRows (css::uno::Sequence< sal_Int32 > &_rRows) const override
 
virtual void GetAllSelectedColumns (css::uno::Sequence< sal_Int32 > &_rColumns) const override
 
virtual bool IsCellVisible (sal_Int32 _nRow, sal_uInt16 _nColumn) const override
 
virtual OUString GetAccessibleCellText (sal_Int32 _nRow, sal_uInt16 _nColPos) const override
 
virtual bool GetGlyphBoundRects (const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, std::vector< tools::Rectangle > &rVector) override
 
virtual tools::Rectangle GetWindowExtentsAbsolute () const override
 
virtual tools::Rectangle GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const override
 
virtual void GrabFocus () override
 
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible () override
 
virtual vcl::WindowGetAccessibleParentWindow () const override
 
virtual vcl::WindowGetWindowInstance () override
 
- Public Member Functions inherited from Control
SAL_DLLPRIVATE void ImplClearLayoutData () const
 
SAL_DLLPRIVATE void ImplDrawFrame (OutputDevice *pDev, tools::Rectangle &rRect)
 
 Control (vcl::Window *pParent, WinBits nWinStyle=0)
 
virtual ~Control () override
 
virtual void dispose () override
 
virtual void EnableRTL (bool bEnable=true) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
virtual void StateChanged (StateChangedType nStateChange) override
 
virtual void Resize () override
 
virtual void SetText (const OUString &rStr) override
 
virtual OUString GetDisplayText () const override
 
tools::Rectangle GetCharacterBounds (tools::Long nIndex) const
 
tools::Long GetIndexForPoint (const Point &rPoint) const
 
Pair GetLineStartEnd (tools::Long nLine) const
 
tools::Long ToRelativeLineIndex (tools::Long nIndex) const
 
void SetLoseFocusHdl (const Link< Control &, void > &rLink)
 
bool HasControlFocus () const
 
void SetLayoutDataParent (const Control *pParent) const
 
virtual Size GetOptimalSize () const override
 
void SetReferenceDevice (OutputDevice *_referenceDevice)
 
OutputDeviceGetReferenceDevice () const
 
vcl::Font GetUnzoomedControlPointFont () const
 
void SetShowAccelerator (bool val)
 
virtual void LogicInvalidate (const tools::Rectangle *pRectangle) override
 
- Public Member Functions inherited from vcl::Window
 DECL_DLLPRIVATE_LINK (ImplHandlePaintHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ImplGenerateMouseMoveHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (ImplTrackTimerHdl, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (ImplAsyncFocusHdl, void *, void)
 
 DECL_DLLPRIVATE_LINK (ImplHandleResizeTimerHdl, Timer *, void)
 
SAL_DLLPRIVATE vcl::WindowImplGetFrameWindow () const
 
weld::WindowGetFrameWeld () const
 
vcl::WindowGetFrameWindow () const
 
SalFrameImplGetFrame () const
 
SAL_DLLPRIVATE ImplFrameDataImplGetFrameData ()
 
vcl::WindowImplGetWindow () const
 
SAL_DLLPRIVATE ImplWinDataImplGetWinData () const
 
SAL_DLLPRIVATE vcl::WindowImplGetClientWindow () const
 
SAL_DLLPRIVATE vcl::WindowImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr)
 
SAL_DLLPRIVATE vcl::WindowImplGetParent () const
 
SAL_DLLPRIVATE vcl::WindowImplFindWindow (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion)
 
SAL_DLLPRIVATE bool ImplSetClipFlag (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE bool ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE bool ImplIsFloatingWindow () const
 
SAL_DLLPRIVATE bool ImplIsPushButton () const
 
SAL_DLLPRIVATE bool ImplIsSplitter () const
 
SAL_DLLPRIVATE bool ImplIsOverlapWindow () const
 
SAL_DLLPRIVATE void ImplIsInTaskPaneList (bool mbIsInTaskList)
 
SAL_DLLPRIVATE WindowImplImplGetWindowImpl () const
 
SAL_DLLPRIVATE void ImplGrabFocus (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplGrabFocusToDocument (GetFocusFlags nFlags)
 
SAL_DLLPRIVATE void ImplInvertFocus (const tools::Rectangle &rRect)
 
SAL_DLLPRIVATE PointerStyle ImplGetMousePointer () const
 
SAL_DLLPRIVATE void ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false)
 
SAL_DLLPRIVATE void ImplGenerateMouseMove ()
 
SAL_DLLPRIVATE void ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE void ImplNotifyIconifiedState (bool bIconified)
 
SAL_DLLPRIVATE void ImplUpdateAll ()
 
SAL_DLLPRIVATE void ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE)
 
SAL_DLLPRIVATE void ImplMirrorFramePos (Point &pt) const
 
SAL_DLLPRIVATE void ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags)
 
SAL_DLLPRIVATE void ImplCallResize ()
 
SAL_DLLPRIVATE void ImplCallMove ()
 
SAL_DLLPRIVATE void CompatGetFocus ()
 
SAL_DLLPRIVATE void CompatLoseFocus ()
 
SAL_DLLPRIVATE void CompatStateChanged (StateChangedType nStateChange)
 
SAL_DLLPRIVATE void CompatDataChanged (const DataChangedEvent &rDCEvt)
 
SAL_DLLPRIVATE bool CompatPreNotify (NotifyEvent &rNEvt)
 
SAL_DLLPRIVATE bool CompatNotify (NotifyEvent &rNEvt)
 
void IncModalCount ()
 
void DecModalCount ()
 
 Window (vcl::Window *pParent, WinBits nStyle=0)
 
virtual ~Window () override
 
::OutputDevice const * GetOutDev () const
 
::OutputDeviceGetOutDev ()
 
Color GetBackgroundColor () const
 
const WallpaperGetBackground () const
 
bool IsBackground () const
 
const MapModeGetMapMode () const
 
void SetBackground ()
 
void SetBackground (const Wallpaper &rBackground)
 
virtual void MouseMove (const MouseEvent &rMEvt)
 
virtual void MouseButtonDown (const MouseEvent &rMEvt)
 
virtual void MouseButtonUp (const MouseEvent &rMEvt)
 
virtual void KeyInput (const KeyEvent &rKEvt)
 
virtual void KeyUp (const KeyEvent &rKEvt)
 
virtual void PrePaint (vcl::RenderContext &rRenderContext)
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
virtual void PostPaint (vcl::RenderContext &rRenderContext)
 
void Erase (vcl::RenderContext &rRenderContext)
 
virtual void Draw (::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags)
 
virtual void Move ()
 
virtual void Resize ()
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void RequestHelp (const HelpEvent &rHEvt)
 
virtual void Command (const CommandEvent &rCEvt)
 
virtual void Tracking (const TrackingEvent &rTEvt)
 
virtual void StateChanged (StateChangedType nStateChange)
 
virtual void DataChanged (const DataChangedEvent &rDCEvt)
 
virtual bool PreNotify (NotifyEvent &rNEvt)
 
virtual bool EventNotify (NotifyEvent &rNEvt)
 
void AddEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
void RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener)
 
ImplSVEventPostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
 
void RemoveUserEvent (ImplSVEvent *nUserEvent)
 
LanguageType GetInputLanguage () const
 
void SetStyle (WinBits nStyle)
 
WinBits GetStyle () const
 
WinBits GetPrevStyle () const
 
void SetExtendedStyle (WindowExtendedStyle nExtendedStyle)
 
WindowExtendedStyle GetExtendedStyle () const
 
void SetType (WindowType nType)
 
WindowType GetType () const
 
bool IsSystemWindow () const
 
bool IsDockingWindow () const
 
bool IsDialog () const
 
bool IsMenuFloatingWindow () const
 
bool IsToolbarFloatingWindow () const
 
bool IsTopWindow () const
 
SystemWindowGetSystemWindow () const
 
bool SupportsDoubleBuffering () const
 
void RequestDoubleBuffering (bool bRequest)
 
void EnableAllResize ()
 
void SetBorderStyle (WindowBorderStyle nBorderStyle)
 
WindowBorderStyle GetBorderStyle () const
 
void GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const
 
Size CalcWindowSize (const Size &rOutSz) const
 
Size CalcOutputSize (const Size &rWinSz) const
 
tools::Long CalcTitleWidth () const
 
void EnableClipSiblings (bool bClipSiblings=true)
 
void EnableChildTransparentMode (bool bEnable=true)
 
bool IsChildTransparentModeEnabled () const
 
void SetMouseTransparent (bool bTransparent)
 
bool IsMouseTransparent () const
 
void SetPaintTransparent (bool bTransparent)
 
bool IsPaintTransparent () const
 
void SetDialogControlStart (bool bStart)
 
bool IsDialogControlStart () const
 
void SetDialogControlFlags (DialogControlFlags nFlags)
 
DialogControlFlags GetDialogControlFlags () const
 
PointerState GetPointerState ()
 
bool IsMouseOver () const
 
void SetInputContext (const InputContext &rInputContext)
 
const InputContextGetInputContext () const
 
void PostExtTextInputEvent (VclEventId nType, const OUString &rText)
 
void EndExtTextInput ()
 
void SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0)
 
const tools::RectangleGetCursorRect () const
 
tools::Long GetCursorExtTextInputWidth () const
 
void SetCompositionCharRect (const tools::Rectangle *pRect, tools::Long nCompositionLength, bool bVertical=false)
 
void UpdateSettings (const AllSettings &rSettings, bool bChild=false)
 
void NotifyAllChildren (DataChangedEvent &rDCEvt)
 
void SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
vcl::Font GetPointFont (vcl::RenderContext const &rRenderContext) const
 
void SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont)
 
tools::Long GetDrawPixel (::OutputDevice const *pDev, tools::Long nPixels) const
 
vcl::Font GetDrawPixelFont (::OutputDevice const *pDev) const
 
void SetControlFont ()
 
void SetControlFont (const vcl::Font &rFont)
 
vcl::Font GetControlFont () const
 
bool IsControlFont () const
 
void ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont)
 
void SetControlForeground ()
 
void SetControlForeground (const Color &rColor)
 
const ColorGetControlForeground () const
 
bool IsControlForeground () const
 
void ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetControlBackground ()
 
void SetControlBackground (const Color &rColor)
 
const ColorGetControlBackground () const
 
bool IsControlBackground () const
 
void ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor)
 
void SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE)
 
ParentClipMode GetParentClipMode () const
 
void SetWindowRegionPixel ()
 
void SetWindowRegionPixel (const vcl::Region &rRegion)
 
vcl::Region GetWindowClipRegionPixel () const
 
vcl::Region GetPaintRegion () const
 
bool IsInPaint () const
 
void ExpandPaintClipRegion (const vcl::Region &rRegion)
 
void SetParent (vcl::Window *pNewParent)
 
vcl::WindowGetParent () const
 
DialogGetParentDialog () const
 
bool IsAncestorOf (const vcl::Window &rWindow) const
 
void Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
 
void Hide ()
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsReallyShown () const
 
bool IsInInitShow () const
 
void Enable (bool bEnable=true, bool bChild=true)
 
void Disable (bool bChild=true)
 
bool IsEnabled () const
 
void EnableInput (bool bEnable=true, bool bChild=true)
 
void EnableInput (bool bEnable, const vcl::Window *pExcludeWindow)
 
bool IsInputEnabled () const
 
void AlwaysEnableInput (bool bAlways, bool bChild=true)
 
bool IsAlwaysEnableInput () const
 
bool IsInModalMode () const
 
void SetActivateMode (ActivateModeFlags nMode)
 
ActivateModeFlags GetActivateMode () const
 
void ToTop (ToTopFlags nFlags=ToTopFlags::NONE)
 
void SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags)
 
void EnableAlwaysOnTop (bool bEnable=true)
 
bool IsAlwaysOnTopEnabled () const
 
virtual void setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All)
 
virtual void SetPosPixel (const Point &rNewPos)
 
virtual Point GetPosPixel () const
 
virtual void SetSizePixel (const Size &rNewSize)
 
virtual Size GetSizePixel () const
 
virtual void SetPosSizePixel (const Point &rNewPos, const Size &rNewSize)
 
virtual void SetOutputSizePixel (const Size &rNewSize)
 
bool IsDefaultPos () const
 
bool IsDefaultSize () const
 
Point GetOffsetPixelFrom (const vcl::Window &rWindow) const
 
Point OutputToScreenPixel (const Point &rPos) const
 
Point ScreenToOutputPixel (const Point &rPos) const
 
Point OutputToNormalizedScreenPixel (const Point &rPos) const
 
Point NormalizedScreenToOutputPixel (const Point &rPos) const
 
Point OutputToAbsoluteScreenPixel (const Point &rPos) const
 
Point AbsoluteScreenToOutputPixel (const Point &rPos) const
 
tools::Rectangle GetDesktopRectPixel () const
 
tools::Rectangle GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const
 
tools::Rectangle GetWindowExtentsAbsolute () const
 
bool IsScrollable () const
 
virtual void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE)
 
void Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE)
 
void Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
void Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE)
 
virtual void LogicInvalidate (const tools::Rectangle *pRectangle)
 
virtual void PixelInvalidate (const tools::Rectangle *pRectangle)
 
void Validate ()
 
bool HasPaintEvent () const
 
void PaintImmediately ()
 
void EnableDocking (bool bEnable=true)
 
void EnablePaint (bool bEnable)
 
bool IsPaintEnabled () const
 
void SetUpdateMode (bool bUpdate)
 
bool IsUpdateMode () const
 
void SetParentUpdateMode (bool bUpdate)
 
void GrabFocus ()
 
bool HasFocus () const
 
bool HasChildPathFocus (bool bSystemWindow=false) const
 
bool IsActive () const
 
bool HasActiveChildFrame () const
 
GetFocusFlags GetGetFocusFlags () const
 
void GrabFocusToDocument ()
 
VclPtr< vcl::WindowGetFocusedWindow () const
 
void SetFakeFocus (bool bFocus)
 
bool IsCompoundControl () const
 
void LocalStartDrag ()
 
void CaptureMouse ()
 
void ReleaseMouse ()
 
bool IsMouseCaptured () const
 
virtual void SetPointer (PointerStyle)
 
PointerStyle GetPointer () const
 
void EnableChildPointerOverwrite (bool bOverwrite)
 
void SetPointerPosPixel (const Point &rPos)
 
Point GetPointerPosPixel ()
 
Point GetLastPointerPosPixel ()
 
void SetLastMousePos (const Point &rPos)
 
void ShowPointer (bool bVisible)
 
void EnterWait ()
 
void LeaveWait ()
 
bool IsWait () const
 
void SetCursor (vcl::Cursor *pCursor)
 
vcl::CursorGetCursor () const
 
void SetZoom (const Fraction &rZoom)
 
const FractionGetZoom () const
 
bool IsZoom () const
 
tools::Long CalcZoom (tools::Long n) const
 
virtual void SetText (const OUString &rStr)
 
virtual OUString GetText () const
 
virtual OUString GetDisplayText () const
 
virtual const WallpaperGetDisplayBackground () const
 
void SetHelpText (const OUString &rHelpText)
 
const OUString & GetHelpText () const
 
void SetQuickHelpText (const OUString &rHelpText)
 
const OUString & GetQuickHelpText () const
 
void SetHelpId (const OUString &)
 
const OUString & GetHelpId () const
 
sal_uInt16 GetChildCount () const
 
vcl::WindowGetChild (sal_uInt16 nChild) const
 
vcl::WindowGetWindow (GetWindowType nType) const
 
bool IsChild (const vcl::Window *pWindow) const
 
bool IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const
 
SAL_DLLPRIVATE void CollectChildren (::std::vector< vcl::Window * > &rAllChildren)
 
virtual void ShowFocus (const tools::Rectangle &rRect)
 
void HideFocus ()
 
void DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder)
 
void ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small)
 
void HideTracking ()
 
void InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags)
 
void StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE)
 
void EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE)
 
bool IsTracking () const
 
void StartAutoScroll (StartAutoScrollFlags nFlags)
 
void EndAutoScroll ()
 
bool HandleScrollCommand (const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl)
 
virtual const SystemEnvDataGetSystemData () const
 
virtual css::uno::Reference< css::awt::XVclWindowPeer > GetComponentInterface (bool bCreate=true)
 
void SetComponentInterface (css::uno::Reference< css::awt::XVclWindowPeer > const &xIFace)
 
void SetUseFrameData (bool bUseFrameData)
 
void SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false)
 
const vcl::ILibreOfficeKitNotifierGetLOKNotifier () const
 
vcl::LOKWindowId GetLOKWindowId () const
 
VclPtr< vcl::WindowGetParentWithLOKNotifier ()
 
void ReleaseLOKNotifier ()
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
void RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect)
 
VCLXWindowGetWindowPeer () const
 
void SetWindowPeer (css::uno::Reference< css::awt::XVclWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow)
 
bool IsCreatedWithToolkit () const
 
void SetCreatedWithToolkit (bool b)
 
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
 
css::uno::Reference< css::datatransfer::dnd::XDragSource > GetDragSource ()
 
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > GetDragGestureRecognizer ()
 
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard ()
 
void SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard)
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout)
 
void set_height_request (sal_Int32 nHeightRequest)
 
sal_Int32 get_height_request () const
 
void set_width_request (sal_Int32 nWidthRequest)
 
sal_Int32 get_width_request () const
 
Size get_preferred_size () const
 
VclAlign get_halign () const
 
void set_halign (VclAlign eAlign)
 
VclAlign get_valign () const
 
void set_valign (VclAlign eAlign)
 
bool get_hexpand () const
 
void set_hexpand (bool bExpand)
 
bool get_vexpand () const
 
void set_vexpand (bool bExpand)
 
bool get_expand () const
 
void set_expand (bool bExpand)
 
bool get_fill () const
 
void set_fill (bool bFill)
 
void set_border_width (sal_Int32 nBorderWidth)
 
sal_Int32 get_border_width () const
 
void set_margin_start (sal_Int32 nWidth)
 
sal_Int32 get_margin_start () const
 
void set_margin_end (sal_Int32 nWidth)
 
sal_Int32 get_margin_end () const
 
void set_margin_top (sal_Int32 nWidth)
 
sal_Int32 get_margin_top () const
 
void set_margin_bottom (sal_Int32 nWidth)
 
sal_Int32 get_margin_bottom () const
 
VclPackType get_pack_type () const
 
void set_pack_type (VclPackType ePackType)
 
sal_Int32 get_padding () const
 
void set_padding (sal_Int32 nPadding)
 
sal_Int32 get_grid_width () const
 
void set_grid_width (sal_Int32 nCols)
 
sal_Int32 get_grid_left_attach () const
 
void set_grid_left_attach (sal_Int32 nAttach)
 
sal_Int32 get_grid_height () const
 
void set_grid_height (sal_Int32 nRows)
 
sal_Int32 get_grid_top_attach () const
 
void set_grid_top_attach (sal_Int32 nAttach)
 
bool get_secondary () const
 
void set_secondary (bool bSecondary)
 
bool get_non_homogeneous () const
 
void set_non_homogeneous (bool bNonHomogeneous)
 
virtual bool set_property (const OUString &rKey, const OUString &rValue)
 
bool set_font_attribute (const OUString &rKey, std::u16string_view rValue)
 
void add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup)
 
void remove_from_all_size_groups ()
 
void add_mnemonic_label (FixedText *pLabel)
 
void remove_mnemonic_label (FixedText *pLabel)
 
const std::vector< VclPtr< FixedText > > & list_mnemonic_labels () const
 
void reorderWithinParent (sal_uInt16 nNewPosition)
 
void set_id (const OUString &rID)
 
const OUString & get_id () const
 
void EnableNativeWidget (bool bEnable=true)
 
bool IsNativeWidgetEnabled () const
 
void PaintToDevice (::OutputDevice *pDevice, const Point &rPos)
 
KeyIndicatorState GetIndicatorState () const
 
void SimulateKeyPress (sal_uInt16 nKeyCode) const
 
virtual OUString GetSurroundingText () const
 
virtual Selection GetSurroundingTextSelection () const
 
virtual bool DeleteSurroundingText (const Selection &rSelection)
 
virtual FactoryFunction GetUITestFactory () const
 
virtual bool IsChart () const
 
virtual bool IsStarMath () const
 
void SetHelpHdl (const Link< vcl::Window &, bool > &rLink)
 
void SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink)
 
void SetModalHierarchyHdl (const Link< bool, void > &rLink)
 
void SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink)
 
Size GetOutputSizePixel () const
 
tools::Rectangle GetOutputRectPixel () const
 
Point LogicToPixel (const Point &rLogicPt) const
 
Size LogicToPixel (const Size &rLogicSize) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect) const
 
vcl::Region LogicToPixel (const vcl::Region &rLogicRegion) const
 
Point LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const
 
Size LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const
 
tools::Rectangle LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const
 
Point PixelToLogic (const Point &rDevicePt) const
 
Size PixelToLogic (const Size &rDeviceSize) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect) const
 
tools::PolyPolygon PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const
 
vcl::Region PixelToLogic (const vcl::Region &rDeviceRegion) const
 
Point PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const
 
Size PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const
 
tools::Rectangle PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const
 
Size LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const
 
const AllSettingsGetSettings () const
 
void SetSettings (const AllSettings &rSettings)
 
void SetSettings (const AllSettings &rSettings, bool bChild)
 
tools::Rectangle GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const
 
float GetDPIScaleFactor () const
 
tools::Long GetOutOffXPixel () const
 
tools::Long GetOutOffYPixel () const
 
void EnableMapMode (bool bEnable=true)
 
bool IsMapModeEnabled () const
 
void SetMapMode ()
 
void SetMapMode (const MapMode &rNewMapMode)
 
virtual void EnableRTL (bool bEnable=true)
 
bool IsRTLEnabled () const
 
void SetFont (const vcl::Font &rNewFont)
 
const vcl::FontGetFont () const
 
tools::Long GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const
 
tools::Long GetTextHeight () const
 
float approximate_digit_width () const
 
void SetTextColor (const Color &rColor)
 
const ColorGetTextColor () const
 
void SetTextFillColor ()
 
void SetTextFillColor (const Color &rColor)
 
Color GetTextFillColor () const
 
bool IsTextFillColor () const
 
void SetTextLineColor ()
 
void SetTextLineColor (const Color &rColor)
 
const ColorGetTextLineColor () const
 
bool IsTextLineColor () const
 
void SetOverlineColor ()
 
void SetOverlineColor (const Color &rColor)
 
const ColorGetOverlineColor () const
 
bool IsOverlineColor () const
 
void SetTextAlign (TextAlign eAlign)
 
TextAlign GetTextAlign () const
 
bool IsNativeControlSupported (ControlType nType, ControlPart nPart) const
 
bool GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const
 
css::uno::Reference< css::accessibility::XAccessible > GetAccessible (bool bCreate=true)
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
void SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &)
 
vcl::WindowGetAccessibleParentWindow () const
 
sal_uInt16 GetAccessibleChildWindowCount ()
 
vcl::WindowGetAccessibleChildWindow (sal_uInt16 n)
 
void SetAccessibleRole (sal_uInt16 nRole)
 
sal_uInt16 GetAccessibleRole () const
 
void SetAccessibleName (const OUString &rName)
 
OUString GetAccessibleName () const
 
void SetAccessibleDescription (const OUString &rDescr)
 
OUString GetAccessibleDescription () const
 
void SetAccessibleRelationLabeledBy (vcl::Window *pLabeledBy)
 
vcl::WindowGetAccessibleRelationLabeledBy () const
 
void SetAccessibleRelationLabelFor (vcl::Window *pLabelFor)
 
vcl::WindowGetAccessibleRelationLabelFor () const
 
vcl::WindowGetAccessibleRelationMemberOf () const
 
bool IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true)
 
void SetAccessibilityEventsSuppressed (bool bSuppressed)
 
KeyEvent GetActivationKey () const
 
- Public Member Functions inherited from VclReferenceBase
void acquire () const
 
void release () const
 
sal_Int32 getRefCount () const
 
void disposeOnce ()
 
bool isDisposed () const
 
- Public Member Functions inherited from vcl::IAccessibleTableProvider
virtual sal_Int32 GetRowCount () const=0
 
virtual sal_uInt16 GetColumnCount () const=0
 
virtual sal_Int32 GetCurrRow () const=0
 
virtual sal_uInt16 GetCurrColumn () const=0
 
virtual OUString GetRowDescription (sal_Int32 _nRow) const=0
 
virtual OUString GetColumnDescription (sal_uInt16 _nColumnPos) const=0
 
virtual bool HasRowHeader () const=0
 
virtual bool GoToCell (sal_Int32 _nRow, sal_uInt16 _nColumnPos)=0
 
virtual void SetNoSelection ()=0
 
virtual void SelectAll ()=0
 
virtual void SelectRow (sal_Int32 _nRow, bool _bSelect=true, bool bExpand=true)=0
 
virtual void SelectColumn (sal_uInt16 _nColumnPos, bool _bSelect=true)=0
 
virtual sal_Int32 GetSelectedRowCount () const=0
 
virtual sal_Int32 GetSelectedColumnCount () const=0
 
virtual bool IsRowSelected (sal_Int32 _nRow) const=0
 
virtual bool IsColumnSelected (sal_Int32 _nColumnPos) const=0
 
virtual void GetAllSelectedRows (css::uno::Sequence< sal_Int32 > &_rRows) const=0
 
virtual void GetAllSelectedColumns (css::uno::Sequence< sal_Int32 > &_rColumns) const=0
 
virtual bool IsCellVisible (sal_Int32 _nRow, sal_uInt16 _nColumnPos) const=0
 
virtual OUString GetAccessibleCellText (sal_Int32 _nRow, sal_uInt16 _nColumnPos) const=0
 
virtual tools::Rectangle calcHeaderRect (bool _bIsColumnBar, bool _bOnScreen=true)=0
 
virtual tools::Rectangle calcTableRect (bool _bOnScreen=true)=0
 
virtual tools::Rectangle GetFieldRectPixel (sal_Int32 _nRow, sal_uInt16 _nColumnPos, bool _bIsHeader, bool _bOnScreen)=0
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleCell (sal_Int32 _nRow, sal_uInt16 _nColumnPos)=0
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleRowHeader (sal_Int32 _nRow)=0
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleColumnHeader (sal_uInt16 _nColumnPos)=0
 
virtual sal_Int32 GetAccessibleControlCount () const=0
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessibleControl (sal_Int32 _nIndex)=0
 
virtual bool ConvertPointToControlIndex (sal_Int32 &_rnIndex, const Point &_rPoint)=0
 
virtual bool ConvertPointToCellAddress (sal_Int32 &_rnRow, sal_uInt16 &_rnColPos, const Point &_rPoint)=0
 
virtual bool ConvertPointToRowHeader (sal_Int32 &_rnRow, const Point &_rPoint)=0
 
virtual bool ConvertPointToColumnHeader (sal_uInt16 &_rnColPos, const Point &_rPoint)=0
 
virtual OUString GetAccessibleObjectName (AccessibleBrowseBoxObjType _eType, sal_Int32 _nPos=-1) const=0
 
virtual OUString GetAccessibleObjectDescription (AccessibleBrowseBoxObjType _eType, sal_Int32 _nPos=-1) const=0
 
virtual void FillAccessibleStateSet (sal_Int64 &_rStateSet, AccessibleBrowseBoxObjType _eType) const=0
 
virtual void FillAccessibleStateSetForCell (sal_Int64 &_rStateSet, sal_Int32 _nRow, sal_uInt16 _nColumnPos) const=0
 
virtual void GrabTableFocus ()=0
 
virtual bool GetGlyphBoundRects (const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, std::vector< tools::Rectangle > &rVector)=0
 
virtual tools::Rectangle GetWindowExtentsAbsolute () const=0
 
virtual tools::Rectangle GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const=0
 
virtual void GrabFocus ()=0
 
virtual css::uno::Reference< css::accessibility::XAccessible > GetAccessible ()=0
 
virtual vcl::WindowGetAccessibleParentWindow () const=0
 
virtual vcl::WindowGetWindowInstance ()=0
 
virtual tools::Rectangle GetFieldCharacterBounds (sal_Int32 _nRow, sal_Int32 _nColumnPos, sal_Int32 nIndex)=0
 
virtual sal_Int32 GetFieldIndexAtPoint (sal_Int32 _nRow, sal_Int32 _nColumnPos, const Point &_rPoint)=0
 

Static Public Attributes

static const sal_uInt16 HandleColumnId = 0
 

Protected Member Functions

::vcl::IAccessibleFactorygetAccessibleFactory ()
 retrieves the XAccessible implementation associated with the BrowseBox instance More...
 
sal_uInt16 ColCount () const
 
void SetRealRowCount (const OUString &rRealRowCount)
 
virtual bool SeekRow (sal_Int32 nRow)=0
 seeks for the given row position More...
 
void DrawCursor ()
 
void PaintData (vcl::Window const &rWin, vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
virtual void PaintField (vcl::RenderContext &rDev, const tools::Rectangle &rRect, sal_uInt16 nColumnId) const =0
 
virtual void VisibleRowsChanged (sal_Int32 nNewTopRow, sal_uInt16 nNumRows)
 
sal_uInt16 GetVisibleRows () const
 
sal_Int32 GetTopRow () const
 
sal_uInt16 GetFirstVisibleColNumber () const
 
void DoShowCursor ()
 
void DoHideCursor ()
 
short GetCursorHideCount () const
 
virtual VclPtr< BrowserHeaderCreateHeaderBar (BrowseBox *pParent)
 
void SetHeaderBar (BrowserHeader *)
 
tools::Long CalcReverseZoom (tools::Long nVal) const
 
const DataFlavorExVectorGetDataFlavors () const
 
bool IsDropFormatSupported (SotClipboardFormatId nFormat) const
 
void DisposeAccessible ()
 
virtual void ImplStartTracking ()
 
virtual void ImplEndTracking ()
 
- Protected Member Functions inherited from Control
 Control (WindowType nType)
 
virtual void FillLayoutData () const
 
void AppendLayoutData (const Control &rSubControl) const
 
void CreateLayoutData () const
 
bool HasLayoutData () const
 
bool ImplCallEventListenersAndHandler (VclEventId nEvent, std::function< void()> const &callHandler)
 
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
 
tools::Rectangle DrawControlText (OutputDevice &_rTargetDevice, const tools::Rectangle &_rRect, const OUString &_rStr, DrawTextFlags _nStyle, std::vector< tools::Rectangle > *_pVector, OUString *_pDisplayText, const Size *i_pDeviceSize=nullptr) const
 
tools::Rectangle GetControlTextRect (OutputDevice &_rTargetDevice, const tools::Rectangle &rRect, const OUString &_rStr, DrawTextFlags _nStyle, Size *o_pDeviceSize=nullptr) const
 
virtual const vcl::FontGetCanonicalFont (const StyleSettings &_rStyle) const
 
virtual const ColorGetCanonicalTextColor (const StyleSettings &_rStyle) const
 
void ImplInitSettings ()
 
virtual void ApplySettings (vcl::RenderContext &rRenderContext) override
 
virtual bool FocusWindowBelongsToControl (const vcl::Window *pFocusWin) const
 
- Protected Member Functions inherited from vcl::Window
virtual void dispose () override
 
SAL_DLLPRIVATE void ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData)
 
SAL_DLLPRIVATE void ImplInvalidateParentFrameRegion (const vcl::Region &rRegion)
 
SAL_DLLPRIVATE void ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags)
 
SAL_DLLPRIVATE void ImplValidate ()
 
SAL_DLLPRIVATE void ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE void ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren)
 
SAL_DLLPRIVATE vcl::WindowImplGetBorderWindow () const
 
virtual void ImplInvalidate (const vcl::Region *pRegion, InvalidateFlags nFlags)
 
virtual WindowHitTest ImplHitTest (const Point &rFramePos)
 
SAL_DLLPRIVATE void ImplSetMouseTransparent (bool bTransparent)
 
SAL_DLLPRIVATE void ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags)
 
SAL_DLLPRIVATE bool ImplSetClipFlagChildren (bool bSysObjOnlySmaller)
 
SAL_DLLPRIVATE bool ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false)
 
SAL_DLLPRIVATE void PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE void PopPaintHelper (PaintHelper const *pHelper)
 
 Window (WindowType nType)
 
void SetCompoundControl (bool bCompound)
 
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
 
virtual void ImplAdjustNWFSizes ()
 
virtual void ApplySettings (vcl::RenderContext &rRenderContext)
 
SAL_DLLPRIVATE float approximate_char_width () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationMemberOf () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabeledBy () const
 
SAL_DLLPRIVATE vcl::WindowgetLegacyNonLayoutAccessibleRelationLabelFor () const
 
virtual vcl::WindowgetAccessibleRelationLabelFor () const
 
virtual sal_uInt16 getDefaultAccessibleRole () const
 
virtual OUString getDefaultAccessibleName () const
 
virtual Size GetOptimalSize () const
 
void InvalidateSizeCache ()
 
- Protected Member Functions inherited from VclReferenceBase
 VclReferenceBase ()
 
virtual ~VclReferenceBase ()
 
virtual void dispose ()
 
- Protected Member Functions inherited from vcl::IAccessibleTableProvider
 ~IAccessibleTableProvider ()
 

Protected Attributes

bool m_bNavigationBar
 
- Protected Attributes inherited from Control
std::optional< vcl::ControlLayoutDatamxLayoutData
 
VclPtr< OutputDevicempReferenceDevice
 

Private Member Functions

SVT_DLLPRIVATE void ConstructImpl (BrowserMode nMode)
 
SVT_DLLPRIVATE void ExpandRowSelection (const BrowserMouseEvent &rEvt)
 
SVT_DLLPRIVATE void ToggleSelection ()
 
SVT_DLLPRIVATE void UpdateScrollbars ()
 
SVT_DLLPRIVATE void AutoSizeLastColumn ()
 
SVT_DLLPRIVATE tools::Long ImpGetDataRowHeight () const
 
SVT_DLLPRIVATE tools::Rectangle ImplFieldRectPixel (sal_Int32 nRow, sal_uInt16 nColId) const
 
SVT_DLLPRIVATE sal_uInt16 FrozenColCount () const
 
SVT_DLLPRIVATE void ColumnInserted (sal_uInt16 nPos)
 
 DECL_DLLPRIVATE_LINK (VertScrollHdl, weld::Scrollbar &, void)
 
 DECL_DLLPRIVATE_LINK (HorzScrollHdl, weld::Scrollbar &, void)
 
 DECL_DLLPRIVATE_LINK (StartDragHdl, HeaderBar *, void)
 
SVT_DLLPRIVATE tools::Long GetFrozenWidth () const
 
SVT_DLLPRIVATE tools::Long GetBarHeight () const
 
bool GoToRow (sal_Int32 nRow, bool bRowColMove, bool bDoNotModifySelection=false)
 
bool GoToColumnId (sal_uInt16 nColId, bool bMakeVisible, bool bRowColMove=false)
 
void SelectColumnPos (sal_uInt16 nCol, bool _bSelect, bool bMakeVisible)
 
void ImplPaintData (OutputDevice &_rOut, const tools::Rectangle &_rRect, bool _bForeignDevice)
 
bool PaintCursorIfHiddenOnce () const
 
sal_uInt16 ToggleSelectedColumn ()
 
void SetToggledSelectedColumn (sal_uInt16 _nSelectedColumnId)
 

Private Attributes

VclPtr< BrowserDataWinpDataWin
 
VclPtr< ScrollAdaptorpVScroll
 
VclPtr< ScrollAdaptoraHScroll
 
VclPtr< MeasureStatusBaraStatusBarHeight
 
tools::Long m_nDataRowHeight
 
tools::Long m_nCornerHeight
 
tools::Long m_nCornerWidth
 
tools::Long m_nActualCornerWidth
 
sal_uInt16 nTitleLines
 
sal_uLong nControlAreaWidth
 
bool bColumnCursor
 
bool bMultiSelection
 
bool bKeepHighlight
 
bool bHLines
 
bool bVLines
 
bool bBootstrapped
 
sal_Int32 nTopRow
 
sal_Int32 nCurRow
 
sal_Int32 nRowCount
 
sal_uInt16 nFirstCol
 
sal_uInt16 nCurColId
 
bool bSelecting
 
bool bRowDividerDrag
 
bool bHit
 
bool mbInteractiveRowHeight
 
tools::Long nResizeX
 
tools::Long nMinResizeX
 
tools::Long nDragX
 
sal_uInt16 nResizeCol
 
bool bResizing
 
bool bSelect
 
bool bSelectionIsVisible
 select or deselect More...
 
bool bScrolling
 
bool bNotToggleSel
 
bool bHasFocus
 
bool bHideSelect
 
TriState bHideCursor
 
Range aSelRange
 
::std::vector< std::unique_ptr< BrowserColumn > > mvCols
 
union {
   MultiSelection *   pSel
 
   sal_Int32   nSel
 
uRow
 
std::unique_ptr< MultiSelectionpColSel
 
std::stack< CursorMoveAttemptm_aGotoStack
 
::std::unique_ptr< ::svt::BrowseBoxImplm_pImpl
 
bool m_bFocusOnlyCursor
 
Color m_aCursorColor
 
BrowserMode m_nCurrentMode
 

Friends

class BrowserDataWin
 
class ::svt::BrowseBoxImpl
 

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 ()
 

Detailed Description

Definition at line 257 of file brwbox.hxx.

Constructor & Destructor Documentation

◆ BrowseBox()

BrowseBox::BrowseBox ( vcl::Window pParent,
WinBits  nBits,
BrowserMode  nMode = BrowserMode::NONE 
)

Definition at line 163 of file brwbox1.cxx.

References ConstructImpl(), Create(), and WB_3DLOOK.

◆ ~BrowseBox()

BrowseBox::~BrowseBox ( )
overridevirtual

Definition at line 178 of file brwbox1.cxx.

References VclReferenceBase::disposeOnce().

Member Function Documentation

◆ AcceptDrop() [1/2]

sal_Int8 BrowseBox::AcceptDrop ( const AcceptDropEvent rEvt)
overridevirtual

◆ AcceptDrop() [2/2]

sal_Int8 BrowseBox::AcceptDrop ( const BrowserAcceptDropEvent rEvt)
virtual

Definition at line 64 of file brwbox2.cxx.

References DND_ACTION_NONE.

◆ AutoSizeLastColumn()

void BrowseBox::AutoSizeLastColumn ( )
private

◆ calcHeaderRect()

tools::Rectangle BrowseBox::calcHeaderRect ( bool  _bIsColumnBar,
bool  _bOnScreen = true 
)
overridevirtual

returns the Rectangle for either the column header bar or the row header bar

Parameters
_bIsColumnBar<TRUE> when column header bar is used
_bOnScreen<TRUE> when the rectangle should be calculated OnScreen
Returns
the Rectangle

Implements vcl::IAccessibleTableProvider.

Definition at line 1943 of file brwbox2.cxx.

References GetAccessibleParentWindow(), GetColumnWidth(), GetControlArea(), GetDataRowHeight(), tools::Rectangle::GetHeight(), tools::Rectangle::GetSize(), GetWindowExtentsAbsolute(), GetWindowExtentsRelative(), Size::Height(), pDataWin, Point::setY(), tools::Rectangle::TopLeft(), and Point::Y().

Referenced by calcTableRect().

◆ CalcReverseZoom()

tools::Long BrowseBox::CalcReverseZoom ( tools::Long  nVal) const
protected

Definition at line 2321 of file brwbox1.cxx.

Referenced by ImpGetDataRowHeight(), and SetDataRowHeight().

◆ calcTableRect()

tools::Rectangle BrowseBox::calcTableRect ( bool  _bOnScreen = true)
overridevirtual

calculates the Rectangle of the table

Parameters
_bOnScreen<TRUE> when the rectangle should be calculated OnScreen
Returns
the Rectangle

Implements vcl::IAccessibleTableProvider.

Definition at line 1973 of file brwbox2.cxx.

References calcHeaderRect(), GetAccessibleParentWindow(), GetBarHeight(), tools::Rectangle::GetSize(), GetWindowExtentsAbsolute(), GetWindowExtentsRelative(), Size::Height(), tools::Rectangle::Left(), tools::Rectangle::Right(), tools::Rectangle::Top(), tools::Rectangle::TopRight(), and Size::Width().

◆ ChildFocusIn()

void BrowseBox::ChildFocusIn ( )
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 1721 of file brwbox2.cxx.

◆ ChildFocusOut()

void BrowseBox::ChildFocusOut ( )
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 1725 of file brwbox2.cxx.

◆ Clear()

void BrowseBox::Clear ( )

◆ ColCount()

sal_uInt16 BrowseBox::ColCount ( ) const
protected

◆ ColumnInserted()

void BrowseBox::ColumnInserted ( sal_uInt16  nPos)
private

Definition at line 1272 of file brwbox2.cxx.

References nPos, pColSel, and UpdateScrollbars().

Referenced by InsertDataColumn(), and InsertHandleColumn().

◆ ColumnMoved()

void BrowseBox::ColumnMoved ( sal_uInt16  nColId)
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 213 of file brwbox2.cxx.

Referenced by svt::EditBrowseBox::ColumnMoved(), and Dispatch().

◆ ColumnResized()

void BrowseBox::ColumnResized ( sal_uInt16  nColId)
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 208 of file brwbox2.cxx.

Referenced by AutoSizeLastColumn(), and MouseButtonUp().

◆ Command()

void BrowseBox::Command ( const CommandEvent rEvt)
overridevirtual

Reimplemented from vcl::Window.

Definition at line 95 of file brwbox2.cxx.

References vcl::Window::Command(), and pDataWin.

Referenced by BrowserDataWin::Command().

◆ commitBrowseBoxEvent()

void BrowseBox::commitBrowseBoxEvent ( sal_Int16  nEventId,
const css::uno::Any &  rNewValue,
const css::uno::Any &  rOldValue 
)

commitBrowseBoxEvent commit the event at all listeners of the browsebox

Parameters
nEventIdthe event id
rNewValuethe new value
rOldValuethe old value

Definition at line 417 of file brwbox3.cxx.

References isAccessibleAlive(), and m_pImpl.

Referenced by Clear(), svt::EditBrowseBox::DeactivateCell(), svt::EditBrowseBox::implCreateActiveAccessible(), and RemoveColumns().

◆ commitHeaderBarEvent()

void BrowseBox::commitHeaderBarEvent ( sal_Int16  nEventId,
const css::uno::Any &  rNewValue,
const css::uno::Any &  rOldValue,
bool  _bColumnHeaderBar 
)

fires an AccessibleEvent relative to a header bar AccessibleContext

Parameters
nEventIdthe event id
rNewValuethe new value
rOldValuethe old value

Definition at line 403 of file brwbox3.cxx.

References isAccessibleAlive(), and m_pImpl.

Referenced by RemoveColumn(), and RowInserted().

◆ commitTableEvent()

void BrowseBox::commitTableEvent ( sal_Int16  nEventId,
const css::uno::Any &  rNewValue,
const css::uno::Any &  rOldValue 
)

commitTableEvent commit the event at all listeners of the table

Parameters
nEventIdthe event id
rNewValuethe new value
rOldValuethe old value

Definition at line 411 of file brwbox3.cxx.

References isAccessibleAlive(), and m_pImpl.

Referenced by svt::EditBrowseBox::ActivateCell(), Clear(), RemoveColumn(), RemoveColumns(), RowInserted(), SetColumnPos(), and SetColumnTitle().

◆ ConstructImpl()

void BrowseBox::ConstructImpl ( BrowserMode  nMode)
private

◆ ConvertPointToCellAddress()

bool BrowseBox::ConvertPointToCellAddress ( sal_Int32 &  rnRow,
sal_uInt16 &  rnColumnId,
const Point rPoint 
)
overridevirtual

Converts a point relative to the data window origin to a cell address.

Parameters
rnRowOut-parameter that takes the row index.
rnColumnIdOut-parameter that takes the column ID.
rPointThe position in pixels relative to the data window.
Returns
<TRUE>, if the point could be converted to a valid address.

TODO has to be checked

Implements vcl::IAccessibleTableProvider.

Definition at line 167 of file brwbox3.cxx.

References BROWSER_INVALIDID, GetColumnAtXPosPixel(), GetRowAtYPosPixel(), Point::X(), and Point::Y().

Referenced by ConvertPointToControlIndex().

◆ ConvertPointToColumnHeader()

bool BrowseBox::ConvertPointToColumnHeader ( sal_uInt16 &  rnColumnPos,
const Point rPoint 
)
overridevirtual

Converts a point relative to the column header bar origin to a column header index.

Parameters
rnColumnIdOut-parameter that takes the column ID.
rPointThe position in pixels relative to the header bar.
Returns
<TRUE>, if the point could be converted to a valid index.

Implements vcl::IAccessibleTableProvider.

Definition at line 185 of file brwbox3.cxx.

References BROWSER_INVALIDID, GetColumnAtXPosPixel(), and Point::X().

◆ ConvertPointToControlIndex()

bool BrowseBox::ConvertPointToControlIndex ( sal_Int32 &  rnIndex,
const Point rPoint 
)
overridevirtual

Converts a point relative to the BrowseBox origin to the index of an existing control.

Parameters
rnRowOut-parameter that takes the 0-based control index.
rPointThe position in pixels relative to the BrowseBox.
Returns
<TRUE>, if the point could be converted to a valid index.

TODO has to be checked

Implements vcl::IAccessibleTableProvider.

Definition at line 192 of file brwbox3.cxx.

References ColCount(), and ConvertPointToCellAddress().

◆ ConvertPointToRowHeader()

bool BrowseBox::ConvertPointToRowHeader ( sal_Int32 &  rnRow,
const Point rPoint 
)
overridevirtual

Converts a point relative to the row header bar origin to a row header index.

Parameters
rnRowOut-parameter that takes the row index.
rPointThe position in pixels relative to the header bar.
Returns
<TRUE>, if the point could be converted to a valid index.

Implements vcl::IAccessibleTableProvider.

Definition at line 177 of file brwbox3.cxx.

References BROWSER_INVALIDID, GetRowAtYPosPixel(), and Point::Y().

◆ CreateAccessible()

Reference< XAccessible > BrowseBox::CreateAccessible ( )
overridevirtual

Creates and returns the accessible object of the whole BrowseBox.

Reimplemented from vcl::Window.

Definition at line 84 of file brwbox3.cxx.

References vcl::IAccessibleFactory::createAccessibleBrowseBox(), DBG_ASSERT, vcl::Window::GetAccessible(), getAccessibleFactory(), GetAccessibleParentWindow(), and m_pImpl.

◆ CreateAccessibleCell()

Reference< XAccessible > BrowseBox::CreateAccessibleCell ( sal_Int32  nRow,
sal_uInt16  nColumnPos 
)
overridevirtual

Creates the accessible object of a data table cell.

Parameters
nRowThe row index of the cell.
nColumnIdThe column pos of the cell.
Returns
The XAccessible interface of the specified cell.

Implements vcl::IAccessibleTableProvider.

Definition at line 110 of file brwbox3.cxx.

References m_pImpl, and OFFSET_DEFAULT.

Referenced by svt::EditBrowseBox::ActivateCell().

◆ CreateAccessibleColumnHeader()

Reference< XAccessible > BrowseBox::CreateAccessibleColumnHeader ( sal_uInt16  nColumnPos)
overridevirtual

Creates the accessible object of a column header.

Parameters
nColumnIdThe column ID of the header.
Returns
The XAccessible interface of the specified column header.

Implements vcl::IAccessibleTableProvider.

Definition at line 139 of file brwbox3.cxx.

References svt::getHeaderCell(), and m_pImpl.

Referenced by RemoveColumn().

◆ CreateAccessibleControl()

Reference< XAccessible > BrowseBox::CreateAccessibleControl ( sal_Int32  nIndex)
overridevirtual

Creates the accessible object of an additional control.

Parameters
nIndexThe 0-based index of the control.
Returns
The XAccessible interface of the specified control.

Implements vcl::IAccessibleTableProvider.

Reimplemented in svt::EditBrowseBox.

Definition at line 158 of file brwbox3.cxx.

References SAL_WARN.

◆ CreateAccessibleRowHeader()

Reference< XAccessible > BrowseBox::CreateAccessibleRowHeader ( sal_Int32  nRow)
overridevirtual

Creates the accessible object of a row header.

Parameters
nRowThe row index of the header.
Returns
The XAccessible interface of the specified row header.

Implements vcl::IAccessibleTableProvider.

Definition at line 126 of file brwbox3.cxx.

References svt::getHeaderCell(), and m_pImpl.

Referenced by RowInserted().

◆ CreateHeaderBar()

VclPtr< BrowserHeader > BrowseBox::CreateHeaderBar ( BrowseBox pParent)
protectedvirtual

Reimplemented in svt::EditBrowseBox.

Definition at line 2293 of file brwbox1.cxx.

◆ CursorMoved()

void BrowseBox::CursorMoved ( )
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 2337 of file brwbox1.cxx.

Referenced by Clear(), RowInserted(), and StateChanged().

◆ DECL_DLLPRIVATE_LINK() [1/3]

BrowseBox::DECL_DLLPRIVATE_LINK ( HorzScrollHdl  ,
weld::Scrollbar ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/3]

BrowseBox::DECL_DLLPRIVATE_LINK ( StartDragHdl  ,
HeaderBar ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/3]

BrowseBox::DECL_DLLPRIVATE_LINK ( VertScrollHdl  ,
weld::Scrollbar ,
void   
)
private

◆ Dispatch()

void BrowseBox::Dispatch ( sal_uInt16  nId)

◆ dispose()

void BrowseBox::dispose ( void  )
overridevirtual

◆ DisposeAccessible()

void BrowseBox::DisposeAccessible ( )
protected

Definition at line 183 of file brwbox1.cxx.

References m_pImpl.

Referenced by dispose().

◆ DoHideCursor()

void BrowseBox::DoHideCursor ( )
protected

◆ DoPaintField()

void BrowseBox::DoPaintField ( OutputDevice rDev,
const tools::Rectangle rRect,
sal_uInt16  nColumnId,
BrowserColumnAccess   
) const
inline

public version of PaintField, with selected access rights for the BrowserColumn

Definition at line 615 of file brwbox.hxx.

Referenced by BrowserColumn::Draw().

◆ DoShowCursor()

void BrowseBox::DoShowCursor ( )
protected

◆ DoubleClick()

void BrowseBox::DoubleClick ( const BrowserMouseEvent rEvt)
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 182 of file brwbox2.cxx.

Referenced by MouseButtonDown().

◆ Draw()

void BrowseBox::Draw ( OutputDevice pDev,
const Point rPos,
SystemTextColorFlags  nFlags 
)
overridevirtual

◆ DrawCursor()

void BrowseBox::DrawCursor ( )
protected

◆ EnableInteractiveRowHeight()

void BrowseBox::EnableInteractiveRowHeight ( )
inline

specifies that the user is allowed to interactively change the height of a row, by simply dragging an arbitrary row separator.

Note that this works only if there's a handle column, since only in this case, there is something for the user to click onto

Definition at line 608 of file brwbox.hxx.

◆ EndScroll()

void BrowseBox::EndScroll ( )
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 224 of file brwbox2.cxx.

References AutoSizeLastColumn(), DoShowCursor(), and UpdateScrollbars().

Referenced by svt::EditBrowseBox::EndScroll(), ScrollColumns(), and ScrollRows().

◆ ExecuteDrop() [1/2]

sal_Int8 BrowseBox::ExecuteDrop ( const BrowserExecuteDropEvent rEvt)
virtual

Definition at line 71 of file brwbox2.cxx.

References DND_ACTION_NONE.

◆ ExecuteDrop() [2/2]

sal_Int8 BrowseBox::ExecuteDrop ( const ExecuteDropEvent rEvt)
overridevirtual

◆ ExpandRowSelection()

void BrowseBox::ExpandRowSelection ( const BrowserMouseEvent rEvt)
private

◆ FillAccessibleStateSet()

void BrowseBox::FillAccessibleStateSet ( sal_Int64 &  rStateSet,
AccessibleBrowseBoxObjType  eObjType 
) const
overridevirtual

Fills the StateSet with all states (except DEFUNC and SHOWING, done by the accessible object), depending on the specified object type.

Implements vcl::IAccessibleTableProvider.

Definition at line 318 of file brwbox3.cxx.

References GetCurColumnId(), GetCurRow(), GetSelectColumnCount(), GetSelectRowCount(), GetUpdateMode(), vcl::Window::HasFocus(), vcl::Window::IsActive(), vcl::Window::IsEnabled(), IsFieldVisible(), IsFrozen(), and vcl::Window::IsReallyVisible().

◆ FillAccessibleStateSetForCell()

void BrowseBox::FillAccessibleStateSetForCell ( sal_Int64 &  _rStateSet,
sal_Int32  _nRow,
sal_uInt16  _nColumn 
) const
overridevirtual

Fills the StateSet with all states for one cell (except DEFUNC and SHOWING, done by the accessible object).

TODO check if the state is valid for table cells

Implements vcl::IAccessibleTableProvider.

Definition at line 378 of file brwbox3.cxx.

References GetCurrColumn(), GetCurrRow(), and IsCellVisible().

◆ FirstSelectedColumn()

sal_Int32 BrowseBox::FirstSelectedColumn ( ) const

Definition at line 1871 of file brwbox1.cxx.

Referenced by svt::EditBrowseBox::Dispatch().

◆ FirstSelectedRow()

sal_Int32 BrowseBox::FirstSelectedRow ( )

Definition at line 1877 of file brwbox1.cxx.

Referenced by GetAllSelectedRows().

◆ FreezeColumn()

void BrowseBox::FreezeColumn ( sal_uInt16  nColumnId)

◆ FrozenColCount()

sal_uInt16 BrowseBox::FrozenColCount ( ) const
private

Definition at line 1279 of file brwbox2.cxx.

References IsFrozen(), and mvCols.

Referenced by FreezeColumn(), RemoveColumn(), ScrollColumns(), and UpdateScrollbars().

◆ GetAccessible()

Reference< XAccessible > BrowseBox::GetAccessible ( )
overridevirtual

◆ GetAccessibleCellText()

OUString BrowseBox::GetAccessibleCellText ( sal_Int32  _nRow,
sal_uInt16  _nColPos 
) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 523 of file brwbox3.cxx.

References GetCellText(), and GetColumnId().

◆ GetAccessibleControlCount()

sal_Int32 BrowseBox::GetAccessibleControlCount ( ) const
overridevirtual
Returns
The count of additional controls of the control area.

Implements vcl::IAccessibleTableProvider.

Reimplemented in svt::EditBrowseBox.

Definition at line 152 of file brwbox3.cxx.

◆ getAccessibleFactory()

vcl::IAccessibleFactory & BrowseBox::getAccessibleFactory ( )
protected

retrieves the XAccessible implementation associated with the BrowseBox instance

Definition at line 423 of file brwbox3.cxx.

References m_pImpl.

Referenced by CreateAccessible(), svt::EditBrowseBox::CreateAccessibleCheckBoxCell(), and svt::EditBrowseBox::implCreateActiveAccessible().

◆ GetAccessibleObjectDescription()

OUString BrowseBox::GetAccessibleObjectDescription ( AccessibleBrowseBoxObjType  eObjType,
sal_Int32  _nPosition = -1 
) const
overridevirtual

return the description of the specified object.

Parameters
eObjTypeThe type to ask for
_nPositionThe position of a tablecell (index position), header bar column/row cell
Returns
The description of the specified object.

Implements vcl::IAccessibleTableProvider.

Definition at line 273 of file brwbox3.cxx.

◆ GetAccessibleObjectName()

OUString BrowseBox::GetAccessibleObjectName ( AccessibleBrowseBoxObjType  eObjType,
sal_Int32  _nPosition = -1 
) const
overridevirtual

return the name of the specified object.

Parameters
eObjTypeThe type to ask for
_nPositionThe position of a tablecell (index position), header bar column/row cell
Returns
The name of the specified object.

Implements vcl::IAccessibleTableProvider.

Definition at line 207 of file brwbox3.cxx.

References ColCount(), GetColumnDescription(), GetCurColumnId(), GetCurRow(), and GetRowCount().

◆ GetAccessibleParentWindow()

vcl::Window * BrowseBox::GetAccessibleParentWindow ( ) const
overridevirtual

◆ GetAllSelectedColumns()

void BrowseBox::GetAllSelectedColumns ( css::uno::Sequence< sal_Int32 > &  _rColumns) const
overridevirtual

◆ GetAllSelectedRows()

void BrowseBox::GetAllSelectedRows ( css::uno::Sequence< sal_Int32 > &  _rRows) const
overridevirtual

◆ GetBarHeight()

tools::Long BrowseBox::GetBarHeight ( ) const
private

◆ GetCellText()

OUString BrowseBox::GetCellText ( sal_Int32  _nRow,
sal_uInt16  _nColId 
) const
virtual

GetCellText returns the text at the given position.

Parameters
_nRowthe number of the row
_nColIdthe ID of the column
Returns
the text out of the cell

Definition at line 396 of file brwbox3.cxx.

References SAL_WARN.

Referenced by GetAccessibleCellText(), and svt::EditBrowseBox::PaintStatusCell().

◆ GetColumnAtXPosPixel()

sal_uInt16 BrowseBox::GetColumnAtXPosPixel ( tools::Long  nX) const

◆ GetColumnCount()

sal_uInt16 BrowseBox::GetColumnCount ( ) const
inlineoverridevirtual
Returns
the current column count

Implements vcl::IAccessibleTableProvider.

Definition at line 637 of file brwbox.hxx.

◆ GetColumnDescription()

OUString BrowseBox::GetColumnDescription ( sal_uInt16  _nColumn) const
overridevirtual
Returns
The header text of the specified column.

Implements vcl::IAccessibleTableProvider.

Definition at line 312 of file brwbox3.cxx.

References GetColumnId(), and GetColumnTitle().

Referenced by GetAccessibleObjectName().

◆ GetColumnId()

sal_uInt16 BrowseBox::GetColumnId ( sal_uInt16  nPos) const

◆ GetColumnPos()

sal_uInt16 BrowseBox::GetColumnPos ( sal_uInt16  nColumnId) const

◆ GetColumnSelection()

const MultiSelection * BrowseBox::GetColumnSelection ( ) const
inline

Definition at line 565 of file brwbox.hxx.

Referenced by GetAllSelectedColumns(), and GetSelectedColumnCount().

◆ GetColumnTitle()

OUString BrowseBox::GetColumnTitle ( sal_uInt16  nColumnId) const

Definition at line 835 of file brwbox1.cxx.

References GetColumnPos(), mvCols, and nId.

Referenced by svt::EditBrowseBox::GetAutoColumnWidth(), and GetColumnDescription().

◆ GetColumnWidth()

sal_uLong BrowseBox::GetColumnWidth ( sal_uInt16  nColumnId) const

◆ GetControlArea()

tools::Rectangle BrowseBox::GetControlArea ( ) const

Definition at line 2135 of file brwbox1.cxx.

Referenced by calcHeaderRect(), and svt::EditBrowseBox::Resize().

◆ GetCurColumnId()

sal_uInt16 BrowseBox::GetCurColumnId ( ) const
inline

◆ GetCurrColumn()

sal_uInt16 BrowseBox::GetCurrColumn ( ) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 440 of file brwbox3.cxx.

References GetColumnPos(), and GetCurColumnId().

Referenced by FillAccessibleStateSetForCell().

◆ GetCurRow()

sal_Int32 BrowseBox::GetCurRow ( ) const
inline

◆ GetCurrRow()

sal_Int32 BrowseBox::GetCurrRow ( ) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 435 of file brwbox3.cxx.

References GetCurRow().

Referenced by FillAccessibleStateSetForCell().

◆ GetCursorHideCount()

short BrowseBox::GetCursorHideCount ( ) const
protected

Definition at line 218 of file brwbox1.cxx.

References pDataWin.

Referenced by DrawCursor().

◆ GetDataFlavors()

const DataFlavorExVector & BrowseBox::GetDataFlavors ( ) const
protected

Definition at line 78 of file brwbox2.cxx.

References pDataWin.

◆ GetDataRowHeight()

tools::Long BrowseBox::GetDataRowHeight ( ) const

◆ GetDataWindow()

BrowserDataWin & BrowseBox::GetDataWindow ( ) const

◆ GetDefaultColumnWidth()

sal_uLong BrowseBox::GetDefaultColumnWidth ( const OUString &  _rText) const

suggests a default width for a column containing a given text

The width is calculated so that the text fits completely, plus some margin.

Definition at line 275 of file brwbox1.cxx.

References pDataWin.

Referenced by svt::EditBrowseBox::AppendColumn(), and svt::EditBrowseBox::GetAutoColumnWidth().

◆ GetFieldRect()

tools::Rectangle BrowseBox::GetFieldRect ( sal_uInt16  nColumnId) const

Definition at line 2098 of file brwbox1.cxx.

Referenced by SetColumnPos(), and SetColumnWidth().

◆ GetFieldRectPixel() [1/2]

tools::Rectangle BrowseBox::GetFieldRectPixel ( sal_Int32  _nRowId,
sal_uInt16  _nColId,
bool  _bIsHeader,
bool  _bOnScreen 
)
overridevirtual
Parameters
_nRowIdthe current row
_nColIdthe column id
_bOnScreen<TRUE> when the rectangle should be calculated OnScreen
Returns
the Rectangle

Implements vcl::IAccessibleTableProvider.

Definition at line 1993 of file brwbox2.cxx.

References GetAccessibleParentWindow(), GetFieldRectPixel(), tools::Rectangle::GetSize(), GetWindowExtentsAbsolute(), GetWindowExtentsRelative(), and tools::Rectangle::TopLeft().

◆ GetFieldRectPixel() [2/2]

tools::Rectangle BrowseBox::GetFieldRectPixel ( sal_Int32  nRow,
sal_uInt16  nColId,
bool  bRelToBrowser = true 
) const

◆ GetFirstVisibleColNumber()

sal_uInt16 BrowseBox::GetFirstVisibleColNumber ( ) const
inlineprotected

Definition at line 435 of file brwbox.hxx.

◆ GetFocus()

void BrowseBox::GetFocus ( )
overridevirtual

Reimplemented from vcl::Window.

Reimplemented in svt::EditBrowseBox.

Definition at line 2370 of file brwbox1.cxx.

Referenced by svt::EditBrowseBox::GetFocus().

◆ GetFont()

const vcl::Font & BrowseBox::GetFont ( ) const

Definition at line 270 of file brwbox1.cxx.

References pDataWin.

◆ GetFrozenWidth()

tools::Long BrowseBox::GetFrozenWidth ( ) const
private

Definition at line 1261 of file brwbox2.cxx.

References IsFrozen(), mvCols, and Width.

Referenced by ImplPaintData(), ScrollColumns(), SetColumnPos(), and SetColumnWidth().

◆ GetGlyphBoundRects()

bool BrowseBox::GetGlyphBoundRects ( const Point rOrigin,
const OUString &  rStr,
int  nIndex,
int  nLen,
std::vector< tools::Rectangle > &  rVector 
)
overridevirtual

◆ GetMode()

BrowserMode BrowseBox::GetMode ( ) const
inline

Definition at line 598 of file brwbox.hxx.

Referenced by svt::EditBrowseBox::GetCellRect().

◆ GetRowAtYPosPixel()

sal_Int32 BrowseBox::GetRowAtYPosPixel ( tools::Long  nY,
bool  bRelToBrowser = true 
) const

◆ GetRowCount()

sal_Int32 BrowseBox::GetRowCount ( ) const
overridevirtual

◆ GetRowDescription()

OUString BrowseBox::GetRowDescription ( sal_Int32  nRow) const
overridevirtual
Returns
The header text of the specified row.

Implements vcl::IAccessibleTableProvider.

Definition at line 306 of file brwbox3.cxx.

◆ GetRowRectPixel()

tools::Rectangle BrowseBox::GetRowRectPixel ( sal_Int32  nRow) const

Definition at line 2025 of file brwbox1.cxx.

◆ GetSelectColumnCount()

sal_uInt16 BrowseBox::GetSelectColumnCount ( ) const

◆ GetSelectedColumnCount()

sal_Int32 BrowseBox::GetSelectedColumnCount ( ) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 471 of file brwbox3.cxx.

References GetColumnSelection(), and MultiSelection::GetSelectCount().

Referenced by GetAllSelectedColumns().

◆ GetSelectedRowCount()

sal_Int32 BrowseBox::GetSelectedRowCount ( ) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 466 of file brwbox3.cxx.

References GetSelectRowCount().

◆ GetSelection()

const MultiSelection * BrowseBox::GetSelection ( ) const
inline

◆ GetSelectRowCount()

sal_Int32 BrowseBox::GetSelectRowCount ( ) const

◆ GetTitleHeight()

tools::Long BrowseBox::GetTitleHeight ( ) const

◆ GetTopRow()

sal_Int32 BrowseBox::GetTopRow ( ) const
inlineprotected

Definition at line 434 of file brwbox.hxx.

Referenced by svt::EditBrowseBox::GetAutoColumnWidth().

◆ GetUpdateMode()

bool BrowseBox::GetUpdateMode ( ) const

◆ GetVisibleRows()

sal_uInt16 BrowseBox::GetVisibleRows ( ) const
protected

Definition at line 2390 of file brwbox1.cxx.

Referenced by svt::EditBrowseBox::GetAutoColumnWidth().

◆ GetWindowExtentsAbsolute()

tools::Rectangle BrowseBox::GetWindowExtentsAbsolute ( ) const
overridevirtual

◆ GetWindowExtentsRelative()

tools::Rectangle BrowseBox::GetWindowExtentsRelative ( const vcl::Window rRelativeWindow) const
overridevirtual

◆ GetWindowInstance()

vcl::Window * BrowseBox::GetWindowInstance ( )
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 559 of file brwbox3.cxx.

◆ GoToCell()

bool BrowseBox::GoToCell ( sal_Int32  _nRow,
sal_uInt16  _nColumn 
)
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 450 of file brwbox3.cxx.

References GetColumnId(), and GoToRowColumnId().

◆ GoToColumnId() [1/2]

bool BrowseBox::GoToColumnId ( sal_uInt16  nColId)

Definition at line 1519 of file brwbox1.cxx.

◆ GoToColumnId() [2/2]

bool BrowseBox::GoToColumnId ( sal_uInt16  nColId,
bool  bMakeVisible,
bool  bRowColMove = false 
)
private

Definition at line 1525 of file brwbox1.cxx.

Referenced by Dispatch().

◆ GoToRow() [1/2]

bool BrowseBox::GoToRow ( sal_Int32  nRow)

Definition at line 1431 of file brwbox1.cxx.

◆ GoToRow() [2/2]

bool BrowseBox::GoToRow ( sal_Int32  nRow,
bool  bRowColMove,
bool  bDoNotModifySelection = false 
)
private

◆ GoToRowColumnId()

bool BrowseBox::GoToRowColumnId ( sal_Int32  nRow,
sal_uInt16  nColId 
)

◆ GrabFocus()

void BrowseBox::GrabFocus ( )
overridevirtual

◆ GrabTableFocus()

void BrowseBox::GrabTableFocus ( )
overridevirtual

Sets focus to current cell of the data table.

Implements vcl::IAccessibleTableProvider.

Reimplemented in svt::EditBrowseBox.

Definition at line 391 of file brwbox3.cxx.

References GrabFocus().

◆ HasRowHeader()

bool BrowseBox::HasRowHeader ( ) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 445 of file brwbox3.cxx.

References GetColumnId(), and HandleColumnId.

◆ ImpGetDataRowHeight()

tools::Long BrowseBox::ImpGetDataRowHeight ( ) const
private

Definition at line 854 of file brwbox1.cxx.

References CalcReverseZoom(), m_nDataRowHeight, pDataWin, and Resize().

Referenced by Draw(), and SetFont().

◆ ImplEndTracking()

void BrowseBox::ImplEndTracking ( )
protectedvirtual

Reimplemented in svt::EditBrowseBox.

Definition at line 198 of file brwbox2.cxx.

Referenced by svt::EditBrowseBox::ImplEndTracking(), and BrowserDataWin::Tracking().

◆ ImplFieldRectPixel()

tools::Rectangle BrowseBox::ImplFieldRectPixel ( sal_Int32  nRow,
sal_uInt16  nColId 
) const
private

Definition at line 2049 of file brwbox1.cxx.

◆ ImplPaintData()

void BrowseBox::ImplPaintData ( OutputDevice _rOut,
const tools::Rectangle _rRect,
bool  _bForeignDevice 
)
private

◆ ImplStartTracking()

void BrowseBox::ImplStartTracking ( )
protectedvirtual

Reimplemented in svt::EditBrowseBox.

Definition at line 193 of file brwbox2.cxx.

Referenced by svt::EditBrowseBox::ImplStartTracking(), and BrowserDataWin::StartRowDividerDrag().

◆ InsertDataColumn()

void BrowseBox::InsertDataColumn ( sal_uInt16  nItemId,
const OUString &  rText,
tools::Long  nSize,
HeaderBarItemBits  nBits = HeaderBarItemBits::STDSTYLE,
sal_uInt16  nPos = HEADERBAR_APPEND 
)

◆ InsertHandleColumn()

void BrowseBox::InsertHandleColumn ( sal_uLong  nWidth)

◆ isAccessibleAlive()

bool BrowseBox::isAccessibleAlive ( ) const

return <TRUE> if and only if the accessible object for this instance has been created and is alive

Definition at line 428 of file brwbox3.cxx.

References m_pImpl.

Referenced by svt::EditBrowseBox::ActivateCell(), Clear(), commitBrowseBoxEvent(), commitHeaderBarEvent(), commitTableEvent(), svt::EditBrowseBox::CreateAccessibleControl(), svt::EditBrowseBox::DeactivateCell(), RemoveColumn(), RemoveColumns(), RowInserted(), SetColumnPos(), and SetColumnTitle().

◆ IsCellVisible()

bool BrowseBox::IsCellVisible ( sal_Int32  _nRow,
sal_uInt16  _nColumn 
) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 518 of file brwbox3.cxx.

References GetColumnId(), and IsFieldVisible().

Referenced by FillAccessibleStateSetForCell().

◆ IsColumnSelected() [1/2]

bool BrowseBox::IsColumnSelected ( sal_Int32  _nColumn) const
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 460 of file brwbox3.cxx.

References pColSel.

◆ IsColumnSelected() [2/2]

bool BrowseBox::IsColumnSelected ( sal_uInt16  nColumnId) const

Definition at line 1905 of file brwbox1.cxx.

Referenced by Dispatch(), ImplPaintData(), and MouseButtonDown().

◆ IsCursorMoveAllowed()

bool BrowseBox::IsCursorMoveAllowed ( sal_Int32  nNewRow,
sal_uInt16  nNewColId 
) const
virtual

Reimplemented in svt::EditBrowseBox.

Definition at line 2268 of file brwbox1.cxx.

◆ IsDropFormatSupported()

bool BrowseBox::IsDropFormatSupported ( SotClipboardFormatId  nFormat) const
protected

Definition at line 86 of file brwbox2.cxx.

References pDataWin.

◆ IsFieldVisible()

bool BrowseBox::IsFieldVisible ( sal_Int32  nRow,
sal_uInt16  nColId,
bool  bComplete = false 
) const

Definition at line 1979 of file brwbox1.cxx.

Referenced by FillAccessibleStateSet(), and IsCellVisible().

◆ IsFrozen()

bool BrowseBox::IsFrozen ( sal_uInt16  nColumnId) const

◆ IsInteractiveRowHeightEnabled()

bool BrowseBox::IsInteractiveRowHeightEnabled ( ) const
inline

Definition at line 609 of file brwbox.hxx.

◆ IsResizing()

bool BrowseBox::IsResizing ( ) const
inline

Definition at line 571 of file brwbox.hxx.

◆ IsRowSelected()

bool BrowseBox::IsRowSelected ( sal_Int32  nRow) const
overridevirtual

◆ KeyInput()

void BrowseBox::KeyInput ( const KeyEvent rEvt)
overridevirtual

Reimplemented from vcl::Window.

Reimplemented in svt::EditBrowseBox.

Definition at line 1645 of file brwbox2.cxx.

References vcl::Window::KeyInput(), and ProcessKey().

Referenced by svt::EditBrowseBox::KeyInput().

◆ LastSelectedRow()

sal_Int32 BrowseBox::LastSelectedRow ( )

Definition at line 1891 of file brwbox1.cxx.

◆ LoseFocus()

void BrowseBox::LoseFocus ( )
overridevirtual

Reimplemented from vcl::Window.

Reimplemented in svt::EditBrowseBox.

Definition at line 2349 of file brwbox1.cxx.

Referenced by svt::EditBrowseBox::LoseFocus().

◆ MakeFieldVisible()

void BrowseBox::MakeFieldVisible ( sal_Int32  nRow,
sal_uInt16  nColId 
)

Definition at line 1913 of file brwbox1.cxx.

Referenced by Dispatch().

◆ MouseButtonDown() [1/2]

void BrowseBox::MouseButtonDown ( const BrowserMouseEvent rEvt)
virtual

◆ MouseButtonDown() [2/2]

void BrowseBox::MouseButtonDown ( const MouseEvent rEvt)
overridevirtual

◆ MouseButtonUp() [1/2]

void BrowseBox::MouseButtonUp ( const BrowserMouseEvent rEvt)
virtual

◆ MouseButtonUp() [2/2]

void BrowseBox::MouseButtonUp ( const MouseEvent rEvt)
overridevirtual

◆ MouseMove()

void BrowseBox::MouseMove ( const MouseEvent rEvt)
overridevirtual

◆ NextSelectedRow()

sal_Int32 BrowseBox::NextSelectedRow ( )

Definition at line 1884 of file brwbox1.cxx.

Referenced by GetAllSelectedRows().

◆ Paint()

void BrowseBox::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
overridevirtual

◆ PaintCursorIfHiddenOnce()

bool BrowseBox::PaintCursorIfHiddenOnce ( ) const
inlineprivate

Definition at line 380 of file brwbox.hxx.

References vcl::Window::HasFocus().

Referenced by DoHideCursor(), DoShowCursor(), and DrawCursor().

◆ PaintData()

void BrowseBox::PaintData ( vcl::Window const &  rWin,
vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
protected

◆ PaintField()

virtual void BrowseBox::PaintField ( vcl::RenderContext rDev,
const tools::Rectangle rRect,
sal_uInt16  nColumnId 
) const
protectedpure virtual

Implemented in svt::EditBrowseBox.

◆ ProcessKey()

bool BrowseBox::ProcessKey ( const KeyEvent rEvt)
virtual

◆ QueryMinimumRowHeight()

tools::Long BrowseBox::QueryMinimumRowHeight ( )
virtual

Definition at line 187 of file brwbox2.cxx.

References vcl::Window::CalcZoom().

Referenced by BrowserDataWin::Tracking().

◆ RemoveColumn()

void BrowseBox::RemoveColumn ( sal_uInt16  nColumnId)

◆ RemoveColumns()

void BrowseBox::RemoveColumns ( )

◆ ReserveControlArea()

bool BrowseBox::ReserveControlArea ( sal_uInt16  nWidth = USHRT_MAX)

Definition at line 2123 of file brwbox1.cxx.

Referenced by svt::EditBrowseBox::Resize().

◆ Resize()

void BrowseBox::Resize ( )
overridevirtual

◆ RowHeightChanged()

void BrowseBox::RowHeightChanged ( )
virtual

called when the row height has been changed interactively

Reimplemented in svt::EditBrowseBox.

Definition at line 203 of file brwbox2.cxx.

Referenced by svt::EditBrowseBox::RowHeightChanged(), and BrowserDataWin::Tracking().

◆ RowInserted()

void BrowseBox::RowInserted ( sal_Int32  nRow,
sal_Int32  nNumRows = 1,
bool  bDoPaint = true,
bool  bKeepSelection = false 
)

◆ RowModified()

void BrowseBox::RowModified ( sal_Int32  nRow,
sal_uInt16  nColId = BROWSER_INVALIDID 
)

◆ RowRemoved()

void BrowseBox::RowRemoved ( sal_Int32  nRow,
sal_Int32  nNumRows = 1,
bool  bDoPaint = true 
)

Definition at line 1260 of file brwbox1.cxx.

◆ ScrollColumns()

sal_Int32 BrowseBox::ScrollColumns ( sal_Int32  nColumns)

◆ ScrollRows()

sal_Int32 BrowseBox::ScrollRows ( sal_Int32  nRows)

◆ SeekRow()

virtual bool BrowseBox::SeekRow ( sal_Int32  nRow)
protectedpure virtual

seeks for the given row position

Parameters
nRownRow starts at 0

Implemented in svt::EditBrowseBox.

Referenced by ImplPaintData().

◆ Select()

void BrowseBox::Select ( )
virtual

◆ SelectAll()

void BrowseBox::SelectAll ( )
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 1653 of file brwbox1.cxx.

Referenced by MouseButtonDown().

◆ SelectColumn()

void BrowseBox::SelectColumn ( sal_uInt16  _nColumn,
bool  _bSelect = true 
)
overridevirtual

Implements vcl::IAccessibleTableProvider.

Definition at line 455 of file brwbox3.cxx.

References SelectColumnPos().

◆ SelectColumnId()

void BrowseBox::SelectColumnId ( sal_uInt16  nColId)
inline

Definition at line 556 of file brwbox.hxx.

Referenced by Dispatch().

◆ SelectColumnPos() [1/2]

void BrowseBox::SelectColumnPos ( sal_uInt16  nCol,
bool  _bSelect,
bool  bMakeVisible 
)
private

Definition at line 1798 of file brwbox1.cxx.

Referenced by svt::EditBrowseBox::Dispatch(), MouseButtonDown(), and SelectColumn().

◆ SelectColumnPos() [2/2]

void BrowseBox::SelectColumnPos ( sal_uInt16  nCol,
bool  _bSelect = true 
)
inline

Definition at line 554 of file brwbox.hxx.

◆ SelectRow()

void BrowseBox::SelectRow ( sal_Int32  nRow,
bool  _bSelect = true,
bool  bExpand = true 
)
overridevirtual

◆ SetColumnPos()

void BrowseBox::SetColumnPos ( sal_uInt16  nColumnId,
sal_uInt16  nPos 
)

◆ SetColumnTitle()

void BrowseBox::SetColumnTitle ( sal_uInt16  nColumnId,
const OUString &  rTitle 
)

◆ SetColumnWidth()

void BrowseBox::SetColumnWidth ( sal_uInt16  nColumnId,
sal_uLong  nWidth 
)

◆ SetCursorColor()

void BrowseBox::SetCursorColor ( const Color _rCol)

Definition at line 1926 of file brwbox2.cxx.

References DoHideCursor(), DoShowCursor(), m_aCursorColor, and m_bFocusOnlyCursor.

◆ SetDataRowHeight()

void BrowseBox::SetDataRowHeight ( tools::Long  nPixel)

Definition at line 863 of file brwbox1.cxx.

References CalcReverseZoom(), m_nDataRowHeight, nPixel, pDataWin, and Resize().

Referenced by BrowserDataWin::Tracking().

◆ SetFont()

void BrowseBox::SetFont ( const vcl::Font rNewFont)

Definition at line 264 of file brwbox1.cxx.

References ImpGetDataRowHeight(), and pDataWin.

◆ SetHeaderBar()

void BrowseBox::SetHeaderBar ( BrowserHeader pHeaderBar)
protected

Definition at line 2300 of file brwbox1.cxx.

◆ SetMode()

void BrowseBox::SetMode ( BrowserMode  nMode)

Definition at line 2145 of file brwbox1.cxx.

Referenced by ConstructImpl().

◆ SetNoSelection()

void BrowseBox::SetNoSelection ( )
overridevirtual

◆ SetRealRowCount()

void BrowseBox::SetRealRowCount ( const OUString &  rRealRowCount)
protected

Definition at line 258 of file brwbox1.cxx.

References pDataWin.

◆ SetTitleFont()

void BrowseBox::SetTitleFont ( const vcl::Font rNewFont)
inline

Definition at line 509 of file brwbox.hxx.

References vcl::Window::SetFont().

◆ SetTitleLines()

void BrowseBox::SetTitleLines ( sal_uInt16  nLines)

Definition at line 871 of file brwbox1.cxx.

References nTitleLines.

◆ SetToggledSelectedColumn()

void BrowseBox::SetToggledSelectedColumn ( sal_uInt16  _nSelectedColumnId)
private

Definition at line 360 of file brwbox1.cxx.

References BROWSER_INVALIDID, DoShowCursor(), GetColumnPos(), pColSel, SAL_INFO, and ToggleSelection().

Referenced by FreezeColumn(), and SetColumnPos().

◆ SetUpdateMode()

void BrowseBox::SetUpdateMode ( bool  bUpdate)

◆ StartDrag()

void BrowseBox::StartDrag ( sal_Int8  _nAction,
const Point _rPosPixel 
)
overridevirtual

Definition at line 42 of file brwbox2.cxx.

Referenced by BrowserDataWin::StartDrag().

◆ StartScroll()

void BrowseBox::StartScroll ( )

Definition at line 218 of file brwbox2.cxx.

References DoHideCursor().

Referenced by ScrollColumns(), and ScrollRows().

◆ StateChanged()

void BrowseBox::StateChanged ( StateChangedType  nStateChange)
overridevirtual

◆ ToggleSelectedColumn()

sal_uInt16 BrowseBox::ToggleSelectedColumn ( )
private

◆ ToggleSelection()

void BrowseBox::ToggleSelection ( )
private

◆ UpdateScrollbars()

void BrowseBox::UpdateScrollbars ( )
private

◆ VisibleRowsChanged()

void BrowseBox::VisibleRowsChanged ( sal_Int32  nNewTopRow,
sal_uInt16  nNumRows 
)
protectedvirtual

Definition at line 2253 of file brwbox1.cxx.

Referenced by ScrollRows().

Friends And Related Function Documentation

◆ ::svt::BrowseBoxImpl

friend class ::svt::BrowseBoxImpl
friend

Definition at line 264 of file brwbox.hxx.

◆ BrowserDataWin

friend class BrowserDataWin
friend

Definition at line 263 of file brwbox.hxx.

Member Data Documentation

◆ aHScroll

VclPtr<ScrollAdaptor> BrowseBox::aHScroll
private

◆ aSelRange

Range BrowseBox::aSelRange
private

Definition at line 312 of file brwbox.hxx.

Referenced by ExpandRowSelection(), MouseButtonDown(), and MouseButtonUp().

◆ aStatusBarHeight

VclPtr<MeasureStatusBar> BrowseBox::aStatusBarHeight
private

Definition at line 273 of file brwbox.hxx.

Referenced by dispose(), and GetBarHeight().

◆ bBootstrapped

bool BrowseBox::bBootstrapped
private

◆ bColumnCursor

bool BrowseBox::bColumnCursor
private

Definition at line 281 of file brwbox.hxx.

Referenced by Dispatch(), DrawCursor(), ImplPaintData(), MouseButtonDown(), and ProcessKey().

◆ bHasFocus

bool BrowseBox::bHasFocus
private

Definition at line 309 of file brwbox.hxx.

Referenced by ConstructImpl(), and StateChanged().

◆ bHideCursor

TriState BrowseBox::bHideCursor
private

Definition at line 311 of file brwbox.hxx.

Referenced by ConstructImpl(), and DrawCursor().

◆ bHideSelect

bool BrowseBox::bHideSelect
private

Definition at line 310 of file brwbox.hxx.

Referenced by ConstructImpl(), ImplPaintData(), and ToggleSelection().

◆ bHit

bool BrowseBox::bHit
private

Definition at line 296 of file brwbox.hxx.

Referenced by ConstructImpl(), MouseButtonDown(), and MouseButtonUp().

◆ bHLines

bool BrowseBox::bHLines
private

Definition at line 285 of file brwbox.hxx.

Referenced by DrawCursor(), and ImplPaintData().

◆ bKeepHighlight

bool BrowseBox::bKeepHighlight
private

Definition at line 283 of file brwbox.hxx.

Referenced by ConstructImpl().

◆ bMultiSelection

bool BrowseBox::bMultiSelection
private

◆ bNotToggleSel

bool BrowseBox::bNotToggleSel
private

Definition at line 308 of file brwbox.hxx.

Referenced by ConstructImpl(), and ToggleSelection().

◆ bResizing

bool BrowseBox::bResizing
private

Definition at line 303 of file brwbox.hxx.

Referenced by ConstructImpl(), MouseButtonDown(), MouseButtonUp(), and MouseMove().

◆ bRowDividerDrag

bool BrowseBox::bRowDividerDrag
private

◆ bScrolling

bool BrowseBox::bScrolling
private

Definition at line 307 of file brwbox.hxx.

Referenced by ConstructImpl(), DrawCursor(), and ScrollColumns().

◆ bSelect

bool BrowseBox::bSelect
private

Definition at line 305 of file brwbox.hxx.

Referenced by ConstructImpl(), ExpandRowSelection(), MouseButtonDown(), and MouseButtonUp().

◆ bSelecting

bool BrowseBox::bSelecting
private

Definition at line 294 of file brwbox.hxx.

Referenced by ConstructImpl(), ExpandRowSelection(), MouseButtonDown(), and MouseButtonUp().

◆ bSelectionIsVisible

bool BrowseBox::bSelectionIsVisible
private

select or deselect

Definition at line 306 of file brwbox.hxx.

Referenced by ConstructImpl(), DrawCursor(), SetColumnWidth(), StateChanged(), and ToggleSelection().

◆ bVLines

bool BrowseBox::bVLines
private

Definition at line 286 of file brwbox.hxx.

Referenced by ImplPaintData().

◆ HandleColumnId

const sal_uInt16 BrowseBox::HandleColumnId = 0
static

◆ m_aCursorColor

Color BrowseBox::m_aCursorColor
private

Definition at line 348 of file brwbox.hxx.

Referenced by ConstructImpl(), DrawCursor(), and SetCursorColor().

◆ m_aGotoStack

std::stack<CursorMoveAttempt> BrowseBox::m_aGotoStack
private

Definition at line 343 of file brwbox.hxx.

◆ m_bFocusOnlyCursor

bool BrowseBox::m_bFocusOnlyCursor
private

Definition at line 347 of file brwbox.hxx.

Referenced by ConstructImpl(), ImplPaintData(), and SetCursorColor().

◆ m_bNavigationBar

bool BrowseBox::m_bNavigationBar
protected

Definition at line 390 of file brwbox.hxx.

Referenced by GetBarHeight().

◆ m_nActualCornerWidth

tools::Long BrowseBox::m_nActualCornerWidth
private

Definition at line 278 of file brwbox.hxx.

Referenced by Paint(), and UpdateScrollbars().

◆ m_nCornerHeight

tools::Long BrowseBox::m_nCornerHeight
private

Definition at line 276 of file brwbox.hxx.

Referenced by Paint(), and UpdateScrollbars().

◆ m_nCornerWidth

tools::Long BrowseBox::m_nCornerWidth
private

Definition at line 277 of file brwbox.hxx.

Referenced by UpdateScrollbars().

◆ m_nCurrentMode

BrowserMode BrowseBox::m_nCurrentMode
private

Definition at line 349 of file brwbox.hxx.

Referenced by ConstructImpl().

◆ m_nDataRowHeight

tools::Long BrowseBox::m_nDataRowHeight
private

Definition at line 275 of file brwbox.hxx.

Referenced by ConstructImpl(), Draw(), ImpGetDataRowHeight(), and SetDataRowHeight().

◆ m_pImpl

::std::unique_ptr< ::svt::BrowseBoxImpl > BrowseBox::m_pImpl
private

◆ mbInteractiveRowHeight

bool BrowseBox::mbInteractiveRowHeight
private

Definition at line 297 of file brwbox.hxx.

Referenced by ConstructImpl().

◆ mvCols

::std::vector< std::unique_ptr<BrowserColumn> > BrowseBox::mvCols
private

◆ nControlAreaWidth

sal_uLong BrowseBox::nControlAreaWidth
private

Definition at line 280 of file brwbox.hxx.

Referenced by ConstructImpl(), and UpdateScrollbars().

◆ nCurColId

sal_uInt16 BrowseBox::nCurColId
private

◆ nCurRow

sal_Int32 BrowseBox::nCurRow
private

◆ nDragX

tools::Long BrowseBox::nDragX
private

Definition at line 301 of file brwbox.hxx.

Referenced by ConstructImpl(), MouseButtonDown(), MouseButtonUp(), and MouseMove().

◆ nFirstCol

sal_uInt16 BrowseBox::nFirstCol
private

◆ nMinResizeX

tools::Long BrowseBox::nMinResizeX
private

Definition at line 300 of file brwbox.hxx.

Referenced by ConstructImpl(), MouseButtonDown(), MouseButtonUp(), and MouseMove().

◆ nResizeCol

sal_uInt16 BrowseBox::nResizeCol
private

Definition at line 302 of file brwbox.hxx.

Referenced by ConstructImpl(), MouseButtonDown(), MouseButtonUp(), and MouseMove().

◆ nResizeX

tools::Long BrowseBox::nResizeX
private

Definition at line 299 of file brwbox.hxx.

Referenced by ConstructImpl(), MouseButtonDown(), MouseButtonUp(), and MouseMove().

◆ nRowCount

sal_Int32 BrowseBox::nRowCount
private

◆ nSel

sal_Int32 BrowseBox::nSel

Definition at line 318 of file brwbox.hxx.

◆ nTitleLines

sal_uInt16 BrowseBox::nTitleLines
private

Definition at line 279 of file brwbox.hxx.

Referenced by ConstructImpl(), Paint(), ScrollColumns(), SetTitleLines(), and StateChanged().

◆ nTopRow

sal_Int32 BrowseBox::nTopRow
private

◆ pColSel

std::unique_ptr<MultiSelection> BrowseBox::pColSel
private

◆ pDataWin

VclPtr<BrowserDataWin> BrowseBox::pDataWin
private

◆ pSel

MultiSelection* BrowseBox::pSel

Definition at line 317 of file brwbox.hxx.

◆ pVScroll

VclPtr<ScrollAdaptor> BrowseBox::pVScroll
private

◆ 

union { ... } BrowseBox::uRow

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