LibreOffice Module dbaccess (master) 1
|
#include <JoinTableView.hxx>
Public Types | |
typedef std::map< OUString, VclPtr< OTableWindow > > | OTableWindowMap |
Public Member Functions | |
OJoinTableView (vcl::Window *pParent, OJoinDesignView *pView) | |
virtual | ~OJoinTableView () override |
virtual void | dispose () override |
virtual void | StateChanged (StateChangedType nStateChange) override |
virtual void | GetFocus () override |
virtual void | LoseFocus () override |
virtual void | KeyInput (const KeyEvent &rEvt) override |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () override |
ScrollAdaptor & | GetHScrollBar () |
ScrollAdaptor & | GetVScrollBar () |
DECL_LINK (VertScrollHdl, weld::Scrollbar &, void) | |
DECL_LINK (HorzScrollHdl, weld::Scrollbar &, void) | |
void | DrawConnections (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
void | InvalidateConnections () |
void | BeginChildMove (OTableWindow *pTabWin, const Point &rMousePos) |
void | BeginChildSizing (OTableWindow *pTabWin, PointerStyle nPointer) |
void | NotifyTitleClicked (OTableWindow *pTabWin, const Point &rMousePos) |
virtual void | AddTabWin (const OUString &_rComposedName, const OUString &rWinName, bool bNewTable=false) |
virtual void | RemoveTabWin (OTableWindow *pTabWin) |
void | HideTabWins () |
virtual void | AddConnection (const OJoinExchangeData &jxdSource, const OJoinExchangeData &jxdDest)=0 |
virtual bool | RemoveConnection (VclPtr< OTableConnection > &rConnection, bool bDelete) |
RemoveConnection allows to remove connections from join table view. More... | |
void | addConnection (OTableConnection *_pConnection, bool _bAddData=true) |
allows to add new connections to join table view More... | |
bool | ScrollPane (tools::Long nDelta, bool bHoriz, bool bPaintScrollBars) |
sal_Int64 | GetTabWinCount () const |
const Point & | GetScrollOffset () const |
OJoinDesignView * | getDesignView () const |
OTableWindow * | GetTabWindow (const OUString &rName) |
VclPtr< OTableConnection > & | GetSelectedConn () |
void | DeselectConn (OTableConnection *pConn) |
void | SelectConn (OTableConnection *pConn) |
OTableWindowMap & | GetTabWinMap () |
const std::vector< VclPtr< OTableConnection > > & | getTableConnections () const |
gives a read only access to the connection vector More... | |
bool | ExistsAConn (const OTableWindow *pFromWin) const |
std::vector< VclPtr< OTableConnection > >::const_iterator | getTableConnections (const OTableWindow *_pFromWin) const |
search for all connections of a table More... | |
sal_Int32 | getConnectionCount (const OTableWindow *_pFromWin) const |
how many connection belongs to single table More... | |
OTableConnection * | GetTabConn (const OTableWindow *pLhs, const OTableWindow *pRhs, bool _bSuppressCrossOrNaturalJoin=false) const |
void | clearLayoutInformation () |
clear the window map and connection vector without destroying it More... | |
void | GrabTabWinFocus () |
set the focus to that tab win which most recently had it (or to the first available one) More... | |
virtual void | ReSync () |
take all WinData and ConnData from the document and create the corresponding Wins and Conns More... | |
virtual void | ClearAll () |
Hard deletion. More... | |
virtual bool | IsAddAllowed () |
virtual bool | PreNotify (NotifyEvent &rNEvt) override |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) override |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) override |
virtual void | lookForUiActivities () |
void | TabWinMoved (OTableWindow *ptWhich, const Point &ptOldPosition) |
Hook that is called after moving/resizing TabWins. More... | |
void | TabWinSized (OTableWindow *ptWhich, const Point &ptOldPosition, const Size &szOldSize) |
void | modified () |
bool | isMovementAllowed (const Point &_rPoint, const Size &_rSize) |
check if the given window is visible. More... | |
const Size & | getRealOutputSize () const |
virtual void | EnsureVisible (const OTableWindow *_pWin) |
void | EnsureVisible (const Point &_rPoint, const Size &_rSize) |
TTableWindowData::value_type | createTableWindowData (const OUString &_rComposedName, const OUString &_sTableName, const OUString &_rWinName) |
Public Member Functions inherited from vcl::Window | |
DECL_DLLPRIVATE_LINK (ImplHandlePaintHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (ImplGenerateMouseMoveHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (ImplTrackTimerHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (ImplAsyncFocusHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (ImplHandleResizeTimerHdl, Timer *, void) | |
SAL_DLLPRIVATE vcl::Window * | ImplGetFrameWindow () const |
weld::Window * | GetFrameWeld () const |
vcl::Window * | GetFrameWindow () const |
SalFrame * | ImplGetFrame () const |
SAL_DLLPRIVATE ImplFrameData * | ImplGetFrameData () |
vcl::Window * | ImplGetWindow () const |
SAL_DLLPRIVATE ImplWinData * | ImplGetWinData () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetClientWindow () const |
SAL_DLLPRIVATE vcl::Window * | ImplGetDlgWindow (sal_uInt16 n, GetDlgWindowType nType, sal_uInt16 nStart=0, sal_uInt16 nEnd=0xFFFF, sal_uInt16 *pIndex=nullptr) |
SAL_DLLPRIVATE vcl::Window * | ImplGetParent () const |
SAL_DLLPRIVATE vcl::Window * | ImplFindWindow (const Point &rFramePos) |
SAL_DLLPRIVATE void | ImplInvalidateFrameRegion (const vcl::Region *pRegion, InvalidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplInvalidateOverlapFrameRegion (const vcl::Region &rRegion) |
SAL_DLLPRIVATE bool | ImplSetClipFlag (bool bSysObjOnlySmaller=false) |
SAL_DLLPRIVATE bool | ImplIsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE bool | ImplIsChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE bool | ImplIsFloatingWindow () const |
SAL_DLLPRIVATE bool | ImplIsPushButton () const |
SAL_DLLPRIVATE bool | ImplIsSplitter () const |
SAL_DLLPRIVATE bool | ImplIsOverlapWindow () const |
SAL_DLLPRIVATE void | ImplIsInTaskPaneList (bool mbIsInTaskList) |
SAL_DLLPRIVATE WindowImpl * | ImplGetWindowImpl () const |
SAL_DLLPRIVATE void | ImplGrabFocus (GetFocusFlags nFlags) |
SAL_DLLPRIVATE void | ImplGrabFocusToDocument (GetFocusFlags nFlags) |
SAL_DLLPRIVATE void | ImplInvertFocus (const tools::Rectangle &rRect) |
SAL_DLLPRIVATE PointerStyle | ImplGetMousePointer () const |
SAL_DLLPRIVATE void | ImplCallMouseMove (sal_uInt16 nMouseCode, bool bModChanged=false) |
SAL_DLLPRIVATE void | ImplGenerateMouseMove () |
SAL_DLLPRIVATE void | ImplNotifyKeyMouseCommandEventListeners (NotifyEvent &rNEvt) |
SAL_DLLPRIVATE void | ImplNotifyIconifiedState (bool bIconified) |
SAL_DLLPRIVATE void | ImplUpdateAll () |
SAL_DLLPRIVATE void | ImplControlFocus (GetFocusFlags nFlags=GetFocusFlags::NONE) |
SAL_DLLPRIVATE void | ImplMirrorFramePos (Point &pt) const |
SAL_DLLPRIVATE void | ImplPosSizeWindow (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags) |
SAL_DLLPRIVATE void | ImplCallResize () |
SAL_DLLPRIVATE void | ImplCallMove () |
SAL_DLLPRIVATE void | CompatGetFocus () |
SAL_DLLPRIVATE void | CompatLoseFocus () |
SAL_DLLPRIVATE void | CompatStateChanged (StateChangedType nStateChange) |
SAL_DLLPRIVATE void | CompatDataChanged (const DataChangedEvent &rDCEvt) |
SAL_DLLPRIVATE bool | CompatPreNotify (NotifyEvent &rNEvt) |
SAL_DLLPRIVATE bool | CompatNotify (NotifyEvent &rNEvt) |
void | IncModalCount () |
void | DecModalCount () |
Window (vcl::Window *pParent, WinBits nStyle=0) | |
virtual | ~Window () override |
::OutputDevice const * | GetOutDev () const |
::OutputDevice * | GetOutDev () |
Color | GetBackgroundColor () const |
const Wallpaper & | GetBackground () const |
bool | IsBackground () const |
const MapMode & | GetMapMode () const |
void | SetBackground () |
void | SetBackground (const Wallpaper &rBackground) |
virtual void | MouseMove (const MouseEvent &rMEvt) |
virtual void | MouseButtonDown (const MouseEvent &rMEvt) |
virtual void | MouseButtonUp (const MouseEvent &rMEvt) |
virtual void | KeyInput (const KeyEvent &rKEvt) |
virtual void | KeyUp (const KeyEvent &rKEvt) |
virtual void | PrePaint (vcl::RenderContext &rRenderContext) |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) |
virtual void | PostPaint (vcl::RenderContext &rRenderContext) |
void | Erase (vcl::RenderContext &rRenderContext) |
virtual void | Draw (::OutputDevice *pDev, const Point &rPos, SystemTextColorFlags nFlags) |
virtual void | Move () |
virtual void | Resize () |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | GetFocus () |
virtual void | LoseFocus () |
virtual void | RequestHelp (const HelpEvent &rHEvt) |
virtual void | Command (const CommandEvent &rCEvt) |
virtual void | Tracking (const TrackingEvent &rTEvt) |
virtual void | StateChanged (StateChangedType nStateChange) |
virtual void | DataChanged (const DataChangedEvent &rDCEvt) |
virtual bool | PreNotify (NotifyEvent &rNEvt) |
virtual bool | EventNotify (NotifyEvent &rNEvt) |
void | AddEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | AddChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
void | RemoveChildEventListener (const Link< VclWindowEvent &, void > &rEventListener) |
ImplSVEvent * | PostUserEvent (const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false) |
void | RemoveUserEvent (ImplSVEvent *nUserEvent) |
LanguageType | GetInputLanguage () const |
void | SetStyle (WinBits nStyle) |
WinBits | GetStyle () const |
WinBits | GetPrevStyle () const |
void | SetExtendedStyle (WindowExtendedStyle nExtendedStyle) |
WindowExtendedStyle | GetExtendedStyle () const |
void | SetType (WindowType nType) |
WindowType | GetType () const |
bool | IsSystemWindow () const |
bool | IsDockingWindow () const |
bool | IsDialog () const |
bool | IsMenuFloatingWindow () const |
bool | IsToolbarFloatingWindow () const |
bool | IsTopWindow () const |
SystemWindow * | GetSystemWindow () const |
bool | SupportsDoubleBuffering () const |
void | RequestDoubleBuffering (bool bRequest) |
void | EnableAllResize () |
void | SetBorderStyle (WindowBorderStyle nBorderStyle) |
WindowBorderStyle | GetBorderStyle () const |
void | GetBorder (sal_Int32 &rLeftBorder, sal_Int32 &rTopBorder, sal_Int32 &rRightBorder, sal_Int32 &rBottomBorder) const |
Size | CalcWindowSize (const Size &rOutSz) const |
Size | CalcOutputSize (const Size &rWinSz) const |
tools::Long | CalcTitleWidth () const |
void | EnableClipSiblings (bool bClipSiblings=true) |
void | EnableChildTransparentMode (bool bEnable=true) |
bool | IsChildTransparentModeEnabled () const |
void | SetMouseTransparent (bool bTransparent) |
bool | IsMouseTransparent () const |
void | SetPaintTransparent (bool bTransparent) |
bool | IsPaintTransparent () const |
void | SetDialogControlStart (bool bStart) |
bool | IsDialogControlStart () const |
void | SetDialogControlFlags (DialogControlFlags nFlags) |
DialogControlFlags | GetDialogControlFlags () const |
PointerState | GetPointerState () |
bool | IsMouseOver () const |
void | SetInputContext (const InputContext &rInputContext) |
const InputContext & | GetInputContext () const |
void | PostExtTextInputEvent (VclEventId nType, const OUString &rText) |
void | EndExtTextInput () |
void | SetCursorRect (const tools::Rectangle *pRect=nullptr, tools::Long nExtTextInputWidth=0) |
const tools::Rectangle * | GetCursorRect () const |
tools::Long | GetCursorExtTextInputWidth () const |
void | SetCompositionCharRect (const tools::Rectangle *pRect, tools::Long nCompositionLength, bool bVertical=false) |
void | UpdateSettings (const AllSettings &rSettings, bool bChild=false) |
void | NotifyAllChildren (DataChangedEvent &rDCEvt) |
void | SetPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont) |
vcl::Font | GetPointFont (vcl::RenderContext const &rRenderContext) const |
void | SetZoomedPointFont (vcl::RenderContext &rRenderContext, const vcl::Font &rFont) |
tools::Long | GetDrawPixel (::OutputDevice const *pDev, tools::Long nPixels) const |
vcl::Font | GetDrawPixelFont (::OutputDevice const *pDev) const |
void | SetControlFont () |
void | SetControlFont (const vcl::Font &rFont) |
vcl::Font | GetControlFont () const |
bool | IsControlFont () const |
void | ApplyControlFont (vcl::RenderContext &rRenderContext, const vcl::Font &rDefaultFont) |
void | SetControlForeground () |
void | SetControlForeground (const Color &rColor) |
const Color & | GetControlForeground () const |
bool | IsControlForeground () const |
void | ApplyControlForeground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetControlBackground () |
void | SetControlBackground (const Color &rColor) |
const Color & | GetControlBackground () const |
bool | IsControlBackground () const |
void | ApplyControlBackground (vcl::RenderContext &rRenderContext, const Color &rDefaultColor) |
void | SetParentClipMode (ParentClipMode nMode=ParentClipMode::NONE) |
ParentClipMode | GetParentClipMode () const |
void | SetWindowRegionPixel () |
void | SetWindowRegionPixel (const vcl::Region &rRegion) |
vcl::Region | GetWindowClipRegionPixel () const |
vcl::Region | GetPaintRegion () const |
bool | IsInPaint () const |
void | ExpandPaintClipRegion (const vcl::Region &rRegion) |
void | SetParent (vcl::Window *pNewParent) |
vcl::Window * | GetParent () const |
Dialog * | GetParentDialog () const |
bool | IsAncestorOf (const vcl::Window &rWindow) const |
void | Show (bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE) |
void | Hide () |
bool | IsVisible () const |
bool | IsReallyVisible () const |
bool | IsReallyShown () const |
bool | IsInInitShow () const |
void | Enable (bool bEnable=true, bool bChild=true) |
void | Disable (bool bChild=true) |
bool | IsEnabled () const |
void | EnableInput (bool bEnable=true, bool bChild=true) |
void | EnableInput (bool bEnable, const vcl::Window *pExcludeWindow) |
bool | IsInputEnabled () const |
void | AlwaysEnableInput (bool bAlways, bool bChild=true) |
bool | IsAlwaysEnableInput () const |
bool | IsInModalMode () const |
void | SetActivateMode (ActivateModeFlags nMode) |
ActivateModeFlags | GetActivateMode () const |
void | ToTop (ToTopFlags nFlags=ToTopFlags::NONE) |
void | SetZOrder (vcl::Window *pRefWindow, ZOrderFlags nFlags) |
void | EnableAlwaysOnTop (bool bEnable=true) |
bool | IsAlwaysOnTopEnabled () const |
virtual void | setPosSizePixel (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) |
virtual void | SetPosPixel (const Point &rNewPos) |
virtual Point | GetPosPixel () const |
virtual void | SetSizePixel (const Size &rNewSize) |
virtual Size | GetSizePixel () const |
virtual void | SetPosSizePixel (const Point &rNewPos, const Size &rNewSize) |
virtual void | SetOutputSizePixel (const Size &rNewSize) |
bool | IsDefaultPos () const |
bool | IsDefaultSize () const |
Point | GetOffsetPixelFrom (const vcl::Window &rWindow) const |
Point | OutputToScreenPixel (const Point &rPos) const |
Point | ScreenToOutputPixel (const Point &rPos) const |
Point | OutputToNormalizedScreenPixel (const Point &rPos) const |
Point | NormalizedScreenToOutputPixel (const Point &rPos) const |
Point | OutputToAbsoluteScreenPixel (const Point &rPos) const |
Point | AbsoluteScreenToOutputPixel (const Point &rPos) const |
tools::Rectangle | GetDesktopRectPixel () const |
tools::Rectangle | GetWindowExtentsRelative (const vcl::Window &rRelativeWindow) const |
tools::Rectangle | GetWindowExtentsAbsolute () const |
bool | IsScrollable () const |
virtual void | Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE) |
void | Scroll (tools::Long nHorzScroll, tools::Long nVertScroll, const tools::Rectangle &rRect, ScrollFlags nFlags=ScrollFlags::NONE) |
void | Invalidate (InvalidateFlags nFlags=InvalidateFlags::NONE) |
void | Invalidate (const tools::Rectangle &rRect, InvalidateFlags nFlags=InvalidateFlags::NONE) |
void | Invalidate (const vcl::Region &rRegion, InvalidateFlags nFlags=InvalidateFlags::NONE) |
virtual void | LogicInvalidate (const tools::Rectangle *pRectangle) |
virtual void | PixelInvalidate (const tools::Rectangle *pRectangle) |
void | Validate () |
bool | HasPaintEvent () const |
void | PaintImmediately () |
void | EnableDocking (bool bEnable=true) |
void | EnablePaint (bool bEnable) |
bool | IsPaintEnabled () const |
void | SetUpdateMode (bool bUpdate) |
bool | IsUpdateMode () const |
void | SetParentUpdateMode (bool bUpdate) |
void | GrabFocus () |
bool | HasFocus () const |
bool | HasChildPathFocus (bool bSystemWindow=false) const |
bool | IsActive () const |
bool | HasActiveChildFrame () const |
GetFocusFlags | GetGetFocusFlags () const |
void | GrabFocusToDocument () |
VclPtr< vcl::Window > | GetFocusedWindow () const |
void | SetFakeFocus (bool bFocus) |
bool | IsCompoundControl () const |
void | LocalStartDrag () |
void | CaptureMouse () |
void | ReleaseMouse () |
bool | IsMouseCaptured () const |
virtual void | SetPointer (PointerStyle) |
PointerStyle | GetPointer () const |
void | EnableChildPointerOverwrite (bool bOverwrite) |
void | SetPointerPosPixel (const Point &rPos) |
Point | GetPointerPosPixel () |
Point | GetLastPointerPosPixel () |
void | SetLastMousePos (const Point &rPos) |
void | ShowPointer (bool bVisible) |
void | EnterWait () |
void | LeaveWait () |
bool | IsWait () const |
void | SetCursor (vcl::Cursor *pCursor) |
vcl::Cursor * | GetCursor () const |
void | SetZoom (const Fraction &rZoom) |
const Fraction & | GetZoom () const |
bool | IsZoom () const |
tools::Long | CalcZoom (tools::Long n) const |
virtual void | SetText (const OUString &rStr) |
virtual OUString | GetText () const |
virtual OUString | GetDisplayText () const |
virtual const Wallpaper & | GetDisplayBackground () const |
void | SetHelpText (const OUString &rHelpText) |
const OUString & | GetHelpText () const |
void | SetQuickHelpText (const OUString &rHelpText) |
const OUString & | GetQuickHelpText () const |
void | SetHelpId (const OUString &) |
const OUString & | GetHelpId () const |
sal_uInt16 | GetChildCount () const |
vcl::Window * | GetChild (sal_uInt16 nChild) const |
vcl::Window * | GetWindow (GetWindowType nType) const |
bool | IsChild (const vcl::Window *pWindow) const |
bool | IsWindowOrChild (const vcl::Window *pWindow, bool bSystemWindow=false) const |
SAL_DLLPRIVATE void | CollectChildren (::std::vector< vcl::Window * > &rAllChildren) |
virtual void | ShowFocus (const tools::Rectangle &rRect) |
void | HideFocus () |
void | DrawSelectionBackground (const tools::Rectangle &rRect, sal_uInt16 highlight, bool bChecked, bool bDrawBorder) |
void | ShowTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags=ShowTrackFlags::Small) |
void | HideTracking () |
void | InvertTracking (const tools::Rectangle &rRect, ShowTrackFlags nFlags) |
void | StartTracking (StartTrackingFlags nFlags=StartTrackingFlags::NONE) |
void | EndTracking (TrackingEventFlags nFlags=TrackingEventFlags::NONE) |
bool | IsTracking () const |
void | StartAutoScroll (StartAutoScrollFlags nFlags) |
void | EndAutoScroll () |
bool | HandleScrollCommand (const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl) |
virtual const SystemEnvData * | GetSystemData () const |
virtual css::uno::Reference< css::awt::XVclWindowPeer > | GetComponentInterface (bool bCreate=true) |
void | SetComponentInterface (css::uno::Reference< css::awt::XVclWindowPeer > const &xIFace) |
void | SetUseFrameData (bool bUseFrameData) |
void | SetLOKNotifier (const vcl::ILibreOfficeKitNotifier *pNotifier, bool bParent=false) |
const vcl::ILibreOfficeKitNotifier * | GetLOKNotifier () const |
vcl::LOKWindowId | GetLOKWindowId () const |
VclPtr< vcl::Window > | GetParentWithLOKNotifier () |
void | ReleaseLOKNotifier () |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
void | RecordLayoutData (vcl::ControlLayoutData *pLayout, const tools::Rectangle &rRect) |
VCLXWindow * | GetWindowPeer () const |
void | SetWindowPeer (css::uno::Reference< css::awt::XVclWindowPeer > const &xPeer, VCLXWindow *pVCLXWindow) |
bool | IsCreatedWithToolkit () const |
void | SetCreatedWithToolkit (bool b) |
css::uno::Reference< css::datatransfer::dnd::XDropTarget > | GetDropTarget () |
css::uno::Reference< css::datatransfer::dnd::XDragSource > | GetDragSource () |
css::uno::Reference< css::datatransfer::dnd::XDragGestureRecognizer > | GetDragGestureRecognizer () |
css::uno::Reference< css::datatransfer::clipboard::XClipboard > | GetClipboard () |
void | SetClipboard (css::uno::Reference< css::datatransfer::clipboard::XClipboard > const &xClipboard) |
virtual void | queue_resize (StateChangedType eReason=StateChangedType::Layout) |
void | set_height_request (sal_Int32 nHeightRequest) |
sal_Int32 | get_height_request () const |
void | set_width_request (sal_Int32 nWidthRequest) |
sal_Int32 | get_width_request () const |
Size | get_preferred_size () const |
VclAlign | get_halign () const |
void | set_halign (VclAlign eAlign) |
VclAlign | get_valign () const |
void | set_valign (VclAlign eAlign) |
bool | get_hexpand () const |
void | set_hexpand (bool bExpand) |
bool | get_vexpand () const |
void | set_vexpand (bool bExpand) |
bool | get_expand () const |
void | set_expand (bool bExpand) |
bool | get_fill () const |
void | set_fill (bool bFill) |
void | set_border_width (sal_Int32 nBorderWidth) |
sal_Int32 | get_border_width () const |
void | set_margin_start (sal_Int32 nWidth) |
sal_Int32 | get_margin_start () const |
void | set_margin_end (sal_Int32 nWidth) |
sal_Int32 | get_margin_end () const |
void | set_margin_top (sal_Int32 nWidth) |
sal_Int32 | get_margin_top () const |
void | set_margin_bottom (sal_Int32 nWidth) |
sal_Int32 | get_margin_bottom () const |
VclPackType | get_pack_type () const |
void | set_pack_type (VclPackType ePackType) |
sal_Int32 | get_padding () const |
void | set_padding (sal_Int32 nPadding) |
sal_Int32 | get_grid_width () const |
void | set_grid_width (sal_Int32 nCols) |
sal_Int32 | get_grid_left_attach () const |
void | set_grid_left_attach (sal_Int32 nAttach) |
sal_Int32 | get_grid_height () const |
void | set_grid_height (sal_Int32 nRows) |
sal_Int32 | get_grid_top_attach () const |
void | set_grid_top_attach (sal_Int32 nAttach) |
bool | get_secondary () const |
void | set_secondary (bool bSecondary) |
bool | get_non_homogeneous () const |
void | set_non_homogeneous (bool bNonHomogeneous) |
virtual bool | set_property (const OUString &rKey, const OUString &rValue) |
bool | set_font_attribute (const OUString &rKey, std::u16string_view rValue) |
void | add_to_size_group (const std::shared_ptr< VclSizeGroup > &xGroup) |
void | remove_from_all_size_groups () |
void | add_mnemonic_label (FixedText *pLabel) |
void | remove_mnemonic_label (FixedText *pLabel) |
const std::vector< VclPtr< FixedText > > & | list_mnemonic_labels () const |
void | reorderWithinParent (sal_uInt16 nNewPosition) |
void | set_id (const OUString &rID) |
const OUString & | get_id () const |
void | EnableNativeWidget (bool bEnable=true) |
bool | IsNativeWidgetEnabled () const |
void | PaintToDevice (::OutputDevice *pDevice, const Point &rPos) |
KeyIndicatorState | GetIndicatorState () const |
void | SimulateKeyPress (sal_uInt16 nKeyCode) const |
virtual OUString | GetSurroundingText () const |
virtual Selection | GetSurroundingTextSelection () const |
virtual bool | DeleteSurroundingText (const Selection &rSelection) |
virtual FactoryFunction | GetUITestFactory () const |
virtual bool | IsChart () const |
virtual bool | IsStarMath () const |
void | SetHelpHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetMnemonicActivateHdl (const Link< vcl::Window &, bool > &rLink) |
void | SetModalHierarchyHdl (const Link< bool, void > &rLink) |
void | SetDumpAsPropertyTreeHdl (const Link< tools::JsonWriter &, void > &rLink) |
Size | GetOutputSizePixel () const |
tools::Rectangle | GetOutputRectPixel () const |
Point | LogicToPixel (const Point &rLogicPt) const |
Size | LogicToPixel (const Size &rLogicSize) const |
tools::Rectangle | LogicToPixel (const tools::Rectangle &rLogicRect) const |
vcl::Region | LogicToPixel (const vcl::Region &rLogicRegion) const |
Point | LogicToPixel (const Point &rLogicPt, const MapMode &rMapMode) const |
Size | LogicToPixel (const Size &rLogicSize, const MapMode &rMapMode) const |
tools::Rectangle | LogicToPixel (const tools::Rectangle &rLogicRect, const MapMode &rMapMode) const |
Point | PixelToLogic (const Point &rDevicePt) const |
Size | PixelToLogic (const Size &rDeviceSize) const |
tools::Rectangle | PixelToLogic (const tools::Rectangle &rDeviceRect) const |
tools::PolyPolygon | PixelToLogic (const tools::PolyPolygon &rDevicePolyPoly) const |
vcl::Region | PixelToLogic (const vcl::Region &rDeviceRegion) const |
Point | PixelToLogic (const Point &rDevicePt, const MapMode &rMapMode) const |
Size | PixelToLogic (const Size &rDeviceSize, const MapMode &rMapMode) const |
tools::Rectangle | PixelToLogic (const tools::Rectangle &rDeviceRect, const MapMode &rMapMode) const |
Size | LogicToLogic (const Size &rSzSource, const MapMode *pMapModeSource, const MapMode *pMapModeDest) const |
const AllSettings & | GetSettings () const |
void | SetSettings (const AllSettings &rSettings) |
void | SetSettings (const AllSettings &rSettings, bool bChild) |
tools::Rectangle | GetTextRect (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle=DrawTextFlags::WordBreak, TextRectInfo *pInfo=nullptr, const vcl::ITextLayout *_pTextLayout=nullptr) const |
float | GetDPIScaleFactor () const |
tools::Long | GetOutOffXPixel () const |
tools::Long | GetOutOffYPixel () const |
void | EnableMapMode (bool bEnable=true) |
bool | IsMapModeEnabled () const |
void | SetMapMode () |
void | SetMapMode (const MapMode &rNewMapMode) |
virtual void | EnableRTL (bool bEnable=true) |
bool | IsRTLEnabled () const |
void | SetFont (const vcl::Font &rNewFont) |
const vcl::Font & | GetFont () const |
tools::Long | GetTextWidth (const OUString &rStr, sal_Int32 nIndex=0, sal_Int32 nLen=-1, vcl::text::TextLayoutCache const *=nullptr, SalLayoutGlyphs const *const pLayoutCache=nullptr) const |
tools::Long | GetTextHeight () const |
float | approximate_digit_width () const |
void | SetTextColor (const Color &rColor) |
const Color & | GetTextColor () const |
void | SetTextFillColor () |
void | SetTextFillColor (const Color &rColor) |
Color | GetTextFillColor () const |
bool | IsTextFillColor () const |
void | SetTextLineColor () |
void | SetTextLineColor (const Color &rColor) |
const Color & | GetTextLineColor () const |
bool | IsTextLineColor () const |
void | SetOverlineColor () |
void | SetOverlineColor (const Color &rColor) |
const Color & | GetOverlineColor () const |
bool | IsOverlineColor () const |
void | SetTextAlign (TextAlign eAlign) |
TextAlign | GetTextAlign () const |
bool | IsNativeControlSupported (ControlType nType, ControlPart nPart) const |
bool | GetNativeControlRegion (ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, tools::Rectangle &rNativeBoundingRegion, tools::Rectangle &rNativeContentRegion) const |
css::uno::Reference< css::accessibility::XAccessible > | GetAccessible (bool bCreate=true) |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessible () |
void | SetAccessible (const css::uno::Reference< css::accessibility::XAccessible > &) |
vcl::Window * | GetAccessibleParentWindow () const |
sal_uInt16 | GetAccessibleChildWindowCount () |
vcl::Window * | GetAccessibleChildWindow (sal_uInt16 n) |
void | SetAccessibleRole (sal_uInt16 nRole) |
sal_uInt16 | GetAccessibleRole () const |
void | SetAccessibleName (const OUString &rName) |
OUString | GetAccessibleName () const |
void | SetAccessibleDescription (const OUString &rDescr) |
OUString | GetAccessibleDescription () const |
void | SetAccessibleRelationLabeledBy (vcl::Window *pLabeledBy) |
vcl::Window * | GetAccessibleRelationLabeledBy () const |
void | SetAccessibleRelationLabelFor (vcl::Window *pLabelFor) |
vcl::Window * | GetAccessibleRelationLabelFor () const |
vcl::Window * | GetAccessibleRelationMemberOf () const |
bool | IsAccessibilityEventsSuppressed (bool bTraverseParentPath=true) |
void | SetAccessibilityEventsSuppressed (bool bSuppressed) |
KeyEvent | GetActivationKey () const |
Public Member Functions inherited from VclReferenceBase | |
void | acquire () const |
void | release () const |
sal_Int32 | getRefCount () const |
void | disposeOnce () |
bool | isDisposed () const |
virtual void | dragFinished ()=0 |
called when a drag operation done with a Transferable has been finished More... | |
Protected Member Functions | |
virtual void | MouseButtonUp (const MouseEvent &rEvt) override |
virtual void | MouseButtonDown (const MouseEvent &rEvt) override |
virtual void | Tracking (const TrackingEvent &rTEvt) override |
virtual void | Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override |
virtual void | ConnDoubleClicked (VclPtr< OTableConnection > &rConnection) |
void | SetDefaultTabWinPosSize (OTableWindow *pTabWin) |
virtual void | DataChanged (const DataChangedEvent &rDCEvt) override |
virtual void | Resize () override |
virtual void | dragFinished () override |
called when a drag operation done with a Transferable has been finished More... | |
virtual void | Command (const CommandEvent &rEvt) override |
virtual std::shared_ptr< OTableWindowData > | CreateImpl (const OUString &_rComposedName, const OUString &_sTableName, const OUString &_rWinName) |
virtual VclPtr< OTableWindow > | createWindow (const TTableWindowData::value_type &_pData)=0 |
factory method to create table windows More... | |
virtual bool | allowQueries () const |
determines whether the classes Init method should accept a query name, or only table names More... | |
virtual void | onNoColumns_throw () |
called when init fails at the tablewindowdata because the m_xTable object could not provide columns, but no exception was thrown. More... | |
virtual bool | suppressCrossNaturalJoin (const TTableConnectionData::value_type &_pData) const |
Protected Member Functions inherited from vcl::Window | |
virtual void | dispose () override |
SAL_DLLPRIVATE void | ImplInit (vcl::Window *pParent, WinBits nStyle, SystemParentData *pSystemParentData) |
SAL_DLLPRIVATE void | ImplInvalidateParentFrameRegion (const vcl::Region &rRegion) |
SAL_DLLPRIVATE void | ImplValidateFrameRegion (const vcl::Region *rRegion, ValidateFlags nFlags) |
SAL_DLLPRIVATE void | ImplValidate () |
SAL_DLLPRIVATE void | ImplMoveInvalidateRegion (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE void | ImplMoveAllInvalidateRegions (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, bool bChildren) |
SAL_DLLPRIVATE vcl::Window * | ImplGetBorderWindow () const |
virtual void | ImplInvalidate (const vcl::Region *pRegion, InvalidateFlags nFlags) |
virtual WindowHitTest | ImplHitTest (const Point &rFramePos) |
SAL_DLLPRIVATE void | ImplSetMouseTransparent (bool bTransparent) |
SAL_DLLPRIVATE void | ImplScroll (const tools::Rectangle &rRect, tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags) |
SAL_DLLPRIVATE bool | ImplSetClipFlagChildren (bool bSysObjOnlySmaller) |
SAL_DLLPRIVATE bool | ImplSetClipFlagOverlapWindows (bool bSysObjOnlySmaller=false) |
SAL_DLLPRIVATE void | PushPaintHelper (PaintHelper *pHelper, vcl::RenderContext &rRenderContext) |
SAL_DLLPRIVATE void | PopPaintHelper (PaintHelper const *pHelper) |
Window (WindowType nType) | |
void | SetCompoundControl (bool bCompound) |
void | CallEventListeners (VclEventId nEvent, void *pData=nullptr) |
virtual void | ImplAdjustNWFSizes () |
virtual void | ApplySettings (vcl::RenderContext &rRenderContext) |
SAL_DLLPRIVATE float | approximate_char_width () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationMemberOf () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabeledBy () const |
SAL_DLLPRIVATE vcl::Window * | getLegacyNonLayoutAccessibleRelationLabelFor () const |
virtual vcl::Window * | getAccessibleRelationLabelFor () const |
virtual sal_uInt16 | getDefaultAccessibleRole () const |
virtual OUString | getDefaultAccessibleName () const |
virtual Size | GetOptimalSize () const |
void | InvalidateSizeCache () |
Protected Member Functions inherited from VclReferenceBase | |
VclReferenceBase () | |
virtual | ~VclReferenceBase () |
virtual void | dispose () |
Protected Member Functions inherited from dbaui::IDragTransferableListener | |
~IDragTransferableListener () | |
Protected Attributes | |
VclPtr< OTableWindow > | m_pLastFocusTabWin |
VclPtr< OJoinDesignView > | m_pView |
rtl::Reference< OJoinDesignViewAccess > | m_pAccessible |
Private Member Functions | |
DECL_LINK (OnDragScrollTimer, Timer *, void) | |
void | InitColors () |
void | ScrollWhileDragging () |
void | executePopup (const Point &_aPos, VclPtr< OTableConnection > &rSelConnection) |
opens the context menu to delete a connection More... | |
void | invalidateAndModify (std::unique_ptr< SfxUndoAction > _pAction) |
invalidates this window without children and set the controller modified More... | |
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) |
Friends | |
class | OJoinMoveTabWinUndoAct |
Additional Inherited Members | |
Static Public Member Functions inherited from vcl::Window | |
static SAL_DLLPRIVATE void | ImplInitAppFontData (vcl::Window const *pWindow) |
static SAL_DLLPRIVATE void | ImplCalcSymbolRect (tools::Rectangle &rRect) |
static DockingManager * | GetDockingManager () |
static VclPtr< vcl::Window > | SaveFocus () |
static void | EndSaveFocus (const VclPtr< vcl::Window > &xFocusWin) |
static VclPtr< vcl::Window > | FindLOKWindow (vcl::LOKWindowId nWindowId) |
static bool | IsLOKWindowsEmpty () |
Definition at line 75 of file JoinTableView.hxx.
typedef std::map<OUString, VclPtr<OTableWindow> > dbaui::OJoinTableView::OTableWindowMap |
Definition at line 82 of file JoinTableView.hxx.
OJoinTableView::OJoinTableView | ( | vcl::Window * | pParent, |
OJoinDesignView * | pView | ||
) |
Definition at line 155 of file JoinTableView.cxx.
References InitColors(), LINK, m_aDragScrollIdle, Timer::SetInvokeHandler(), vcl::Window::SetSizePixel(), and WB_BORDER.
|
overridevirtual |
Definition at line 174 of file JoinTableView.cxx.
References VclReferenceBase::disposeOnce().
|
overridevirtual |
Definition at line 1465 of file JoinTableView.cxx.
References DND_ACTION_NONE.
|
pure virtual |
Implemented in dbaui::OQueryTableView, and dbaui::ORelationTableView.
Referenced by IMPL_LINK_NOARG().
void OJoinTableView::addConnection | ( | OTableConnection * | _pConnection, |
bool | _bAddData = true |
||
) |
allows to add new connections to join table view
it implies an invalidation of the features ID_BROWSER_ADDTABLE and SID_RELATION_ADD_RELATION also the modified flag will be set to true
_pConnection | the connection which should be added |
_bAddData | when true then the data should also be appended |
Definition at line 1530 of file JoinTableView.cxx.
References Any, vcl::Window::GetAccessible(), dbaui::OTableConnection::GetData(), dbaui::OTableConnection::InvalidateConnection(), m_pAccessible, m_pView, m_vTableConnection, modified(), and dbaui::OTableConnection::RecalcLines().
Referenced by dbaui::ORelationTableView::AddConnection(), dbaui::ORelationTableView::AddNewRelation(), dbaui::OQueryTableView::GetConnection(), dbaui::ORelationTableView::lookForUiActivities(), dbaui::OQueryTableView::ReSync(), dbaui::ORelationTableView::ReSync(), and dbaui::OQueryTableView::ShowTabWin().
|
virtual |
Reimplemented in dbaui::ORelationTableView, and dbaui::OQueryTableView.
Definition at line 316 of file JoinTableView.cxx.
References Any, createTableWindowData(), createWindow(), VclPtr< class reference_type >::disposeAndClear(), m_aTableMap, m_pAccessible, m_pView, modified(), and SetDefaultTabWinPosSize().
Referenced by dbaui::AddTableDialogContext::addTableWindow().
|
protectedvirtual |
determines whether the classes Init method should accept a query name, or only table names
Reimplemented in dbaui::ORelationTableView.
Definition at line 1551 of file JoinTableView.cxx.
Referenced by createTableWindowData().
void OJoinTableView::BeginChildMove | ( | OTableWindow * | pTabWin, |
const Point & | rMousePos | ||
) |
Definition at line 609 of file JoinTableView.cxx.
References vcl::Window::GetPosPixel(), m_aDragOffset, m_pDragWin, m_pView, vcl::Window::ScreenToOutputPixel(), vcl::Window::SetPointer(), and vcl::Window::StartTracking().
Referenced by NotifyTitleClicked().
void OJoinTableView::BeginChildSizing | ( | OTableWindow * | pTabWin, |
PointerStyle | nPointer | ||
) |
Definition at line 629 of file JoinTableView.cxx.
References m_pSizingWin, m_pView, vcl::Window::SetPointer(), and vcl::Window::StartTracking().
Referenced by dbaui::OTableWindow::MouseButtonDown().
|
virtual |
Hard deletion.
That means that all Conns and Wins are deleted from their respective lists and the corresponding Data removed from the document
Reimplemented in dbaui::OQueryTableView.
Definition at line 969 of file JoinTableView.cxx.
References GetScrollOffset(), HideTabWins(), vcl::Window::Invalidate(), m_pLastFocusTabWin, m_pSelectedConn, m_vTableConnection, RemoveConnection(), ScrollPane(), vcl::Window::SetUpdateMode(), X, and Y.
Referenced by dbaui::OQueryTableView::ClearAll().
void OJoinTableView::clearLayoutInformation | ( | ) |
clear the window map and connection vector without destroying it
that means that the data of the windows and connection will be untouched
Definition at line 1479 of file JoinTableView.cxx.
References m_aTableMap, m_pLastFocusTabWin, m_pSelectedConn, and m_vTableConnection.
Referenced by dispose().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 1132 of file JoinTableView.cxx.
References vcl::Window::Command(), DeselectConn(), executePopup(), CommandEvent::GetCommand(), getDesignView(), CommandEvent::GetMousePosPixel(), GetSelectedConn(), CommandEvent::IsMouseEvent(), dbaui::OConnectionLine::IsValid(), m_vTableConnection, and SelectConn().
|
protectedvirtual |
Reimplemented in dbaui::OQueryTableView, and dbaui::ORelationTableView.
Definition at line 806 of file JoinTableView.cxx.
Referenced by executePopup(), MouseButtonUp(), and PreNotify().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1516 of file JoinTableView.cxx.
References m_pAccessible.
|
protectedvirtual |
Reimplemented in dbaui::OQueryTableView.
Definition at line 309 of file JoinTableView.cxx.
Referenced by createTableWindowData().
TTableWindowData::value_type OJoinTableView::createTableWindowData | ( | const OUString & | _rComposedName, |
const OUString & | _sTableName, | ||
const OUString & | _rWinName | ||
) |
Definition at line 275 of file JoinTableView.cxx.
References allowQueries(), CreateImpl(), DBG_UNHANDLED_EXCEPTION, Exception, dbaui::OJoinDesignView::getController(), getDesignView(), VCLUnoHelper::GetInterface(), onNoColumns_throw(), and pData.
Referenced by AddTabWin(), dbaui::ORelationTableView::AddTabWin(), dbaui::OQueryTableView::AddTabWin(), and dbaui::OJoinController::createTableWindowData().
|
protectedpure virtual |
factory method to create table windows
_pData | The data corresponding to the window. |
Implemented in dbaui::OQueryTableView, and dbaui::ORelationTableView.
Referenced by AddTabWin().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 591 of file JoinTableView.cxx.
References DataChangedEvent::GetType(), InitColors(), and vcl::Window::Invalidate().
dbaui::OJoinTableView::DECL_LINK | ( | HorzScrollHdl | , |
weld::Scrollbar & | , | ||
void | |||
) |
|
private |
dbaui::OJoinTableView::DECL_LINK | ( | VertScrollHdl | , |
weld::Scrollbar & | , | ||
void | |||
) |
void OJoinTableView::DeselectConn | ( | OTableConnection * | pConn | ) |
Definition at line 855 of file JoinTableView.cxx.
References dbaui::OTableConnection::Deselect(), dbaui::OTableConnection::GetDestWin(), dbaui::OTableWindow::GetListBox(), dbaui::OTableConnection::GetSourceWin(), dbaui::OTableConnection::IsSelected(), and m_pSelectedConn.
Referenced by Command(), LoseFocus(), MouseButtonUp(), NotifyTitleClicked(), PreNotify(), RemoveConnection(), and SelectConn().
|
overridevirtual |
Reimplemented from vcl::Window.
Reimplemented in dbaui::ORelationTableView.
Definition at line 179 of file JoinTableView.cxx.
References clearLayoutInformation(), vcl::Window::dispose(), m_pAccessible, m_pDragWin, m_pLastFocusTabWin, m_pSelectedConn, m_pSizingWin, m_pView, and m_vTableConnection.
Referenced by dbaui::ORelationTableView::dispose().
|
overrideprotectedvirtual |
called when a drag operation done with a Transferable has been finished
Implements dbaui::IDragTransferableListener.
Definition at line 1475 of file JoinTableView.cxx.
void OJoinTableView::DrawConnections | ( | vcl::RenderContext & | rRenderContext, |
const tools::Rectangle & | rRect | ||
) |
Definition at line 940 of file JoinTableView.cxx.
References GetSelectedConn(), and m_vTableConnection.
Referenced by Paint().
|
virtual |
Reimplemented in dbaui::OQueryTableView, and dbaui::OQueryTableView.
Definition at line 492 of file JoinTableView.cxx.
References EnsureVisible(), dbaui::OTableWindow::GetData(), vcl::Window::Invalidate(), and pData.
Referenced by dbaui::ORelationTableView::AddTabWin(), EnsureVisible(), dbaui::OQueryTableView::EnsureVisible(), PreNotify(), and dbaui::OTableWindow::PreNotify().
Definition at line 500 of file JoinTableView.cxx.
References bVisible, nScrollX, nScrollY, and ScrollPane().
|
overridevirtual |
Definition at line 1470 of file JoinTableView.cxx.
References DND_ACTION_NONE.
|
private |
opens the context menu to delete a connection
_aPos | the position where the popup menu should appear |
_pSelConnection | the connection which should be deleted |
Definition at line 1119 of file JoinTableView.cxx.
References ConnDoubleClicked(), Application::CreateBuilder(), weld::GetPopupParent(), and RemoveConnection().
Referenced by Command().
bool OJoinTableView::ExistsAConn | ( | const OTableWindow * | pFromWin | ) | const |
Definition at line 964 of file JoinTableView.cxx.
References getTableConnections(), and m_vTableConnection.
Referenced by dbaui::OTableWindow::ExistsAConn().
sal_Int32 OJoinTableView::getConnectionCount | ( | const OTableWindow * | _pFromWin | ) | const |
how many connection belongs to single table
_pFromWin | the table for which connections should be found |
Definition at line 957 of file JoinTableView.cxx.
References m_vTableConnection, and p.
|
inline |
Definition at line 169 of file JoinTableView.hxx.
References m_pView.
Referenced by dbaui::OQueryTableView::AddTabWin(), Command(), createTableWindowData(), dbaui::DlgQryJoin::DlgQryJoin(), dbaui::OQueryTableWindow::ExistsField(), dbaui::OQueryTableView::HideTabWin(), IMPL_LINK(), dbaui::OQueryTableWindow::Init(), dbaui::OQueryTableView::InsertField(), dbaui::OTableWindow::MouseMove(), dbaui::ORelationTableView::RemoveConnection(), and dbaui::OQueryTableView::RemoveTabWin().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1509 of file JoinTableView.cxx.
References vcl::Window::GetFocus(), GetSelectedConn(), GrabTabWinFocus(), and m_aTableMap.
|
inline |
Definition at line 123 of file JoinTableView.hxx.
References GetHScrollBar(), and vcl::Window::GetParent().
Referenced by GetHScrollBar(), Resize(), ScrollPane(), SetDefaultTabWinPosSize(), TabWinMoved(), and Tracking().
|
inline |
Definition at line 257 of file JoinTableView.hxx.
References m_aOutputSize.
Referenced by dbaui::OTableWindow::PreNotify().
|
inline |
Definition at line 167 of file JoinTableView.hxx.
References m_aScrollOffset.
Referenced by ClearAll(), dbaui::OTableWindow::PreNotify(), Resize(), and dbaui::OTableWindow::SetPosPixel().
|
inline |
Definition at line 172 of file JoinTableView.hxx.
References m_pSelectedConn.
Referenced by Command(), dbaui::OQueryTableView::createNewConnection(), DrawConnections(), GetFocus(), KeyInput(), LoseFocus(), MouseButtonUp(), NotifyTitleClicked(), PreNotify(), and SelectConn().
OTableConnection * OJoinTableView::GetTabConn | ( | const OTableWindow * | pLhs, |
const OTableWindow * | pRhs, | ||
bool | _bSuppressCrossOrNaturalJoin = false |
||
) | const |
Definition at line 1181 of file JoinTableView.cxx.
References dbaui::OTableWindow::ExistsAConn(), m_vTableConnection, pData, and suppressCrossNaturalJoin().
Referenced by dbaui::OQueryTableView::AddConnection(), dbaui::OQueryTableView::createNewConnection(), and dbaui::ORelationControl::setWindowTables().
|
inline |
gives a read only access to the connection vector
Definition at line 181 of file JoinTableView.hxx.
References m_vTableConnection.
Referenced by dbaui::ORelationTableView::AddConnection(), ExistsAConn(), dbaui::OQueryTableView::ExistsAVisitedConn(), dbaui::OTableWindowAccess::getRelation(), dbaui::OTableWindowAccess::getRelationByType(), dbaui::OQueryTableView::HideTabWin(), IMPL_LINK(), dbaui::OQueryTableView::NotifyTabConnection(), and dbaui::OQueryTableView::ReSync().
std::vector< VclPtr< OTableConnection > >::const_iterator OJoinTableView::getTableConnections | ( | const OTableWindow * | _pFromWin | ) | const |
search for all connections of a table
_pFromWin | the table for which connections should be found |
Definition at line 950 of file JoinTableView.cxx.
References m_vTableConnection, and p.
sal_Int64 OJoinTableView::GetTabWinCount | ( | ) | const |
Definition at line 239 of file JoinTableView.cxx.
References m_aTableMap.
OTableWindow * OJoinTableView::GetTabWindow | ( | const OUString & | rName | ) |
Definition at line 268 of file JoinTableView.cxx.
References m_aTableMap.
Referenced by dbaui::ORelationTableView::_elementRemoved().
|
inline |
Definition at line 177 of file JoinTableView.hxx.
References m_aTableMap.
Referenced by dbaui::ORelationTableView::AddTabWin(), dbaui::OQueryTableView::AddTabWin(), dbaui::OQueryTableView::ContainsTabWin(), dbaui::OQueryTableView::CountTableAlias(), dbaui::OQueryTableView::createNewConnection(), dbaui::OSelectionBrowseBox::fillEntryTable(), dbaui::OQueryTableView::FindTable(), dbaui::OQueryTableView::FindTableFromField(), dbaui::OQueryTableView::HideTabWin(), HideTabWins(), dbaui::ORelationDialog::ORelationDialog(), dbaui::OQueryTableView::ReSync(), dbaui::ORelationTableView::ReSync(), dbaui::OSelectionBrowseBox::SaveModified(), and dbaui::OQueryTableView::ShowTabWin().
|
inline |
Definition at line 124 of file JoinTableView.hxx.
References vcl::Window::GetParent(), and GetVScrollBar().
Referenced by GetVScrollBar(), Resize(), ScrollPane(), SetDefaultTabWinPosSize(), TabWinMoved(), and Tracking().
void OJoinTableView::GrabTabWinFocus | ( | ) |
set the focus to that tab win which most recently had it (or to the first available one)
Definition at line 1405 of file JoinTableView.cxx.
References m_aTableMap, and m_pLastFocusTabWin.
Referenced by GetFocus().
void OJoinTableView::HideTabWins | ( | ) |
Definition at line 1448 of file JoinTableView.cxx.
References GetTabWinMap(), m_pView, RemoveTabWin(), and vcl::Window::SetUpdateMode().
Referenced by ClearAll().
|
private |
Definition at line 602 of file JoinTableView.cxx.
References StyleSettings::GetDialogColor(), Application::GetSettings(), AllSettings::GetStyleSettings(), and vcl::Window::SetBackground().
Referenced by DataChanged(), and OJoinTableView().
|
private |
invalidates this window without children and set the controller modified
_pAction | a possible undo action to add at the controller |
Definition at line 1070 of file JoinTableView.cxx.
References vcl::Window::Invalidate(), and m_pView.
Referenced by TabWinMoved(), and TabWinSized().
void OJoinTableView::InvalidateConnections | ( | ) |
Definition at line 933 of file JoinTableView.cxx.
References m_vTableConnection.
Referenced by dbaui::OQueryTableView::HideTabWin(), and IMPL_LINK().
|
virtual |
Reimplemented in dbaui::ORelationTableView.
Definition at line 1092 of file JoinTableView.cxx.
References m_aTableMap, and m_pView.
Referenced by dbaui::AddTableDialogContext::allowAddition(), and dbaui::OJoinController::GetState().
check if the given window is visible.
Definition at line 486 of file JoinTableView.cxx.
Referenced by dbaui::OTableWindow::PreNotify().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 840 of file JoinTableView.cxx.
References vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), GetSelectedConn(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsShift(), KEY_DELETE, vcl::Window::KeyInput(), and RemoveConnection().
|
virtual |
Reimplemented in dbaui::ORelationTableView.
Definition at line 1499 of file JoinTableView.cxx.
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1503 of file JoinTableView.cxx.
References DeselectConn(), GetSelectedConn(), and vcl::Window::LoseFocus().
void OJoinTableView::modified | ( | ) |
Definition at line 1522 of file JoinTableView.cxx.
References ID_BROWSER_ADDTABLE, and m_pView.
Referenced by addConnection(), AddTabWin(), dbaui::ORelationTableView::AddTabWin(), dbaui::OQueryTableView::AddTabWin(), RemoveConnection(), RemoveTabWin(), and dbaui::OQueryTableView::RemoveTabWin().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 810 of file JoinTableView.cxx.
References vcl::Window::GrabFocus(), and vcl::Window::MouseButtonDown().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 816 of file JoinTableView.cxx.
References ConnDoubleClicked(), DeselectConn(), MouseEvent::GetClicks(), MouseEvent::GetPosPixel(), GetSelectedConn(), m_vTableConnection, vcl::Window::MouseButtonUp(), and SelectConn().
void OJoinTableView::NotifyTitleClicked | ( | OTableWindow * | pTabWin, |
const Point & | rMousePos | ||
) |
Definition at line 623 of file JoinTableView.cxx.
References BeginChildMove(), DeselectConn(), and GetSelectedConn().
Referenced by IMPL_LINK().
|
protectedvirtual |
called when init fails at the tablewindowdata because the m_xTable object could not provide columns, but no exception was thrown.
Expected to throw.
Reimplemented in dbaui::OQueryTableView.
Definition at line 1556 of file JoinTableView.cxx.
Referenced by createTableWindowData().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 928 of file JoinTableView.cxx.
References DrawConnections().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1216 of file JoinTableView.cxx.
References ConnDoubleClicked(), DeselectConn(), EnsureVisible(), vcl::KeyCode::GetCode(), CommandEvent::GetCommand(), NotifyEvent::GetCommandEvent(), KeyEvent::GetKeyCode(), NotifyEvent::GetKeyEvent(), dbaui::OTableWindow::GetListBox(), vcl::Window::GetParent(), GetSelectedConn(), NotifyEvent::GetType(), CommandEvent::GetWheelData(), NotifyEvent::GetWindow(), vcl::Window::GrabFocus(), vcl::Window::HasChildPathFocus(), vcl::Window::HasFocus(), i, vcl::KeyCode::IsMod1(), vcl::KeyCode::IsShift(), KEY_RETURN, KEY_TAB, m_aTableMap, m_pLastFocusTabWin, m_vTableConnection, pData, vcl::Window::PreNotify(), ScrollPane(), and SelectConn().
|
virtual |
RemoveConnection allows to remove connections from join table view.
it implies that the same as addConnection
rConnection | the connection which should be removed |
bDelete | when true then the connection will be deleted |
Reimplemented in dbaui::ORelationTableView, and dbaui::OQueryTableView.
Definition at line 244 of file JoinTableView.cxx.
References DeselectConn(), m_pAccessible, m_pView, m_vTableConnection, and modified().
Referenced by ClearAll(), executePopup(), dbaui::OQueryTableView::HideTabWin(), KeyInput(), dbaui::ORelationTableView::RemoveConnection(), dbaui::OQueryTableView::RemoveConnection(), and RemoveTabWin().
|
virtual |
Reimplemented in dbaui::OQueryTableView, and dbaui::ORelationTableView.
Definition at line 349 of file JoinTableView.cxx.
References Any, dbaui::OTableWindow::clearListBox(), VclReferenceBase::disposeOnce(), vcl::Window::GetAccessible(), dbaui::OTableWindow::GetComposedName(), dbaui::OTableWindow::GetData(), dbaui::OJoinController::getTableWindowData(), dbaui::OTableWindow::GetWinName(), vcl::Window::Hide(), m_aTableMap, m_pAccessible, m_pLastFocusTabWin, m_pView, m_vTableConnection, modified(), nCount, pData, and RemoveConnection().
Referenced by dbaui::ORelationTableView::_elementRemoved(), HideTabWins(), dbaui::OTableWindow::Remove(), and dbaui::ORelationTableView::RemoveTabWin().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 209 of file JoinTableView.cxx.
References dbaui::OTableWindow::GetData(), GetHScrollBar(), GetScrollOffset(), vcl::Window::GetSizePixel(), GetVScrollBar(), m_aOutputSize, m_aScrollOffset, m_aTableMap, vcl::Window::Resize(), dbaui::OTableWindow::SetPosPixel(), Point::setX(), and Point::setY().
Referenced by StateChanged().
|
inlinevirtual |
take all WinData and ConnData from the document and create the corresponding Wins and Conns
Reimplemented in dbaui::OQueryTableView, and dbaui::ORelationTableView.
Definition at line 214 of file JoinTableView.hxx.
|
private |
|
privatevirtual |
Reimplemented from vcl::Window.
bool OJoinTableView::ScrollPane | ( | tools::Long | nDelta, |
bool | bHoriz, | ||
bool | bPaintScrollBars | ||
) |
Definition at line 640 of file JoinTableView.cxx.
References Point::AdjustX(), Point::AdjustY(), GetHScrollBar(), vcl::Window::GetPosPixel(), ScrollAdaptor::GetRange(), ScrollAdaptor::GetThumbPos(), GetVScrollBar(), vcl::Window::Invalidate(), m_aScrollOffset, m_aTableMap, Max, Range::Max(), dbaui::OTableWindow::SetPosPixel(), ScrollAdaptor::SetThumbPos(), Point::setX(), Point::setY(), Point::X(), and Point::Y().
Referenced by ClearAll(), EnsureVisible(), PreNotify(), and ScrollWhileDragging().
|
private |
Definition at line 991 of file JoinTableView.cxx.
References Size::Height(), vcl::Window::HideTracking(), Task::IsActive(), LINE_SIZE, m_aDragOffset, m_aDragRect, m_aDragScrollIdle, m_aOutputSize, m_pDragWin, m_ptPrevDraggingPos, vcl::Window::PaintImmediately(), ScrollPane(), Task::SetPriority(), Point::setX(), Point::setY(), vcl::Window::ShowTracking(), Idle::Start(), Task::Stop(), Size::Width(), Point::X(), and Point::Y().
Referenced by Tracking().
void OJoinTableView::SelectConn | ( | OTableConnection * | pConn | ) |
Definition at line 873 of file JoinTableView.cxx.
References DeselectConn(), dbaui::OTableWindowListBox::get_widget(), dbaui::OTableConnection::GetConnLineList(), dbaui::OTableConnection::GetDestWin(), dbaui::OTableWindowListBox::GetEntryFromText(), dbaui::OTableWindow::GetListBox(), GetSelectedConn(), dbaui::OTableConnection::GetSourceWin(), vcl::Window::GrabFocus(), vcl::Window::Invalidate(), m_pSelectedConn, weld::TreeView::scroll_to_row(), dbaui::OTableConnection::Select(), weld::TreeView::select(), and weld::TreeView::unselect_all().
Referenced by Command(), dbaui::OQueryTableView::ConnDoubleClicked(), dbaui::OQueryTableView::createNewConnection(), MouseButtonUp(), and PreNotify().
|
protected |
Definition at line 515 of file JoinTableView.cxx.
References Point::AdjustX(), Point::AdjustY(), tools::Rectangle::Bottom(), vcl::Window::CalcZoom(), tools::Rectangle::GetHeight(), GetHScrollBar(), vcl::Window::GetPosPixel(), vcl::Window::GetSizePixel(), GetVScrollBar(), Size::Height(), m_aTableMap, nCount, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), dbaui::OTableWindow::SetPosSizePixel(), ScrollAdaptor::SetRange(), tools::Rectangle::SetTop(), Point::setX(), Point::setY(), TABWIN_HEIGHT_STD, TABWIN_SPACING_X, TABWIN_SPACING_Y, TABWIN_WIDTH_STD, tools::Rectangle::Top(), Size::Width(), Point::X(), and Point::Y().
Referenced by AddTabWin(), dbaui::ORelationTableView::AddTabWin(), dbaui::OQueryTableView::ReSync(), dbaui::ORelationTableView::ReSync(), and dbaui::OQueryTableView::ShowTabWin().
|
overridevirtual |
Reimplemented from vcl::Window.
Definition at line 1424 of file JoinTableView.cxx.
References vcl::Window::CalcZoom(), vcl::Window::GetControlFont(), StyleSettings::GetGroupFont(), vcl::Window::GetOutDev(), vcl::Window::GetSettings(), AllSettings::GetStyleSettings(), vcl::Window::GetZoom(), vcl::Window::IsControlFont(), m_aTableMap, vcl::Font::Merge(), nType, Resize(), vcl::Window::SetZoomedPointFont(), and vcl::Window::StateChanged().
|
protectedvirtual |
Reimplemented in dbaui::OQueryTableView.
Definition at line 1562 of file JoinTableView.cxx.
Referenced by GetTabConn().
void OJoinTableView::TabWinMoved | ( | OTableWindow * | ptWhich, |
const Point & | ptOldPosition | ||
) |
Hook that is called after moving/resizing TabWins.
The position is 'virtual': the container has a virtual area of which only a part - changeable by scroll bar - is visible. Therefore: ptOldPosition is always positive, even if it represents a point with a negative physical ordinate above the visible area
Definition at line 1076 of file JoinTableView.cxx.
References dbaui::OTableWindow::GetData(), GetHScrollBar(), vcl::Window::GetPosPixel(), GetVScrollBar(), and invalidateAndModify().
Referenced by dbaui::OTableWindow::PreNotify(), and Tracking().
void OJoinTableView::TabWinSized | ( | OTableWindow * | ptWhich, |
const Point & | ptOldPosition, | ||
const Size & | szOldSize | ||
) |
Definition at line 1084 of file JoinTableView.cxx.
References dbaui::OTableWindow::GetData(), vcl::Window::GetPosPixel(), vcl::Window::GetSizePixel(), and invalidateAndModify().
Referenced by dbaui::OTableWindow::PreNotify(), and Tracking().
|
overrideprotectedvirtual |
Reimplemented from vcl::Window.
Definition at line 715 of file JoinTableView.cxx.
References vcl::Window::CalcZoom(), vcl::Window::EndTracking(), GetHScrollBar(), TrackingEvent::GetMouseEvent(), MouseEvent::GetPosPixel(), tools::Rectangle::GetSize(), GetVScrollBar(), Size::Height(), vcl::Window::HideTracking(), Task::IsActive(), TrackingEvent::IsTrackingCanceled(), TrackingEvent::IsTrackingEnded(), m_aDragOffset, m_aDragScrollIdle, m_aOutputSize, m_aSizingRect, m_pDragWin, m_pSizingWin, m_ptPrevDraggingPos, vcl::Window::PaintImmediately(), pData, ScrollWhileDragging(), vcl::Window::SetPointer(), Point::setX(), Point::setY(), vcl::Window::ShowTracking(), Task::Stop(), TabWinMoved(), TabWinSized(), tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().
|
friend |
Definition at line 79 of file JoinTableView.hxx.
|
private |
Definition at line 91 of file JoinTableView.hxx.
Referenced by BeginChildMove(), ScrollWhileDragging(), and Tracking().
|
private |
Definition at line 89 of file JoinTableView.hxx.
Referenced by ScrollWhileDragging().
|
private |
Definition at line 88 of file JoinTableView.hxx.
Referenced by OJoinTableView(), ScrollWhileDragging(), and Tracking().
|
private |
Definition at line 94 of file JoinTableView.hxx.
Referenced by getRealOutputSize(), Resize(), ScrollWhileDragging(), and Tracking().
|
private |
Definition at line 92 of file JoinTableView.hxx.
Referenced by GetScrollOffset(), Resize(), and ScrollPane().
|
private |
Definition at line 90 of file JoinTableView.hxx.
Referenced by Tracking().
|
private |
Definition at line 85 of file JoinTableView.hxx.
Referenced by AddTabWin(), clearLayoutInformation(), GetFocus(), GetTabWinCount(), GetTabWindow(), GetTabWinMap(), GrabTabWinFocus(), IsAddAllowed(), PreNotify(), RemoveTabWin(), Resize(), ScrollPane(), SetDefaultTabWinPosSize(), and StateChanged().
|
protected |
Definition at line 107 of file JoinTableView.hxx.
Referenced by addConnection(), AddTabWin(), dbaui::ORelationTableView::AddTabWin(), dbaui::OQueryTableView::AddTabWin(), CreateAccessible(), dispose(), RemoveConnection(), RemoveTabWin(), and dbaui::OQueryTableView::RemoveTabWin().
|
private |
Definition at line 97 of file JoinTableView.hxx.
Referenced by BeginChildMove(), dispose(), ScrollWhileDragging(), and Tracking().
|
protected |
Definition at line 105 of file JoinTableView.hxx.
Referenced by ClearAll(), clearLayoutInformation(), dispose(), GrabTabWinFocus(), dbaui::OQueryTableView::HideTabWin(), PreNotify(), and RemoveTabWin().
|
private |
Definition at line 99 of file JoinTableView.hxx.
Referenced by ClearAll(), clearLayoutInformation(), DeselectConn(), dispose(), GetSelectedConn(), and SelectConn().
|
private |
Definition at line 98 of file JoinTableView.hxx.
Referenced by BeginChildSizing(), dispose(), and Tracking().
|
private |
Definition at line 93 of file JoinTableView.hxx.
Referenced by ScrollWhileDragging(), and Tracking().
|
protected |
Definition at line 106 of file JoinTableView.hxx.
Referenced by dbaui::ORelationTableView::_elementRemoved(), addConnection(), AddTabWin(), dbaui::ORelationTableView::AddTabWin(), dbaui::OQueryTableView::AddTabWin(), BeginChildMove(), BeginChildSizing(), dbaui::OQueryTableView::ClearAll(), dispose(), getDesignView(), dbaui::OQueryTableView::HideTabWin(), HideTabWins(), invalidateAndModify(), IsAddAllowed(), dbaui::ORelationTableView::IsAddAllowed(), modified(), RemoveConnection(), RemoveTabWin(), dbaui::OQueryTableView::RemoveTabWin(), dbaui::ORelationTableView::RemoveTabWin(), dbaui::OQueryTableView::ReSync(), dbaui::ORelationTableView::ReSync(), and dbaui::OQueryTableView::ShowTabWin().
|
private |
Definition at line 86 of file JoinTableView.hxx.
Referenced by addConnection(), ClearAll(), clearLayoutInformation(), Command(), dispose(), DrawConnections(), ExistsAConn(), getConnectionCount(), GetTabConn(), getTableConnections(), InvalidateConnections(), MouseButtonUp(), PreNotify(), RemoveConnection(), and RemoveTabWin().