|
LibreOffice Module dbaccess (master) 1
|
#include <QueryViewSwitch.hxx>
Public Member Functions | |
| OQueryViewSwitch (OQueryContainerWindow *pParent, OQueryController &_rController, const css::uno::Reference< css::uno::XComponentContext > &) | |
| ~OQueryViewSwitch () | |
| bool | isCutAllowed () const |
| bool | isPasteAllowed () const |
| bool | isCopyAllowed () const |
| void | copy () |
| void | cut () |
| void | paste () |
| void | clear () |
| bool | checkStatement () |
| void | setStatement (const OUString &_rsStatement) |
| OUString | getStatement () |
| void | Construct () |
| late construction More... | |
| void | initialize () |
| bool | switchView (::dbtools::SQLExceptionInfo *_pErrorInfo) |
| show the text or the design view More... | |
| void | forceInitialView () |
| bool | isSlotEnabled (sal_Int32 _nSlotId) |
| void | setSlotEnabled (sal_Int32 _nSlotId, bool _bEnable) |
| void | setNoneVisibleRow (sal_Int32 _nRows) |
| void | SaveUIConfig () |
| void | reset () |
| void | GrabFocus () |
| OAddTableDlg * | getAddTableDialog () |
| OQueryDesignView * | getDesignView () const |
| OQueryContainerWindow * | getContainer () const |
| void | SetPosSizePixel (Point _rPt, Size _rSize) |
| css::uno::Reference< css::uno::XComponentContext > const & | getORB () const |
Private Member Functions | |
| void | impl_forceSQLView () |
| bool | impl_postViewSwitch (const bool i_bGraphicalDesign, const bool i_bSuccess) |
Private Attributes | |
| VclPtr< OQueryDesignView > | m_pDesignView |
| VclPtr< OQueryTextView > | m_pTextView |
| bool | m_bAddTableDialogWasVisible |
Definition at line 38 of file QueryViewSwitch.hxx.
| OQueryViewSwitch::OQueryViewSwitch | ( | OQueryContainerWindow * | pParent, |
| OQueryController & | _rController, | ||
| const css::uno::Reference< css::uno::XComponentContext > & | |||
| ) |
Definition at line 31 of file QueryViewSwitch.cxx.
References VclPtr< class reference_type >::Create(), m_pDesignView, and m_pTextView.
| OQueryViewSwitch::~OQueryViewSwitch | ( | ) |
Definition at line 39 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
| bool OQueryViewSwitch::checkStatement | ( | ) |
Definition at line 58 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::checkStatement().
| void OQueryViewSwitch::clear | ( | ) |
Definition at line 72 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::clear().
| void OQueryViewSwitch::Construct | ( | ) |
late construction
Definition at line 46 of file QueryViewSwitch.cxx.
References m_pDesignView.
Referenced by dbaui::OQueryContainerWindow::Construct().
| void OQueryViewSwitch::copy | ( | ) |
Definition at line 94 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::copy().
| void OQueryViewSwitch::cut | ( | ) |
Definition at line 123 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::cut().
| void OQueryViewSwitch::forceInitialView | ( | ) |
Definition at line 163 of file QueryViewSwitch.cxx.
References getAddTableDialog(), dbaui::OQueryController::getFieldInformation(), impl_forceSQLView(), impl_postViewSwitch(), dbaui::OQueryController::isGraphicalDesign(), m_pDesignView, m_pTextView, and dbaui::OAddTableDlg::Update().
Referenced by dbaui::OQueryContainerWindow::forceInitialView().
| OAddTableDlg * OQueryViewSwitch::getAddTableDialog | ( | ) |
Definition at line 242 of file QueryViewSwitch.cxx.
References m_pDesignView.
Referenced by forceInitialView(), impl_forceSQLView(), impl_postViewSwitch(), and switchView().
| OQueryContainerWindow * OQueryViewSwitch::getContainer | ( | ) | const |
Definition at line 139 of file QueryViewSwitch.cxx.
References getDesignView(), and vcl::Window::GetParent().
Referenced by impl_postViewSwitch().
|
inline |
Definition at line 82 of file QueryViewSwitch.hxx.
References m_pDesignView.
Referenced by getContainer(), dbaui::OQueryContainerWindow::getDesignView(), and dbaui::OQueryContainerWindow::PreNotify().
| Reference< XComponentContext > const & OQueryViewSwitch::getORB | ( | ) | const |
Definition at line 272 of file QueryViewSwitch.cxx.
References m_pDesignView.
Referenced by dbaui::OQueryContainerWindow::showPreview().
| OUString OQueryViewSwitch::getStatement | ( | ) |
Definition at line 65 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::getStatement().
| void OQueryViewSwitch::GrabFocus | ( | ) |
Definition at line 80 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::GetFocus(), and impl_postViewSwitch().
|
private |
Definition at line 145 of file QueryViewSwitch.cxx.
References getAddTableDialog(), dbaui::OQueryController::getStatement(), m_bAddTableDialogWasVisible, m_pDesignView, m_pTextView, weld::DialogController::response(), and RET_CLOSE.
Referenced by forceInitialView(), and switchView().
|
private |
Definition at line 218 of file QueryViewSwitch.cxx.
References getAddTableDialog(), getContainer(), GrabFocus(), m_bAddTableDialogWasVisible, m_pDesignView, m_pTextView, and dbaui::ODataView::Resize().
Referenced by forceInitialView(), and switchView().
| void OQueryViewSwitch::initialize | ( | ) |
Definition at line 51 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::initialize().
| bool OQueryViewSwitch::isCopyAllowed | ( | ) | const |
Definition at line 109 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::isCopyAllowed().
| bool OQueryViewSwitch::isCutAllowed | ( | ) | const |
Definition at line 102 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::isCutAllowed().
| bool OQueryViewSwitch::isPasteAllowed | ( | ) | const |
Definition at line 116 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::isPasteAllowed().
| bool OQueryViewSwitch::isSlotEnabled | ( | sal_Int32 | _nSlotId | ) |
Definition at line 249 of file QueryViewSwitch.cxx.
References m_pDesignView.
Referenced by dbaui::OQueryContainerWindow::isSlotEnabled().
| void OQueryViewSwitch::paste | ( | ) |
Definition at line 131 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::paste().
| void OQueryViewSwitch::reset | ( | ) |
Definition at line 277 of file QueryViewSwitch.cxx.
References m_pDesignView, and switchView().
Referenced by dbaui::OQueryContainerWindow::reset().
| void OQueryViewSwitch::SaveUIConfig | ( | ) |
Definition at line 259 of file QueryViewSwitch.cxx.
References m_pDesignView.
Referenced by dbaui::OQueryContainerWindow::SaveUIConfig().
| void OQueryViewSwitch::setNoneVisibleRow | ( | sal_Int32 | _nRows | ) |
Definition at line 286 of file QueryViewSwitch.cxx.
References m_pDesignView.
Referenced by dbaui::OQueryContainerWindow::setNoneVisibleRow().
Definition at line 265 of file QueryViewSwitch.cxx.
References m_pDesignView, and m_pTextView.
Referenced by dbaui::OQueryContainerWindow::resizeDocumentView(), and dbaui::OQueryContainerWindow::showPreview().
| void OQueryViewSwitch::setSlotEnabled | ( | sal_Int32 | _nSlotId, |
| bool | _bEnable | ||
| ) |
Definition at line 254 of file QueryViewSwitch.cxx.
References m_pDesignView.
Referenced by dbaui::OQueryContainerWindow::setSlotEnabled().
| void OQueryViewSwitch::setStatement | ( | const OUString & | _rsStatement | ) |
Definition at line 88 of file QueryViewSwitch.cxx.
References m_pTextView.
Referenced by dbaui::OQueryContainerWindow::setStatement().
| bool OQueryViewSwitch::switchView | ( | ::dbtools::SQLExceptionInfo * | _pErrorInfo | ) |
show the text or the design view
Definition at line 189 of file QueryViewSwitch.cxx.
References getAddTableDialog(), impl_forceSQLView(), impl_postViewSwitch(), m_pDesignView, m_pTextView, and dbaui::OAddTableDlg::Update().
Referenced by reset(), and dbaui::OQueryContainerWindow::switchView().
|
private |
Definition at line 42 of file QueryViewSwitch.hxx.
Referenced by impl_forceSQLView(), and impl_postViewSwitch().
|
private |
Definition at line 40 of file QueryViewSwitch.hxx.
Referenced by checkStatement(), clear(), Construct(), copy(), cut(), forceInitialView(), getAddTableDialog(), getDesignView(), getORB(), getStatement(), GrabFocus(), impl_forceSQLView(), impl_postViewSwitch(), initialize(), isCopyAllowed(), isCutAllowed(), isPasteAllowed(), isSlotEnabled(), OQueryViewSwitch(), paste(), reset(), SaveUIConfig(), setNoneVisibleRow(), SetPosSizePixel(), setSlotEnabled(), switchView(), and ~OQueryViewSwitch().
|
private |
Definition at line 41 of file QueryViewSwitch.hxx.
Referenced by checkStatement(), clear(), copy(), cut(), forceInitialView(), getStatement(), GrabFocus(), impl_forceSQLView(), impl_postViewSwitch(), initialize(), isCopyAllowed(), isCutAllowed(), isPasteAllowed(), OQueryViewSwitch(), paste(), SetPosSizePixel(), setStatement(), switchView(), and ~OQueryViewSwitch().