Home
last modified time | relevance | path

Searched refs:nFormatKey (Results 1 – 25 of 39) sorted by relevance

12

/aoo4110/main/editeng/source/items/
H A Dflditem.cxx284 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 …]
/aoo4110/main/svtools/source/control/
H A Dfmtfield.cxx372 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 …]
/aoo4110/main/dbaccess/source/ui/misc/
H A DDExport.cxx441 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()
/aoo4110/main/chart2/source/controller/itemsetwrapper/
H A DAxisItemConverter.cxx378 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 DRegressionEquationItemConverter.cxx172 sal_Int32 nFormatKey = 0; in FillSpecialItem() local
173 if( GetPropertySet()->getPropertyValue( C2U( "NumberFormat" )) >>= nFormatKey ) in FillSpecialItem()
175 rOutItemSet.Put( SfxUInt32Item( nWhichId, nFormatKey )); in FillSpecialItem()
/aoo4110/main/svtools/inc/svtools/
H A Dfmtfield.hxx111 …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);
/aoo4110/main/svx/inc/svx/
H A Dnumfmtsh.hxx97 sal_uInt32 nFormatKey,
102 sal_uInt32 nFormatKey,
111 sal_uInt32 nFormatKey,
116 sal_uInt32 nFormatKey,
/aoo4110/main/reportdesign/source/core/sdr/
H A Dformatnormalizer.cxx231 sal_Int32 nFormatKey = _rxFormatted->getFormatKey(); in impl_adjustFormatToDataFieldType_nothrow() local
232 if ( nFormatKey != 0 ) in impl_adjustFormatToDataFieldType_nothrow()
263nFormatKey = ::dbtools::getDefaultNumberFormat( field->nDataType, field->nScale, field->bIsCurrenc… in impl_adjustFormatToDataFieldType_nothrow()
265 _rxFormatted->setFormatKey( nFormatKey ); in impl_adjustFormatToDataFieldType_nothrow()
/aoo4110/main/reportdesign/source/ui/dlg/
H A DDateTime.cxx254 sal_Int32 nFormatKey; in getFormatKey() local
258nFormatKey = static_cast<sal_Int32>(reinterpret_cast<sal_IntPtr>(m_aDateListBox.GetEntryData( m_aD… in getFormatKey()
263nFormatKey = static_cast<sal_Int32>(reinterpret_cast<sal_IntPtr>(m_aTimeListBox.GetEntryData( m_aT… in getFormatKey()
265 return nFormatKey; in getFormatKey()
/aoo4110/main/extensions/source/propctrlr/
H A Dusercontrol.cxx108 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()
/aoo4110/main/connectivity/source/commontools/
H A Dpredicateinput.cxx205 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()
/aoo4110/main/dbaccess/source/core/api/
H A DRowSet.cxx1737 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 …]
/aoo4110/main/svx/source/items/
H A Dnumfmtsh.cxx55 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,
/aoo4110/main/toolkit/source/controls/
H A Dformattedcontrol.cxx221 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()
/aoo4110/main/svx/source/form/
H A Dformcontrolfactory.cxx579 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 Dfmsrcimp.cxx328 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()
/aoo4110/main/dbaccess/source/ui/control/
H A DFieldDescControl.cxx1846 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()
/aoo4110/main/xmloff/source/forms/
H A Dlayerimport.cxx293 …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()
/aoo4110/main/forms/source/component/
H A DFormattedField.cxx706 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()
/aoo4110/main/svx/source/fmcomp/
H A Dgridcell.cxx1320 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 …]
/aoo4110/main/extensions/source/bibliography/
H A Ddatman.cxx1450 ::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()
/aoo4110/main/xmloff/source/text/
H A Dtxtflde.cxx2361 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 Dtxtvfldi.cxx1273 nFormatKey(0), in XMLValueImportHelper()
1416 nFormatKey = nKey; in ProcessAttribute()
1443 aAny <<= nFormatKey; in PrepareField()
/aoo4110/main/chart2/source/view/inc/
H A DVSeriesPlotter.hxx58 void setFormat( sal_Int32 nFormatKey, sal_Int32 nDimIndex, sal_Int32 nAxisIndex ) in setFormat() argument
60 m_aNumberFormatMap[tFullAxisIndex(nDimIndex,nAxisIndex)] = nFormatKey; in setFormat()
/aoo4110/main/odk/examples/DevelopersGuide/GUI/
H A DUnoDialogSample.java1060 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()

Completed in 187 milliseconds

12