/trunk/main/connectivity/source/commontools/ |
H A D | dbtools2.cxx | 78 sal_Int32 nPrecision = 0; in createStandardColumnPart() local 86 nDataType = nPrecision = nScale = 0; in createStandardColumnPart() 90 xColProp->getPropertyValue(rPropMap.getNameByIndex(PROPERTY_ID_PRECISION)) >>= nPrecision; in createStandardColumnPart() 133 if ( (nPrecision > 0 || nScale > 0) && bUseLiteral ) in createStandardColumnPart() 146 if ( nPrecision > 0 && nDataType != DataType::TIMESTAMP ) in createStandardColumnPart() 148 aSql.append(nPrecision); in createStandardColumnPart()
|
/trunk/main/connectivity/source/drivers/ado/ |
H A D | AColumns.cxx | 81 sal_Int32 nPrecision; in appendObject() local 84 nPrecision = aColumn.get_Precision(); in appendObject()
|
H A D | AConnection.cxx | 452 aInfo->aSimpleType.nPrecision = ADOS::getField(pRecordset,nPos++).get_Value(); in buildTypeInfo() 552 … sal_Int32 nDBTypePrecision = pInfo->aSimpleType.nPrecision; (void)nDBTypePrecision; in getTypeInfoFromType() 559 && (pInfo->aSimpleType.nPrecision >= _nPrecision) in getTypeInfoFromType() 572 && (aIter->second->aSimpleType.nPrecision >= _nPrecision) in getTypeInfoFromType()
|
H A D | AStatement.cxx | 227 prec = ::std::max(prec,(*aIter).nPrecision); in getPrecision()
|
/trunk/main/connectivity/source/drivers/calc/ |
H A D | CTable.cxx | 484 sal_Int32 nPrecision = 0; //! ... in fillColumns() local 526 ColumnValue::NULLABLE, nPrecision, nDecimals, in fillColumns() 532 m_aPrecisions.push_back(nPrecision); in fillColumns()
|
/trunk/main/connectivity/source/drivers/dbase/ |
H A D | DTable.cxx | 356 sal_Int32 nPrecision = aDBFColumn.db_flng; in fillColumns() local 381 nPrecision = SvDbaseConverter::ConvertPrecisionToOdbc(nPrecision,aDBFColumn.db_dez); in fillColumns() 416 nPrecision = 2147483647; in fillColumns() 421 nPrecision = 2147483647; in fillColumns() 434 nPrecision = 2147483647; in fillColumns() 442 m_aPrecisions.push_back(nPrecision); in fillColumns() 450 nPrecision, in fillColumns() 1281 sal_Int32 nPrecision = 0; in CreateFile() local 1342 if (nPrecision > 254) in CreateFile() 1352 OSL_ENSURE(nPrecision >= nScale, in CreateFile() [all …]
|
/trunk/main/connectivity/source/drivers/file/ |
H A D | FPreparedStatement.cxx | 491 sal_uInt32 nPrecision = 255; in AddParameter() local 501 …tPropertyValue(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PRECISION)) >>= nPrecision; in AddParameter() 512 ,nPrecision in AddParameter()
|
/trunk/main/connectivity/source/drivers/odbcbase/ |
H A D | OConnection.cxx | 522 aInfo.nPrecision = aValue; in buildTypeInfo() 567 if( aInfo.nPrecision < 0) in buildTypeInfo() 568 aInfo.nPrecision = 0; in buildTypeInfo()
|
H A D | OPreparedStatement.cxx | 833 prec = (*aIter).nPrecision; in getPrecision()
|
/trunk/main/connectivity/source/inc/ |
H A D | OTypeInfo.hxx | 41 sal_Int32 nPrecision; // Laenge des Types member 59 :nPrecision(0) in OTypeInfo()
|
/trunk/main/cui/source/tabpages/ |
H A D | numfmt.cxx | 1706 sal_uInt16 nPrecision = (aEdDecimals.IsEnabled()) in IMPL_LINK() local 1715 nPrecision, nLeadZeroes, in IMPL_LINK()
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | FieldDescControl.cxx | 1320 if (pFieldType->nPrecision) in DisplayData() 1323 pLength->SetMax(::std::max<sal_Int32>(pFieldType->nPrecision,pFieldDescr->GetPrecision())); in DisplayData() 1351 if (pFieldType->nPrecision) in DisplayData() 1354 pTextLen->SetMax(::std::max<sal_Int32>(pFieldType->nPrecision,pFieldDescr->GetPrecision())); in DisplayData() 1544 if(pFieldDescr->GetPrecision() > aIter->second->nPrecision) in DisplayData() 1545 pFieldDescr->SetPrecision(aIter->second->nPrecision); in DisplayData()
|
/trunk/main/dbaccess/source/ui/inc/ |
H A D | TypeInfo.hxx | 91 sal_Int32 nPrecision; // Laenge des Types member in dbaui::OTypeInfo 107 :nPrecision(0) in OTypeInfo()
|
/trunk/main/dbaccess/source/ui/misc/ |
H A D | DExport.cxx | 240 m_pTypeInfo->nPrecision = aValue; in ODatabaseExport() 279 if( m_pTypeInfo->nPrecision < 0) in ODatabaseExport() 280 m_pTypeInfo->nPrecision = 0; in ODatabaseExport() 631 (*aIter)->second->SetPrecision(::std::min<sal_Int32>(aFind->second->nPrecision,nLength)); in SetColumnTypes() 682 pField->SetPrecision(::std::min<sal_Int32>((sal_Int32)255,m_pTypeInfo->nPrecision)); in CreateDefaultColumn()
|
H A D | UITools.cxx | 534 sal_Int32 nDBTypePrecision = aIter->second->nPrecision; (void)nDBTypePrecision; in getTypeInfoFromType() 548 (aIter->second->nPrecision >= _nPrecision) in getTypeInfoFromType() 561 sal_Int32 nPrec = aIter->second->nPrecision; in getTypeInfoFromType() 597 sal_Int32 nPrec = aIter->second->nPrecision; in getTypeInfoFromType() 711 pInfo->nPrecision = aValue; in fillTypeInfo() 752 if( pInfo->nPrecision < 0) in fillTypeInfo() 753 pInfo->nPrecision = 0; in fillTypeInfo()
|
H A D | WCopyTable.cxx | 1145 sal_Int32 nPrecision = pActFieldDescr->GetPrecision(); in loadData() local 1151 … ::dbaui::getTypeInfoFromType(m_aTypeInfo,nType,sTypeName,sCreateParam,nPrecision,nScale,bAutoIncr… in loadData() 1546 …TypeInfo,_pType->nType,_pType->aTypeName,_pType->aCreateParams,_pType->nPrecision,_pType->nMaximum… in convertType() 1622 …tTypeInfo,nDefaultType,_pType->aTypeName,_pType->aCreateParams,_pType->nPrecision,_pType->nMaximum… in convertType()
|
/trunk/main/dbaccess/source/ui/tabledesign/ |
H A D | FieldDescriptions.cxx | 228 SetPrecision(::std::min<sal_Int32>(nPrec,_pType->nPrecision)); in FillFromTypeInfo() 246 nPrec = _pType->nPrecision; in FillFromTypeInfo() 254 if ( _pType->nPrecision ) in FillFromTypeInfo() 255 … SetPrecision(::std::min<sal_Int32>(nPrec ? nPrec : DEFAULT_NUMERIC_PRECSION,_pType->nPrecision)); in FillFromTypeInfo() 262 SetPrecision(_pType->nPrecision); in FillFromTypeInfo() 577 nPrec = pTypeInfo->nPrecision; in GetPrecision() 626 pSpecialType->nPrecision = GetPrecision(); in getSpecialTypeInfo()
|
H A D | TableController.cxx | 859 sal_Int32 nPrecision = 0; in loadData() local 876 xColumn->getPropertyValue(PROPERTY_PRECISION) >>= nPrecision; in loadData() 894 …nfo = ::dbaui::getTypeInfoFromType(m_aTypeInfo,nType,sTypeName,sCreate,nPrecision,nScale,bIsAutoIn… in loadData() 916 pActFieldDescr->SetPrecision(nPrecision); in loadData() 1082 sal_Int32 nType=0,nPrecision=0,nScale=0,nNullable=0; in alterColumns() local 1087 xColumn->getPropertyValue(PROPERTY_PRECISION) >>= nPrecision; in alterColumns() 1107 (nPrecision != pField->GetPrecision() && nPrecision ) || in alterColumns()
|
/trunk/main/dbaccess/source/ui/uno/ |
H A D | ColumnPeer.cxx | 92 sal_Int32 nPrecision = 0; in setColumn() local 102 _xColumn->getPropertyValue(PROPERTY_PRECISION) >>= nPrecision; in setColumn() 113 …nfoFromType(*pFieldControl->getTypeInfo(),nType,sTypeName,sCreateParam,nPrecision,nScale,bAutoIncr… in setColumn()
|
/trunk/main/extensions/source/propctrlr/ |
H A D | usercontrol.hxx | 120 …DecimalDigits(sal_uInt16 nPrecision) { getTypedControlWindow()->SetDecimalDigits(nPrecision); m_nL… in SetDecimalDigits() argument
|
/trunk/main/filter/source/graphicfilter/icgm/ |
H A D | bitmap.cxx | 249 sal_uInt32 nPrecision = mpCGM->pElement->nIntegerPrecision; in ImplGetDimensions() local 250 rDesc.mnX = mpCGM->ImplGetUI( nPrecision ); in ImplGetDimensions() 251 rDesc.mnY = mpCGM->ImplGetUI( nPrecision ); in ImplGetDimensions() 252 rDesc.mnLocalColorPrecision = mpCGM->ImplGetI( nPrecision ); in ImplGetDimensions() 299 sal_uInt32 nHeaderSize = 2 + 3 * nPrecision + 3 * mpCGM->ImplGetPointSize(); in ImplGetDimensions()
|
H A D | cgm.cxx | 193 sal_uInt8 CGM::ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision ) in ImplGetByte() argument 195 return (sal_uInt8)( nSource >> ( ( nPrecision - 1 ) << 3 ) ); in ImplGetByte() 200 long CGM::ImplGetI( sal_uInt32 nPrecision ) in ImplGetI() argument 203 mnParaSize += nPrecision; in ImplGetI() 204 switch( nPrecision ) in ImplGetI() 232 sal_uInt32 CGM::ImplGetUI( sal_uInt32 nPrecision ) in ImplGetUI() argument 235 mnParaSize += nPrecision; in ImplGetUI() 236 switch( nPrecision ) in ImplGetUI()
|
H A D | cgm.hxx | 116 sal_uInt8 ImplGetByte( sal_uInt32 nSource, sal_uInt32 nPrecision ); 117 long ImplGetI( sal_uInt32 nPrecision ); 118 sal_uInt32 ImplGetUI( sal_uInt32 nPrecision );
|
/trunk/main/odk/examples/DevelopersGuide/Database/DriverSkeleton/ |
H A D | OTypeInfo.hxx | 40 sal_Int32 nPrecision; // Laenge des Types member 66 ,nPrecision(0) in OTypeInfo()
|
H A D | SConnection.cxx | 339 aInfo.nPrecision = xRow->getInt (3); in buildTypeInfo()
|