Home
last modified time | relevance | path

Searched refs:nMaxTextLen (Results 1 – 3 of 3) sorted by relevance

/aoo41x/main/forms/source/component/
H A DEdit.cxx731 … sal_uInt16 nMaxTextLen = getINT16( m_xAggregateSet->getPropertyValue( PROPERTY_MAXTEXTLEN ) ); in translateDbColumnToControlValue() local
732 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()
/aoo41x/main/dbaccess/source/ui/tabledesign/
H A DTEditControl.cxx315 xub_StrLen nMaxTextLen = EDIT_NOLIMIT; in InitCellController() local
323nMaxTextLen = ((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() local
974 if( (rName.Len()+2) >nMaxTextLen ) in GenerateName()
975 aBaseName = rName.Copy( 0, nMaxTextLen-2 ); in GenerateName()
/aoo41x/main/svx/source/fmcomp/
H A Dgridcell.cxx1217 xub_StrLen nMaxTextLen = m_pEdit->GetMaxTextLen(); in updateFromModel() local
1218 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() local
1235 if ( EDIT_NOLIMIT != nMaxTextLen ) in commitControl()
1240 if ( sOldValue.getLength() > nMaxTextLen && sOldValue.compareTo(aText,nMaxTextLen) == 0 ) in commitControl()

Completed in 96 milliseconds