Home
last modified time | relevance | path

Searched refs:pFormatter (Results 1 – 25 of 111) sorted by relevance

12345

/AOO41X/main/svl/source/numbers/
H A Dnumfmuno.cxx183 SvNumberFormatter* pFormatter = xSupplier.is() ? xSupplier->GetNumberFormatter() : NULL; in detectNumberFormat() local
184 if (pFormatter) in detectNumberFormat()
189 if ( pFormatter->IsNumberFormat(aTemp, nUKey, fValue) ) in detectNumberFormat()
207 SvNumberFormatter* pFormatter = xSupplier.is() ? xSupplier->GetNumberFormatter() : NULL; in convertStringToNumber() local
208 if (pFormatter) in convertStringToNumber()
213 if ( pFormatter->IsNumberFormat(aTemp, nUKey, fValue) ) in convertStringToNumber()
230 SvNumberFormatter* pFormatter = xSupplier.is() ? xSupplier->GetNumberFormatter() : NULL; in convertNumberToString() local
231 if (pFormatter) in convertNumberToString()
234 pFormatter->GetOutputString(fValue, nKey, aRet, &pColor); in convertNumberToString()
249 SvNumberFormatter* pFormatter = xSupplier.is() ? xSupplier->GetNumberFormatter() : NULL; in queryColorForNumber() local
[all …]
H A Dzforscan.cxx79 pFormatter = pFormatterP; in ImpSvNumberformatScan()
140 pFormatter->GetCharClass()->upper( in InitSpecialKeyword()
141 pFormatter->GetLocaleData()->getTrueWord() ); in InitSpecialKeyword()
150 pFormatter->GetCharClass()->upper( in InitSpecialKeyword()
151 pFormatter->GetLocaleData()->getFalseWord() ); in InitSpecialKeyword()
168 pFormatter->GetCompatibilityCurrency( pThis->sCurSymbol, pThis->sCurAbbrev ); in InitCompatCur()
170 pThis->sCurString = pFormatter->GetCharClass()->upper( sCurSymbol ); in InitCompatCur()
233 const CharClass* pCharClass = pFormatter->GetCharClass(); in SetDependentKeywords()
234 const LocaleDataWrapper* pLocaleData = pFormatter->GetLocaleData(); in SetDependentKeywords()
239 NumberFormatCodeWrapper aNumberFormatCode( pFormatter->GetServiceManager(), aLoadedLocale ); in SetDependentKeywords()
[all …]
H A Dzforfind.cxx85 pFormatter = pFormatterP; in ImpSvNumberInputScan()
159 return pFormatter->GetCharClass()->isDigit( aTmp, 0 ); in MyIsdigit()
174 pFormatter->GetCharClass()->isDigit( rStr, nPos ) ) in TransformInput()
178 rStr = pFormatter->GetNatNum()->getNativeNumberString( rStr, in TransformInput()
179 pFormatter->GetLocale(), 0 ); in TransformInput()
316 const String& rThSep = pFormatter->GetNumThousandSep(); in SkipThousands()
499 const String& rSep = pFormatter->GetNumThousandSep(); in GetThousandSep()
509 pFormatter->GetLocaleData()->getDigitGrouping()); in GetThousandSep()
541 const ImpSvNumberformatScan* pFS = pFormatter->GetFormatScanner(); in GetLogical()
572 sal_Int16 nMonths = pFormatter->GetCalendar()->getNumberOfMonthsInYear(); in GetMonth()
[all …]
H A Dzforscan.hxx47 ImpSvNumberformatScan( SvNumberFormatter* pFormatter );
61 const CharClass& GetChrCls() const { return *pFormatter->GetCharClass(); } in GetChrCls()
62 const LocaleDataWrapper& GetLoc() const { return *pFormatter->GetLocaleData(); } in GetLoc()
63 CalendarWrapper& GetCal() const { return *pFormatter->GetCalendar(); } in GetCal()
146 SvNumberFormatter* GetNumberformatter() { return pFormatter; } in GetNumberformatter()
158 SvNumberFormatter* pFormatter; // Pointer auf die Formatliste member in ImpSvNumberformatScan
H A Dnumuno.cxx48 SvNumberFormatter* pFormatter; member in SvNumFmtSuppl_Impl
52 pFormatter(p) {} in SvNumFmtSuppl_Impl()
80 return pImpl->pFormatter; in GetNumberFormatter()
86 pImpl->pFormatter = pNew; in SetNumberFormatter()
/AOO41X/main/sw/source/ui/utlui/
H A Dnumfmtlb.cxx159 SvNumberFormatter* pFormatter; in SetFormatType() local
162 pFormatter = pOwnFormatter; in SetFormatType()
170 pFormatter = rSh.GetNumberFormatter(); in SetFormatType()
247 sal_uLong nSysNumFmt = pFormatter->GetFormatIndex( in SetFormatType()
249 sal_uLong nSysShortDateFmt = pFormatter->GetFormatIndex( in SetFormatType()
251 sal_uLong nSysLongDateFmt = pFormatter->GetFormatIndex( in SetFormatType()
256 nFormat = pFormatter->GetFormatIndex( in SetFormatType()
258 pFmt = pFormatter->GetEntry( nFormat ); in SetFormatType()
260 if( nFormat == pFormatter->GetFormatIndex( NF_NUMBER_STANDARD, in SetFormatType()
268 pFormatter->GetOutputString( sTxt, nFormat, sValue, &pCol); in SetFormatType()
[all …]
/AOO41X/main/sw/source/core/fields/
H A Dfldbas.cxx502 SvNumberFormatter* pFormatter = pDoc->GetNumberFormatter(); in ExpandValue() local
506 sal_uInt16 nFmtLng = ::lcl_GetLanguageOfFormat( nLng, nFmt, *pFormatter ); in ExpandValue()
513 const SvNumberformat* pEntry = pFormatter->GetEntry(nFmt); in ExpandValue()
517 sal_uInt32 nNewFormat = pFormatter->GetFormatForLanguageIfBuiltIn(nFmt, in ExpandValue()
525 pFormatter->PutandConvertEntry(sFmt, nDummy, nType, nFmt, in ExpandValue()
534 if( pFormatter->IsTextFormat( nFmt ) ) in ExpandValue()
538 pFormatter->GetOutputString(sValue, nFmt, sExpand, &pCol); in ExpandValue()
541 pFormatter->GetOutputString(rVal, nFmt, sExpand, &pCol); in ExpandValue()
553 SvNumberFormatter* pFormatter = pDoc->GetNumberFormatter(); in DoubleToString() local
554 const SvNumberformat* pEntry = pFormatter->GetEntry(nFmt); in DoubleToString()
[all …]
H A Dflddat.cxx66 SvNumberFormatter* pFormatter = GetDoc()->GetNumberFormatter(); in SwDateTimeField() local
68 ChangeFormat(pFormatter->GetFormatIndex(NF_DATE_SYSTEM_SHORT, GetLanguage())); in SwDateTimeField()
70 ChangeFormat(pFormatter->GetFormatIndex(NF_TIME_HHMMSS, GetLanguage())); in SwDateTimeField()
171 SvNumberFormatter* pFormatter = pDoc->GetNumberFormatter(); in GetDateTime() local
172 Date* pNullDate = pFormatter->GetNullDate(); in GetDateTime()
197 SvNumberFormatter* pFormatter = GetDoc()->GetNumberFormatter(); in GetDate() local
198 Date* pNullDate = pFormatter->GetNullDate(); in GetDate()
H A Dusrfld.cxx275 SvNumberFormatter* pFormatter = GetDoc()->GetNumberFormatter(); in GetContent() local
277 pFormatter->GetOutputString(GetValue(), nFmt, sFormattedValue, &pCol); in GetContent()
294 SvNumberFormatter* pFormatter = GetDoc()->GetNumberFormatter(); in SetContent() local
296 if (pFormatter->IsNumberFormat(rStr, nFmt, fValue)) in SetContent()
/AOO41X/main/svx/source/items/
H A Dnumfmtsh.cxx76 pFormatter ( pNumFormatter ), \
155 pFormatter->DeleteEntry( aAddList[i] );
196 pCurFmtTable = &( pFormatter->GetEntryTable( nCurCategory, in CategoryChanged()
212 pCurFmtTable = &(pFormatter->ChangeCL( nCurCategory, in LanguageChanged()
252 sal_uInt32 nAddKey = pFormatter->GetEntryKey( rFormat, eCurLanguage ); in AddFormat()
281 bInserted = pFormatter->PutEntry( rFormat, rErrPos, in AddFormat()
293 pCurFmtTable = &(pFormatter->GetEntryTable( nCurCategory, in AddFormat()
296 nCurCategory=pFormatter->GetType(nAddKey); //@@ ??? in AddFormat()
319 sal_uInt32 nDelKey = pFormatter->GetEntryKey( rFormat, eCurLanguage ); in RemoveFormat()
346 nCurCategory=pFormatter->GetType(nDelKey); //@@ 01.10.97 in RemoveFormat()
[all …]
H A Dnuminf.cxx40 pFormatter ( pNum ), \
103 pFormatter ( rItem.pFormatter ), in SvxNumberInfoItem()
168 pFormatter == rOther.pFormatter && in operator ==()
202 pFormatter = pNumFormatter; in SetNumberFormatter()
/AOO41X/main/xmloff/source/style/
H A Dxmlnumfi.cxx93 SvNumberFormatter* pFormatter; member in SvXMLNumImpData
112 SvNumberFormatter* GetNumberFormatter() const { return pFormatter; } in GetNumberFormatter()
397 : pFormatter(pFmt), in SvXMLNumImpData()
482 if ( !pFormatter ) in RemoveVolatileFormats()
491 const SvNumberformat* pFormat = pFormatter->GetEntry(pObj->nKey); in RemoveVolatileFormats()
493 pFormatter->DeleteEntry( pObj->nKey ); in RemoveVolatileFormats()
619 (pFormatter ? pFormatter->GetServiceManager() : in GetLocaleData()
1467 SvNumberFormatter* pFormatter = pData->GetNumberFormatter(); in SvXMLNumFormatContext() local
1468 if ( pFormatter ) in SvXMLNumFormatContext()
1470 sal_Int32 nNatNum = pFormatter->GetNatNum()->convertFromXmlAttributes( aNatNumAttr ); in SvXMLNumFormatContext()
[all …]
H A Dxmlnumfe.cxx247 pFormatter( NULL ), in SvXMLNumFmtExport()
255 pFormatter = pObj->GetNumberFormatter(); in SvXMLNumFmtExport()
257 if ( pFormatter ) in SvXMLNumFmtExport()
259 pCharClass = new CharClass( pFormatter->GetServiceManager(), in SvXMLNumFmtExport()
260 pFormatter->GetLocale() ); in SvXMLNumFmtExport()
261 pLocaleData = new LocaleDataWrapper( pFormatter->GetServiceManager(), in SvXMLNumFmtExport()
262 pFormatter->GetLocale() ); in SvXMLNumFmtExport()
285 pFormatter( NULL ), in SvXMLNumFmtExport()
293 pFormatter = pObj->GetNumberFormatter(); in SvXMLNumFmtExport()
295 if ( pFormatter ) in SvXMLNumFmtExport()
[all …]
/AOO41X/main/sc/source/core/data/
H A Ddpgroup.cxx153 …oid lcl_AppendDateStr( rtl::OUStringBuffer& rBuffer, double fValue, SvNumberFormatter* pFormatter ) in lcl_AppendDateStr() argument
155 sal_uLong nFormat = pFormatter->GetStandardFormat( NUMBERFORMAT_DATE, ScGlobal::eLnge ); in lcl_AppendDateStr()
157 pFormatter->GetInputLineString( fValue, nFormat, aString ); in lcl_AppendDateStr()
162 bool bHasNonInteger, sal_Unicode cDecSeparator, SvNumberFormatter* pFormatter ) in lcl_GetNumGroupName() argument
189 lcl_AppendDateStr( aBuffer, fStartValue, pFormatter ); in lcl_GetNumGroupName()
191 lcl_AppendDateStr( aBuffer, fEndValue, pFormatter ); in lcl_GetNumGroupName()
206 bool bDateValues, SvNumberFormatter* pFormatter ) in lcl_GetSpecialNumGroupName() argument
213 lcl_AppendDateStr( aBuffer, fValue, pFormatter ); in lcl_GetSpecialNumGroupName()
228 SvNumberFormatter* pFormatter = pDoc->GetFormatTable(); in lcl_GetNumGroupForValue() local
233 …eturn lcl_GetSpecialNumGroupName( rInfo.Start, true, cDecSeparator, rInfo.DateValues, pFormatter ); in lcl_GetNumGroupForValue()
[all …]
H A Dcolumn3.cxx1269 SvNumberFormatter* pFormatter = pDocument->GetFormatTable(); in SetString() local
1278 && pFormatter->GetType(nIndex) != NUMBERFORMAT_TEXT ) in SetString()
1334 nIndex = nOldIndex = pFormatter->GetStandardIndex(); in SetString()
1347 nIndex = pFormatter->GetStandardIndex( pLangFormatter->GetLanguage() ); in SetString()
1350 if (!pFormatter->IsNumberFormat(rString, nIndex, nVal)) in SetString()
1356 const SvNumberformat* pOldFormat = pFormatter->GetEntry( nOldIndex ); in SetString()
1358 … nIndex = pFormatter->GetFormatForLanguageIfBuiltIn( nIndex, pOldFormat->GetLanguage() ); in SetString()
1369 const SvNumberformat* pOldFormat = pFormatter->GetEntry( nOldIndex ); in SetString()
1376 if ( nOldIndex == pFormatter->GetStandardFormat( in SetString()
1383 … if ( !bOverwrite && pFormatter->GetType( nIndex ) == NUMBERFORMAT_LOGICAL ) in SetString()
[all …]
/AOO41X/main/basic/source/sbx/
H A Dsbxdate.cxx91 SvNumberFormatter* pFormatter; in ImpGetDate() local
94 pFormatter = new SvNumberFormatter( xFactory, eLangType ); in ImpGetDate()
122 pFormatter->PutandConvertEntry( aStr, nCheckPos, nType, in ImpGetDate()
124 sal_Bool bSuccess = pFormatter->IsNumberFormat( *p->pOUString, nIndex, nRes ); in ImpGetDate()
127 short nType_ = pFormatter->GetType( nIndex ); in ImpGetDate()
138 delete pFormatter; in ImpGetDate()
247 SvNumberFormatter* pFormatter; in ImpPutDate() local
250 pFormatter = new SvNumberFormatter( xFactory, eLangType ); in ImpPutDate()
287 pFormatter->PutandConvertEntry( aStr, in ImpPutDate()
294 pFormatter->GetOutputString( n, nIndex, aTmpString, &pColor ); in ImpPutDate()
[all …]
/AOO41X/main/sc/source/filter/rtf/
H A Deeimpars.cxx125 …ment( sal_Bool bSizeColsRows, double nOutputFactor, SvNumberFormatter* pFormatter, bool bConvertDa… in WriteToDocument() argument
146 if (!pFormatter) in WriteToDocument()
147 pFormatter = mpDoc->GetFormatTable(); in WriteToDocument()
149 if (pFormatter->GetLanguage() == LANGUAGE_SYSTEM) in WriteToDocument()
224 nNumForm, eNumLang, aValStr, aNumStr, *pFormatter ); in WriteToDocument()
333 mpDoc->SetString( nCol, nRow, nTab, pE->aAltText, pFormatter ); in WriteToDocument()
355 pFormatter->ChangeIntl( LANGUAGE_ENGLISH_US); in WriteToDocument()
356 sal_uInt32 nIndex = pFormatter->GetStandardIndex( LANGUAGE_ENGLISH_US); in WriteToDocument()
358 if (pFormatter->IsNumberFormat( aStr, nIndex, fEnVal)) in WriteToDocument()
362 pFormatter->GetFormatForLanguageIfBuiltIn( in WriteToDocument()
[all …]
/AOO41X/main/basic/source/runtime/
H A Dmethods.cxx1995 SvNumberFormatter* pFormatter = NULL; in RTLFUNC() local
1997 pFormatter = pINST->GetNumberFormatter(); in RTLFUNC()
2001 SbiInstance::PrepareNumberFormatter( pFormatter, n, n, n ); in RTLFUNC()
2007 sal_Bool bSuccess = pFormatter->IsNumberFormat( aStr, nIndex, fResult ); in RTLFUNC()
2008 short nType = pFormatter->GetType( nIndex ); in RTLFUNC()
2043 delete pFormatter; in RTLFUNC()
2057 SvNumberFormatter* pFormatter = NULL; in RTLFUNC() local
2059 pFormatter = pINST->GetNumberFormatter(); in RTLFUNC()
2063 SbiInstance::PrepareNumberFormatter( pFormatter, n, n, n ); in RTLFUNC()
2068 sal_Bool bSuccess = pFormatter->IsNumberFormat( rPar.Get(1)->GetString(), in RTLFUNC()
[all …]
/AOO41X/main/sw/source/core/sw3io/
H A Dsw3convert.cxx304 SvNumberFormatter *pFormatter = rDoc.GetNumberFormatter(); in sw3io_ConvertFromOldField() local
312 rFmt = pFormatter->GetFormatIndex(pOldFmt[i].eFormatIdx, LANGUAGE_SYSTEM); in sw3io_ConvertFromOldField()
409 SvNumberFormatter *pFormatter = ((SwValueField*)pFld)->GetDoc()->GetNumberFormatter(); in sw3io_ConvertToOldField() local
410 const SvNumberformat* pEntry = pFormatter->GetEntry( nOldFmt ); in sw3io_ConvertToOldField()
417 sal_uLong nKey = pFormatter->GetFormatIndex( in sw3io_ConvertToOldField()
/AOO41X/main/extensions/source/propctrlr/
H A Dusercontrol.cxx84 SvNumberFormatter* pFormatter = pSupplier->GetNumberFormatter(); in SetFormatSupplier() local
85 SetFormatter( pFormatter, sal_True ); in SetFormatSupplier()
233 SvNumberFormatter* pFormatter = rDesc.pSupplier->GetNumberFormatter(); in SetFormatDescription() local
234 if (pFormatter != getTypedControlWindow()->GetFormatter()) in SetFormatDescription()
235 getTypedControlWindow()->SetFormatter(pFormatter, sal_True); in SetFormatDescription()
/AOO41X/main/vcl/aqua/source/gdi/
H A Daquaprintaccessoryview.mm403 NSNumberFormatter* pFormatter = [[NSNumberFormatter alloc] init];
404 [pFormatter setFormatterBehavior: NSNumberFormatterBehavior10_4];
405 [pFormatter setMinimum: [[NSNumber numberWithInt: 1] autorelease]];
406 [pFormatter setMaximum: [[NSNumber numberWithInt: nPages] autorelease]];
407 [pFormatter setNumberStyle: NSNumberFormatterDecimalStyle];
408 [pFormatter setAllowsFloats: NO];
409 [pFormatter setMaximumFractionDigits: 0];
410 [mpPageEdit setFormatter: pFormatter];
1035 NSNumberFormatter* pFormatter = [[NSNumberFormatter alloc] init];
1036 [pFormatter setFormatterBehavior: NSNumberFormatterBehavior10_4];
[all …]
/AOO41X/main/sc/source/core/tool/
H A Dddelink.cxx175 SvNumberFormatter* pFormatter = pDoc->GetFormatTable(); in DataChanged() local
186 nStdFormat = pDefPattern->GetNumberFormat( pFormatter ); in DataChanged()
189 nStdFormat = pFormatter->GetStandardIndex(LANGUAGE_ENGLISH_US); in DataChanged()
200 if ( nMode != SC_DDE_TEXT && pFormatter->IsNumberFormat( aEntry, nIndex, fVal ) ) in DataChanged()
H A Dinterpr2.cxx70 nYear = pFormatter->ExpandTwoDigitYear( nYear ); in GetDateSerial()
94 return (double) (aDate - *(pFormatter->GetNullDate())); in GetDateSerial()
111 long nDiff = aActDate - *(pFormatter->GetNullDate()); in ScGetActDate()
120 long nDiff = aActDate - *(pFormatter->GetNullDate()); in ScGetActTime()
132 Date aDate = *(pFormatter->GetNullDate()); in ScGetYear()
140 Date aDate = *(pFormatter->GetNullDate()); in ScGetMonth()
148 Date aDate = *(pFormatter->GetNullDate()); in ScGetDay()
186 if (pFormatter->IsNumberFormat(aInputString, nFIndex, fVal)) in ScGetDateValue()
188 short eType = pFormatter->GetType(nFIndex); in ScGetDateValue()
210 Date aDate = *(pFormatter->GetNullDate()); in ScGetDayOfWeek()
[all …]
/AOO41X/main/sc/source/ui/view/
H A Dviewfunc.cxx446 SvNumberFormatter* pFormatter = pDoc->GetFormatTable(); in EnterData() local
448 if ( !pFormatter->IsNumberFormat( aString, nFormat, fNumber ) ) in EnterData()
571 SvNumberFormatter* pFormatter = pDoc->GetFormatTable(); in EnterData() local
579 if ( pFormatter->GetType( nIndex ) == NUMBERFORMAT_TEXT || in EnterData()
1055 SvNumberFormatter* pFormatter = in ApplyAttributes() local
1057 const SvNumberformat* pOldEntry = pFormatter->GetEntry( nOldFormat ); in ApplyAttributes()
1060 const SvNumberformat* pNewEntry = pFormatter->GetEntry( nNewFormat ); in ApplyAttributes()
2692 SvNumberFormatter* pFormatter = pDoc->GetFormatTable(); in SetNumFmtByStr() local
2699 const SvNumberformat* pEntry = pFormatter->GetEntry( nCurrentNumberFormat ); in SetNumFmtByStr()
2705 sal_uInt32 nNumberFormat = pFormatter->GetEntryKey( rCode, eLanguage ); in SetNumFmtByStr()
[all …]
/AOO41X/main/sc/source/filter/html/
H A Dhtmlimp.cxx59 … ScRange& rRange, double nOutputFactor, sal_Bool bCalcWidthHeight, SvNumberFormatter* pFormatter, in ScImportHTML() argument
66 aImp.WriteToDocument( sal_True, nOutputFactor, pFormatter, bConvertDate ); in ScImportHTML()
135 sal_Bool bSizeColsRows, double nOutputFactor, SvNumberFormatter* pFormatter, bool bConvertDate ) in WriteToDocument() argument
137 ScEEImport::WriteToDocument( bSizeColsRows, nOutputFactor, pFormatter, bConvertDate ); in WriteToDocument()

12345