Lines Matching refs:_rxField
1000 …tputDevice& _rDev, const Rectangle& _rRect, const Reference< XColumn >& _rxField, const Reference<… in PaintFieldToCell() argument
1002 m_pPainter->SetText( GetFormatText( _rxField, _rxFormatter ) ); in PaintFieldToCell()
1007 double DbCellControl::GetValue(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const R… in GetValue() argument
1014 fValue = _rxField->getDouble(); in GetValue()
1023 fValue = _rxField->getDouble(); in GetValue()
1031 … fValue = xFormatter->convertStringToNumber(m_rColumn.GetKey(), _rxField->getString()); in GetValue()
1177 …tputDevice& _rDev, const Rectangle& _rRect, const Reference< XColumn >& _rxField, const Reference<… in PaintFieldToCell() argument
1180 m_pPainterImplementation->SetText( GetFormatText( _rxField, _rxFormatter, NULL ) ); in PaintFieldToCell()
1182 DbLimitedLengthField::PaintFieldToCell( _rDev, _rRect, _rxField, _rxFormatter ); in PaintFieldToCell()
1186 String DbTextField::GetFormatText(const Reference< XColumn >& _rxField, const Reference< XNumberFor… in GetFormatText() argument
1189 if ( _rxField.is() ) in GetFormatText()
1192 …aString = getFormattedValue( _rxField, xFormatter, m_rColumn.GetParent().getNullDate(), m_rColumn.… in GetFormatText()
1203 void DbTextField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, cons… in UpdateFromField() argument
1205 m_pEdit->SetText( GetFormatText( _rxField, xFormatter ) ); in UpdateFromField()
1513 String DbFormattedField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField,… in GetFormatText() argument
1520 if (!_rxField.is()) in GetFormatText()
1533 double dValue = getValue( _rxField, m_rColumn.GetParent().getNullDate() ); in GetFormatText()
1534 if (_rxField->wasNull()) in GetFormatText()
1542 aText = _rxField->getString().getStr(); in GetFormatText()
1543 if (_rxField->wasNull()) in GetFormatText()
1561 void DbFormattedField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField,… in UpdateFromField() argument
1566 if (!_rxField.is()) in UpdateFromField()
1577 double dValue = getValue( _rxField, m_rColumn.GetParent().getNullDate() ); in UpdateFromField()
1578 if (_rxField->wasNull()) in UpdateFromField()
1587 String sText( _rxField->getString()); in UpdateFromField()
1707 static void lcl_setCheckBoxState( const Reference< ::com::sun::star::sdb::XColumn >& _rxField, in lcl_setCheckBoxState() argument
1711 if (_rxField.is()) in lcl_setCheckBoxState()
1715 sal_Bool bValue = _rxField->getBoolean(); in lcl_setCheckBoxState()
1716 if (!_rxField->wasNull()) in lcl_setCheckBoxState()
1728 void DbCheckBox::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const… in UpdateFromField() argument
1730 lcl_setCheckBoxState( _rxField, static_cast<CheckBoxControl*>(m_pWindow) ); in UpdateFromField()
1735 const Reference< ::com::sun::star::sdb::XColumn >& _rxField, in PaintFieldToCell()
1738 lcl_setCheckBoxState( _rxField, static_cast<CheckBoxControl*>(m_pPainter) ); in PaintFieldToCell()
1739 DbCellControl::PaintFieldToCell( rDev, rRect, _rxField, xFormatter ); in PaintFieldToCell()
1834 String DbPatternField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, c… in GetFormatText() argument
1836 bool bIsForPaint = _rxField != m_rColumn.GetField(); in GetFormatText()
1843 m_aContext, getCursor(), Reference< XPropertySet >( _rxField, UNO_QUERY ) ); in GetFormatText()
1847 …OSL_ENSURE( rpFormatter->getColumn() == _rxField, "DbPatternField::GetFormatText: my value formatt… in GetFormatText()
1858 void DbPatternField::UpdateFromField( const Reference< XColumn >& _rxField, const Reference< XNumbe… in UpdateFromField() argument
1860 static_cast< Edit* >( m_pWindow )->SetText( GetFormatText( _rxField, _rxFormatter ) ); in UpdateFromField()
2003 const Reference< XColumn >& _rxField, const Reference< XNumberFormatter >& _rxFormatter ) in lcl_setFormattedNumeric_nothrow()
2006 if ( _rxField.is() ) in lcl_setFormattedNumeric_nothrow()
2010 double fValue = _rControl.GetValue( _rxField, _rxFormatter ); in lcl_setFormattedNumeric_nothrow()
2011 if ( !_rxField->wasNull() ) in lcl_setFormattedNumeric_nothrow()
2027 String DbNumericField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, c… in GetFormatText() argument
2029 …meric_nothrow( *dynamic_cast< DoubleNumericField* >( m_pPainter ), *this, _rxField, _rxFormatter ); in GetFormatText()
2033 void DbNumericField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, c… in UpdateFromField() argument
2035 …umeric_nothrow( *dynamic_cast< DoubleNumericField* >( m_pWindow ), *this, _rxField, _rxFormatter ); in UpdateFromField()
2125 double DbCurrencyField::GetCurrency(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, co… in GetCurrency() argument
2127 double fValue = GetValue(_rxField, xFormatter); in GetCurrency()
2141 const Reference< XColumn >& _rxField, const Reference< XNumberFormatter >& _rxFormatter ) in lcl_setFormattedCurrency_nothrow()
2144 if ( _rxField.is() ) in lcl_setFormattedCurrency_nothrow()
2148 double fValue = _rControl.GetCurrency( _rxField, _rxFormatter ); in lcl_setFormattedCurrency_nothrow()
2149 if ( !_rxField->wasNull() ) in lcl_setFormattedCurrency_nothrow()
2167 String DbCurrencyField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, … in GetFormatText() argument
2169 …rrency_nothrow( *dynamic_cast< LongCurrencyField* >( m_pPainter ), *this, _rxField, _rxFormatter ); in GetFormatText()
2173 void DbCurrencyField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, … in UpdateFromField() argument
2175 …urrency_nothrow( *dynamic_cast< LongCurrencyField* >( m_pWindow ), *this, _rxField, _rxFormatter ); in UpdateFromField()
2286 …tic String lcl_setFormattedDate_nothrow( DateField& _rField, const Reference< XColumn >& _rxField ) in lcl_setFormattedDate_nothrow() argument
2289 if ( _rxField.is() ) in lcl_setFormattedDate_nothrow()
2293 ::com::sun::star::util::Date aValue = _rxField->getDate(); in lcl_setFormattedDate_nothrow()
2294 if ( _rxField->wasNull() ) in lcl_setFormattedDate_nothrow()
2311 String DbDateField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, cons… in GetFormatText() argument
2313 return lcl_setFormattedDate_nothrow( *dynamic_cast< DateField* >( m_pPainter ), _rxField ); in GetFormatText()
2317 void DbDateField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, cons… in UpdateFromField() argument
2319 lcl_setFormattedDate_nothrow( *dynamic_cast< DateField* >( m_pWindow ), _rxField ); in UpdateFromField()
2396 …tic String lcl_setFormattedTime_nothrow( TimeField& _rField, const Reference< XColumn >& _rxField ) in lcl_setFormattedTime_nothrow() argument
2399 if ( _rxField.is() ) in lcl_setFormattedTime_nothrow()
2403 ::com::sun::star::util::Time aValue = _rxField->getTime(); in lcl_setFormattedTime_nothrow()
2404 if ( _rxField->wasNull() ) in lcl_setFormattedTime_nothrow()
2421 String DbTimeField::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, cons… in GetFormatText() argument
2423 return lcl_setFormattedTime_nothrow( *static_cast< TimeField* >( m_pPainter ), _rxField ); in GetFormatText()
2427 void DbTimeField::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, cons… in UpdateFromField() argument
2429 lcl_setFormattedTime_nothrow( *static_cast< TimeField* >( m_pWindow ), _rxField ); in UpdateFromField()
2549 String DbComboBox::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const… in GetFormatText() argument
2552 if (_rxField.is()) in GetFormatText()
2555 …aString = getFormattedValue( _rxField, xFormatter, m_rColumn.GetParent().getNullDate(), m_rColumn.… in GetFormatText()
2565 void DbComboBox::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const… in UpdateFromField() argument
2567 m_pWindow->SetText(GetFormatText(_rxField, xFormatter)); in UpdateFromField()
2675 String DbListBox::GetFormatText(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const … in GetFormatText() argument
2678 if ( _rxField.is() ) in GetFormatText()
2682 sText = _rxField->getString(); in GetFormatText()
2701 void DbListBox::UpdateFromField(const Reference< ::com::sun::star::sdb::XColumn >& _rxField, const … in UpdateFromField() argument
2703 String sFormattedText( GetFormatText( _rxField, xFormatter ) ); in UpdateFromField()
3589 const Reference< ::com::sun::star::sdb::XColumn >& _rxField, in PaintFieldToCell()
3592 m_pCellControl->PaintFieldToCell( rDev, rRect, _rxField, xFormatter ); in PaintFieldToCell()
3615 const Reference< ::com::sun::star::sdb::XColumn >& _rxField, in PaintFieldToCell()
3620 FmXDataCell::PaintFieldToCell( rDev, rRect, _rxField, xFormatter ); in PaintFieldToCell()
3641 String aText = GetText(_rxField, xFormatter, &pColor); in PaintFieldToCell()