Searched refs:nMaxTextLen (Results 1 – 3 of 3) sorted by relevance
731 … sal_uInt16 nMaxTextLen = getINT16( m_xAggregateSet->getPropertyValue( PROPERTY_MAXTEXTLEN ) ); in translateDbColumnToControlValue() local732 if ( nMaxTextLen && sValue.getLength() > nMaxTextLen ) in translateDbColumnToControlValue()734 sal_Int32 nDiff = sValue.getLength() - nMaxTextLen; in translateDbColumnToControlValue()735 sValue = sValue.replaceAt( nMaxTextLen, nDiff, ::rtl::OUString() ); in translateDbColumnToControlValue()
315 xub_StrLen nMaxTextLen = EDIT_NOLIMIT; in InitCellController() local323 …nMaxTextLen = ((xub_StrLen)xMetaData.is() ? static_cast<xub_StrLen>(xMetaData->getMaxColumnNameLen… in InitCellController()325 if( nMaxTextLen == 0 ) in InitCellController()326 nMaxTextLen = EDIT_NOLIMIT; in InitCellController()336 pNameCell->SetMaxTextLen( nMaxTextLen ); in InitCellController()972 xub_StrLen nMaxTextLen((xub_StrLen)( xMetaData.is() ? xMetaData->getMaxColumnNameLength() : 0)); in GenerateName() local974 if( (rName.Len()+2) >nMaxTextLen ) in GenerateName()975 aBaseName = rName.Copy( 0, nMaxTextLen-2 ); in GenerateName()
1217 xub_StrLen nMaxTextLen = m_pEdit->GetMaxTextLen(); in updateFromModel() local1218 if ( EDIT_NOLIMIT != nMaxTextLen && sText.getLength() > nMaxTextLen ) in updateFromModel()1220 sal_Int32 nDiff = sText.getLength() - nMaxTextLen; in updateFromModel()1234 xub_StrLen nMaxTextLen = m_pEdit->GetMaxTextLen(); in commitControl() local1235 if ( EDIT_NOLIMIT != nMaxTextLen ) in commitControl()1240 if ( sOldValue.getLength() > nMaxTextLen && sOldValue.compareTo(aText,nMaxTextLen) == 0 ) in commitControl()
Completed in 68 milliseconds