LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OQueryController Class Reference

#include <querycontroller.hxx>

Inheritance diagram for dbaui::OQueryController:
[legend]
Collaboration diagram for dbaui::OQueryController:
[legend]

Public Member Functions

 OQueryController (const css::uno::Reference< css::uno::XComponentContext > &_rM)
 
virtual ~OQueryController () override
 
OTableFieldsgetTableFieldDesc ()
 
OTableFieldsgetUnUsedFields ()
 
void clearFields ()
 
virtual void impl_onModifyChanged () override
 
bool isEscapeProcessing () const
 
bool isGraphicalDesign () const
 
bool isDistinct () const
 
sal_Int64 getLimit () const
 
const OUString & getStatement () const
 
sal_Int32 getSplitPos () const
 
sal_Int32 getVisibleRows () const
 
void setDistinct (bool _bDistinct)
 
void setLimit (const sal_Int64 _nLimit)
 
void setSplitPos (sal_Int32 _nSplitPos)
 
void setVisibleRows (sal_Int32 _nVisibleRows)
 
sal_Int32 getColWidth (sal_uInt16 _nColPos) const
 
const css::uno::Sequence< css::beans::PropertyValue > & getFieldInformation () const
 
::connectivity::OSQLParsergetParser ()
 
::connectivity::OSQLParseTreeIteratorgetParseIterator ()
 
virtual bool Construct (vcl::Window *pParent) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL disposing () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Any SAL_CALL getViewData () override
 
virtual void SAL_CALL restoreViewData (const css::uno::Any &Data) override
 
- Public Member Functions inherited from dbaui::OJoinController
 OJoinController (const css::uno::Reference< css::uno::XComponentContext > &_rM)
 
TTableWindowDatagetTableWindowData ()
 
TTableConnectionDatagetTableConnectionData ()
 
OAddTableDlggetAddTableDialog () const
 
virtual void reconnect (bool _bUI) override
 
virtual void impl_onModifyChanged () override
 
virtual bool allowViews () const =0
 determines whether or not it's allowed for database views to participate in the game More...
 
virtual bool allowQueries () const =0
 determines whether or not it's allowed for queries to participate in the game More...
 
virtual OJoinDesignViewgetJoinView ()
 provides access to the OJoinDesignView belonging to the controller, which might or might not be the direct view (getView) More...
 
void removeConnectionData (const TTableConnectionData::value_type &_pData)
 erase the data in the data vector More...
 
void SaveTabWinsPosSize (OJoinTableView::OTableWindowMap *pTabWinList, tools::Long nOffsetX, tools::Long nOffsetY)
 
virtual void SAL_CALL disposing () override
 
virtual sal_Bool SAL_CALL suspend (sal_Bool bSuspend) override
 
void setErrorOccurred (const ::dbtools::SQLExceptionInfo &_rInfo)
 only defines a method to save a SQLException in d&d methods to show the error at a later state set the internal member m_aExceptionInfo to _rInfo More...
 
::dbtools::SQLExceptionInfo clearOccurredError ()
 just returns the internal member and clears it More...
 
void runDialogAsync ()
 
virtual void SAL_CALL disposing () override
 
- Public Member Functions inherited from dbaui::OSingleDocumentController
SfxUndoManagerGetUndoManager () const
 need for undo's and redo's More...
 
void ClearUndoManager ()
 complete clears the Undo/Redo stacks More...
 
void addUndoActionAndInvalidate (std::unique_ptr< SfxUndoAction > pAction)
 addUndoActionAndInvalidate adds an undo action to the undoManager, additionally invalidates the UNDO and REDO slot More...
 
virtual FeatureState GetState (sal_uInt16 nId) const override
 
virtual void Execute (sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager () override
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual void describeSupportedFeatures () override
 
virtual FeatureState GetState (sal_uInt16 nId) const override
 
virtual void Execute (sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
virtual void reconnect (bool _bUI) override
 
virtual OUString getPrivateTitle () const override
 
OQueryContainerWindowgetContainer () const
 
- Protected Member Functions inherited from dbaui::OJoinController
virtual FeatureState GetState (sal_uInt16 nId) const override
 
virtual void Execute (sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
 
void loadTableWindows (const ::comphelper::NamedValueCollection &i_rViewSettings)
 loads the information for the windows. More...
 
void loadTableWindow (const ::comphelper::NamedValueCollection &i_rTableWindowSettings)
 loads the information for one window. More...
 
void saveTableWindows (::comphelper::NamedValueCollection &o_rViewSettings) const
 saves the TableWindows structure in a sequence of property values More...
 
virtual ~OJoinController () override
 
TTableWindowData::value_type createTableWindowData (const OUString &_sComposedName, const OUString &_sTableName, const OUString &_sWindowName)
 
virtual short saveModified ()=0
 
virtual void reset ()=0
 
virtual void describeSupportedFeatures () override
 
AddTableDialogContextimpl_getDialogContext () const
 
- Protected Member Functions inherited from dbaui::OSingleDocumentController
 OSingleDocumentController (const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
 
virtual ~OSingleDocumentController () override
 
virtual void SAL_CALL disposing () override
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const=0
 

Private Member Functions

css::uno::Reference< css::container::XNameAccess > getObjectContainer () const
 returns the container of queries, views, or command definitions, depending on what object type we design currently. More...
 
bool editingView () const
 
bool editingQuery () const
 
bool editingCommand () const
 
bool askForNewName (const css::uno::Reference< css::container::XNameAccess > &_xElements, bool _bSaveAs)
 
void setQueryComposer ()
 
void deleteIterator ()
 
void executeQuery ()
 
bool doSaveAsDoc (bool _bSaveAs)
 
void saveViewSettings (::comphelper::NamedValueCollection &o_rViewSettings, const bool i_includingCriteria) const
 
void loadViewSettings (const ::comphelper::NamedValueCollection &o_rViewSettings)
 
OUString translateStatement (bool _bFireStatementChange=true)
 
void execute_QueryPropDlg ()
 
virtual void onLoadedMenu (const css::uno::Reference< css::frame::XLayoutManager > &_xLayoutManager) override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual OJoinDesignViewgetJoinView () override
 provides access to the OJoinDesignView belonging to the controller, which might or might not be the direct view (getView) More...
 
virtual short saveModified () override
 
virtual void reset () override
 
virtual void impl_initialize () override
 
void impl_reset (const bool i_bIgnoreQuerySettings=false)
 
void impl_showAutoSQLViewError (const css::uno::Any &_rErrorDetails)
 tells the user that we needed to switch to SQL view automatically More...
 
void impl_setViewMode (::dbtools::SQLExceptionInfo *_pErrorInfo)
 switches to the graphical or SQL view mode, as determined by m_bGraphicalDesign More...
 
void setStatement_fireEvent (const OUString &_rNewStatement, bool _bFireStatementChange=true)
 sets m_sStatement, and notifies our respective property change listeners More...
 
void setEscapeProcessing_fireEvent (const bool _bEscapeProcessing)
 sets the m_bEscapeProcessing member, and notifies our respective property change listeners More...
 
virtual bool allowViews () const override
 determines whether or not it's allowed for database views to participate in the game More...
 
virtual bool allowQueries () const override
 determines whether or not it's allowed for queries to participate in the game More...
 
 DECL_LINK (OnExecuteAddTable, void *, void)
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const=0
 

Private Attributes

OTableFields m_vTableFieldDesc
 
OTableFields m_vUnUsedFieldsDesc
 
css::uno::Sequence< css::beans::PropertyValue > m_aFieldInformation
 
std::unique_ptr<::svxform::OSystemParseContextm_pParseContext
 
::connectivity::OSQLParser m_aSqlParser
 
std::unique_ptr<::connectivity::OSQLParseTreeIteratorm_pSqlIterator
 
css::uno::Reference< css::sdb::XSQLQueryComposer > m_xComposer
 
css::uno::Reference< css::sdbcx::XAlterView > m_xAlterView
 if we're editing an existing view, this is non-NULL More...
 
OUString m_sStatement
 
OUString m_sUpdateCatalogName
 
OUString m_sUpdateSchemaName
 
OUString m_sName
 
sal_Int64 m_nLimit
 
sal_Int32 m_nVisibleRows
 
sal_Int32 m_nSplitPos
 
sal_Int32 m_nCommandType
 
bool m_bGraphicalDesign
 
bool m_bDistinct
 
bool m_bEscapeProcessing
 

Additional Inherited Members

- Static Public Member Functions inherited from dbaui::OJoinController
static void SaveTabWinPosSize (OTableWindow const *pTabWin, tools::Long nOffsetX, tools::Long nOffsetY)
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static std::mutextheMutex ()
 
- Protected Attributes inherited from dbaui::OJoinController
TTableConnectionData m_vTableConnectionData
 
TTableWindowData m_vTableData
 
::dbtools::SQLExceptionInfo m_aExceptionInfo
 
std::shared_ptr< OAddTableDlgm_xAddTableDialog
 
std::unique_ptr< AddTableDialogContextm_pDialogContext
 
Point m_aMinimumTableViewSize
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Definition at line 48 of file querycontroller.hxx.

Constructor & Destructor Documentation

◆ OQueryController()

dbaui::OQueryController::OQueryController ( const css::uno::Reference< css::uno::XComponentContext > &  _rM)

◆ ~OQueryController()

dbaui::OQueryController::~OQueryController ( )
overridevirtual

Definition at line 222 of file querycontroller.cxx.

References dispose(), and m_refCount.

Member Function Documentation

◆ allowQueries()

bool dbaui::OQueryController::allowQueries ( ) const
overrideprivatevirtual

determines whether or not it's allowed for queries to participate in the game

Implements dbaui::OJoinController.

Definition at line 1761 of file querycontroller.cxx.

References comphelper::NamedValueCollection::getOrDefault(), PROPERTY_COMMAND_TYPE(), dbaccess::QUERY, and dbaccess::TABLE.

◆ allowViews()

bool dbaui::OQueryController::allowViews ( ) const
overrideprivatevirtual

determines whether or not it's allowed for database views to participate in the game

Implements dbaui::OJoinController.

Definition at line 1756 of file querycontroller.cxx.

◆ askForNewName()

bool dbaui::OQueryController::askForNewName ( const css::uno::Reference< css::container::XNameAccess > &  _xElements,
bool  _bSaveAs 
)
private

◆ clearFields()

void dbaui::OQueryController::clearFields ( )

Definition at line 329 of file querycontroller.cxx.

References m_vTableFieldDesc.

Referenced by disposing().

◆ Construct()

bool dbaui::OQueryController::Construct ( vcl::Window pParent)
overridevirtual

Definition at line 911 of file querycontroller.cxx.

◆ createArrayHelper()

cppu::IPropertyArrayHelper * dbaui::OQueryController::createArrayHelper ( ) const
overrideprivatevirtual

◆ DECL_LINK()

dbaui::OQueryController::DECL_LINK ( OnExecuteAddTable  ,
void *  ,
void   
)
private

◆ deleteIterator()

void dbaui::OQueryController::deleteIterator ( )
private

Definition at line 303 of file querycontroller.cxx.

References m_pSqlIterator.

Referenced by disposing(), reconnect(), and setQueryComposer().

◆ describeSupportedFeatures()

void dbaui::OQueryController::describeSupportedFeatures ( )
overrideprotectedvirtual

◆ disposing() [1/2]

void dbaui::OQueryController::disposing ( )
overridevirtual

◆ disposing() [2/2]

virtual void SAL_CALL dbaui::OQueryController::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ doSaveAsDoc()

bool dbaui::OQueryController::doSaveAsDoc ( bool  _bSaveAs)
private

◆ editingCommand()

bool dbaui::OQueryController::editingCommand ( ) const
inlineprivate

◆ editingQuery()

bool dbaui::OQueryController::editingQuery ( ) const
inlineprivate

Definition at line 90 of file querycontroller.hxx.

References m_nCommandType, and dbaccess::QUERY.

Referenced by doSaveAsDoc(), and impl_reset().

◆ editingView()

bool dbaui::OQueryController::editingView ( ) const
inlineprivate

◆ Execute()

void dbaui::OQueryController::Execute ( sal_uInt16  nId,
const css::uno::Sequence< css::beans::PropertyValue > &  aArgs 
)
overrideprotectedvirtual

◆ execute_QueryPropDlg()

void dbaui::OQueryController::execute_QueryPropDlg ( )
private

◆ executeQuery()

void dbaui::OQueryController::executeQuery ( )
private

◆ getColWidth()

sal_Int32 dbaui::OQueryController::getColWidth ( sal_uInt16  _nColPos) const

Definition at line 1046 of file querycontroller.cxx.

References m_aFieldInformation.

◆ getContainer()

OQueryContainerWindow * dbaui::OQueryController::getContainer ( ) const
inlineprotected

◆ getFastPropertyValue() [1/4]

void SAL_CALL dbaui::OQueryController::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprivatevirtual

◆ getFastPropertyValue() [2/4]

virtual void SAL_CALL comphelper::OPropertyContainer::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
privatevirtual

Reimplemented from comphelper::OPropertyContainer.

◆ getFastPropertyValue() [3/4]

virtual css::uno::Any SAL_CALL comphelper::OPropertyContainer::getFastPropertyValue ( sal_Int32  nHandle)
private

◆ getFastPropertyValue() [4/4]

virtual void comphelper::OPropertyContainer::getFastPropertyValue ( std::unique_lock< std::mutex > &  rGuard,
css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
private

◆ getFieldInformation()

const css::uno::Sequence< css::beans::PropertyValue > & dbaui::OQueryController::getFieldInformation ( ) const
inline

Definition at line 149 of file querycontroller.hxx.

References m_aFieldInformation.

Referenced by dbaui::OQueryViewSwitch::forceInitialView().

◆ getImplementationName()

OUString SAL_CALL dbaui::OQueryController::getImplementationName ( )
overridevirtual

Definition at line 191 of file querycontroller.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper & dbaui::OQueryController::getInfoHelper ( )
override

◆ getJoinView()

OJoinDesignView * dbaui::OQueryController::getJoinView ( )
overrideprivatevirtual

provides access to the OJoinDesignView belonging to the controller, which might or might not be the direct view (getView)

Reimplemented from dbaui::OJoinController.

Definition at line 920 of file querycontroller.cxx.

References getContainer(), and dbaui::OQueryContainerWindow::getDesignView().

Referenced by Execute().

◆ getLimit()

sal_Int64 dbaui::OQueryController::getLimit ( ) const
inline

Definition at line 135 of file querycontroller.hxx.

References m_nLimit.

Referenced by dbaui::OQueryDesignView::getStatement().

◆ getObjectContainer()

Reference< XNameAccess > dbaui::OQueryController::getObjectContainer ( ) const
private

returns the container of queries, views, or command definitions, depending on what object type we design currently.

Not allowed to be called if we design an independent SQL command.

Definition at line 1057 of file querycontroller.cxx.

References editingView(), getConnection(), and dbaccess::getDataSource().

Referenced by doSaveAsDoc(), and impl_reset().

◆ getParseIterator()

::connectivity::OSQLParseTreeIterator & dbaui::OQueryController::getParseIterator ( )
inline

Definition at line 152 of file querycontroller.hxx.

References m_pSqlIterator.

◆ getParser()

::connectivity::OSQLParser & dbaui::OQueryController::getParser ( )
inline

◆ getPrivateTitle()

OUString dbaui::OQueryController::getPrivateTitle ( ) const
overrideprotectedvirtual

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL dbaui::OQueryController::getPropertySetInfo ( )
overridevirtual

Definition at line 236 of file querycontroller.cxx.

◆ getSplitPos()

sal_Int32 dbaui::OQueryController::getSplitPos ( ) const
inline

Definition at line 138 of file querycontroller.hxx.

References m_nSplitPos.

◆ GetState()

FeatureState dbaui::OQueryController::GetState ( sal_uInt16  nId) const
overrideprotectedvirtual

◆ getStatement()

const OUString & dbaui::OQueryController::getStatement ( ) const
inline

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL dbaui::OQueryController::getSupportedServiceNames ( )
overridevirtual

Definition at line 196 of file querycontroller.cxx.

◆ getTableFieldDesc()

OTableFields & dbaui::OQueryController::getTableFieldDesc ( )
inline

◆ getUnUsedFields()

OTableFields & dbaui::OQueryController::getUnUsedFields ( )
inline

Definition at line 125 of file querycontroller.hxx.

References m_vUnUsedFieldsDesc.

Referenced by dbaui::OQueryDesignView::getStatement().

◆ getViewData()

Any SAL_CALL dbaui::OQueryController::getViewData ( )
overridevirtual

◆ getVisibleRows()

sal_Int32 dbaui::OQueryController::getVisibleRows ( ) const
inline

Definition at line 139 of file querycontroller.hxx.

References m_nVisibleRows.

◆ impl_initialize()

void dbaui::OQueryController::impl_initialize ( )
overrideprivatevirtual

◆ impl_onModifyChanged()

void dbaui::OQueryController::impl_onModifyChanged ( )
overridevirtual

◆ impl_reset()

void dbaui::OQueryController::impl_reset ( const bool  i_bIgnoreQuerySettings = false)
private

◆ impl_setViewMode()

void dbaui::OQueryController::impl_setViewMode ( ::dbtools::SQLExceptionInfo _pErrorInfo)
private

switches to the graphical or SQL view mode, as determined by m_bGraphicalDesign

Definition at line 625 of file querycontroller.cxx.

References getContainer(), m_bGraphicalDesign, showError(), and dbaui::OQueryContainerWindow::switchView().

Referenced by Execute(), impl_initialize(), and reconnect().

◆ impl_showAutoSQLViewError()

void dbaui::OQueryController::impl_showAutoSQLViewError ( const css::uno::Any &  _rErrorDetails)
private

tells the user that we needed to switch to SQL view automatically

Definition at line 615 of file querycontroller.cxx.

References m_nCommandType, and showError().

Referenced by impl_initialize(), and impl_reset().

◆ isDistinct()

bool dbaui::OQueryController::isDistinct ( ) const
inline

◆ isEscapeProcessing()

bool dbaui::OQueryController::isEscapeProcessing ( ) const
inline

Definition at line 132 of file querycontroller.hxx.

References m_bEscapeProcessing.

◆ isGraphicalDesign()

bool dbaui::OQueryController::isGraphicalDesign ( ) const
inline

◆ loadViewSettings()

void dbaui::OQueryController::loadViewSettings ( const ::comphelper::NamedValueCollection o_rViewSettings)
private

◆ onLoadedMenu()

void dbaui::OQueryController::onLoadedMenu ( const css::uno::Reference< css::frame::XLayoutManager > &  _xLayoutManager)
overrideprivatevirtual

Definition at line 866 of file querycontroller.cxx.

References m_bGraphicalDesign.

◆ reconnect()

void dbaui::OQueryController::reconnect ( bool  _bUI)
overrideprotectedvirtual

◆ reset()

void dbaui::OQueryController::reset ( )
overrideprivatevirtual

◆ restoreViewData()

void SAL_CALL dbaui::OQueryController::restoreViewData ( const css::uno::Any &  Data)
overridevirtual

Definition at line 1785 of file querycontroller.cxx.

◆ saveModified()

short dbaui::OQueryController::saveModified ( )
overrideprivatevirtual

◆ saveViewSettings()

void dbaui::OQueryController::saveViewSettings ( ::comphelper::NamedValueCollection o_rViewSettings,
const bool  i_includingCriteria 
) const
private

◆ setDistinct()

void dbaui::OQueryController::setDistinct ( bool  _bDistinct)
inline

Definition at line 141 of file querycontroller.hxx.

References m_bDistinct.

◆ setEscapeProcessing_fireEvent()

void dbaui::OQueryController::setEscapeProcessing_fireEvent ( const bool  _bEscapeProcessing)
private

sets the m_bEscapeProcessing member, and notifies our respective property change listeners

Definition at line 1738 of file querycontroller.cxx.

References Any, m_bEscapeProcessing, nHandle, and PROPERTY_ID_ESCAPE_PROCESSING.

Referenced by Execute(), impl_initialize(), and impl_reset().

◆ setLimit()

void dbaui::OQueryController::setLimit ( const sal_Int64  _nLimit)
inline

Definition at line 142 of file querycontroller.hxx.

References m_nLimit.

◆ setQueryComposer()

void dbaui::OQueryController::setQueryComposer ( )
private

◆ setSplitPos()

void dbaui::OQueryController::setSplitPos ( sal_Int32  _nSplitPos)
inline

Definition at line 143 of file querycontroller.hxx.

References m_nSplitPos.

Referenced by dbaui::OQueryDesignView::SaveUIConfig().

◆ setStatement_fireEvent()

void dbaui::OQueryController::setStatement_fireEvent ( const OUString &  _rNewStatement,
bool  _bFireStatementChange = true 
)
private

sets m_sStatement, and notifies our respective property change listeners

Definition at line 1727 of file querycontroller.cxx.

References Any, m_sStatement, nHandle, and PROPERTY_ID_ACTIVECOMMAND.

Referenced by Execute(), impl_initialize(), impl_reset(), and translateStatement().

◆ setVisibleRows()

void dbaui::OQueryController::setVisibleRows ( sal_Int32  _nVisibleRows)
inline

Definition at line 144 of file querycontroller.hxx.

References m_nVisibleRows.

Referenced by dbaui::OQueryDesignView::SaveUIConfig().

◆ translateStatement()

OUString dbaui::OQueryController::translateStatement ( bool  _bFireStatementChange = true)
private

Member Data Documentation

◆ m_aFieldInformation

css::uno::Sequence< css::beans::PropertyValue > dbaui::OQueryController::m_aFieldInformation
private

Definition at line 55 of file querycontroller.hxx.

Referenced by getColWidth(), getFieldInformation(), and loadViewSettings().

◆ m_aSqlParser

::connectivity::OSQLParser dbaui::OQueryController::m_aSqlParser
private

◆ m_bDistinct

bool dbaui::OQueryController::m_bDistinct
private

Definition at line 77 of file querycontroller.hxx.

Referenced by Execute(), execute_QueryPropDlg(), GetState(), isDistinct(), and setDistinct().

◆ m_bEscapeProcessing

bool dbaui::OQueryController::m_bEscapeProcessing
private

◆ m_bGraphicalDesign

bool dbaui::OQueryController::m_bGraphicalDesign
private

◆ m_nCommandType

sal_Int32 dbaui::OQueryController::m_nCommandType
private

◆ m_nLimit

sal_Int64 dbaui::OQueryController::m_nLimit
private

Definition at line 71 of file querycontroller.hxx.

Referenced by Execute(), execute_QueryPropDlg(), getLimit(), GetState(), and setLimit().

◆ m_nSplitPos

sal_Int32 dbaui::OQueryController::m_nSplitPos
private

Definition at line 74 of file querycontroller.hxx.

Referenced by getSplitPos(), loadViewSettings(), saveViewSettings(), and setSplitPos().

◆ m_nVisibleRows

sal_Int32 dbaui::OQueryController::m_nVisibleRows
private

◆ m_pParseContext

std::unique_ptr<::svxform::OSystemParseContext> dbaui::OQueryController::m_pParseContext
private

Definition at line 57 of file querycontroller.hxx.

Referenced by disposing().

◆ m_pSqlIterator

std::unique_ptr<::connectivity::OSQLParseTreeIterator> dbaui::OQueryController::m_pSqlIterator
private

◆ m_sName

OUString dbaui::OQueryController::m_sName
mutableprivate

◆ m_sStatement

OUString dbaui::OQueryController::m_sStatement
private

◆ m_sUpdateCatalogName

OUString dbaui::OQueryController::m_sUpdateCatalogName
private

Definition at line 66 of file querycontroller.hxx.

Referenced by askForNewName(), doSaveAsDoc(), and executeQuery().

◆ m_sUpdateSchemaName

OUString dbaui::OQueryController::m_sUpdateSchemaName
private

Definition at line 67 of file querycontroller.hxx.

Referenced by askForNewName(), doSaveAsDoc(), and executeQuery().

◆ m_vTableFieldDesc

OTableFields dbaui::OQueryController::m_vTableFieldDesc
private

◆ m_vUnUsedFieldsDesc

OTableFields dbaui::OQueryController::m_vUnUsedFieldsDesc
private

Definition at line 53 of file querycontroller.hxx.

Referenced by disposing(), and getUnUsedFields().

◆ m_xAlterView

css::uno::Reference< css::sdbcx::XAlterView > dbaui::OQueryController::m_xAlterView
private

if we're editing an existing view, this is non-NULL

Definition at line 63 of file querycontroller.hxx.

Referenced by doSaveAsDoc(), GetState(), and impl_initialize().

◆ m_xComposer

css::uno::Reference< css::sdb::XSQLQueryComposer > dbaui::OQueryController::m_xComposer
private

Definition at line 61 of file querycontroller.hxx.

Referenced by disposing(), reconnect(), setQueryComposer(), and translateStatement().


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