Lines Matching refs:nFieldLen
434 sal_Int32 nFieldLen = 0; in lcl_GetColumnTypes() local
454 nFieldLen = 1; in lcl_GetColumnTypes()
460 nFieldLen = 8; in lcl_GetColumnTypes()
466 nFieldLen = 10; in lcl_GetColumnTypes()
481 if ( bTypeDefined && !nFieldLen && nToken > 2 ) in lcl_GetColumnTypes()
483 nFieldLen = aString.GetToken( 2, ',' ).ToInt32(); in lcl_GetColumnTypes()
561 nFieldLen = 1; in lcl_GetColumnTypes()
565 nFieldLen = 8; in lcl_GetColumnTypes()
579 if ( nDbType == sdbc::DataType::VARCHAR && !nFieldLen ) in lcl_GetColumnTypes()
581 nFieldLen = pDoc->GetMaxStringLen( nTab, nCol, nFirstDataRow, in lcl_GetColumnTypes()
583 if ( nFieldLen == 0 ) in lcl_GetColumnTypes()
584 nFieldLen = 1; in lcl_GetColumnTypes()
604 if ( nLen > nFieldLen && !bTypeDefined ) in lcl_GetColumnTypes()
605 nFieldLen = nLen; in lcl_GetColumnTypes()
608 if ( nFieldLen == 0 ) in lcl_GetColumnTypes()
609 nFieldLen = 1; in lcl_GetColumnTypes()
610 else if ( nFieldLen > 19 ) in lcl_GetColumnTypes()
611 nFieldLen = 19; // dBaseIII Limit Feldlaenge numerisch: 19 in lcl_GetColumnTypes()
612 if ( nPrecision && nFieldLen < nPrecision + 2 ) in lcl_GetColumnTypes()
613 nFieldLen = nPrecision + 2; // 0. muss mit reinpassen in lcl_GetColumnTypes()
618 if ( nFieldLen == 1 && nPrecision == 0 ) in lcl_GetColumnTypes()
620 nFieldLen = SvDbaseConverter::ConvertPrecisionToOdbc( nFieldLen, nPrecision ); in lcl_GetColumnTypes()
623 if ( nFieldLen > 254 ) in lcl_GetColumnTypes()
628 nFieldLen = 10; in lcl_GetColumnTypes()
632 nFieldLen = 254; // dumm gelaufen.. in lcl_GetColumnTypes()
637 pColLengths[nField] = nFieldLen; in lcl_GetColumnTypes()
643 nFieldLen = SvDbaseConverter::ConvertPrecisionToDbase( nFieldLen, nPrecision ); in lcl_GetColumnTypes()
644 if ( bSdbLenBad && nFieldLen == 1 ) in lcl_GetColumnTypes()
645 nFieldLen = 2; // THIS is reality in lcl_GetColumnTypes()
663 aOutString += String::CreateFromInt32( nFieldLen ); in lcl_GetColumnTypes()
667 aOutString += String::CreateFromInt32( nFieldLen ); in lcl_GetColumnTypes()