Lines Matching refs:m_pImpl

189         ,m_pImpl( new DBSubComponentController_Impl( getMutex() ) )  in DBSubComponentController()
233 if ( m_pImpl->documentHasScriptSupport() ) in queryInterface()
245 if ( !m_pImpl->documentHasScriptSupport() ) in getTypes()
267 m_pImpl->m_xConnection.reset( _rxForeignConn, SharedConnection::NoTakeOwnership ); in initializeConnection()
268 m_pImpl->m_aSdbMetaData.reset( m_pImpl->m_xConnection ); in initializeConnection()
269 startConnectionListening( m_pImpl->m_xConnection ); in initializeConnection()
275 …OSL_PRECOND( !m_pImpl->m_aDataSource.is(), "DBSubComponentController::initializeConnection: alread… in initializeConnection()
277 Reference< XChild > xConnAsChild( m_pImpl->m_xConnection, UNO_QUERY ); in initializeConnection()
283 m_pImpl->m_aDataSource = xDS; in initializeConnection()
285 …OSL_POSTCOND( m_pImpl->m_aDataSource.is(), "DBSubComponentController::initializeConnection: unable… in initializeConnection()
287 if ( m_pImpl->m_bNotAttached ) in initializeConnection()
290 m_pImpl->m_nDocStartNumber = 1; in initializeConnection()
292m_pImpl->m_nDocStartNumber = xUntitledProvider->leaseNumber( static_cast< XWeak* >( this ) ); in initializeConnection()
297m_pImpl->setDocumentScriptSupport( Reference< XEmbeddedScripts >( getDatabaseDocument(), UNO_QUERY… in initializeConnection()
300 …Reference< XPropertySet > xDataSourceProps( m_pImpl->m_aDataSource.getDataSourceProps(), UNO_SET_T… in initializeConnection()
301 xDataSourceProps->getPropertyValue( PROPERTY_NAME ) >>= m_pImpl->m_sDataSourceName; in initializeConnection()
302 …DBG_ASSERT( m_pImpl->m_sDataSourceName.getLength(), "DBSubComponentController::initializeConnectio… in initializeConnection()
303 …Reference< XNumberFormatsSupplier> xSupplier = ::dbtools::getNumberFormats(m_pImpl->m_xConnection); in initializeConnection()
306 m_pImpl->m_xFormatter = Reference< XNumberFormatter >(getORB() in initializeConnection()
308 m_pImpl->m_xFormatter->attachNumberFormatsSupplier(xSupplier); in initializeConnection()
310 OSL_ENSURE(m_pImpl->m_xFormatter.is(),"No NumberFormatter!"); in initializeConnection()
321 OSL_ENSURE(!m_pImpl->m_bSuspended, "Cannot reconnect while suspended!"); in reconnect()
323 stopConnectionListening( m_pImpl->m_xConnection ); in reconnect()
324 m_pImpl->m_aSdbMetaData.reset( NULL ); in reconnect()
325 m_pImpl->m_xConnection.clear(); in reconnect()
338m_pImpl->m_xConnection.reset( connect( m_pImpl->m_aDataSource.getDataSource(), NULL ), SharedConne… in reconnect()
339 m_pImpl->m_aSdbMetaData.reset( m_pImpl->m_xConnection ); in reconnect()
349 stopConnectionListening(m_pImpl->m_xConnection); in disconnect()
350 m_pImpl->m_aSdbMetaData.reset( NULL ); in disconnect()
351 m_pImpl->m_xConnection.clear(); in disconnect()
373 m_pImpl->m_aDataSource.clear(); in disposing()
381 if ( !m_pImpl->m_bSuspended // when already suspended then we don't have to reconnect in disposing()
391m_pImpl->m_xConnection.reset( m_pImpl->m_xConnection, SharedConnection::NoTakeOwnership ); in disposing()
404m_pImpl->m_aCurrentError.append( ::dbtools::SQLExceptionInfo::SQL_EXCEPTION, _rErrorMessage, getSt… in appendError()
410 m_pImpl->m_aCurrentError = ::dbtools::SQLExceptionInfo(); in clearError()
416 return m_pImpl->m_aCurrentError.isValid(); in hasError()
422 return m_pImpl->m_aCurrentError; in getError()
428 showError( m_pImpl->m_aCurrentError ); in displayError()
434 m_pImpl->m_bSuspended = bSuspend; in suspend()
450 m_pImpl->m_bNotAttached = false; in attachModel()
451 if ( m_pImpl->m_nDocStartNumber == 1 ) in attachModel()
455 m_pImpl->m_nDocStartNumber = 1; in attachModel()
457m_pImpl->m_nDocStartNumber = xUntitledProvider->leaseNumber( static_cast< XWeak* >( this ) ); in attachModel()
479 Reference< XPropertySet > xDataSourceProps( m_pImpl->m_aDataSource.getDataSourceProps() ); in getDataSourceName()
500 return m_pImpl->m_xConnection; in getConnection()
506 return !m_pImpl->m_bEditable; in isReadOnly()
512 return m_pImpl->m_bEditable; in isEditable()
518 m_pImpl->m_bEditable = _bEditable; in setEditable()
524 return m_pImpl->m_aSdbMetaData; in getSdbMetaData()
530 return m_pImpl->m_xConnection.is(); in isConnected()
540 xMeta.set( m_pImpl->m_xConnection->getMetaData(), UNO_SET_THROW ); in getMetaData()
552 return m_pImpl->m_aDataSource.getDataSourceProps(); in getDataSource()
558 return m_pImpl->m_aDataSource.is(); in haveDataSource()
564 return Reference< XModel >( m_pImpl->m_aDataSource.getDatabaseDocument(), UNO_QUERY ); in getDatabaseDocument()
570 return m_pImpl->m_xFormatter; in getNumberFormatter()
601 return m_pImpl->m_nDocStartNumber; in getCurrentStartNumber()
608 if ( !m_pImpl->documentHasScriptSupport() ) in getScriptContainer()
618 m_pImpl->m_aModifyListeners.addInterface( i_Listener ); in addModifyListener()
625 m_pImpl->m_aModifyListeners.removeInterface( i_Listener ); in removeModifyListener()
640 if ( m_pImpl->m_bModified == i_bModified ) in setModified()
643 m_pImpl->m_bModified = i_bModified; in setModified()
648 m_pImpl->m_aModifyListeners.notifyEach( &XModifyListener::modified, aEvent ); in setModified()
654 return m_pImpl->m_bModified; in impl_isModified()