Lines Matching refs:rInfo

1927     const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info();  in GetOutputString()  local
1928 if (rInfo.eScannedType == NUMBERFORMAT_TEXT) in GetOutputString()
1934 switch (rInfo.nTypeArray[i]) in GetOutputString()
1940 OutString += rInfo.sStrArray[i].GetChar(1); in GetOutputString()
1946 rInfo.sStrArray[i].GetChar(1) ); in GetOutputString()
1953 OutString += rInfo.sStrArray[i]; in GetOutputString()
2166 const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); in GetOutputString() local
2168 if (nAnz == 0 && rInfo.eScannedType == NUMBERFORMAT_UNDEFINED) in GetOutputString()
2175 switch (rInfo.eScannedType) in GetOutputString()
2182 switch (rInfo.nTypeArray[i]) in GetOutputString()
2188 OutString += rInfo.sStrArray[i].GetChar(1); in GetOutputString()
2194 rInfo.sStrArray[i].GetChar(1) ); in GetOutputString()
2198 OutString += rInfo.sStrArray[i]; in GetOutputString()
2201 if (rInfo.nThousand == 0) in GetOutputString()
2202 OutString += rInfo.sStrArray[i]; in GetOutputString()
2238 if (fNum > _D_MAX_U_LONG_ || rInfo.nCntExp > 9) in GetOutputString()
2244 if (rInfo.nCntExp == 0) in GetOutputString()
2250 pow(10.0,rInfo.nCntExp))) - 1; in GetOutputString()
2253 if (rInfo.nCntExp <= _MAX_FRACTION_PREC) in GetOutputString()
2401 pow(10.0,rInfo.nCntExp))); in GetOutputString()
2411 if (rInfo.nCntPre == 0) // unechter Bruch in GetOutputString()
2431 if (rInfo.nCntPre > 0 && nFrac == 0) in GetOutputString()
2446 if (rInfo.nTypeArray[j] == NF_SYMBOLTYPE_FRAC) in GetOutputString()
2448 if (rInfo.nCntPre > 0 && nFrac == 0) in GetOutputString()
2451 sDiv.Insert( rInfo.sStrArray[j].GetChar(0), 0 ); in GetOutputString()
2463 if (rInfo.nTypeArray[j] == NF_SYMBOLTYPE_FRACBLANK) in GetOutputString()
2465 sFrac.Insert(rInfo.sStrArray[j],0); in GetOutputString()
2479 rInfo.nCntPre); in GetOutputString()
2499 rInfo.nCntPre + rInfo.nCntPost - 1, '.' )); in GetOutputString()
2520 if ( rInfo.nCntPre != 1 ) // rescale Exp in GetOutputString()
2523 nExp -= sal_Int32(rInfo.nCntPre)-1; in GetOutputString()
2545 if (rInfo.nTypeArray[j] == NF_SYMBOLTYPE_EXP) in GetOutputString()
2547 const String& rStr = rInfo.sStrArray[j]; in GetOutputString()
2565 rInfo.nCntPre + in GetOutputString()
2566 rInfo.nCntPost); in GetOutputString()
2594 const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); in ImpGetTimeOutput() local
2595 if (rInfo.bThousand) // []-Format in ImpGetTimeOutput()
2608 0 < rInfo.nCntPost && rInfo.nCntPost < 7 ) in ImpGetTimeOutput()
2616 nCntPost = xub_StrLen(rInfo.nCntPost); in ImpGetTimeOutput()
2618 if (bSign && !rInfo.bThousand) // kein []-Format in ImpGetTimeOutput()
2639 if ( sSecStr.Len() < xub_StrLen(rInfo.nCntPost) ) in ImpGetTimeOutput()
2640 sSecStr.Expand( xub_StrLen(rInfo.nCntPost), '0' ); in ImpGetTimeOutput()
2650 if (!rInfo.bThousand) // kein [] Format in ImpGetTimeOutput()
2656 else if (rInfo.nThousand == 3) // [ss] in ImpGetTimeOutput()
2662 else if (rInfo.nThousand == 2) // [mm]:ss in ImpGetTimeOutput()
2668 else if (rInfo.nThousand == 1) // [hh]:mm:ss in ImpGetTimeOutput()
2682 if (rInfo.nCntExp) // AM/PM in ImpGetTimeOutput()
2701 switch (rInfo.nTypeArray[i]) in ImpGetTimeOutput()
2707 OutString += rInfo.sStrArray[i].GetChar(1); in ImpGetTimeOutput()
2713 rInfo.sStrArray[i].GetChar(1) ); in ImpGetTimeOutput()
2720 OutString += rInfo.sStrArray[i]; in ImpGetTimeOutput()
2725 (rInfo.nTypeArray[i-1] == NF_SYMBOLTYPE_STRING || in ImpGetTimeOutput()
2726 rInfo.nTypeArray[i-1] == NF_SYMBOLTYPE_TIME100SECSEP) ? in ImpGetTimeOutput()
2727 nCntPost : rInfo.sStrArray[i].Len() ); in ImpGetTimeOutput()
2782 if (bSign && rInfo.bThousand) in ImpGetTimeOutput()
2792 const ImpSvNumberformatInfo& rInfo = rNumFor.Info(); in ImpIsOtherCalendar() local
2797 switch ( rInfo.nTypeArray[i] ) in ImpIsOtherCalendar()
2889 const ImpSvNumberformatInfo& rInfo = rNumFor.Info(); in ImpSwitchToSpecifiedCalendar() local
2893 if ( rInfo.nTypeArray[i] == NF_SYMBOLTYPE_CALENDAR ) in ImpSwitchToSpecifiedCalendar()
2901 rCal.loadCalendar( rInfo.sStrArray[i], rLoc().getLocale() ); in ImpSwitchToSpecifiedCalendar()
2952 const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); in ImpGetDateOutput() local
2957 switch (rInfo.nTypeArray[i]) in ImpGetDateOutput()
2965 rCal.loadCalendar( rInfo.sStrArray[i], rLoc().getLocale() ); in ImpGetDateOutput()
2973 OutString += rInfo.sStrArray[i].GetChar(1); in ImpGetDateOutput()
2979 rInfo.sStrArray[i].GetChar(1) ); in ImpGetDateOutput()
2986 OutString += rInfo.sStrArray[i]; in ImpGetDateOutput()
3129 const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); in ImpGetDateTimeOutput() local
3133 0 < rInfo.nCntPost && rInfo.nCntPost < 7 ) in ImpGetDateTimeOutput()
3141 nCntPost = xub_StrLen(rInfo.nCntPost); in ImpGetDateTimeOutput()
3170 if ( sSecStr.Len() < xub_StrLen(rInfo.nCntPost) ) in ImpGetDateTimeOutput()
3171 sSecStr.Expand( xub_StrLen(rInfo.nCntPost), '0' ); in ImpGetDateTimeOutput()
3181 if (!rInfo.bThousand) // [] Format in ImpGetDateTimeOutput()
3187 else if (rInfo.nThousand == 3) // [ss] in ImpGetDateTimeOutput()
3193 else if (rInfo.nThousand == 2) // [mm]:ss in ImpGetDateTimeOutput()
3199 else if (rInfo.nThousand == 1) // [hh]:mm:ss in ImpGetDateTimeOutput()
3211 if (rInfo.nCntExp) // AM/PM in ImpGetDateTimeOutput()
3230 switch (rInfo.nTypeArray[i]) in ImpGetDateTimeOutput()
3238 rCal.loadCalendar( rInfo.sStrArray[i], rLoc().getLocale() ); in ImpGetDateTimeOutput()
3246 OutString += rInfo.sStrArray[i].GetChar(1); in ImpGetDateTimeOutput()
3252 rInfo.sStrArray[i].GetChar(1) ); in ImpGetDateTimeOutput()
3259 OutString += rInfo.sStrArray[i]; in ImpGetDateTimeOutput()
3264 (rInfo.nTypeArray[i-1] == NF_SYMBOLTYPE_STRING || in ImpGetDateTimeOutput()
3265 rInfo.nTypeArray[i-1] == NF_SYMBOLTYPE_TIME100SECSEP) ? in ImpGetDateTimeOutput()
3266 nCntPost : rInfo.sStrArray[i].Len() ); in ImpGetDateTimeOutput()
3460 const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); in ImpGetNumberOutput() local
3461 if (rInfo.eScannedType == NUMBERFORMAT_PERCENT) in ImpGetNumberOutput()
3476 if ( rInfo.nThousand != FLAG_STANDARD_IN_FORMAT ) in ImpGetNumberOutput()
3478 const sal_uInt16 nThousand = rInfo.nThousand; in ImpGetNumberOutput()
3490 if (rInfo.nCntPost) // NachkommaStellen in ImpGetNumberOutput()
3492 if (rInfo.nCntPost + nPrecExp > 15 && nPrecExp < 15) in ImpGetNumberOutput()
3496 for (long l = 15-nPrecExp; l < (long) rInfo.nCntPost; l++) in ImpGetNumberOutput()
3501 rtl_math_StringFormat_F, rInfo.nCntPost, '.' ); in ImpGetNumberOutput()
3535 if (rInfo.nCntPost > 0) in ImpGetNumberOutput()
3541 (nType = rInfo.nTypeArray[j]) != NF_SYMBOLTYPE_DECSEP) in ImpGetNumberOutput()
3549 sStr.Insert(rInfo.sStrArray[j].GetChar(1),k); in ImpGetNumberOutput()
3554 /*k = */ InsertBlanks( sStr,k,rInfo.sStrArray[j].GetChar(1) ); in ImpGetNumberOutput()
3559 sStr.Insert(rInfo.sStrArray[j],k); in ImpGetNumberOutput()
3562 if (rInfo.nThousand == 0) in ImpGetNumberOutput()
3563 sStr.Insert(rInfo.sStrArray[j],k); in ImpGetNumberOutput()
3567 const String& rStr = rInfo.sStrArray[j]; in ImpGetNumberOutput()
3616 rInfo.nCntPre); in ImpGetNumberOutput()
3617 if ( rInfo.nCntPost > 0 ) in ImpGetNumberOutput()
3643 const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); in ImpNumberFillWithThousands() local
3645 sal_Bool bDoThousands = (rInfo.nThousand == 0); in ImpNumberFillWithThousands()
3652 switch (rInfo.nTypeArray[j]) in ImpNumberFillWithThousands()
3660 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFillWithThousands()
3663 nLeadingStringChars + rInfo.sStrArray[j].Len(); in ImpNumberFillWithThousands()
3669 sStr.Insert(rInfo.sStrArray[j].GetChar(1),k); in ImpNumberFillWithThousands()
3674 /*k = */ InsertBlanks( sStr,k,rInfo.sStrArray[j].GetChar(1) ); in ImpNumberFillWithThousands()
3689 (rInfo.nTypeArray[j-1] != NF_SYMBOLTYPE_DIGIT && in ImpNumberFillWithThousands()
3690 rInfo.nTypeArray[j-1] != NF_SYMBOLTYPE_THSEP) || in ImpNumberFillWithThousands()
3691 (rInfo.nTypeArray[j+1] == NF_SYMBOLTYPE_DIGIT)); in ImpNumberFillWithThousands()
3695 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFillWithThousands()
3704 if (j > 0 && rInfo.nTypeArray[j-1] == NF_SYMBOLTYPE_DIGIT) in ImpNumberFillWithThousands()
3706 const String& rStr = rInfo.sStrArray[j-1]; in ImpNumberFillWithThousands()
3727 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFillWithThousands()
3736 const String& rStr = rInfo.sStrArray[j]; in ImpNumberFillWithThousands()
3821 const ImpSvNumberformatInfo& rInfo = NumFor[nIx].Info(); in ImpNumberFill() local
3823 sal_Bool bDoThousands = (rInfo.nThousand == 0); in ImpNumberFill()
3825 while (j > 0 && (nType = rInfo.nTypeArray[j]) != eSymbolType ) in ImpNumberFill()
3833 sStr.Insert(rInfo.sStrArray[j].GetChar(1),k); in ImpNumberFill()
3838 k = InsertBlanks( sStr,k,rInfo.sStrArray[j].GetChar(1) ); in ImpNumberFill()
3848 (rInfo.nTypeArray[j-1] != NF_SYMBOLTYPE_DIGIT && in ImpNumberFill()
3849 rInfo.nTypeArray[j-1] != NF_SYMBOLTYPE_THSEP) || in ImpNumberFill()
3850 (rInfo.nTypeArray[j+1] == NF_SYMBOLTYPE_DIGIT)); in ImpNumberFill()
3853 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFill()
3859 const String& rStr = rInfo.sStrArray[j]; in ImpNumberFill()
3894 sStr.Insert(rInfo.sStrArray[j],k); in ImpNumberFill()
3930 const ImpSvNumberformatInfo& rInfo = NumFor[nNumFor].Info(); in GetNumForInfo() local
3931 rScannedType = rInfo.eScannedType; in GetNumForInfo()
3932 bThousand = rInfo.bThousand; in GetNumForInfo()
3933 nPrecision = rInfo.nCntPost; in GetNumForInfo()
3934 if (bStandard && rInfo.eScannedType == NUMBERFORMAT_NUMBER) in GetNumForInfo()
3945 short nType = rInfo.nTypeArray[i]; in GetNumForInfo()
3948 const sal_Unicode* p = rInfo.sStrArray[i].GetBuffer(); in GetNumForInfo()