/aoo42x/main/editeng/source/items/ |
H A D | flditem.cxx | 284 sal_uLong nFormatKey; in GetFormatted() local 294 nFormatKey = rFormatter.GetFormatIndex( NF_DATE_SYSTEM_LONG, eLang ); in GetFormatted() 298 nFormatKey = rFormatter.GetFormatIndex( NF_DATE_SYS_DDMMYY, eLang ); in GetFormatted() 327 rFormatter.GetOutputString( fDiffDate, nFormatKey, aStr, &pColor ); in GetFormatted() 634 sal_uInt32 nFormatKey; in GetFormatted() local 639 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HHMMAMPM, eLang ); in GetFormatted() 647 nCheckPos, nType, nFormatKey, LANGUAGE_ENGLISH_US, eLang ); in GetFormatted() 654 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HHMM, eLang ); in GetFormatted() 657 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HH_MMSS00, eLang ); in GetFormatted() 663 nFormatKey = rFormatter.GetFormatIndex( NF_TIME_HHMMSS, eLang ); in GetFormatted() [all …]
|
/aoo42x/main/svtools/source/control/ |
H A D | fmtfield.cxx | 372 m_nFormatKey = nFormatKey; in FormattedField() 386 m_nFormatKey = nFormatKey; in FormattedField() 611 void FormattedField::ImplSetFormatKey(sal_uLong nFormatKey) in ImplSetFormatKey() argument 615 m_nFormatKey = nFormatKey; in ImplSetFormatKey() 616 sal_Bool bNeedFormatter = (m_pFormatter == NULL) && (nFormatKey != 0); in ImplSetFormatKey() 621 m_nFormatKey = nFormatKey; in ImplSetFormatKey() 631 void FormattedField::SetFormatKey(sal_uLong nFormatKey) in SetFormatKey() argument 635 ImplSetFormatKey(nFormatKey); in SetFormatKey() 1024 if (ImplGetFormatter()->IsTextFormat(nFormatKey) && m_bTreatAsNumber) in ImplGetValue() 1026 nFormatKey = 0; in ImplGetValue() [all …]
|
/aoo42x/main/dbaccess/source/ui/misc/ |
H A D | DExport.cxx | 441 sal_uInt32 nFormatKey(0); in CheckString() local 442 …fOutNumber = SfxHTMLParser::GetTableDataOptionsValNum(nFormatKey,eNumLang,m_sTextToken,m_sNumToken… in CheckString() 445 nFormatKey = m_pFormatter->GetFormatForLanguageIfBuiltIn( nFormatKey, eNumLang ); in CheckString() 446 if ( !m_pFormatter->IsNumberFormat( m_sTextToken, nFormatKey, fOutNumber ) ) in CheckString() 449 Reference<XPropertySet> xProp = xFormats->getByKey(nFormatKey); in CheckString() 455 …sal_Int32 nFormatKey = m_xFormatter->detectNumberFormat(xNumType->getStandardFormat(NumberFormat::… in CheckString() local 456 fOutNumber = m_xFormatter->convertStringToNumber(nFormatKey,aCheckToken); in CheckString() 458 Reference<XPropertySet> xProp = xFormats->getByKey(nFormatKey); in CheckString() 634 sal_Int32 nFormatKey = ::dbtools::getDefaultNumberFormat( nDataType, in SetColumnTypes() local 640 (*aIter)->second->SetFormatKey(nFormatKey); in SetColumnTypes()
|
/aoo42x/main/chart2/source/controller/itemsetwrapper/ |
H A D | AxisItemConverter.cxx | 378 sal_Int32 nFormatKey = ExplicitValueProvider::getExplicitNumberFormatKeyForAxis( in FillSpecialItem() local 381 rOutItemSet.Put( SfxUInt32Item( nWhichId, nFormatKey )); in FillSpecialItem() 422 sal_Int32 nFormatKey = ExplicitValueProvider::getExplicitNumberFormatKeyForAxis( in FillSpecialItem() local 425 rOutItemSet.Put( SfxUInt32Item( nWhichId, nFormatKey )); in FillSpecialItem() 950 sal_Int32 nFormatKey = static_cast< sal_Int32 >( in ApplySpecialItem() local 953 aValue <<= nFormatKey; in ApplySpecialItem() 961 … sal_Int32 nFormatKey = ExplicitValueProvider::getExplicitNumberFormatKeyForAxis( in ApplySpecialItem() local 964 aValue <<= nFormatKey; in ApplySpecialItem()
|
H A D | RegressionEquationItemConverter.cxx | 172 sal_Int32 nFormatKey = 0; in FillSpecialItem() local 173 if( GetPropertySet()->getPropertyValue( C2U( "NumberFormat" )) >>= nFormatKey ) in FillSpecialItem() 175 rOutItemSet.Put( SfxUInt32Item( nWhichId, nFormatKey )); in FillSpecialItem()
|
/aoo42x/main/svx/inc/svx/ |
H A D | numfmtsh.hxx | 97 sal_uInt32 nFormatKey, 102 sal_uInt32 nFormatKey, 111 sal_uInt32 nFormatKey, 116 sal_uInt32 nFormatKey,
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | fmtfield.hxx | 111 …Parent, WinBits nStyle = 0, SvNumberFormatter* pInitialFormatter = NULL, sal_Int32 nFormatKey = 0); 112 …arent, const ResId& rResId, SvNumberFormatter* pInitialFormatter = NULL, sal_Int32 nFormatKey = 0); 146 void SetFormatKey(sal_uLong nFormatKey); 266 void ImplSetFormatKey(sal_uLong nFormatKey);
|
/aoo42x/main/reportdesign/source/core/sdr/ |
H A D | formatnormalizer.cxx | 231 sal_Int32 nFormatKey = _rxFormatted->getFormatKey(); in impl_adjustFormatToDataFieldType_nothrow() local 232 if ( nFormatKey != 0 ) in impl_adjustFormatToDataFieldType_nothrow() 263 …nFormatKey = ::dbtools::getDefaultNumberFormat( field->nDataType, field->nScale, field->bIsCurrenc… in impl_adjustFormatToDataFieldType_nothrow() 265 _rxFormatted->setFormatKey( nFormatKey ); in impl_adjustFormatToDataFieldType_nothrow()
|
/aoo42x/main/reportdesign/source/ui/dlg/ |
H A D | DateTime.cxx | 254 sal_Int32 nFormatKey; in getFormatKey() local 258 …nFormatKey = static_cast<sal_Int32>(reinterpret_cast<sal_IntPtr>(m_aDateListBox.GetEntryData( m_aD… in getFormatKey() 263 …nFormatKey = static_cast<sal_Int32>(reinterpret_cast<sal_IntPtr>(m_aTimeListBox.GetEntryData( m_aT… in getFormatKey() 265 return nFormatKey; in getFormatKey()
|
/aoo42x/main/extensions/source/propctrlr/ |
H A D | usercontrol.cxx | 108 sal_Int32 nFormatKey = 0; in setValue() local 109 if ( _rValue >>= nFormatKey ) in setValue() 112 getTypedControlWindow()->SetFormatKey( nFormatKey ); in setValue() 115 const SvNumberformat* pEntry = pNF->GetEntry( nFormatKey ); in setValue()
|
/aoo42x/main/dbaccess/source/core/api/ |
H A D | RowSet.cxx | 1737 sal_Int32 nFormatKey = 0; in impl_initializeColumnSettings_nothrow() local 1740 _rxTemplateColumn->getPropertyValue( PROPERTY_NUMBERFORMAT ) >>= nFormatKey; in impl_initializeColumnSettings_nothrow() 1743 if ( !nFormatKey && m_xNumberFormatTypes.is() ) in impl_initializeColumnSettings_nothrow() 1745 _rxRowSetColumn->setPropertyValue( PROPERTY_NUMBERFORMAT, makeAny( nFormatKey ) ); in impl_initializeColumnSettings_nothrow() 1854 sal_Int32 nFormatKey = 0; in execute_NoApprove_NoNewConn() local 1905 nFormatKey = 0; in execute_NoApprove_NoNewConn() 1907 nFormatKey = ::dbtools::getDefaultNumberFormat(pColumn,m_xNumberFormatTypes,aLocale); in execute_NoApprove_NoNewConn() 2861 sal_Int32 nFormatKey = 0; in ORowSetClone() local 2862 xColumn->getPropertyValue(PROPERTY_NUMBERFORMAT) >>= nFormatKey; in ORowSetClone() 2863 if(!nFormatKey && xColumn.is() && m_xNumberFormatTypes.is()) in ORowSetClone() [all …]
|
/aoo42x/main/connectivity/source/commontools/ |
H A D | predicateinput.cxx | 205 sal_Int32 nFormatKey = 0; in implPredicateTree() local 206 _rxField->getPropertyValue( ::rtl::OUString::createFromAscii( "FormatKey" ) ) >>= nFormatKey; in implPredicateTree() 207 if ( nFormatKey && m_xFormatter.is() ) in implPredicateTree() 212 nFormatKey, in implPredicateTree()
|
/aoo42x/main/svx/source/items/ |
H A D | numfmtsh.cxx | 55 sal_uInt32 nFormatKey, in Create() argument 59 return new SvxNumberFormatShell(pNumFormatter,nFormatKey, in Create() 64 sal_uInt32 nFormatKey, in Create() argument 69 return new SvxNumberFormatShell(pNumFormatter,nFormatKey, in Create() 80 nInitFormatKey ( nFormatKey ), \ 81 nCurFormatKey ( nFormatKey ), \ 89 sal_uInt32 nFormatKey, in SvxNumberFormatShell() argument 111 sal_uInt32 nFormatKey,
|
/aoo42x/main/svx/source/form/ |
H A D | formcontrolfactory.cxx | 579 sal_Int32 nFormatKey = 0; in initializeFieldDependentProperties() local 582 _rxDatabaseField->getPropertyValue( FM_PROP_FORMATKEY ) >>= nFormatKey; in initializeFieldDependentProperties() 586 nFormatKey = OStaticDataAccessTools().getDefaultNumberFormat( in initializeFieldDependentProperties() 593 … Any aScaleVal( ::comphelper::getNumberFormatDecimals( _rxNumberFormats, nFormatKey ) ); in initializeFieldDependentProperties()
|
H A D | fmsrcimp.cxx | 328 fiCurrent.nFormatKey = ::comphelper::getINT32(xProperties->getPropertyValue(FM_PROP_FORMATKEY)); in BuildAndInsertFieldInfo() 334 …rmatType = ::comphelper::getNumberFormatType(xNumberFormats, fiCurrent.nFormatKey) & ~((sal_Int16)… in BuildAndInsertFieldInfo() 358 sReturn = m_xFormatter->convertNumberToString(rField.nFormatKey, fValue); in FormatField() 364 sReturn = m_xFormatter->formatString(rField.nFormatKey, sValue); in FormatField()
|
/aoo42x/main/toolkit/source/controls/ |
H A D | formattedcontrol.cxx | 221 sal_Int32 nFormatKey( 0 ); in impl_updateTextFromValue_nothrow() local 223 m_aCachedFormat >>= nFormatKey; in impl_updateTextFromValue_nothrow() 224 … sStringValue = m_xCachedFormatter->convertNumberToString( nFormatKey, nDoubleValue ); in impl_updateTextFromValue_nothrow()
|
/aoo42x/main/dbaccess/source/ui/control/ |
H A D | FieldDescControl.cxx | 1846 sal_uInt32 nFormatKey; in getControlDefault() local 1852 bTextFormat = isTextFormat(_pFieldDescr,nFormatKey); in getControlDefault() 1861 nValue = GetFormatter()->convertStringToNumber(nFormatKey,sDefault); in getControlDefault() 1875 … xFormSet = xNumberFormatter->getNumberFormatsSupplier()->getNumberFormats()->getByKey(nFormatKey); in getControlDefault() 1883 …::comphelper::getNumberFormatProperty(xNumberFormatter,nFormatKey,::rtl::OUString(RTL_CONSTASCII_U… in getControlDefault() 1885 sal_Int32 nNumberFormat = ::comphelper::getNumberFormatType(xNumberFormatter,nFormatKey); in getControlDefault() 1899 …sDefault = xNumberFormatter->formatString(nFormatKey,(sDefault.getLength() != 0 )? sDefault : sFor… in getControlDefault()
|
/aoo42x/main/xmloff/source/forms/ |
H A D | layerimport.cxx | 293 …sal_Int32 nFormatKey = const_cast<SvXMLNumFormatContext*>(pDataStyle)->CreateAndInsert( xFormatsSu… in applyControlNumberStyle() local 294 …OSL_ENSURE(-1 != nFormatKey, "OFormLayerXMLImport_Impl::applyControlNumberStyle: could not obtain … in applyControlNumberStyle() 297 _rxControlModel->setPropertyValue(PROPERTY_FORMATKEY, makeAny(nFormatKey)); in applyControlNumberStyle()
|
/aoo42x/main/svx/source/fmcomp/ |
H A D | gridcell.cxx | 1320 sal_Int32 nFormatKey = -1; in Init() local 1335 nFormatKey = ::comphelper::getINT32(aFmtKey); in Init() 1346 nFormatKey = 0; in Init() 1373 nFormatKey = -1; in Init() 1383 if (nFormatKey == -1) in Init() 1384 nFormatKey = 0; in Init() 1386 m_nKeyType = comphelper::getNumberFormatType(m_xSupplier->getNumberFormats(), nFormatKey); in Init() 1391 ((FormattedField*)m_pWindow)->SetFormatKey(nFormatKey); in Init() 1392 ((FormattedField*)m_pPainter)->SetFormatKey(nFormatKey); in Init() 3160 sal_Int32 nFormatKey = m_rColumn.GetKey(); in Update() local [all …]
|
/aoo42x/main/forms/source/component/ |
H A D | FormattedField.cxx | 706 sal_Int32 nFormatKey = 0; in onConnectedDbColumn() local 716 if ( !(aFmtKey >>= nFormatKey ) ) in onConnectedDbColumn() 780 OSL_VERIFY( aFmtKey >>= nFormatKey ); in onConnectedDbColumn() 787 m_nKeyType = getNumberFormatType( xSupplier->getNumberFormats(), nFormatKey ); in onConnectedDbColumn()
|
/aoo42x/main/extensions/source/bibliography/ |
H A D | datman.cxx | 1450 ::rtl::OUString BibDataManager::getControlName(sal_Int32 nFormatKey ) in getControlName() argument 1453 switch (nFormatKey) in getControlName() 1513 sal_Int32 nFormatKey = 0; in loadControlModel() local 1514 xField->getPropertyValue(sType) >>= nFormatKey; in loadControlModel() 1521 aInstanceName += getControlName(nFormatKey); in loadControlModel()
|
/aoo42x/main/xmloff/source/text/ |
H A D | txtflde.cxx | 2361 sal_Int32 nFormatKey, /// format key for NumberFormatter; inv. if string in ProcessValueAndType() argument 2393 if (-1 != nFormatKey) in ProcessValueAndType() 2399 GetExport(), nFormatKey, fValue, bExportValue); in ProcessValueAndType() 2406 nFormatKey = in ProcessValueAndType() 2407 GetExport().dataStyleForceSystemLanguage( nFormatKey ); in ProcessValueAndType() 2410 GetExport().getDataStyleName(nFormatKey, bTimeStyle); in ProcessValueAndType()
|
H A D | txtvfldi.cxx | 1273 nFormatKey(0), in XMLValueImportHelper() 1416 nFormatKey = nKey; in ProcessAttribute() 1443 aAny <<= nFormatKey; in PrepareField()
|
/aoo42x/main/odk/examples/DevelopersGuide/GUI/ |
H A D | UnoDialogSample.java | 1060 int nFormatKey = xNumberFormats.queryKey(sFormatString, aLocale, true); in insertFormattedField() local 1061 if (nFormatKey == -1){ in insertFormattedField() 1063 nFormatKey = xNumberFormats.addNew(sFormatString, aLocale); in insertFormattedField() 1069 xFFModelPSet.setPropertyValue("FormatKey", new Integer(nFormatKey)); in insertFormattedField()
|
/aoo42x/main/chart2/source/view/inc/ |
H A D | VSeriesPlotter.hxx | 58 void setFormat( sal_Int32 nFormatKey, sal_Int32 nDimIndex, sal_Int32 nAxisIndex ) in setFormat() argument 60 m_aNumberFormatMap[tFullAxisIndex(nDimIndex,nAxisIndex)] = nFormatKey; in setFormat()
|