LibreOffice Module vcl (master)
1
|
#include <treelistbox.hxx>
Public Member Functions | |
SvTreeListBox (vcl::Window *pParent, WinBits nWinStyle=0) | |
virtual | ~SvTreeListBox () override |
virtual void | dispose () override |
This is intended to be used to clear any locally held references to other Window-subclass objects. More... | |
SvTreeList * | GetModel () const |
sal_uLong | GetEntryCount () const |
SvTreeListEntry * | First () const |
SvTreeListEntry * | Next (SvTreeListEntry *pEntry) const |
SvTreeListEntry * | Prev (SvTreeListEntry *pEntry) const |
SvTreeListEntry * | Last () const |
SvTreeListEntry * | FirstChild (SvTreeListEntry *pParent) const |
bool | CopySelection (SvTreeListBox *pSource, SvTreeListEntry *pTarget) |
bool | MoveSelectionCopyFallbackPossible (SvTreeListBox *pSource, SvTreeListEntry *pTarget, bool bAllowCopyFallback) |
void | RemoveSelection () |
void | RemoveEntry (SvTreeListEntry const *pEntry) |
Removes the entry along with all of its descendants. More... | |
DragDropMode | GetDragDropMode () const |
SelectionMode | GetSelectionMode () const |
SvTreeListEntry * | GetEntry (SvTreeListEntry *pParent, sal_uLong nPos) const |
SvTreeListEntry * | GetEntry (sal_uLong nRootPos) const |
SvTreeListEntry * | GetEntryFromPath (const ::std::deque< sal_Int32 > &_rPath) const |
void | FillEntryPath (SvTreeListEntry *pEntry,::std::deque< sal_Int32 > &_rPath) const |
SvTreeListEntry * | GetParent (SvTreeListEntry *pEntry) const |
sal_uLong | GetChildCount (SvTreeListEntry const *pParent) const |
sal_uLong | GetLevelChildCount (SvTreeListEntry *pParent) const |
SvViewDataEntry * | GetViewDataEntry (SvTreeListEntry const *pEntry) const |
SvViewDataItem * | GetViewDataItem (SvTreeListEntry const *, SvLBoxItem const *) |
const SvViewDataItem * | GetViewDataItem (const SvTreeListEntry *, const SvLBoxItem *) const |
bool | IsInplaceEditingEnabled () const |
bool | IsEditingActive () const |
void | EndEditing (bool bCancel=false) |
void | Clear () |
bool | TextCenterAndClipEnabled () const |
void | SetSelectHdl (const Link< SvTreeListBox *, void > &rNewHdl) |
void | SetDeselectHdl (const Link< SvTreeListBox *, void > &rNewHdl) |
void | SetDoubleClickHdl (const Link< SvTreeListBox *, bool > &rNewHdl) |
void | SetExpandingHdl (const Link< SvTreeListBox *, bool > &rNewHdl) |
void | SetExpandedHdl (const Link< SvTreeListBox *, void > &rNewHdl) |
void | SetPopupMenuHdl (const Link< const CommandEvent &, bool > &rLink) |
void | SetTooltipHdl (const Link< const HelpEvent &, bool > &rLink) |
void | SetCustomRenderHdl (const Link< svtree_render_args, void > &rLink) |
void | SetCustomMeasureHdl (const Link< svtree_measure_args, Size > &rLink) |
void | ExpandedHdl () |
bool | ExpandingHdl () |
void | SelectHdl () |
void | DeselectHdl () |
bool | DoubleClickHdl () |
SvTreeListEntry * | GetHdlEntry () const |
virtual void | RequestingChildren (SvTreeListEntry *pParent) |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) override |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) override |
virtual void | StartDrag (sal_Int8 nAction, const Point &rPosPixel) override |
virtual DragDropMode | NotifyStartDrag () |
virtual void | DragFinished (sal_Int8 nDropAction) |
SvTreeListEntry * | CloneEntry (SvTreeListEntry *pSource) |
TriState | NotifyMoving (SvTreeListEntry *pTarget, const SvTreeListEntry *pEntry, SvTreeListEntry *&rpNewParent, sal_uLong &rNewChildPos) |
TriState | NotifyCopying (SvTreeListEntry *pTarget, const SvTreeListEntry *pEntry, SvTreeListEntry *&rpNewParent, sal_uLong &rNewChildPos) |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () override |
Creates and returns the accessible object of the Box. More... | |
void | FillAccessibleEntryStateSet (SvTreeListEntry *pEntry,::utl::AccessibleStateSetHelper &rStateSet) const |
Fills the StateSet of one entry. More... | |
tools::Rectangle | GetBoundingRect (const SvTreeListEntry *pEntry) |
Calculate and return the bounding rectangle of an entry. More... | |
SvTreeFlags | GetTreeFlags () const |
void | set_min_width_in_chars (sal_Int32 nChars) |
virtual bool | set_property (const OString &rKey, const OUString &rValue) override |
void | SetNoAutoCurEntry (bool b) |
void | EnableCheckButton (SvLBoxButtonData *) |
void | SetCheckButtonData (SvLBoxButtonData *) |
void | SetNodeBitmaps (const Image &rCollapsedNodeBmp, const Image &rExpandedNodeBmp) |
void | SetNodeDefaultImages () |
Sets default bitmaps for collapsed and expanded nodes. More... | |
virtual SvTreeListEntry * | InsertEntry (const OUString &rText, SvTreeListEntry *pParent=nullptr, bool bChildrenOnDemand=false, sal_uLong nPos=TREELIST_APPEND, void *pUserData=nullptr) |
virtual SvTreeListEntry * | InsertEntry (const OUString &rText, const Image &rExpandedEntryBmp, const Image &rCollapsedEntryBmp, SvTreeListEntry *pParent=nullptr, bool bChildrenOnDemand=false, sal_uLong nPos=TREELIST_APPEND, void *pUserData=nullptr) |
const Image & | GetDefaultExpandedEntryBmp () const |
const Image & | GetDefaultCollapsedEntryBmp () const |
void | SetDefaultExpandedEntryBmp (const Image &rBmp) |
void | SetDefaultCollapsedEntryBmp (const Image &rBmp) |
void | SetCheckButtonState (SvTreeListEntry *, SvButtonState) |
SvButtonState | GetCheckButtonState (SvTreeListEntry *) const |
void | SetEntryText (SvTreeListEntry *, const OUString &) |
void | SetExpandedEntryBmp (SvTreeListEntry *_pEntry, const Image &_rImage) |
void | SetCollapsedEntryBmp (SvTreeListEntry *_pEntry, const Image &_rImage) |
virtual OUString | GetEntryText (SvTreeListEntry *pEntry) const |
void | CheckButtonHdl () |
void | SetSublistOpenWithLeftRight () |
void | EnableInplaceEditing (bool bEnable) |
void | EditEntry (SvTreeListEntry *pEntry) |
virtual bool | EditingEntry (SvTreeListEntry *pEntry) |
virtual bool | EditedEntry (SvTreeListEntry *pEntry, const OUString &rNewText) |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual void | MouseButtonUp (const MouseEvent &rMEvt) override |
virtual void | MouseMove (const MouseEvent &rMEvt) override |
virtual void | KeyInput (const KeyEvent &rKEvt) override |
virtual void | Resize () override |
virtual void | GetFocus () override |
virtual void | LoseFocus () override |
void | SetUpdateMode (bool) |
virtual void | ModelHasCleared () override |
virtual void | ModelHasInserted (SvTreeListEntry *pEntry) override |
virtual void | ModelHasInsertedTree (SvTreeListEntry *pEntry) override |
virtual void | ModelIsMoving (SvTreeListEntry *pSource) override |
virtual void | ModelHasMoved (SvTreeListEntry *pSource) override |
virtual void | ModelIsRemoving (SvTreeListEntry *pEntry) override |
virtual void | ModelHasRemoved (SvTreeListEntry *pEntry) override |
void | ModelHasEntryInvalidated (SvTreeListEntry *pEntry) override |
void | ScrollOutputArea (short nDeltaEntries) |
short | GetColumnsCount () const |
short | GetEntryHeight () const |
void | SetEntryHeight (short nHeight) |
short | GetEntryWidth () const |
void | SetEntryWidth (short nWidth) |
Size | GetOutputSizePixel () const |
short | GetIndent () const |
void | SetSpaceBetweenEntries (short nSpace) |
Point | GetEntryPosition (const SvTreeListEntry *) const |
void | MakeVisible (SvTreeListEntry *pEntry) |
void | MakeVisible (SvTreeListEntry *pEntry, bool bMoveToTop) |
void | SetCollapsedNodeBmp (const Image &) |
void | SetExpandedNodeBmp (const Image &) |
Image const & | GetExpandedNodeBmp () const |
void | SetFont (const vcl::Font &rFont) |
SvTreeListEntry * | GetEntry (const Point &rPos, bool bHit=false) const |
virtual tools::Rectangle | GetFocusRect (const SvTreeListEntry *, tools::Long nLine) |
sal_IntPtr | GetTabPos (const SvTreeListEntry *, const SvLBoxTab *) |
void | InvalidateEntry (SvTreeListEntry *) |
SvLBoxItem * | GetItem (SvTreeListEntry *, tools::Long nX, SvLBoxTab **ppTab) |
SvLBoxItem * | GetItem (SvTreeListEntry *, tools::Long nX) |
void | SetDragDropMode (DragDropMode) |
void | SetSelectionMode (SelectionMode) |
bool | Expand (SvTreeListEntry *pParent) |
bool | Collapse (SvTreeListEntry *pParent) |
bool | Select (SvTreeListEntry *pEntry, bool bSelect=true) |
sal_uLong | SelectChildren (SvTreeListEntry *pParent, bool bSelect) |
void | SelectAll (bool bSelect) |
void | SetCurEntry (SvTreeListEntry *_pEntry) |
SvTreeListEntry * | GetCurEntry () const |
virtual void | Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE) override |
virtual void | Invalidate (const tools::Rectangle &, InvalidateFlags nFlags=InvalidateFlags::NONE) override |
void | SetHighlightRange (sal_uInt16 nFirstTab=0, sal_uInt16 nLastTab=0xffff) |
sal_Int32 | DefaultCompare (const SvLBoxString *pLeftText, const SvLBoxString *pRightText) |
DECL_LINK (DefaultCompare, const SvSortData &, sal_Int32) | |
virtual void | ModelNotification (SvListAction nActionId, SvTreeListEntry *pEntry1, SvTreeListEntry *pEntry2, sal_uLong nPos) override |
SvTreeListEntry * | GetFirstEntryInView () const |
SvTreeListEntry * | GetNextEntryInView (SvTreeListEntry *) const |
void | ScrollToAbsPos (tools::Long nPos) |
tools::Long | getPreferredDimensions (std::vector< tools::Long > &rWidths) const |
virtual Size | GetOptimalSize () const override |
void | SetAlternatingRowColors (const bool bEnable) |
void | SetQuickSearch (bool bEnable) |
void | SetActivateOnSingleClick (bool bEnable) |
void | SetHoverSelection (bool bEnable) |
bool | GetHoverSelection () const |
void | SetForceMakeVisible (bool bEnable) |
virtual FactoryFunction | GetUITestFactory () const override |
void | SetDragHelper (const rtl::Reference< TransferDataContainer > &rHelper, sal_uInt8 eDNDConstants) |
![]() | |
SAL_DLLPRIVATE void | ImplClearLayoutData () const |
SAL_DLLPRIVATE void | ImplDrawFrame (OutputDevice *pDev, tools::Rectangle &rRect) |
draws a frame around the give rectangle, onto the given device More... | |
Control (vcl::Window *pParent, WinBits nWinStyle=0) | |
virtual | ~Control () override |
virtual void | EnableRTL (bool bEnable=true) override |
virtual bool | EventNotify (NotifyEvent &rNEvt) override |
virtual void | SetText (const OUString &rStr) override |
virtual OUString | GetDisplayText () const override |
tools::Rectangle | GetCharacterBounds (tools::Long nIndex) const |
tools::Long | GetIndexForPoint (const Point &rPoint) const |
Pair | GetLineStartEnd (tools::Long nLine) const |
tools::Long | ToRelativeLineIndex (tools::Long nIndex) const |
ToRelativeLineIndex changes a layout data index to a count relative to its line. More... | |
void | SetLoseFocusHdl (const Link< Control &, void > &rLink) |
bool | HasControlFocus () const |
determines whether the control currently has the focus More... | |
void | SetLayoutDataParent (const Control *pParent) const |
void | SetReferenceDevice (OutputDevice *_referenceDevice) |
sets a reference device used for rendering control text More... | |
OutputDevice * | GetReferenceDevice () const |
vcl::Font | GetUnzoomedControlPointFont () const |
void | SetShowAccelerator (bool val) |
![]() | |
DECL_DLLPRIVATE_LINK (ImplHandlePaintHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (ImplGenerateMouseMoveHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (ImplTrackTimerHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (ImplAsyncFocusHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (ImplHandleResizeTimerHdl, Timer *, void) | |
SAL_DLLPRIVATE vcl::Window * | ImplGetFrameWindow () const |
weld::Window * | GetFrameWeld () const |
vcl::Window * | GetFrameWindow () const |
SalFrame * | ImplGetFrame () const |
SAL_DLLPRIVATE ImplFrameData * | ImplGetFrameData () |
vcl::Window * | ImplGetWindow () const |
if this is a proxy return the client, otherwise itself More... | |
SAL_DLLPRIVATE ImplWinData * | ImplGetWinData () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetClientWindow () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr) |
SAL_DLLPRIVATE vcl::Window * | ImplGetParent () const |
SAL_DLLPRIVATE vcl::Window * | ImplFindWindow (const Point &rFramePos) |
SAL_DLLPRIVATE void | ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion) |
SAL_DLLPRIVATE bool | ImplSetClipFlag (bool bSysObjOnlySmaller=false) |
SAL_DLLPRIVATE bool | ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE bool | ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE bool | ImplIsFloatingWindow () const |
SAL_DLLPRIVATE bool | ImplIsPushButton () const |
SAL_DLLPRIVATE bool | ImplIsSplitter () const |
SAL_DLLPRIVATE bool | ImplIsOverlapWindow () const |
SAL_DLLPRIVATE void | ImplIsInTaskPaneList (bool mbIsInTaskList) |
SAL_DLLPRIVATE WindowImpl * | ImplGetWindowImpl () const |
SAL_DLLPRIVATE Point | ImplFrameToOutput (const Point &rPos) |
SAL_DLLPRIVATE void | ImplGrabFocus (GetFocusFlags nFlags) |
SAL_DLLPRIVATE void | ImplGrabFocusToDocument (GetFocusFlags nFlags) |
SAL_DLLPRIVATE void | ImplInvertFocus (const tools::Rectangle &rRect) |
SAL_DLLPRIVATE PointerStyle | ImplGetMousePointer () const |
SAL_DLLPRIVATE void | ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false) |
SAL_DLLPRIVATE void | ImplGenerateMouseMove () |
SAL_DLLPRIVATE void | ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt) |
SAL_DLLPRIVATE void | ImplNotifyIconifiedState (bool bIconified) |
SAL_DLLPRIVATE void | ImplUpdateAll () |
SAL_DLLPRIVATE void | ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE) |
SAL_DLLPRIVATE void | ImplMirrorFramePos (Point &pt) const |
SAL_DLLPRIVATE void | ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags) |
SAL_DLLPRIVATE void | ImplCallResize () |
SAL_DLLPRIVATE void | ImplCallMove () |
void | IncModalCount () |
void | DecModalCount () |
virtual vcl::Region | GetActiveClipRegion () const override |
virtual vcl::Region | GetOutputBoundsClipRegion () const override |
bool | HasMirroredGraphics () const override |
Window (vcl::Window *pParent, WinBits nStyle=0) | |
virtual | ~Window () override |
::OutputDevice const * | GetOutDev () const |
::OutputDevice * | GetOutDev () |
bool | CanEnableNativeWidget () const override |
Determine if native widgets can be enabled. More... | |
Color | GetBackgroundColor () const override |
size_t | GetSyncCount () const override |
virtual void | KeyUp (const KeyEvent &rKEvt) |
virtual void | PrePaint (vcl::RenderContext &rRenderContext) |
virtual void | PostPaint (vcl::RenderContext &rRenderContext) |
void | Erase (vcl::RenderContext &rRenderContext) |
virtual void | Draw (::OutputDevice *pDev, const Point &rPos, DrawFlags nFlags) |
virtual void | Move () |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | Tracking (const TrackingEvent &rTEvt) |
virtual bool | PreNotify (NotifyEvent &rNEvt) |
void | CompatGetFocus () |
void | CompatLoseFocus () |
void | CompatStateChanged (StateChangedType nStateChange) |
void | CompatDataChanged (const DataChangedEvent &rDCEvt) |
bool | CompatPreNotify (NotifyEvent &rNEvt) |
bool | CompatNotify (NotifyEvent &rNEvt) |
void | AddEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
ImplSVEvent * | PostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false) |
void | RemoveUserEvent (ImplSVEvent *nUserEvent) |
LanguageType | GetInputLanguage () const |
void | SetStyle (WinBits nStyle) |
WinBits | GetStyle () const |
WinBits | GetPrevStyle () const |
void | SetExtendedStyle (WindowExtendedStyle nExtendedStyle) |
WindowExtendedStyle | GetExtendedStyle () const |
void | SetType (WindowType nType) |
WindowType | GetType () const |
bool | IsSystemWindow () const |
bool | IsDockingWindow () const |
bool | IsDialog () const |
bool | IsMenuFloatingWindow () const |
bool | IsToolbarFloatingWindow () const |
bool | IsTopWindow () const |
bool | IsDisposed () const |
SystemWindow * | GetSystemWindow () const |
bool | SupportsDoubleBuffering () const |
Can the widget derived from this Window do the double-buffering via RenderContext properly? More... | |
void | RequestDoubleBuffering (bool bRequest) |
Enable/disable double-buffering of the frame window and all its children. More... | |
void | EnableAllResize () |
void | SetBorderStyle (WindowBorderStyle nBorderStyle) |
WindowBorderStyle | GetBorderStyle () const |
void | GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const |
Size | CalcWindowSize (const Size &rOutSz) const |
Size | CalcOutputSize (const Size &rWinSz) const |
tools::Long | CalcTitleWidth () const |
void | EnableClipSiblings (bool bClipSiblings=true) |
void | EnableChildTransparentMode (bool bEnable=true) |
bool | IsChildTransparentModeEnabled () const |
void | SetMouseTransparent (bool bTransparent) |
bool | IsMouseTransparent () const |
void | SetPaintTransparent (bool bTransparent) |
bool | IsPaintTransparent () const |
void | SetDialogControlStart (bool bStart) |
bool | IsDialogControlStart () const |
void | SetDialogControlFlags (DialogControlFlags nFlags) |
DialogControlFlags | GetDialogControlFlags () const |
PointerState | GetPointerState () |
bool | IsMouseOver () const |
void | SetInputContext (const InputContext &rInputContext) |
const InputContext & | GetInputContext () const |
void | PostExtTextInputEvent (VclEventId nType, const OUString &rText) |
void | EndExtTextInput () |
void | SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0) |
const tools::Rectangle * | GetCursorRect () const |
tools::Long | GetCursorExtTextInputWidth () const |
void | SetCompositionCharRect (const tools::Rectangle *pRect, tools::Long nCompositionLength, bool bVertical=false) |
virtual void | SetSettings (const AllSettings &rSettings) override |
void | SetSettings (const AllSettings &rSettings, bool bChild) |
void | UpdateSettings (const AllSettings &rSettings, bool bChild=false) |
void | NotifyAllChildren (DataChangedEvent &rDCEvt) |
void | SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont) |
vcl::Font | GetPointFont (vcl::RenderContext const &rRenderContext) const |
void | SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont) |
tools::Long | GetDrawPixel (::OutputDevice const *pDev, tools::Long nPixels) const |
vcl::Font | GetDrawPixelFont (::OutputDevice const *pDev) const |
void | SetControlFont () |
void | SetControlFont (const vcl::Font &rFont) |
vcl::Font | GetControlFont () const |
bool | IsControlFont () const |
void | ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont) |
void | SetControlForeground () |
void | SetControlForeground (const Color &rColor) |
const Color & | GetControlForeground () const |
bool | IsControlForeground () const |
void | ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetControlBackground () |
void | SetControlBackground (const Color &rColor) |
const Color & | GetControlBackground () const |
bool | IsControlBackground () const |
void | ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE) |
ParentClipMode | GetParentClipMode () const |
void | SetWindowRegionPixel () |
void | SetWindowRegionPixel (const vcl::Region &rRegion) |
vcl::Region | GetWindowClipRegionPixel () const |
vcl::Region | GetPaintRegion () const |
bool | IsInPaint () const |
void | ExpandPaintClipRegion (const vcl::Region &rRegion) |
void | SetParent (vcl::Window *pNewParent) |
vcl::Window * | GetParent () const |
Dialog * | GetParentDialog () const |
bool | IsAncestorOf (const vcl::Window &rWindow) const |
void | Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE) |
void | Hide () |
bool | IsVisible () const |
bool | IsReallyVisible () const |
bool | IsReallyShown () const |
bool | IsInInitShow () const |
void | Enable (bool bEnable=true, bool bChild=true) |
void | Disable (bool bChild=true) |
bool | IsEnabled () const |
void | EnableInput (bool bEnable=true, bool bChild=true) |
void | EnableInput (bool bEnable, const vcl::Window *pExcludeWindow) |
bool | IsInputEnabled () const |
void | AlwaysEnableInput (bool bAlways, bool bChild=true) |
Override EnableInput . More... | |
bool | IsAlwaysEnableInput () const |
returns the current AlwaysEnableInput state More... | |
bool | IsInModalMode () const |
A window is in modal mode if one of its children or subchildren is a running modal window (a modal dialog) More... | |
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 *pRelativeWindow) const |
bool | IsScrollable () const |
virtual void | Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE) |
void | Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE) |
virtual void | Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE) |
virtual void | LogicInvalidate (const tools::Rectangle *pRectangle) |
Notification about some rectangle of the output device got invalidated.Used for the main document window. More... | |
virtual void | PixelInvalidate (const tools::Rectangle *pRectangle) |
Notification about some rectangle of the output device got invalidated. More... | |
void | Validate () |
bool | HasPaintEvent () const |
void | PaintImmediately () |
void | Flush () override |
void | EnableDocking (bool bEnable=true) |
void | EnablePaint (bool bEnable) |
bool | IsPaintEnabled () const |
void | SetUpdateMode (bool bUpdate) |
bool | IsUpdateMode () const |
void | SetParentUpdateMode (bool bUpdate) |
void | GrabFocus () |
bool | HasFocus () const |
bool | HasChildPathFocus (bool bSystemWindow=false) const |
bool | IsActive () const |
bool | HasActiveChildFrame () const |
GetFocusFlags | GetGetFocusFlags () const |
void | GrabFocusToDocument () |
VclPtr< vcl::Window > | GetFocusedWindow () const |
void | SetFakeFocus (bool bFocus) |
Set this when you need to act as if the window has focus even if it doesn't. More... | |
bool | IsCompoundControl () const |
void | CaptureMouse () |
void | ReleaseMouse () |
bool | IsMouseCaptured () const |
void | SetPointer (PointerStyle) |
PointerStyle | GetPointer () const |
void | EnableChildPointerOverwrite (bool bOverwrite) |
void | SetPointerPosPixel (const Point &rPos) |
Point | GetPointerPosPixel () |
Point | GetLastPointerPosPixel () |
void | SetLastMousePos (const Point &rPos) |
Similar to SetPointerPosPixel(), but sets the frame data's last mouse position instead. More... | |
void | ShowPointer (bool bVisible) |
void | EnterWait () |
void | LeaveWait () |
bool | IsWait () const |
void | SetCursor (vcl::Cursor *pCursor) |
vcl::Cursor * | GetCursor () const |
void | SetZoom (const Fraction &rZoom) |
const Fraction & | GetZoom () const |
bool | IsZoom () const |
tools::Long | CalcZoom (tools::Long n) const |
virtual OUString | GetText () const |
virtual const Wallpaper & | GetDisplayBackground () const |
void | SetHelpText (const OUString &rHelpText) |
const OUString & | GetHelpText () const |
void | SetQuickHelpText (const OUString &rHelpText) |
const OUString & | GetQuickHelpText () const |
void | SetHelpId (const OString &) |
const OString & | GetHelpId () const |
sal_uInt16 | GetChildCount () const |
vcl::Window * | GetChild (sal_uInt16 nChild) const |
vcl::Window * | GetWindow (GetWindowType nType) const |
bool | IsChild (const vcl::Window *pWindow) const |
bool | IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE void | CollectChildren (::std::vector< vcl::Window * > &rAllChildren) |
Add all children to rAllChildren recursively. More... | |
virtual void | ShowFocus (const tools::Rectangle &rRect) |
void | HideFocus () |
void | DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder) |
void | ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small) |
void | HideTracking () |
void | InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags) |
void | StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE) |
void | EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE) |
bool | IsTracking () const |
void | StartAutoScroll (StartAutoScrollFlags nFlags) |
void | EndAutoScroll () |
bool | HandleScrollCommand (const CommandEvent &rCmd, ScrollBar *pHScrl, ScrollBar *pVScrl) |
void | SaveBackground (VirtualDevice &rSaveDevice, const Point &rPos, const Size &rSize, const Size &) const override |
virtual const SystemEnvData * | GetSystemData () const |
virtual css::uno::Reference< css::awt::XWindowPeer > | GetComponentInterface (bool bCreate=true) |
void | SetComponentInterface (css::uno::Reference< css::awt::XWindowPeer > const &xIFace) |
void | SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false) |
Interface to register for dialog / window tunneling. More... | |
const vcl::ILibreOfficeKitNotifier * | GetLOKNotifier () const |
vcl::LOKWindowId | GetLOKWindowId () const |
VclPtr< vcl::Window > | GetParentWithLOKNotifier () |
Find the nearest parent with LOK Notifier; can be itself if this Window has LOK notifier set. More... | |
void | ReleaseLOKNotifier () |
Indicate that LOK is not going to use this dialog any more. More... | |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
Dumps itself and potentially its children to a property tree, to be written easily to JSON. More... | |
virtual void | LogicMouseButtonDown (const MouseEvent &) |
Same as MouseButtonDown(), but coordinates are in logic unit. used for LOK. More... | |
virtual void | LogicMouseButtonUp (const MouseEvent &) |
Same as MouseButtonUp(), but coordinates are in logic unit. used for LOK. More... | |
virtual void | LogicMouseMove (const MouseEvent &) |
Same as MouseMove(), but coordinates are in logic unit. used for LOK. More... | |
css::uno::Reference< css::rendering::XCanvas > | GetCanvas () const |
request XCanvas render interface for this window More... | |
css::uno::Reference< css::rendering::XSpriteCanvas > | GetSpriteCanvas () const |
request XSpriteCanvas render interface for this window More... | |
void | RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect) |
VCLXWindow * | GetWindowPeer () const |
void | SetWindowPeer (css::uno::Reference< css::awt::XWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow) |
bool | IsCreatedWithToolkit () const |
void | SetCreatedWithToolkit (bool b) |
css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () |
css::uno::Reference< css::datatransfer::dnd::XDragSource > | GetDragSource () |
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > | GetDragGestureRecognizer () |
css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () |
void | SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard) |
Sets a custom clipboard for the window's frame, instead of creating it on-demand using css::datatransfer::clipboard::SystemClipboard. More... | |
css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetPrimarySelection () |
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) |
bool | set_font_attribute (const OString &rKey, const OUString &rValue) |
void | add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup) |
void | remove_from_all_size_groups () |
void | add_mnemonic_label (FixedText *pLabel) |
void | remove_mnemonic_label (FixedText *pLabel) |
const std::vector< VclPtr< FixedText > > & | list_mnemonic_labels () const |
void | reorderWithinParent (sal_uInt16 nNewPosition) |
void | set_id (const OUString &rID) |
Sets an ID. More... | |
const OUString & | get_id () const |
Get the ID of the window. More... | |
void | EnableNativeWidget (bool bEnable=true) |
bool | IsNativeWidgetEnabled () const |
void | PaintToDevice (::OutputDevice *pDevice, const Point &rPos) |
void | SetParentToDefaultWindow () |
KeyIndicatorState | GetIndicatorState () const |
Query the states of keyboard indicators - Caps Lock, Num Lock and Scroll Lock. More... | |
void | SimulateKeyPress (sal_uInt16 nKeyCode) const |
virtual OUString | GetSurroundingText () const |
virtual Selection | GetSurroundingTextSelection () const |
virtual bool | DeleteSurroundingText (const Selection &rSelection) |
virtual bool | IsChart () const |
void | SetHelpHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetModalHierarchyHdl (const Link< bool, void > &rLink) |
void | SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink) |
css::awt::DeviceInfo | GetDeviceInfo () const override |
css::uno::Reference< css::accessibility::XAccessible > | GetAccessible (bool bCreate=true) |
void | SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &) |
vcl::Window * | GetAccessibleParentWindow () const |
sal_uInt16 | GetAccessibleChildWindowCount () |
vcl::Window * | GetAccessibleChildWindow (sal_uInt16 n) |
void | SetAccessibleRole (sal_uInt16 nRole) |
sal_uInt16 | GetAccessibleRole () const |
void | SetAccessibleName (const OUString &rName) |
OUString | GetAccessibleName () const |
void | SetAccessibleDescription (const OUString &rDescr) |
OUString | GetAccessibleDescription () const |
void | SetAccessibleRelationLabeledBy (vcl::Window *pLabeledBy) |
vcl::Window * | GetAccessibleRelationLabeledBy () const |
void | SetAccessibleRelationLabelFor (vcl::Window *pLabelFor) |
vcl::Window * | GetAccessibleRelationLabelFor () const |
void | SetAccessibleRelationMemberOf (vcl::Window *pMemberOf) |
vcl::Window * | GetAccessibleRelationMemberOf () const |
bool | IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true) |
void | SetAccessibilityEventsSuppressed (bool bSuppressed) |
KeyEvent | GetActivationKey () const |
![]() | |
virtual Size | GetButtonBorderSize () |
virtual Color | GetMonochromeButtonColor () |
virtual void | DrawBorder (tools::Rectangle aBorderRect) |
SAL_DLLPRIVATE sal_Int32 | GetDPIX () const |
Get the output device's DPI x-axis value. More... | |
SAL_DLLPRIVATE sal_Int32 | GetDPIY () const |
Get the output device's DPI y-axis value. More... | |
SAL_DLLPRIVATE void | SetDPIX (sal_Int32 nDPIX) |
SAL_DLLPRIVATE void | SetDPIY (sal_Int32 nDPIY) |
float | GetDPIScaleFactor () const |
sal_Int32 | GetDPIScalePercentage () const |
OutDevType | GetOutDevType () const |
virtual bool | IsVirtual () const |
bool | SupportsOperation (OutDevSupportType) const |
Query an OutputDevice to see whether it supports a specific operation. More... | |
void | SetExtOutDevData (vcl::ExtOutDevData *pExtOutDevData) |
vcl::ExtOutDevData * | GetExtOutDevData () const |
void | DrawPixel (const Point &rPt) |
void | DrawPixel (const Point &rPt, const Color &rColor) |
Color | GetPixel (const Point &rPt) const |
void | DrawRect (const tools::Rectangle &rRect) |
void | DrawRect (const tools::Rectangle &rRect, sal_uLong nHorzRount, sal_uLong nVertRound) |
void | DrawCheckered (const Point &rPos, const Size &rSize, sal_uInt32 nLen=8, Color aStart=COL_WHITE, Color aEnd=COL_BLACK) |
Fill the given rectangle with checkered rectangles of size nLen x nLen using the colors aStart and aEnd. More... | |
void | DrawGrid (const tools::Rectangle &rRect, const Size &rDist, DrawGridFlags nFlags) |
void | Invert (const tools::Rectangle &rRect, InvertFlags nFlags=InvertFlags::NONE) |
void | Invert (const tools::Polygon &rPoly, InvertFlags nFlags=InvertFlags::NONE) |
void | DrawEllipse (const tools::Rectangle &rRect) |
void | DrawArc (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt) |
void | DrawPie (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt) |
void | DrawChord (const tools::Rectangle &rRect, const Point &rStartPt, const Point &rEndPt) |
SAL_DLLPRIVATE bool | ImplIsAntiparallel () const |
SAL_DLLPRIVATE void | ReMirror (Point &rPoint) const |
SAL_DLLPRIVATE void | ReMirror (tools::Rectangle &rRect) const |
SAL_DLLPRIVATE void | ReMirror (vcl::Region &rRegion) const |
SAL_DLLPRIVATE bool | ImplIsRecordLayout () const |
std::unique_ptr< SalLayout > | ImplLayout (const OUString &, sal_Int32 nIndex, sal_Int32 nLen, const Point &rLogicPos=Point(0, 0), tools::Long nLogicWidth=0, const tools::Long *pLogicDXArray=nullptr, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const |
SAL_DLLPRIVATE ImplLayoutArgs | ImplPrepareLayoutArgs (OUString &, const sal_Int32 nIndex, const sal_Int32 nLen, DeviceCoordinate nPixelWidth, const DeviceCoordinate *pPixelDXArray, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::TextLayoutCache const *=nullptr) const |
SAL_DLLPRIVATE std::unique_ptr< SalLayout > | ImplGlyphFallbackLayout (std::unique_ptr< SalLayout >, ImplLayoutArgs &) const |
SAL_DLLPRIVATE std::unique_ptr< SalLayout > | getFallbackLayout (LogicalFontInstance *pLogicalFont, int nFallbackLevel, ImplLayoutArgs &rLayoutArgs) const |
bool | IsRTLEnabled () const |
bool | GetTextIsRTL (const OUString &, sal_Int32 nIndex, sal_Int32 nLen) const |
bool | IsNativeControlSupported (ControlType nType, ControlPart nPart) const |
Query the platform layer for control support. More... | |
bool | HitTestNativeScrollbar (ControlPart nPart, const tools::Rectangle &rControlRegion, const Point &aPos, bool &rIsInside) const |
Query the native control to determine if it was acted upon. More... | |
bool | DrawNativeControl (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const Color &rBackgroundColor=COL_AUTO) |
Request rendering of a particular control and/or part. More... | |
bool | GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const |
Query the native control's actual drawing region (including adornment) More... | |
bool | DrawEPS (const Point &rPt, const Size &rSz, const GfxLink &rGfxLink, GDIMetaFile *pSubst=nullptr) |
SalGraphics const * | GetGraphics () const |
Get the graphic context that the output device uses to draw on. More... | |
SalGraphics * | GetGraphics () |
void | SetConnectMetaFile (GDIMetaFile *pMtf) |
GDIMetaFile * | GetConnectMetaFile () const |
const AllSettings & | GetSettings () const |
SystemGraphicsData | GetSystemGfxData () const |
bool | SupportsCairo () const |
cairo::SurfaceSharedPtr | CreateSurface (const cairo::CairoSurfaceSharedPtr &rSurface) const |
Create Surface from given cairo surface. More... | |
cairo::SurfaceSharedPtr | CreateSurface (int x, int y, int width, int height) const |
Create surface with given dimensions. More... | |
cairo::SurfaceSharedPtr | CreateBitmapSurface (const BitmapSystemData &rData, const Size &rSize) const |
Create Surface for given bitmap data. More... | |
css::uno::Any | GetNativeSurfaceHandle (cairo::SurfaceSharedPtr &rSurface, const basegfx::B2ISize &rSize) const |
Return native handle for underlying surface. More... | |
css::uno::Any | GetSystemGfxDataAny () const |
void | SetRefPoint () |
void | SetRefPoint (const Point &rRefPoint) |
const Point & | GetRefPoint () const |
bool | IsRefPoint () const |
virtual bool | IsScreenComp () const |
virtual sal_uInt16 | GetBitCount () const |
Size | GetOutputSizePixel () const |
tools::Long | GetOutputWidthPixel () const |
tools::Long | GetOutputHeightPixel () const |
tools::Long | GetOutOffXPixel () const |
tools::Long | GetOutOffYPixel () const |
void | SetOutOffXPixel (tools::Long nOutOffX) |
void | SetOutOffYPixel (tools::Long nOutOffY) |
Size | GetOutputSize () const |
css::uno::Reference< css::awt::XGraphics > | CreateUnoGraphics () |
std::vector< VCLXGraphics * > * | GetUnoGraphicsList () const |
std::vector< VCLXGraphics * > * | CreateUnoGraphicsList () |
virtual void | DrawOutDev (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPt, const Size &rSrcSize) |
virtual void | DrawOutDev (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPt, const Size &rSrcSize, const OutputDevice &rOutDev) |
virtual void | CopyArea (const Point &rDestPt, const Point &rSrcPt, const Size &rSrcSize, bool bWindowInvalidate=false) |
void | Push (PushFlags nFlags=PushFlags::ALL) |
void | Pop () |
sal_uInt32 | GetGCStackDepth () const |
void | ClearStack () |
void | EnableOutput (bool bEnable=true) |
bool | IsOutputEnabled () const |
bool | IsDeviceOutputNecessary () const |
void | SetAntialiasing (AntialiasingFlags nMode) |
AntialiasingFlags | GetAntialiasing () const |
void | SetDrawMode (DrawModeFlags nDrawMode) |
DrawModeFlags | GetDrawMode () const |
void | SetLayoutMode (ComplexTextLayoutFlags nTextLayoutMode) |
ComplexTextLayoutFlags | GetLayoutMode () const |
void | SetDigitLanguage (LanguageType) |
LanguageType | GetDigitLanguage () const |
void | SetRasterOp (RasterOp eRasterOp) |
RasterOp | GetRasterOp () const |
void | SetOutDevViewType (OutDevViewType eOutDevViewType) |
If this OutputDevice is used for displaying a Print Preview the OutDevViewType should be set to 'OutDevViewType::PrintPreview'. More... | |
OutDevViewType | GetOutDevViewType () const |
void | SetLineColor () |
void | SetLineColor (const Color &rColor) |
const Color & | GetLineColor () const |
bool | IsLineColor () const |
void | SetFillColor () |
void | SetFillColor (const Color &rColor) |
const Color & | GetFillColor () const |
bool | IsFillColor () const |
void | SetBackground () |
void | SetBackground (const Wallpaper &rBackground) |
const Wallpaper & | GetBackground () const |
virtual Color | GetReadableFontColor (const Color &rFontColor, const Color &rBgColor) const |
bool | IsBackground () const |
void | SetFont (const vcl::Font &rNewFont) |
const vcl::Font & | GetFont () const |
vcl::Region | GetClipRegion () const |
void | SetClipRegion () |
void | SetClipRegion (const vcl::Region &rRegion) |
bool | SelectClipRegion (const vcl::Region &, SalGraphics *pGraphics=nullptr) |
bool | IsClipRegion () const |
void | MoveClipRegion (tools::Long nHorzMove, tools::Long nVertMove) |
void | IntersectClipRegion (const tools::Rectangle &rRect) |
void | IntersectClipRegion (const vcl::Region &rRegion) |
void | DrawLine (const Point &rStartPt, const Point &rEndPt) |
void | DrawLine (const Point &rStartPt, const Point &rEndPt, const LineInfo &rLineInfo) |
void | DrawPolyLine (const tools::Polygon &rPoly) |
Render the given polygon as a line stroke. More... | |
void | DrawPolyLine (const basegfx::B2DPolygon &, double fLineWidth=0.0, basegfx::B2DLineJoin eLineJoin=basegfx::B2DLineJoin::Round, css::drawing::LineCap eLineCap=css::drawing::LineCap_BUTT, double fMiterMinimumAngle=basegfx::deg2rad(15.0)) |
void | DrawPolyLine (const tools::Polygon &rPoly, const LineInfo &rLineInfo) |
Render the given polygon as a line stroke. More... | |
bool | DrawPolyLineDirect (const basegfx::B2DHomMatrix &rObjectTransform, const basegfx::B2DPolygon &rB2DPolygon, double fLineWidth=0.0, double fTransparency=0.0, const std::vector< double > *=nullptr, basegfx::B2DLineJoin eLineJoin=basegfx::B2DLineJoin::NONE, css::drawing::LineCap eLineCap=css::drawing::LineCap_BUTT, double fMiterMinimumAngle=basegfx::deg2rad(15.0)) |
void | DrawPolygon (const tools::Polygon &rPoly) |
Render the given polygon. More... | |
void | DrawPolygon (const basegfx::B2DPolygon &) |
void | DrawPolyPolygon (const tools::PolyPolygon &rPolyPoly) |
Render the given poly-polygon. More... | |
void | DrawPolyPolygon (const basegfx::B2DPolyPolygon &) |
void | DrawGradient (const tools::Rectangle &rRect, const Gradient &rGradient) |
void | DrawGradient (const tools::PolyPolygon &rPolyPoly, const Gradient &rGradient) |
void | AddGradientActions (const tools::Rectangle &rRect, const Gradient &rGradient, GDIMetaFile &rMtf) |
void | DrawHatch (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch) |
void | AddHatchActions (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch, GDIMetaFile &rMtf) |
void | DrawHatch (const tools::PolyPolygon &rPolyPoly, const Hatch &rHatch, bool bMtf) |
void | DrawWallpaper (const tools::Rectangle &rRect, const Wallpaper &rWallpaper) |
void | Erase () |
void | Erase (const tools::Rectangle &rRect) |
void | DrawText (const Point &rStartPt, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pLayoutCache=nullptr) |
void | DrawText (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::NONE, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, vcl::ITextLayout *_pTextLayout=nullptr) |
void | ImplDrawText (SalLayout &) |
void | ImplDrawTextBackground (const SalLayout &) |
void | DrawCtrlText (const Point &rPos, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, DrawTextFlags nStyle=DrawTextFlags::Mnemonic, MetricVector *pVector=nullptr, OUString *pDisplayText=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) |
void | DrawTextLine (const Point &rPos, tools::Long nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bUnderlineAbove=false) |
void | ImplDrawTextLine (tools::Long nBaseX, tools::Long nX, tools::Long nY, DeviceCoordinate nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bUnderlineAbove) |
void | ImplDrawTextLines (SalLayout &, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline, bool bWordLine, bool bUnderlineAbove) |
void | DrawWaveLine (const Point &rStartPos, const Point &rEndPos, tools::Long nLineWidth=1) |
bool | ImplDrawRotateText (SalLayout &) |
tools::Rectangle | GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const |
bool | GetTextBoundRect (tools::Rectangle &rRect, const OUString &rStr, sal_Int32 nBase=0, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const tools::Long *pDXArray=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const |
Return the exact bounding rectangle of rStr. More... | |
tools::Rectangle | ImplGetTextBoundRect (const SalLayout &) |
bool | GetTextOutline (tools::PolyPolygon &, const OUString &rStr) const |
bool | GetTextOutlines (PolyPolyVector &, const OUString &rStr, sal_Int32 nBase=0, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const tools::Long *pDXArray=nullptr) const |
bool | GetTextOutlines (basegfx::B2DPolyPolygonVector &rVector, const OUString &rStr, sal_Int32 nBase, sal_Int32 nIndex=0, sal_Int32 nLen=-1, sal_uLong nLayoutWidth=0, const tools::Long *pDXArray=nullptr) const |
OUString | GetEllipsisString (const OUString &rStr, tools::Long nMaxWidth, DrawTextFlags nStyle=DrawTextFlags::EndEllipsis) const |
tools::Long | GetCtrlTextWidth (const OUString &rStr, const SalLayoutGlyphs *pLayoutCache=nullptr) const |
void | AddTextRectActions (const tools::Rectangle &rRect, const OUString &rOrigStr, DrawTextFlags nStyle, GDIMetaFile &rMtf) |
Generate MetaTextActions for the text rect. More... | |
void | SetTextColor (const Color &rColor) |
const Color & | GetTextColor () const |
void | SetTextFillColor () |
void | SetTextFillColor (const Color &rColor) |
Color | GetTextFillColor () const |
bool | IsTextFillColor () const |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &rColor) |
const Color & | GetTextLineColor () const |
bool | IsTextLineColor () const |
void | SetOverlineColor () |
void | SetOverlineColor (const Color &rColor) |
const Color & | GetOverlineColor () const |
bool | IsOverlineColor () const |
void | SetTextAlign (TextAlign eAlign) |
TextAlign | GetTextAlign () const |
tools::Long | GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const |
Width of the text. More... | |
tools::Long | GetTextHeight () const |
Height where any character of the current font fits; in logic coordinates. More... | |
float | approximate_digit_width () const |
void | DrawTextArray (const Point &rStartPt, const OUString &rStr, const tools::Long *pDXAry, sal_Int32 nIndex=0, sal_Int32 nLen=-1, SalLayoutFlags flags=SalLayoutFlags::NONE, const SalLayoutGlyphs *pLayoutCache=nullptr) |
tools::Long | GetTextArray (const OUString &rStr, tools::Long *pDXAry, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const |
void | GetCaretPositions (const OUString &, tools::Long *pCaretXArray, sal_Int32 nIndex, sal_Int32 nLen, const SalLayoutGlyphs *pGlyphs=nullptr) const |
void | DrawStretchText (const Point &rStartPt, sal_uLong nWidth, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1) |
sal_Int32 | GetTextBreak (const OUString &rStr, tools::Long nTextWidth, sal_Int32 nIndex, sal_Int32 nLen=-1, tools::Long nCharExtra=0, vcl::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const |
sal_Int32 | GetTextBreak (const OUString &rStr, tools::Long nTextWidth, sal_Unicode nExtraChar, sal_Int32 &rExtraCharPos, sal_Int32 nIndex, sal_Int32 nLen, tools::Long nCharExtra, vcl::TextLayoutCache const *=nullptr) const |
FontMetric | GetDevFont (int nDevFontIndex) const |
int | GetDevFontCount () const |
bool | IsFontAvailable (const OUString &rFontName) const |
Size | GetDevFontSize (const vcl::Font &rFont, int nSizeIndex) const |
int | GetDevFontSizeCount (const vcl::Font &) const |
bool | AddTempDevFont (const OUString &rFileURL, const OUString &rFontName) |
void | RefreshFontData (const bool bNewFontLists) |
FontMetric | GetFontMetric () const |
FontMetric | GetFontMetric (const vcl::Font &rFont) const |
bool | GetFontCharMap (FontCharMapRef &rxFontCharMap) const |
bool | GetFontCapabilities (vcl::FontCapabilities &rFontCapabilities) const |
bool | GetFontFeatures (std::vector< vcl::font::Feature > &rFontFeatures) const |
SAL_DLLPRIVATE void | ImplGetEmphasisMark (tools::PolyPolygon &rPolyPoly, bool &rPolyLine, tools::Rectangle &rRect1, tools::Rectangle &rRect2, tools::Long &rYOff, tools::Long &rWidth, FontEmphasisMark eEmphasis, tools::Long nHeight) |
bool | GetGlyphBoundRects (const Point &rOrigin, const OUString &rStr, int nIndex, int nLen, MetricVector &rVector) |
sal_Int32 | HasGlyphs (const vcl::Font &rFont, const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1) const |
tools::Long | GetMinKashida () const |
sal_Int32 | ValidateKashidas (const OUString &rTxt, sal_Int32 nIdx, sal_Int32 nLen, sal_Int32 nKashCount, const sal_Int32 *pKashidaPos, sal_Int32 *pKashidaPosDropped) const |
SAL_DLLPRIVATE void | ImplInitFontList () const |
SAL_DLLPRIVATE void | ImplUpdateFontData () |
void | DrawBitmap (const Point &rDestPt, const Bitmap &rBitmap) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. void DrawBitmap( const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSecSizePixel, const Bitmap& rBitmap, MetaActionType nAction = MetaActionType::BMPSCALEPART) More... | |
void | DrawBitmap (const Point &rDestPt, const Size &rDestSize, const Bitmap &rBitmap) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. void DrawBitmap( const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSecSizePixel, const Bitmap& rBitmap, MetaActionType nAction = MetaActionType::BMPSCALEPART) More... | |
void | DrawBitmap (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const Bitmap &rBitmap, MetaActionType nAction=MetaActionType::BMPSCALEPART) |
void | DrawBitmapEx (const Point &rDestPt, const BitmapEx &rBitmapEx) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. void DrawBitmapEx( const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSecSizePixel, const BitmapEx& rBitmapEx, MetaActionType nAction = MetaActionType::BMPEXSCALEPART) More... | |
void | DrawBitmapEx (const Point &rDestPt, const Size &rDestSize, const BitmapEx &rBitmapEx) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. void DrawBitmapEx( const Point& rDestPt, const Size& rDestSize, const Point& rSrcPtPixel, const Size& rSecSizePixel, const BitmapEx& rBitmapEx, MetaActionType nAction = MetaActionType::BMPEXSCALEPART) More... | |
void | DrawBitmapEx (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const BitmapEx &rBitmapEx, MetaActionType nAction=MetaActionType::BMPEXSCALEPART) |
void | DrawImage (const Point &rPos, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. virtual void DrawImage( const Point& rPos, const Size& rSize, const Image& rImage, sal_uInt16 nStyle = 0) More... | |
void | DrawImage (const Point &rPos, const Size &rSize, const Image &rImage, DrawImageFlags nStyle=DrawImageFlags::NONE) |
virtual Bitmap | GetBitmap (const Point &rSrcPt, const Size &rSize) const |
BitmapEx | GetBitmapEx (const Point &rSrcPt, const Size &rSize) const |
Query extended bitmap (with alpha channel, if available). More... | |
void | DrawTransformedBitmapEx (const basegfx::B2DHomMatrix &rTransformation, const BitmapEx &rBitmapEx) |
Draw BitmapEx transformed. More... | |
bool | RemoveTransparenciesFromMetaFile (const GDIMetaFile &rInMtf, GDIMetaFile &rOutMtf, tools::Long nMaxBmpDPIX, tools::Long nMaxBmpDPIY, bool bReduceTransparency, bool bTransparencyAutoMode, bool bDownsampleBitmaps, const Color &rBackground=COL_TRANSPARENT) |
helper method removing transparencies from a metafile (e.g. More... | |
SAL_DLLPRIVATE Color | ImplDrawModeToColor (const Color &rColor) const |
void | DrawTransparent (const tools::PolyPolygon &rPolyPoly, sal_uInt16 nTransparencePercent) |
void | DrawTransparent (const basegfx::B2DHomMatrix &rObjectTransform, const basegfx::B2DPolyPolygon &rB2DPolyPoly, double fTransparency) |
void | DrawTransparent (const GDIMetaFile &rMtf, const Point &rPos, const Size &rSize, const Gradient &rTransparenceGradient) |
void | DrawMask (const Point &rDestPt, const Bitmap &rBitmap, const Color &rMaskColor) |
void | DrawMask (const Point &rDestPt, const Size &rDestSize, const Bitmap &rBitmap, const Color &rMaskColor) |
void | DrawMask (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, const Bitmap &rBitmap, const Color &rMaskColor, MetaActionType nAction) |
void | EnableMapMode (bool bEnable=true) |
bool | IsMapModeEnabled () const |
void | SetMapMode () |
virtual void | SetMapMode (const MapMode &rNewMapMode) |
void | SetRelativeMapMode (const MapMode &rNewMapMode) |
virtual void | SetMetafileMapMode (const MapMode &rNewMapMode, bool bIsRecord) |
const MapMode & | GetMapMode () const |
basegfx::B2DHomMatrix | GetViewTransformation () const |
basegfx::B2DHomMatrix | GetInverseViewTransformation () const |
basegfx::B2DHomMatrix | GetViewTransformation (const MapMode &rMapMode) const |
basegfx::B2DHomMatrix | GetInverseViewTransformation (const MapMode &rMapMode) const |
void | SetPixelOffset (const Size &rOffset) |
Set an offset in pixel. More... | |
Size | GetPixelOffset () const |
Get the offset in pixel. More... | |
Point | LogicToPixel (const Point &rLogicPt) const |
Size | LogicToPixel (const Size &rLogicSize) const |
tools::Rectangle | LogicToPixel (const tools::Rectangle &rLogicRect) const |
tools::Polygon | LogicToPixel (const tools::Polygon &rLogicPoly) const |
tools::PolyPolygon | LogicToPixel (const tools::PolyPolygon &rLogicPolyPoly) const |
basegfx::B2DPolyPolygon | LogicToPixel (const basegfx::B2DPolyPolygon &rLogicPolyPoly) 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 |
tools::Polygon | LogicToPixel (const tools::Polygon &rLogicPoly, const MapMode &rMapMode) const |
basegfx::B2DPolyPolygon | LogicToPixel (const basegfx::B2DPolyPolygon &rLogicPolyPoly, 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::Polygon | PixelToLogic (const tools::Polygon &rDevicePoly) const |
tools::PolyPolygon | PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const |
basegfx::B2DPolyPolygon | PixelToLogic (const basegfx::B2DPolyPolygon &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 |
tools::Polygon | PixelToLogic (const tools::Polygon &rDevicePoly, const MapMode &rMapMode) const |
basegfx::B2DPolygon | PixelToLogic (const basegfx::B2DPolygon &rDevicePoly, const MapMode &rMapMode) const |
basegfx::B2DPolyPolygon | PixelToLogic (const basegfx::B2DPolyPolygon &rDevicePolyPoly, const MapMode &rMapMode) const |
Point | LogicToLogic (const Point &rPtSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const |
Size | LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const |
tools::Rectangle | LogicToLogic (const tools::Rectangle &rRectSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const |
SAL_DLLPRIVATE tools::Rectangle | ImplLogicToDevicePixel (const tools::Rectangle &rLogicRect) const |
Convert a logical rectangle to a rectangle in physical device pixel units. More... | |
SAL_DLLPRIVATE Point | ImplLogicToDevicePixel (const Point &rLogicPt) const |
Convert a logical point to a physical point on the device. More... | |
SAL_DLLPRIVATE tools::Long | ImplLogicWidthToDevicePixel (tools::Long nWidth) const |
Convert a logical width to a width in units of device pixels. More... | |
SAL_DLLPRIVATE DeviceCoordinate | LogicWidthToDeviceCoordinate (tools::Long nWidth) const |
SAL_DLLPRIVATE tools::Long | ImplLogicXToDevicePixel (tools::Long nX) const |
Convert a logical X coordinate to a device pixel's X coordinate. More... | |
SAL_DLLPRIVATE tools::Long | ImplLogicYToDevicePixel (tools::Long nY) const |
Convert a logical Y coordinate to a device pixel's Y coordinate. More... | |
SAL_DLLPRIVATE tools::Long | ImplLogicHeightToDevicePixel (tools::Long nHeight) const |
Convert a logical height to a height in units of device pixels. More... | |
SAL_DLLPRIVATE tools::Long | ImplDevicePixelToLogicWidth (tools::Long nWidth) const |
Convert device pixels to a width in logical units. More... | |
SAL_DLLPRIVATE tools::Long | ImplDevicePixelToLogicHeight (tools::Long nHeight) const |
Convert device pixels to a height in logical units. More... | |
SAL_DLLPRIVATE float | ImplFloatLogicHeightToDevicePixel (float fLogicHeight) const |
Convert logical height to device pixels, with exact sub-pixel value. More... | |
SAL_DLLPRIVATE Size | ImplLogicToDevicePixel (const Size &rLogicSize) const |
Convert a logical size to the size on the physical device. More... | |
SAL_DLLPRIVATE tools::Rectangle | ImplDevicePixelToLogic (const tools::Rectangle &rPixelRect) const |
Convert a rectangle in physical pixel units to a rectangle in physical pixel units and coords. More... | |
SAL_DLLPRIVATE tools::Polygon | ImplLogicToDevicePixel (const tools::Polygon &rLogicPoly) const |
Convert a logical polygon to a polygon in physical device pixel units. More... | |
SAL_DLLPRIVATE tools::PolyPolygon | ImplLogicToDevicePixel (const tools::PolyPolygon &rLogicPolyPoly) const |
Convert a logical polypolygon to a polypolygon in physical device pixel units. More... | |
SAL_DLLPRIVATE LineInfo | ImplLogicToDevicePixel (const LineInfo &rLineInfo) const |
Convert a line in logical units to a line in physical device pixel units. More... | |
SAL_DLLPRIVATE vcl::Region | ImplPixelToDevicePixel (const vcl::Region &rRegion) const |
Convert a region in pixel units to a region in device pixel units and coords. More... | |
SAL_DLLPRIVATE void | ImplInvalidateViewTransform () |
Invalidate the view transformation. More... | |
SAL_DLLPRIVATE basegfx::B2DHomMatrix | ImplGetDeviceTransformation () const |
Get device transformation. More... | |
![]() | |
void | acquire () const |
void | release () const |
sal_Int32 | getRefCount () const |
void | disposeOnce () |
bool | isDisposed () const |
![]() | |
SvListView () | |
void | dispose () |
virtual | ~SvListView () |
void | Clear () |
bool | IsDirtyModel () const |
void | SetDirtyModel (bool bValue) |
sal_uLong | GetVisibleCount () const |
SvTreeListEntry * | FirstVisible () const |
SvTreeListEntry * | NextVisible (SvTreeListEntry *pEntry) const |
SvTreeListEntry * | PrevVisible (SvTreeListEntry *pEntry) const |
SvTreeListEntry * | LastVisible () const |
SvTreeListEntry * | NextVisible (SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const |
SvTreeListEntry * | PrevVisible (SvTreeListEntry *pEntry, sal_uInt16 &rDelta) const |
sal_uLong | GetSelectionCount () const |
SvTreeListEntry * | FirstSelected () const |
SvTreeListEntry * | NextSelected (SvTreeListEntry *pEntry) const |
SvTreeListEntry * | GetEntryAtAbsPos (sal_uLong nAbsPos) const |
SvTreeListEntry * | GetEntryAtVisPos (sal_uLong nVisPos) const |
sal_uLong | GetAbsPos (SvTreeListEntry const *pEntry) const |
sal_uLong | GetVisiblePos (SvTreeListEntry const *pEntry) const |
sal_uLong | GetVisibleChildCount (SvTreeListEntry *pParent) const |
bool | IsEntryVisible (SvTreeListEntry *pEntry) const |
bool | IsExpanded (SvTreeListEntry *pEntry) const |
bool | IsAllExpanded (SvTreeListEntry *pEntry) const |
bool | IsSelected (const SvTreeListEntry *pEntry) const |
void | SetEntryFocus (SvTreeListEntry *pEntry, bool bFocus) |
const SvViewDataEntry * | GetViewData (const SvTreeListEntry *pEntry) const |
SvViewDataEntry * | GetViewData (SvTreeListEntry *pEntry) |
bool | HasViewData () const |
![]() | |
DropTargetHelper (vcl::Window *pWindow) | |
DropTargetHelper (const css::uno::Reference< css::datatransfer::dnd::XDropTarget > &rxDropTarget) | |
void | dispose () |
virtual | ~DropTargetHelper () |
bool | IsDropFormatSupported (SotClipboardFormatId nFormat) const |
const DataFlavorExVector & | GetDataFlavorExVector () const |
![]() | |
DragSourceHelper (vcl::Window *pWindow) | |
void | dispose () |
virtual | ~DragSourceHelper () |
Static Public Member Functions | |
static OUString | SearchEntryTextWithHeadTitle (SvTreeListEntry *pEntry) |
static const Image & | GetDefaultExpandedNodeImage () |
Returns the default image which clients should use for expanded nodes, to have a consistent user interface experience in the whole product. More... | |
static const Image & | GetDefaultCollapsedNodeImage () |
Returns the default image which clients should use for expanded nodes, to have a consistent user interface experience in the whole product. More... | |
static const Image & | GetExpandedEntryBmp (const SvTreeListEntry *_pEntry) |
static const Image & | GetCollapsedEntryBmp (const SvTreeListEntry *_pEntry) |
![]() | |
static SAL_DLLPRIVATE void | ImplInitAppFontData (vcl::Window const *pWindow) |
static SAL_DLLPRIVATE void | ImplCalcSymbolRect (tools::Rectangle &rRect) |
static DockingManager * | GetDockingManager () |
static VclPtr< vcl::Window > | SaveFocus () |
static void | EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin) |
static VclPtr< vcl::Window > | FindLOKWindow (vcl::LOKWindowId nWindowId) |
Find an existing Window based on the LOKWindowId. More... | |
static bool | IsLOKWindowsEmpty () |
check if LOK Window container is empty More... | |
![]() | |
static void | ImplDrawText (OutputDevice &rTargetDevice, const tools::Rectangle &rRect, const OUString &rOrigStr, DrawTextFlags nStyle, MetricVector *pVector, OUString *pDisplayText, vcl::ITextLayout &_rLayout) |
static OUString | GetNonMnemonicString (const OUString &rStr, sal_Int32 &rMnemonicPos) |
static OUString | GetNonMnemonicString (const OUString &rStr) |
static std::shared_ptr< vcl::TextLayoutCache > | CreateTextLayoutCache (OUString const &) |
static SAL_DLLPRIVATE FontEmphasisMark | ImplGetEmphasisMarkStyle (const vcl::Font &rFont) |
static void | BeginFontSubstitution () |
static void | EndFontSubstitution () |
static void | AddFontSubstitute (const OUString &rFontName, const OUString &rReplaceFontName, AddFontSubstituteFlags nFlags) |
static void | RemoveFontsSubstitute () |
static vcl::Font | GetDefaultFont (DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr) |
static SAL_DLLPRIVATE void | ImplClearAllFontData (bool bNewFontLists) |
static SAL_DLLPRIVATE void | ImplRefreshAllFontData (bool bNewFontLists) |
static SAL_DLLPRIVATE void | ImplUpdateAllFontData (bool bNewFontLists) |
static Point | LogicToLogic (const Point &rPtSource, const MapMode &rMapModeSource, const MapMode &rMapModeDest) |
static Size | LogicToLogic (const Size &rSzSource, const MapMode &rMapModeSource, const MapMode &rMapModeDest) |
static tools::Rectangle | LogicToLogic (const tools::Rectangle &rRectSource, const MapMode &rMapModeSource, const MapMode &rMapModeDest) |
static tools::Long | LogicToLogic (tools::Long nLongSource, MapUnit eUnitSource, MapUnit eUnitDest) |
static basegfx::B2DPolygon | LogicToLogic (const basegfx::B2DPolygon &rPoly, const MapMode &rMapModeSource, const MapMode &rMapModeDest) |
static basegfx::B2DHomMatrix | LogicToLogic (const MapMode &rMapModeSource, const MapMode &rMapModeDest) |
Protected Member Functions | |
bool | CheckDragAndDropMode (SvTreeListBox const *pSource, sal_Int8) |
void | ImplShowTargetEmphasis (SvTreeListEntry *pEntry, bool bShow) |
void | EnableSelectionAsDropTarget (bool bEnable=true) |
virtual SvTreeListEntry * | GetDropTarget (const Point &) |
virtual void | StateChanged (StateChangedType eType) override |
virtual sal_uLong | Insert (SvTreeListEntry *pEnt, SvTreeListEntry *pPar, sal_uLong nPos=TREELIST_APPEND) |
virtual sal_uLong | Insert (SvTreeListEntry *pEntry, sal_uLong nRootPos=TREELIST_APPEND) |
void | EditText (const OUString &, const tools::Rectangle &, const Selection &) |
void | CancelTextEditing () |
virtual void | InitViewData (SvViewDataEntry *, SvTreeListEntry *pEntry) override |
void | RecalcViewData () |
Link< sal_Int8, void > | GetDragFinishedHdl () const |
sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt, SvTreeListBox *pSourceView) |
void | OnCurrentEntryChanged () |
virtual vcl::StringEntryIdentifier | CurrentEntry (OUString &_out_entryText) const override |
returns the current entry in the list of searchable strings. More... | |
virtual vcl::StringEntryIdentifier | NextEntry (vcl::StringEntryIdentifier _currentEntry, OUString &_out_entryText) const override |
returns the next entry in the list. More... | |
virtual void | SelectEntry (vcl::StringEntryIdentifier _entry) override |
selects a given entry More... | |
VCL_DLLPRIVATE void | SetEntryHeight (SvTreeListEntry const *pEntry) |
void | AdjustEntryHeight (const Image &rBmp) |
VCL_DLLPRIVATE void | AdjustEntryHeight () |
VCL_DLLPRIVATE void | ImpEntryInserted (SvTreeListEntry *pEntry) |
VCL_DLLPRIVATE void | PaintEntry1 (SvTreeListEntry &, tools::Long nLine, vcl::RenderContext &rRenderContext) |
VCL_DLLPRIVATE void | InitTreeView () |
VCL_DLLPRIVATE SvLBoxItem * | GetItem_Impl (SvTreeListEntry *, tools::Long nX, SvLBoxTab **ppTab) |
VCL_DLLPRIVATE void | ImplInitStyle () |
void | SetupDragOrigin () |
This sets the global variables used to determine the in-process drag source. More... | |
void | EditItemText (SvTreeListEntry *pEntry, SvLBoxString *pItem, const Selection &) |
void | EditedText (const OUString &) |
virtual void | SetTabs () |
void | AddTab (tools::Long nPos, SvLBoxTabFlags nFlags) |
sal_uInt16 | TabCount () const |
SvLBoxTab * | GetFirstDynamicTab () const |
SvLBoxTab * | GetFirstDynamicTab (sal_uInt16 &rTabPos) const |
SvLBoxTab * | GetFirstTab (SvLBoxTabFlags nFlagMask, sal_uInt16 &rTabPos) |
void | GetLastTab (SvLBoxTabFlags nFlagMask, sal_uInt16 &rTabPos) |
SvLBoxTab * | GetTab (SvTreeListEntry const *, SvLBoxItem const *) const |
void | ClearTabList () |
virtual void | InitEntry (SvTreeListEntry *, const OUString &, const Image &, const Image &) |
void | NotifyScrolled () |
void | SetScrolledHdl (const Link< SvTreeListBox *, void > &rLink) |
tools::Long | GetXOffset () const |
virtual void | Command (const CommandEvent &rCEvt) override |
virtual void | RequestHelp (const HelpEvent &rHEvt) override |
virtual void | DataChanged (const DataChangedEvent &rDCEvt) override |
void | InitSettings () |
virtual void | ApplySettings (vcl::RenderContext &rRenderContext) override |
void | CallImplEventListeners (VclEventId nEvent, void *pData) |
void | ImplEditEntry (SvTreeListEntry *pEntry) |
void | AdjustEntryHeightAndRecalc () |
VCL_DLLPRIVATE bool | PosOverBody (const Point &rPos) const |
![]() | |
Control (WindowType nType) | |
virtual void | FillLayoutData () const |
void | AppendLayoutData (const Control &rSubControl) const |
void | CreateLayoutData () const |
creates the mpData->mpLayoutData structure More... | |
bool | HasLayoutData () const |
determines whether we currently have layout data More... | |
bool | ImplCallEventListenersAndHandler (VclEventId nEvent, std::function< void()> const &callHandler) |
this calls both our event listeners, and a specified handler More... | |
void | CallEventListeners (VclEventId nEvent, void *pData=nullptr) |
tools::Rectangle | DrawControlText (OutputDevice &_rTargetDevice, const tools::Rectangle &_rRect, const OUString &_rStr, DrawTextFlags _nStyle, MetricVector *_pVector, OUString *_pDisplayText, const Size *i_pDeviceSize=nullptr) const |
draws the given text onto the given device More... | |
tools::Rectangle | GetControlTextRect (OutputDevice &_rTargetDevice, const tools::Rectangle &rRect, const OUString &_rStr, DrawTextFlags _nStyle, Size *o_pDeviceSize=nullptr) const |
virtual const vcl::Font & | GetCanonicalFont (const StyleSettings &_rStyle) const |
virtual const Color & | GetCanonicalTextColor (const StyleSettings &_rStyle) const |
void | ImplInitSettings () |
![]() | |
SAL_DLLPRIVATE void | ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData) |
SAL_DLLPRIVATE Point | ImplOutputToFrame (const Point &rPos) |
SAL_DLLPRIVATE void | ImplInvalidateParentFrameRegion (vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplValidate () |
SAL_DLLPRIVATE void | ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE void | ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE vcl::Window * | ImplGetBorderWindow () const |
SAL_DLLPRIVATE void | ImplInvalidate (const vcl::Region *rRegion, InvalidateFlags nFlags) |
virtual WindowHitTest | ImplHitTest (const Point &rFramePos) |
SAL_DLLPRIVATE void | ImplSetMouseTransparent (bool bTransparent) |
SAL_DLLPRIVATE void | ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags) |
SAL_DLLPRIVATE bool | ImplSetClipFlagChildren (bool bSysObjOnlySmaller) |
SAL_DLLPRIVATE bool | ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false) |
SAL_DLLPRIVATE void | PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext) |
SAL_DLLPRIVATE void | PopPaintHelper (PaintHelper const *pHelper) |
Window (WindowType nType) | |
void | SetCompoundControl (bool bCompound) |
void | CallEventListeners (VclEventId nEvent, void *pData=nullptr) |
virtual bool | AcquireGraphics () const override |
Acquire a graphics device that the output device uses to draw on. More... | |
virtual void | ReleaseGraphics (bool bRelease=true) override |
Release the graphics device, and remove it from the graphics device list. More... | |
virtual void | InitClipRegion () override |
void | ImplClearFontData (bool bNewFontLists) override |
void | ImplRefreshFontData (bool bNewFontLists) override |
void | ImplInitMapModeObjects () override |
virtual void | ImplAdjustNWFSizes () |
virtual void | CopyDeviceArea (SalTwoRect &aPosAry, bool bWindowInvalidate) override |
virtual const OutputDevice * | DrawOutDevDirectCheck (const OutputDevice &rSrcDev) const override |
virtual void | DrawOutDevDirectProcess (const OutputDevice &rSrcDev, SalTwoRect &rPosAry, SalGraphics *pSrcGraphics) override |
virtual void | ClipToPaintRegion (tools::Rectangle &rDstRect) override |
virtual bool | UsePolyPolygonForComplexGradient () override |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationMemberOf () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabeledBy () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabelFor () const |
virtual vcl::Window * | getAccessibleRelationLabelFor () const |
virtual sal_uInt16 | getDefaultAccessibleRole () const |
virtual OUString | getDefaultAccessibleName () const |
void | InvalidateSizeCache () |
clear OptimalSize cache More... | |
![]() | |
css::awt::DeviceInfo | GetCommonDeviceInfo (Size const &aDevSize) const |
OutputDevice (OutDevType eOutDevType) | |
virtual | ~OutputDevice () override |
virtual tools::Rectangle | GetBackgroundComponentBounds () const |
SAL_DLLPRIVATE void | drawOutDevDirect (const OutputDevice &rSrcDev, SalTwoRect &rPosAry) |
SAL_DLLPRIVATE bool | is_double_buffered_window () const |
virtual void | ImplReleaseFonts () |
virtual vcl::Region | ClipToDeviceBounds (vcl::Region aRegion) const |
Perform actual rect clip against outdev dimensions, to generate empty clips whenever one of the values is completely off the device. More... | |
virtual void | DrawHatchLine_DrawLine (const Point &rStartPoint, const Point &rEndPoint) |
virtual tools::Long | GetGradientStepCount (tools::Long nMinRect) |
void | DrawGradientWallpaper (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, const Wallpaper &rWallpaper) |
SAL_DLLPRIVATE void | ImplInitTextLineSize () |
SAL_DLLPRIVATE void | ImplInitAboveTextLineSize () |
SAL_DLLPRIVATE float | approximate_char_width () const |
SAL_DLLPRIVATE const LogicalFontInstance * | GetFontInstance () const |
SAL_DLLPRIVATE tools::Long | GetEmphasisAscent () const |
SAL_DLLPRIVATE tools::Long | GetEmphasisDescent () const |
SAL_DLLPRIVATE bool | InitFont () const |
virtual void | SetFontOrientation (LogicalFontInstance *const pFontInstance) const |
virtual tools::Long | GetFontExtLeading () const |
void | ReleaseFontCache () |
void | ReleaseFontCollection () |
void | SetFontCollectionFromSVData () |
void | ResetNewFontCache () |
virtual void | DrawDeviceBitmap (const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel, BitmapEx &rBitmapEx) |
virtual bool | CanSubsampleBitmap () const |
virtual bool | DrawTransformBitmapExDirect (const basegfx::B2DHomMatrix &aFullTransform, const BitmapEx &rBitmapEx) |
Transform and draw a bitmap directly. More... | |
virtual bool | TransformAndReduceBitmapExToTargetRange (const basegfx::B2DHomMatrix &aFullTransform, basegfx::B2DRange &aVisibleRange, double &fMaximumArea) |
Transform and reduce the area that needs to be drawn of the bitmap and return the new visible range and the maximum area. More... | |
virtual void | EmulateDrawTransparent (const tools::PolyPolygon &rPolyPoly, sal_uInt16 nTransparencePercent) |
void | DrawInvisiblePolygon (const tools::PolyPolygon &rPolyPoly) |
virtual void | ClipAndDrawGradientMetafile (const Gradient &rGradient, const tools::PolyPolygon &rPolyPoly) |
virtual void | DrawDeviceMask (const Bitmap &rMask, const Color &rMaskColor, const Point &rDestPt, const Size &rDestSize, const Point &rSrcPtPixel, const Size &rSrcSizePixel) |
![]() | |
VclReferenceBase () | |
virtual | ~VclReferenceBase () |
![]() | |
void | ExpandListEntry (SvTreeListEntry *pParent) |
void | CollapseListEntry (SvTreeListEntry *pParent) |
bool | SelectListEntry (SvTreeListEntry *pEntry, bool bSelect) |
![]() | |
~ISearchableStringList () | |
Protected Attributes | |
std::unique_ptr< SvImpLBox > | pImpl |
short | nColumns |
short | nEntryHeight |
short | nEntryWidth |
bool | mbCenterAndClipText |
Link< SvTreeListBox *, bool > | aDoubleClickHdl |
SvTreeListEntry * | pTargetEntry |
SvLBoxButtonData * | pCheckButtonData |
std::vector< std::unique_ptr< SvLBoxTab > > | aTabs |
SvTreeFlags | nTreeFlags |
SvTreeListBoxFlags | nImpFlags |
sal_uInt16 | nCurEntrySelPos |
std::unique_ptr< SvInplaceEdit2 > | pEdCtrl |
![]() | |
std::unique_ptr< vcl::ImplControlData > | mpControlData |
![]() | |
bool | m_bDirtyModel |
std::unique_ptr< SvTreeList > | pModel |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (CheckButtonClick, SvLBoxButtonData *, void) | |
DECL_DLLPRIVATE_LINK (TextEditEndedHdl_Impl, SvInplaceEdit2 &, void) | |
DECL_DLLPRIVATE_LINK (CloneHdl_Impl, SvTreeListEntry *, SvTreeListEntry *) | |
DECL_DLLPRIVATE_LINK (DragFinishHdl_Impl, sal_Int8, void) | |
VCL_DLLPRIVATE void | CheckBoxInserted (SvTreeListEntry *pEntry) |
VCL_DLLPRIVATE void | DrawCustomEntry (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect, const SvTreeListEntry &rEntry) |
VCL_DLLPRIVATE Size | MeasureCustomEntry (vcl::RenderContext &rRenderContext, const SvTreeListEntry &rEntry) |
VCL_DLLPRIVATE bool | HandleKeyInput (const KeyEvent &rKEvt) |
Handles the given key event. More... | |
void | UnsetDropTarget () |
Static Private Member Functions | |
static VCL_DLLPRIVATE void | AddBoxToDDList_Impl (const SvTreeListBox &rB) |
static VCL_DLLPRIVATE void | RemoveBoxFromDDList_Impl (const SvTreeListBox &rB) |
Friends | |
class | SvImpLBox |
class | SvLBoxString |
class | IconViewImpl |
class | TreeControlPeer |
class | SalInstanceIconView |
class | SalInstanceTreeView |
class | SalInstanceEntryTreeView |
Additional Inherited Members | |
![]() | |
static SAL_DLLPRIVATE tools::Long | ImplGetTextLines (ImplMultiTextLineInfo &rLineInfo, tools::Long nWidth, const OUString &rStr, DrawTextFlags nStyle, const vcl::ITextLayout &_rLayout) |
Definition at line 180 of file treelistbox.hxx.
SvTreeListBox::SvTreeListBox | ( | vcl::Window * | pParent, |
WinBits | nWinStyle = 0 |
||
) |
Definition at line 391 of file treelistbox.cxx.
References eSelMode, InitTreeView(), LINK, SvListView::m_bDirtyModel, nDragDropMode, nImpFlags, NONE, pHdlEntry, pImpl, SvListView::pModel, pTargetEntry, SetSublistOpenWithLeftRight(), vcl::Window::SetType(), Single, and WB_CLIPCHILDREN.
|
overridevirtual |
Definition at line 1309 of file treelistbox.cxx.
References VclReferenceBase::disposeOnce().
|
overridevirtual |
Reimplemented from DropTargetHelper.
Definition at line 1010 of file treelistbox.cxx.
References CheckDragAndDropMode(), DBG_ASSERT, DISABLE_DROP, DND_ACTION_MOVE, DND_ACTION_NONE, vcl::Window::GetDropTarget(), GetModel(), ImplShowTargetEmphasis(), DropTargetHelper::IsDropFormatSupported(), AcceptDropEvent::maPosPixel, AcceptDropEvent::mbLeaving, AcceptDropEvent::mnAction, nDragDropMode, SvTreeListEntry::nEntryFlags, nImpFlags, NONE, pTargetEntry, SAL_WARN, and TARGEMPH_VIS.
|
staticprivate |
Definition at line 1217 of file treelistbox.cxx.
Referenced by GetDragFinishedHdl().
|
protected |
Definition at line 3136 of file treelistbox.cxx.
References aTabs, nFirstSelTab, SvLBoxTab::nFlags, nFocusWidth, nLastSelTab, nPos, nTreeFlags, SHOW_SELECTION, and USESEL.
Referenced by SvTabListBox::SetTabs(), and SetTabs().
Definition at line 2044 of file treelistbox.cxx.
References Image::GetSizePixel(), nEntryHeight, nEntryHeightOffs, and pImpl.
|
protected |
Definition at line 2054 of file treelistbox.cxx.
References OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), Size::Height(), nEntryHeight, nEntryHeightOffs, and pImpl.
Referenced by AdjustEntryHeightAndRecalc(), ModelHasCleared(), SetCollapsedNodeBmp(), and SetExpandedNodeBmp().
|
protected |
Definition at line 2255 of file treelistbox.cxx.
References AdjustEntryHeight(), and RecalcViewData().
Referenced by InitSettings(), InitTreeView(), SetFont(), and SetSpaceBetweenEntries().
|
overrideprotectedvirtual |
Reimplemented from Control.
Definition at line 3394 of file treelistbox.cxx.
References StyleSettings::GetFieldColor(), StyleSettings::GetFieldTextColor(), vcl::Window::GetPointFont(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), SvLBoxButtonData::HasDefaultImages(), pCheckButtonData, OutputDevice::SetBackground(), SvLBoxButtonData::SetDefaultImages(), vcl::Window::SetPointFont(), OutputDevice::SetTextColor(), and OutputDevice::SetTextFillColor().
|
protected |
Definition at line 3479 of file treelistbox.cxx.
References Control::CallEventListeners().
Referenced by SvImpLBox::CallEventListeners().
|
protected |
Definition at line 915 of file treelistbox.cxx.
References IN_EDT, nImpFlags, and pEdCtrl.
Referenced by ModelNotification().
|
private |
Definition at line 1648 of file treelistbox.cxx.
References Button, SvTreeListEntry::GetFirstItem(), SvLBoxItem::GetWidth(), mnCheckboxItemWidth, nTreeFlags, and RECALCTABS.
Referenced by ImpEntryInserted().
void SvTreeListBox::CheckButtonHdl | ( | ) |
Definition at line 1737 of file treelistbox.cxx.
References CheckboxToggle, SvLBoxButtonData::GetActEntry(), pCheckButtonData, and pImpl.
|
protected |
Definition at line 475 of file treelistbox.cxx.
References CTRL_MOVE, DND_ACTION_MOVE, and nDragDropMode.
Referenced by AcceptDrop().
void SvTreeListBox::Clear | ( | ) |
Definition at line 423 of file treelistbox.cxx.
References SvListView::pModel.
Referenced by SalInstanceTreeView::clear(), and SalInstanceIconView::clear().
|
protected |
Definition at line 3183 of file treelistbox.cxx.
References aTabs.
SvTreeListEntry * SvTreeListBox::CloneEntry | ( | SvTreeListEntry * | pSource | ) |
Definition at line 1750 of file treelistbox.cxx.
References aStr, ContextBmp, SvTreeListEntry::EnableChildrenOnDemand(), SvLBoxContextBmp::GetBitmap1(), SvLBoxContextBmp::GetBitmap2(), SvTreeListEntry::GetFirstItem(), SvLBoxString::GetText(), SvTreeListEntry::GetUserData(), SvTreeListEntry::HasChildrenOnDemand(), InitEntry(), SvTreeListEntry::SetUserData(), and String.
bool SvTreeListBox::Collapse | ( | SvTreeListEntry * | pParent | ) |
Definition at line 2107 of file treelistbox.cxx.
References SvListView::CollapseListEntry(), ExpandedHdl(), ExpandingHdl(), ItemCollapsed, mbAlternatingRowColors, pHdlEntry, pImpl, and SetAlternatingRowColors().
Referenced by SvImpLBox::ButtonDownCheckExpand(), SalInstanceTreeView::collapse_row(), SvImpLBox::CollapseTo(), TreeListEntryUIObject::execute(), SvImpLBox::KeyInput(), and SvImpLBox::MouseButtonDown().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 3235 of file treelistbox.cxx.
References aPopupMenuHdl, Link< class, class >::Call(), vcl::Window::Command(), CommandEvent::GetCommand(), ModKeyChange, and pImpl.
bool SvTreeListBox::CopySelection | ( | SvTreeListBox * | pSource, |
SvTreeListEntry * | pTarget | ||
) |
Definition at line 559 of file treelistbox.cxx.
References SvListView::FirstSelected(), GetEntry(), GetModel(), LINK, MakeVisible(), nCurEntrySelPos, SvListView::NextSelected(), NotifyCopying(), SvListView::pModel, SelectChildren(), TREELIST_APPEND, and TRISTATE_INDET.
Referenced by ExecuteDrop().
|
overridevirtual |
Creates and returns the accessible object of the Box.
Reimplemented from vcl::Window.
Reimplemented in SvHeaderTabListBox.
Definition at line 3425 of file treelistbox.cxx.
References DBG_ASSERT, vcl::Window::GetAccessible(), vcl::Window::GetAccessibleParentWindow(), vcl::Window::GetComponentInterface(), and pImpl.
|
overrideprotectedvirtual |
returns the current entry in the list of searchable strings.
Search operations will start with this entry.
Implements vcl::ISearchableStringList.
Definition at line 929 of file treelistbox.cxx.
References First(), SvListView::FirstSelected(), GetCurEntry(), and GetEntryText().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 3370 of file treelistbox.cxx.
References vcl::Window::DataChanged(), DataChangedEvent::GetFlags(), DataChangedEvent::GetType(), InitSettings(), Invalidate(), nEntryHeight, SETTINGS, and STYLE.
|
private |
|
private |
|
private |
SvTreeListBox::DECL_LINK | ( | DefaultCompare | , |
const SvSortData & | , | ||
sal_Int32 | |||
) |
sal_Int32 SvTreeListBox::DefaultCompare | ( | const SvLBoxString * | pLeftText, |
const SvLBoxString * | pRightText | ||
) |
Definition at line 3285 of file treelistbox.cxx.
References SvLBoxString::GetText(), and pImpl.
Referenced by ImplInitStyle().
void SvTreeListBox::DeselectHdl | ( | ) |
Definition at line 465 of file treelistbox.cxx.
References aDeselectHdl, and Link< class, class >::Call().
Referenced by Select().
This is intended to be used to clear any locally held references to other Window-subclass objects.
Reimplemented from Control.
Reimplemented in SvHeaderTabListBox, and SvTabListBox.
Definition at line 1314 of file treelistbox.cxx.
References ClearTabList(), Control::dispose(), SvListView::dispose(), DragSourceHelper::dispose(), DropTargetHelper::dispose(), vcl::Window::IsMouseCaptured(), mpImpl, ObjectDying, pEdCtrl, pImpl, vcl::Window::ReleaseMouse(), and RemoveBoxFromDDList_Impl().
Referenced by SvTabListBox::dispose().
bool SvTreeListBox::DoubleClickHdl | ( | ) |
Definition at line 470 of file treelistbox.cxx.
References aDoubleClickHdl, Link< class, class >::Call(), and Link< class, class >::IsSet().
Referenced by TreeListEntryUIObject::execute(), SvImpLBox::KeyInput(), SvImpLBox::MouseButtonDown(), and SvImpLBox::MouseButtonUp().
Reimplemented in LclTabListBox.
Definition at line 1168 of file treelistbox.cxx.
References DND_ACTION_MOVE, EnableSelectionAsDropTarget(), g_pDDTarget, GetModel(), nDragDropMode, nOldDragMode, RemoveSelection(), and UnsetDropTarget().
Referenced by LclTabListBox::DragFinished(), and StartDrag().
|
private |
Definition at line 2862 of file treelistbox.cxx.
References aCustomRenderHdl, and Link< class, class >::Call().
Referenced by SvLBoxString::Paint().
|
virtual |
Reimplemented in LclTabListBox, and LclHeaderTabListBox.
Definition at line 1848 of file treelistbox.cxx.
Referenced by EditedText().
|
protected |
Definition at line 2477 of file treelistbox.cxx.
References EditedEntry(), GetCurEntry(), SvListView::GetSelectionCount(), GetSelectionMode(), Multiple, pEdEntry, pEdItem, SvListView::pModel, Select(), SetCurEntry(), and Control::SetText().
void SvTreeListBox::EditEntry | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 2421 of file treelistbox.cxx.
References ImplEditEntry(), pImpl, and Point.
Referenced by SalInstanceTreeView::start_editing().
|
virtual |
Reimplemented in LclTabListBox, and LclHeaderTabListBox.
Definition at line 1843 of file treelistbox.cxx.
Referenced by ImplEditEntry().
|
protected |
Definition at line 2382 of file treelistbox.cxx.
References assert(), aTabs, DBG_ASSERT, EditText(), GetEntryPosition(), SvLBoxItem::GetHeight(), OutputDevice::GetMapMode(), GetTab(), GetTabPos(), SvLBoxString::GetText(), SvListView::IsSelected(), nEntryHeight, nPos, p, pEdEntry, pEdItem, pImpl, Point, and SvListView::SelectListEntry().
Referenced by ImplEditEntry().
|
protected |
Definition at line 883 of file treelistbox.cxx.
References EDTEND_CALLED, tools::Rectangle::GetSize(), vcl::Window::HideFocus(), IN_EDT, LINK, nImpFlags, pEdCtrl, and tools::Rectangle::TopLeft().
Referenced by EditItemText().
void SvTreeListBox::EnableCheckButton | ( | SvLBoxButtonData * | pData | ) |
Definition at line 1804 of file treelistbox.cxx.
References CHKBTN, Invalidate(), vcl::Window::IsUpdateMode(), LINK, nTreeFlags, SetCheckButtonData(), SvLBoxButtonData::SetLink(), and SetTabs().
Referenced by SalInstanceTreeView::enable_toggle_buttons().
void SvTreeListBox::EnableInplaceEditing | ( | bool | bEnable | ) |
Definition at line 1853 of file treelistbox.cxx.
References EDT_ENABLED, and nImpFlags.
Referenced by SalInstanceTreeView::connect_editing().
|
protected |
Definition at line 845 of file treelistbox.cxx.
References DISABLE_DROP, SvListView::FirstSelected(), SvTreeListEntry::nEntryFlags, Next(), SvListView::NextSelected(), and SvListView::pModel.
Referenced by DragFinished(), ExecuteDrop(), and StartDrag().
void SvTreeListBox::EndEditing | ( | bool | bCancel = false | ) |
Definition at line 922 of file treelistbox.cxx.
References IN_EDT, nImpFlags, and pEdCtrl.
Referenced by SvImpLBox::AdjustScrollBars(), SvImpLBox::ButtonDownCheckExpand(), SalInstanceTreeView::end_editing(), ImplEditEntry(), Resize(), and SetTabs().
|
protected |
Definition at line 1053 of file treelistbox.cxx.
References aData, assert(), CopySelection(), DND_ACTION_COPY, DND_ACTION_COPYMOVE, DND_ACTION_MOVE, DND_ACTION_NONE, EnableSelectionAsDropTarget(), TransferableDataHelper::HasFormat(), ImplShowTargetEmphasis(), ExecuteDropEvent::maDropEvent, ExecuteDropEvent::mnAction, MoveSelectionCopyFallbackPossible(), and pTargetEntry.
Referenced by ExecuteDrop().
|
overridevirtual |
Reimplemented from DropTargetHelper.
Definition at line 1094 of file treelistbox.cxx.
References ExecuteDrop().
bool SvTreeListBox::Expand | ( | SvTreeListEntry * | pParent | ) |
Definition at line 2064 of file treelistbox.cxx.
References ExpandedHdl(), ExpandingHdl(), SvListView::ExpandListEntry(), SvTreeListEntry::GetFlags(), GetModel(), HAD_CHILDREN, SvTreeListEntry::HasChildren(), SvTreeListEntry::HasChildrenOnDemand(), SvTreeList::InvalidateEntry(), ItemExpanded, mbAlternatingRowColors, NO_NODEBMP, pHdlEntry, pImpl, RequestingChildren(), SetAlternatingRowColors(), and SvTreeListEntry::SetFlags().
Referenced by SvImpLBox::ButtonDownCheckExpand(), TreeListEntryUIObject::execute(), SalInstanceTreeView::expand_row(), SvImpLBox::ExpandAll(), SvImpLBox::KeyInput(), SvImpLBox::MakeVisible(), and SvImpLBox::MouseButtonDown().
void SvTreeListBox::ExpandedHdl | ( | ) |
Definition at line 455 of file treelistbox.cxx.
References aExpandedHdl, and Link< class, class >::Call().
Referenced by Collapse(), and Expand().
bool SvTreeListBox::ExpandingHdl | ( | ) |
Definition at line 450 of file treelistbox.cxx.
References aExpandingHdl, Link< class, class >::Call(), and Link< class, class >::IsSet().
Referenced by Collapse(), and Expand().
void SvTreeListBox::FillAccessibleEntryStateSet | ( | SvTreeListEntry * | pEntry, |
::utl::AccessibleStateSetHelper & | rStateSet | ||
) | const |
Fills the StateSet of one entry.
Definition at line 3444 of file treelistbox.cxx.
References utl::AccessibleStateSetHelper::AddState(), assert(), Checked, GetCheckButtonState(), GetViewDataEntry(), SvTreeListEntry::HasChildren(), SvTreeListEntry::HasChildrenOnDemand(), SvViewDataEntry::HasFocus(), vcl::Window::IsEnabled(), SvListView::IsEntryVisible(), SvListView::IsExpanded(), and SvListView::IsSelected().
void SvTreeListBox::FillEntryPath | ( | SvTreeListEntry * | pEntry, |
::std::deque< sal_Int32 > & | _rPath | ||
) | const |
Definition at line 754 of file treelistbox.cxx.
References DBG_ASSERT, GetEntry(), GetLevelChildCount(), vcl::Window::GetParent(), i, and nCount.
|
inline |
Definition at line 348 of file treelistbox.hxx.
Referenced by SalInstanceTreeView::all_foreach(), CurrentEntry(), SvTabListBox::DumpAsPropertyTree(), SvImpLBox::EntryCollapsed(), SvImpLBox::EntryInserted(), SvImpLBox::EntryMoved(), SalInstanceTreeView::find_id(), SalInstanceTreeView::find_text(), GetDropTarget(), SvTabListBox::GetEntryPos(), GetFocus(), getPreferredDimensions(), LoseFocus(), NextEntry(), IconViewImpl::Paint(), SvImpLBox::Paint(), Paint(), SalInstanceTreeView::queue_draw(), and RecalcViewData().
SvTreeListEntry * SvTreeListBox::FirstChild | ( | SvTreeListEntry * | pParent | ) | const |
Definition at line 553 of file treelistbox.cxx.
References SvListView::pModel.
Referenced by SvImpLBox::DrawNet(), GetLevelChildCount(), SalInstanceTreeView::GetPlaceHolderChild(), SalInstanceTreeView::iter_children(), lcl_DumpEntryAndSiblings(), SelectChildren(), and SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry().
tools::Rectangle SvTreeListBox::GetBoundingRect | ( | const SvTreeListEntry * | pEntry | ) |
Calculate and return the bounding rectangle of an entry.
pEntry | The entry. |
Definition at line 3472 of file treelistbox.cxx.
References GetEntryPosition(), GetFocusRect(), and Point.
Referenced by SalInstanceTreeView::get_row_area(), SvHeaderTabListBox::GetFieldRectPixelAbs(), and SvLBoxString::Paint().
SvButtonState SvTreeListBox::GetCheckButtonState | ( | SvTreeListEntry * | pEntry | ) | const |
Definition at line 1723 of file treelistbox.cxx.
References Button, CHKBTN, SvLBoxButtonData::ConvertToButtonState(), SvLBoxButton::GetButtonFlags(), SvTreeListEntry::GetFirstItem(), nTreeFlags, Tristate, and Unchecked.
Referenced by FillAccessibleEntryStateSet(), and lcl_DumpEntryAndSiblings().
sal_uLong SvTreeListBox::GetChildCount | ( | SvTreeListEntry const * | pParent | ) | const |
Definition at line 790 of file treelistbox.cxx.
References SvListView::pModel.
Referenced by TreeListUIObject::get_state().
|
static |
Definition at line 1528 of file treelistbox.cxx.
References assert(), ContextBmp, SvLBoxContextBmp::GetBitmap1(), and SvTreeListEntry::GetFirstItem().
Referenced by ImpEntryInserted().
|
inline |
Definition at line 612 of file treelistbox.hxx.
Referenced by IconViewImpl::AdjustScrollBars(), IconViewImpl::CursorDown(), IconViewImpl::CursorUp(), IconViewImpl::GetClickedEntry(), IconViewImpl::GetEntry(), IconViewImpl::GetEntryPosition(), IconView::GetFocusRect(), IconViewImpl::InvalidateEntry(), IconViewImpl::IsEntryInView(), IconViewImpl::KeyInput(), IconViewImpl::PageDown(), IconViewImpl::PageUp(), and IconViewImpl::Paint().
SvTreeListEntry * SvTreeListBox::GetCurEntry | ( | ) | const |
Definition at line 2536 of file treelistbox.cxx.
References pImpl.
Referenced by CurrentEntry(), EditedText(), SalInstanceTreeView::get_cursor(), SalInstanceIconView::get_cursor(), SalInstanceTreeView::get_cursor_index(), SvHeaderTabListBox::GetCurrRow(), and ImplEditEntry().
const Image & SvTreeListBox::GetDefaultCollapsedEntryBmp | ( | ) | const |
|
static |
Returns the default image which clients should use for expanded nodes, to have a consistent user interface experience in the whole product.
Definition at line 1831 of file treelistbox.cxx.
References SvImpLBox::GetDefaultCollapsedNodeImage().
const Image & SvTreeListBox::GetDefaultExpandedEntryBmp | ( | ) | const |
|
static |
Returns the default image which clients should use for expanded nodes, to have a consistent user interface experience in the whole product.
Definition at line 1826 of file treelistbox.cxx.
References SvImpLBox::GetDefaultExpandedNodeImage().
|
inline |
Definition at line 375 of file treelistbox.hxx.
Referenced by GetDropTarget(), LclHeaderTabListBox::NotifyStartDrag(), LclTabListBox::NotifyStartDrag(), and StartDrag().
Definition at line 1241 of file treelistbox.cxx.
References AddBoxToDDList_Impl(), and LINK.
Referenced by StartDrag().
|
protectedvirtual |
Reimplemented in LclTabListBox.
Definition at line 2494 of file treelistbox.cxx.
References ENABLE_TOP, First(), GetDragDropMode(), ImplShowTargetEmphasis(), SvListView::LastVisible(), pImpl, pTargetEntry, and ScrollOutputArea().
Referenced by SalInstanceTreeView::get_dest_row_at_pos().
SvTreeListEntry * SvTreeListBox::GetEntry | ( | SvTreeListEntry * | pParent, |
sal_uLong | nPos | ||
) | const |
Definition at line 728 of file treelistbox.cxx.
References SvListView::pModel.
Referenced by CopySelection(), FillEntryPath(), TreeListUIObject::get_child(), TreeListEntryUIObject::get_child(), SalInstanceTreeView::get_iter_first(), SalInstanceIconView::get_iter_first(), SalInstanceTreeView::get_text(), SalInstanceTreeView::get_text_emphasis(), SalInstanceTreeView::get_toggle(), SvTabListBox::GetChildOnPos(), SvHeaderTabListBox::GetCurrRow(), SalInstanceTreeView::getEntryData(), GetEntryFromPath(), SvTabListBox::GetEntryOnPos(), SvHeaderTabListBox::GetFieldRectPixelAbs(), GetFirstEntryInView(), SvTabListBox::GetTabEntryText(), SalInstanceTreeView::is_selected(), SvHeaderTabListBox::IsCellCheckBox(), SvHeaderTabListBox::IsRowSelected(), MouseButtonUp(), VclBuilder::mungeModel(), SalInstanceTreeView::remove(), SalInstanceTreeView::scroll_to_row(), SalInstanceTreeView::select(), SalInstanceIconView::select(), SvHeaderTabListBox::SelectRow(), SalInstanceTreeView::set_cursor(), SalInstanceTreeView::set_font_color(), SalInstanceTreeView::set_id(), SalInstanceTreeView::set_image(), SalInstanceTreeView::set_sensitive(), SalInstanceTreeView::set_text(), SalInstanceTreeView::set_text_align(), SalInstanceTreeView::set_text_emphasis(), SalInstanceTreeView::set_toggle(), StartDrag(), SalInstanceTreeView::unselect(), and SalInstanceIconView::unselect().
SvTreeListEntry * SvTreeListBox::GetEntry | ( | sal_uLong | nRootPos | ) | const |
Definition at line 733 of file treelistbox.cxx.
References SvListView::pModel.
SvTreeListEntry * SvTreeListBox::GetEntry | ( | const Point & | rPos, |
bool | bHit = false |
||
) | const |
Definition at line 2524 of file treelistbox.cxx.
References pImpl.
|
inline |
Definition at line 344 of file treelistbox.hxx.
Referenced by IconViewImpl::GetClickedEntry(), SvImpLBox::GetClickedEntry(), SvHeaderTabListBox::GetCurrRow(), IconViewImpl::GetEntry(), SvImpLBox::GetEntry(), SvHeaderTabListBox::GetRowCount(), and SvImpLBox::SelAllDestrAnch().
SvTreeListEntry * SvTreeListBox::GetEntryFromPath | ( | const ::std::deque< sal_Int32 > & | _rPath | ) | const |
Definition at line 738 of file treelistbox.cxx.
References GetEntry().
|
inline |
Definition at line 613 of file treelistbox.hxx.
Referenced by IconViewImpl::AdjustScrollBars(), SvImpLBox::AdjustScrollBars(), IconViewImpl::CursorDown(), SvImpLBox::CursorDown(), IconViewImpl::CursorUp(), SvImpLBox::CursorUp(), SvImpLBox::DrawNet(), SvImpLBox::EntryInserted(), SalInstanceTreeView::get_height_rows(), IconViewImpl::GetClickedEntry(), SvImpLBox::GetClickedEntry(), IconViewImpl::GetEntry(), SvImpLBox::GetEntry(), SvImpLBox::GetEntryLine(), IconViewImpl::GetEntryPosition(), GetFocusRect(), getPreferredDimensions(), IconViewImpl::InvalidateEntry(), SvImpLBox::InvalidateEntry(), IconViewImpl::IsEntryInView(), SvImpLBox::IsEntryInView(), IconViewImpl::PageDown(), SvImpLBox::PageDown(), IconViewImpl::PageUp(), SvImpLBox::PageUp(), IconViewImpl::Paint(), SvImpLBox::Paint(), IconView::PaintEntry(), PaintEntry1(), and SvImpLBox::Resize().
Point SvTreeListBox::GetEntryPosition | ( | const SvTreeListEntry * | pEntry | ) | const |
Definition at line 2352 of file treelistbox.cxx.
Referenced by EditItemText(), GetBoundingRect(), and GetNextEntryInView().
|
virtual |
Reimplemented in SvTabListBox.
Definition at line 1512 of file treelistbox.cxx.
References assert(), SvTreeListEntry::GetFirstItem(), SvLBoxString::GetText(), and String.
Referenced by CurrentEntry(), SalInstanceIconView::get_selected_text(), TreeListUIObject::get_state(), TreeListEntryUIObject::get_state(), and NextEntry().
|
inline |
Definition at line 615 of file treelistbox.hxx.
Referenced by IconViewImpl::GetClickedEntry(), IconViewImpl::GetEntry(), IconViewImpl::GetEntryPosition(), IconViewImpl::Paint(), SvLBoxString::Paint(), and IconView::PaintEntry().
|
static |
Definition at line 1520 of file treelistbox.cxx.
References assert(), ContextBmp, SvLBoxContextBmp::GetBitmap2(), and SvTreeListEntry::GetFirstItem().
Referenced by ImpEntryInserted().
Image const & SvTreeListBox::GetExpandedNodeBmp | ( | ) | const |
|
protected |
Definition at line 3171 of file treelistbox.cxx.
Referenced by SvImpLBox::DrawNet(), SvImpLBox::IsNodeButton(), and PaintEntry1().
|
protected |
Definition at line 3154 of file treelistbox.cxx.
References aTabs, DYNAMIC, and SvLBoxTab::nFlags.
SvTreeListEntry * SvTreeListBox::GetFirstEntryInView | ( | ) | const |
Definition at line 3351 of file treelistbox.cxx.
References GetEntry(), and Point.
Referenced by SalInstanceTreeView::vadjustment_get_value(), and SalInstanceTreeView::visible_foreach().
|
protected |
Definition at line 3244 of file treelistbox.cxx.
References aTabs, SvLBoxTab::nFlags, and nPos.
Referenced by GetFocusRect().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1881 of file treelistbox.cxx.
References First(), SvListView::FirstSelected(), vcl::Window::GetFocus(), Invalidate(), ListboxTreeFocus, and pImpl.
|
virtual |
Reimplemented in IconView.
Definition at line 2872 of file treelistbox.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), Size::AdjustWidth(), aTabs, SvLBoxTab::CalcOffset(), GetEntryHeight(), GetFirstTab(), SvTreeListEntry::GetItem(), GetLastTab(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), SvLBoxTab::GetPos(), GetTabPos(), tools::Rectangle::GetWidth(), SvLBoxItem::GetWidth(), tools::Rectangle::Left(), nFirstSelTab, nFocusWidth, nTreeFlags, pImpl, tools::Rectangle::Right(), Size::setHeight(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetSize(), tools::Rectangle::SetTop(), Size::setWidth(), SHOW_SELECTION, USESEL, and Size::Width().
Referenced by SvImpLBox::EntryReallyHit(), GetBoundingRect(), SvImpLBox::RecalcFocusRect(), and SvImpLBox::ShowCursor().
|
inline |
Definition at line 419 of file treelistbox.hxx.
|
inline |
Definition at line 681 of file treelistbox.hxx.
|
inline |
Definition at line 618 of file treelistbox.hxx.
Referenced by SvImpLBox::DrawNet(), and SvImpLBox::SetNodeBmpTabDistance().
SvLBoxItem * SvTreeListBox::GetItem | ( | SvTreeListEntry * | pEntry, |
tools::Long | nX, | ||
SvLBoxTab ** | ppTab | ||
) |
Definition at line 3125 of file treelistbox.cxx.
References GetItem_Impl().
Referenced by SvImpLBox::ButtonDownCheckCtrl(), SvImpLBox::ButtonUpCheckCtrl(), SvImpLBox::MouseButtonDown(), MouseButtonUp(), SvImpLBox::MouseMoveCheckCtrl(), and SvImpLBox::RequestHelp().
SvLBoxItem * SvTreeListBox::GetItem | ( | SvTreeListEntry * | pEntry, |
tools::Long | nX | ||
) |
Definition at line 3130 of file treelistbox.cxx.
References GetItem_Impl().
|
protected |
Definition at line 2981 of file treelistbox.cxx.
References aTabs, SvLBoxTab::CalcOffset(), SvTreeListEntry::GetItem(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), GetTabPos(), SvLBoxItem::GetWidth(), SvTreeListEntry::ItemCount(), and pImpl.
Referenced by GetItem().
|
protected |
Definition at line 3260 of file treelistbox.cxx.
References aTabs, SvLBoxTab::nFlags, and nPos.
Referenced by GetFocusRect().
sal_uLong SvTreeListBox::GetLevelChildCount | ( | SvTreeListEntry * | pParent | ) | const |
Definition at line 795 of file treelistbox.cxx.
References FirstChild(), SvTreeListEntry::m_Children, and SvTreeListEntry::pParent.
Referenced by FillEntryPath(), TreeListUIObject::get_children(), TreeListEntryUIObject::get_children(), TreeListUIObject::get_state(), TreeListEntryUIObject::get_state(), SvTabListBox::GetChildOnPos(), and SvTabListBox::GetEntryOnPos().
|
inline |
Definition at line 339 of file treelistbox.hxx.
Referenced by AcceptDrop(), CopySelection(), DragFinished(), Expand(), SvImpLBox::FindMostRight(), SalInstanceTreeView::freeze(), SalInstanceTreeView::get_iter_depth(), SalInstanceTreeView::get_sort_order(), IconViewImpl::GetClickedEntry(), SvImpLBox::GetClickedEntry(), IconView::IconView(), ImplInitStyle(), InitTreeView(), InvalidateEntry(), SalInstanceTreeView::InvalidateModelEntry(), SalInstanceTreeView::iter_compare(), SalInstanceTreeView::iter_n_children(), IconViewImpl::KeyInput(), SvImpLBox::KeyInput(), lcl_DumpEntryAndSiblings(), SalInstanceTreeView::make_sorted(), SalInstanceTreeView::move_subtree(), MoveSelectionCopyFallbackPossible(), SalInstanceTreeView::n_children(), SalInstanceIconView::n_children(), SalInstanceTreeView::queue_draw(), SvImpLBox::RemovingEntry(), SalInstanceTreeView::set_sort_column(), SalInstanceTreeView::set_sort_func(), SalInstanceTreeView::set_sort_order(), SetEntryText(), SalInstanceTreeView::swap(), and SalInstanceTreeView::thaw().
SvTreeListEntry * SvTreeListBox::GetNextEntryInView | ( | SvTreeListEntry * | pEntry | ) | const |
Definition at line 3356 of file treelistbox.cxx.
References GetEntryPosition(), Size::Height(), SvListView::NextVisible(), pImpl, and Point.
Referenced by SalInstanceTreeView::visible_foreach().
|
overridevirtual |
Reimplemented from Control.
Definition at line 3066 of file treelistbox.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), OutputDevice::approximate_char_width(), StyleSettings::GetBorderSize(), getPreferredDimensions(), OutputDevice::GetSettings(), vcl::Window::GetStyle(), nMinWidthInChars, Size::setWidth(), WB_BORDER, WB_VSCROLL, and Size::Width().
Size SvTreeListBox::GetOutputSizePixel | ( | ) | const |
Definition at line 3189 of file treelistbox.cxx.
References pImpl.
SvTreeListEntry * SvTreeListBox::GetParent | ( | SvTreeListEntry * | pEntry | ) | const |
Definition at line 785 of file treelistbox.cxx.
References SvListView::pModel.
Referenced by SvImpLBox::DrawNet(), SalInstanceTreeView::iter_parent(), SvImpLBox::KeyInput(), and SvImpLBox::MakeVisible().
tools::Long SvTreeListBox::getPreferredDimensions | ( | std::vector< tools::Long > & | rWidths | ) | const |
Definition at line 3037 of file treelistbox.cxx.
References First(), GetEntryHeight(), SvTreeListEntry::GetItem(), SvLBoxItem::GetWidth(), SvTreeListEntry::ItemCount(), nCount, Next(), and SV_TAB_BORDER.
Referenced by SalInstanceTreeView::columns_autosize(), and GetOptimalSize().
|
inline |
Definition at line 376 of file treelistbox.hxx.
Referenced by EditedText(), IMPL_LINK_NOARG(), SvImpLBox::KeyInput(), and SvImpLBox::SetCursor().
|
protected |
Definition at line 3177 of file treelistbox.cxx.
References aTabs, SvTreeListEntry::GetPos(), and nPos.
Referenced by EditItemText(), ImplEditEntry(), and SvImpLBox::MouseButtonDown().
sal_IntPtr SvTreeListBox::GetTabPos | ( | const SvTreeListEntry * | pEntry, |
const SvLBoxTab * | pTab | ||
) |
Definition at line 2968 of file treelistbox.cxx.
References assert(), SvTreeListEntry::GetExtraIndent(), SvLBoxTab::GetPos(), SvLBoxTab::IsDynamic(), nIndent, nPos, and SvListView::pModel.
Referenced by SvImpLBox::DrawNet(), EditItemText(), GetFocusRect(), GetItem_Impl(), SvImpLBox::IsNodeButton(), PaintEntry1(), SvImpLBox::RequestHelp(), and SvImpLBox::SetMostRight().
|
inline |
Definition at line 463 of file treelistbox.hxx.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 3534 of file treelistbox.cxx.
References TreeListUIObject::create().
SvViewDataEntry * SvTreeListBox::GetViewDataEntry | ( | SvTreeListEntry const * | pEntry | ) | const |
Definition at line 810 of file treelistbox.cxx.
References SvListView::GetViewData().
Referenced by SalInstanceTreeView::do_insert(), FillAccessibleEntryStateSet(), SvImpLBox::IsSelectable(), IconView::PaintEntry(), PaintEntry1(), SalInstanceTreeView::set_children_on_demand(), SalInstanceTreeView::set_image(), SalInstanceTreeView::set_text(), SvImpLBox::SetCursor(), SetEntryHeight(), and SalInstanceTreeView::update_checkbutton_column_width().
SvViewDataItem * SvTreeListBox::GetViewDataItem | ( | SvTreeListEntry const * | pEntry, |
SvLBoxItem const * | pItem | ||
) |
Definition at line 815 of file treelistbox.cxx.
Referenced by SalInstanceTreeView::bulk_insert_for_each(), SvLBoxItem::GetHeight(), SvLBoxItem::GetWidth(), SvLBoxString::InitViewData(), SvLBoxButton::InitViewData(), and SvLBoxContextBmp::InitViewData().
const SvViewDataItem * SvTreeListBox::GetViewDataItem | ( | const SvTreeListEntry * | pEntry, |
const SvLBoxItem * | pItem | ||
) | const |
Definition at line 820 of file treelistbox.cxx.
References assert(), SvViewDataEntry::GetItem(), SvTreeListEntry::GetPos(), and SvListView::GetViewData().
|
inlineprotected |
Definition at line 505 of file treelistbox.hxx.
References OutputDevice::GetMapMode(), and MapMode::GetOrigin().
|
private |
Handles the given key event.
At the moment this merely does typeahead if typeahead is enabled.
Definition at line 991 of file treelistbox.cxx.
References KeyEvent::GetKeyCode(), vcl::KeyCode::IsMod1(), mbQuickSearch, and mpImpl.
Referenced by KeyInput().
|
protected |
Definition at line 1662 of file treelistbox.cxx.
References aCurInsertedColBmp, aCurInsertedExpBmp, aPrevInsertedColBmp, aPrevInsertedExpBmp, CheckBoxInserted(), CHKBTN, GetCollapsedEntryBmp(), GetExpandedEntryBmp(), SvTreeListEntry::GetFlags(), Image::GetSizePixel(), MANINS, nContextBmpWidthMax, NO_NODEBMP, nTreeFlags, SvListView::pModel, RECALCTABS, SetEntryHeight(), SvTreeListEntry::SetFlags(), and Size::Width().
Referenced by ModelHasInserted(), and ModelHasInsertedTree().
|
protected |
Definition at line 2427 of file treelistbox.cxx.
References EditingEntry(), EditItemText(), EndEditing(), GetCurEntry(), SvTreeListEntry::GetItem(), SvLBoxTab::GetPos(), GetTab(), SvLBoxItem::GetType(), i, SvLBoxTab::IsEditable(), IsEditingActive(), SvTreeListEntry::ItemCount(), MakeVisible(), nCount, pImpl, SelectAll(), SELECTION_MAX, SELECTION_MIN, and String.
Referenced by EditEntry().
|
protected |
Definition at line 2541 of file treelistbox.cxx.
References DefaultCompare(), GetModel(), vcl::Window::GetStyle(), Invalidate(), LINK, nTreeFlags, pImpl, RECALCTABS, SvTreeList::SetCompareHdl(), SvTreeList::SetSortMode(), SortAscending, SortNone, and WB_SORT.
Referenced by InitTreeView(), and StateChanged().
|
protected |
Definition at line 709 of file treelistbox.cxx.
References nImpFlags, pImpl, and TARGEMPH_VIS.
Referenced by AcceptDrop(), ExecuteDrop(), GetDropTarget(), LclTabListBox::GetTargetAtPoint(), and UnsetDropTarget().
|
protectedvirtual |
Reimplemented in SvTabListBox.
Definition at line 1499 of file treelistbox.cxx.
References SvTreeListEntry::AddItem(), CHKBTN, mbContextBmpExpanded, nTreeFlags, and pCheckButtonData.
Referenced by CloneEntry(), SvTabListBox::InitEntry(), and InsertEntry().
|
protected |
Definition at line 3408 of file treelistbox.cxx.
References AdjustEntryHeightAndRecalc(), StyleSettings::GetFieldColor(), StyleSettings::GetFieldFont(), StyleSettings::GetFieldTextColor(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), SvLBoxButtonData::HasDefaultImages(), pCheckButtonData, OutputDevice::SetBackground(), SvLBoxButtonData::SetDefaultImages(), vcl::Window::SetPointFont(), OutputDevice::SetTextColor(), and OutputDevice::SetTextFillColor().
Referenced by DataChanged(), and InitTreeView().
|
protected |
Definition at line 1256 of file treelistbox.cxx.
References AdjustEntryHeightAndRecalc(), OutputDevice::GetFont(), GetModel(), vcl::Window::GetStyle(), ImplInitStyle(), InitSettings(), mbContextBmpExpanded, mnCheckboxItemWidth, nContextBmpWidthMax, nEntryHeight, nEntryHeightOffs, nFirstSelTab, nFocusWidth, nIndent, nLastSelTab, nTreeFlags, pCheckButtonData, pEdCtrl, pEdEntry, pEdItem, pImpl, RECALCTABS, SetFont(), OutputDevice::SetLineColor(), SetSpaceBetweenEntries(), SetTabs(), SV_ENTRYHEIGHTOFFS_PIXEL, SV_LBOX_DEFAULT_INDENT_PIXEL, and SvImpLBox.
Referenced by SvTreeListBox().
|
overrideprotectedvirtual |
Reimplemented from SvListView.
Definition at line 828 of file treelistbox.cxx.
References SvViewDataEntry::GetItem(), SvTreeListEntry::GetItem(), SvViewDataEntry::Init(), SvLBoxItem::InitViewData(), SvTreeListEntry::ItemCount(), and nCount.
Referenced by SalInstanceTreeView::set_image(), SalInstanceTreeView::set_text(), and SalInstanceTreeView::update_checkbutton_column_width().
|
protectedvirtual |
Reimplemented in SvHeaderTabListBox.
Definition at line 434 of file treelistbox.cxx.
References OutputDevice::GetBackground(), mbAlternatingRowColors, SvListView::pModel, SetAlternatingRowColors(), and SvTreeListEntry::SetBackColor().
Referenced by SalInstanceTreeView::bulk_insert_for_each(), SalInstanceTreeView::do_insert(), SvHeaderTabListBox::Insert(), SalInstanceIconView::insert(), and InsertEntry().