Home
last modified time | relevance | path

Searched refs:xFormats (Results 1 – 15 of 15) sorted by relevance

/trunk/main/comphelper/source/misc/
H A Dnumbers.cxx42 sal_Int16 getNumberFormatType(const staruno::Reference<starutil::XNumberFormats>& xFormats, sal_Int… in getNumberFormatType() argument
45 if (xFormats.is()) in getNumberFormatType()
49 staruno::Reference<starbeans::XPropertySet> xFormat(xFormats->getByKey(nKey)); in getNumberFormatType()
67 staruno::Reference<starutil::XNumberFormats> xFormats( xSupplier->getNumberFormats()); in getNumberFormatType() local
68 return getNumberFormatType(xFormats, nKey); in getNumberFormatType()
72 staruno::Any getNumberFormatDecimals(const staruno::Reference<starutil::XNumberFormats>& xFormats, … in getNumberFormatDecimals() argument
74 if (xFormats.is()) in getNumberFormatDecimals()
78 staruno::Reference<starbeans::XPropertySet> xFormat( xFormats->getByKey(nKey)); in getNumberFormatDecimals()
101 …staruno::Reference<starutil::XNumberFormats> xFormats( xSupplier.is() ? xSupplier->getNumberFormat… in getStandardFormat() local
102 staruno::Reference<starutil::XNumberFormatTypes> xTypes(xFormats, staruno::UNO_QUERY); in getStandardFormat()
[all …]
/trunk/main/dbaccess/source/ui/misc/
H A DDExport.cxx390 … Reference< XNumberFormats > xFormats = xSupplier->getNumberFormats(); in insertValueIntoColumn() local
391 … Reference<XPropertySet> xProp = xFormats->getByKey(nNumberFormat); in insertValueIntoColumn()
436 Reference< XNumberFormats > xFormats = xSupplier->getNumberFormats(); in CheckString() local
450 Reference<XPropertySet> xProp = xFormats->getByKey(nFormatKey); in CheckString()
455 Reference<XNumberFormatTypes> xNumType(xFormats,UNO_QUERY); in CheckString()
459 Reference<XPropertySet> xProp = xFormats->getByKey(nFormatKey); in CheckString()
582 Reference< XNumberFormats > xFormats = xSupplier->getNumberFormats(); in SetColumnTypes() local
638 Reference< XNumberFormatTypes>(xFormats,UNO_QUERY), in SetColumnTypes()
/trunk/main/connectivity/source/commontools/
H A Ddbtools.cxx195 Reference< XNumberFormats > xFormats(_xTypes, UNO_QUERY); in getDefaultNumberFormat() local
196 …::rtl::OUString sNewFormat = xFormats->generateFormat( 0L, _rLocale, sal_False, sal_False, (sal_In… in getDefaultNumberFormat()
199 nFormat = xFormats->queryKey(sNewFormat, _rLocale, sal_False); in getDefaultNumberFormat()
201 nFormat = xFormats->addNew(sNewFormat, _rLocale); in getDefaultNumberFormat()
1098 Reference< XNumberFormats> xFormats(xSupplier->getNumberFormats()); in TransferFormComponentProperties() local
1099 Reference< XPropertySet> xFormat(xFormats->getByKey(getINT32(aFormatKey))); in TransferFormComponentProperties()
1180 Reference< XNumberFormats> xFormats(xSupplier->getNumberFormats()); in TransferFormComponentProperties() local
1191 Reference< XNumberFormatTypes> xTypeList(xFormats, UNO_QUERY); in TransferFormComponentProperties()
1214 …::rtl::OUString sNewFormat = xFormats->generateFormat(nBaseKey, _rLocale, sal_False, sal_False, nD… in TransferFormComponentProperties()
1218 sal_Int32 nKey = xFormats->queryKey(sNewFormat, _rLocale, sal_False); in TransferFormComponentProperties()
[all …]
H A DDateConversion.cxx433 … Reference<XNumberFormats> xFormats( _xFormatter->getNumberFormatsSupplier()->getNumberFormats() ); in getFormattedValue() local
437 Reference< XNumberFormatTypes > (xFormats, UNO_QUERY), in getFormattedValue()
/trunk/main/forms/source/component/
H A DFormattedField.cxx844 Reference<XNumberFormats> xFormats = xSupplier->getNumberFormats(); in write() local
850 Reference<com::sun::star::beans::XPropertySet> xFormat = xFormats->getByKey(nKey); in write()
938 Reference<XNumberFormats> xFormats = xSupplier->getNumberFormats(); in read() local
940 if (xFormats.is()) in read()
944 nKey = xFormats->queryKey(sFormatDescription, aDescriptionLanguage, sal_False); in read()
947 nKey = xFormats->addNew(sFormatDescription, aDescriptionLanguage); in read()
/trunk/main/reportdesign/source/ui/dlg/
H A DDateTime.cxx136 …const uno::Reference< util::XNumberFormats> xFormats = xNumberFormatter->getNumberFormatsSupplier(… in InsertEntry() local
137 …const uno::Sequence<sal_Int32> aFormatKeys = xFormats->queryKeys(_nNumberFormatId,m_nLocale,sal_Tr… in InsertEntry()
142 … const sal_Int16 nPos = pListBox->InsertEntry(getFormatStringByKey(*pIter,xFormats,bTime)); in InsertEntry()
/trunk/main/xmloff/source/forms/
H A Dlayerimport.cxx286 Reference< XNumberFormats > xFormats; in applyControlNumberStyle() local
288 xFormats = xFormatsSupplier->getNumberFormats(); in applyControlNumberStyle()
289 …OSL_ENSURE(xFormats.is(), "OFormLayerXMLImport_Impl::applyControlNumberStyle: could not obtain the… in applyControlNumberStyle()
292 if (xFormats.is()) in applyControlNumberStyle()
/trunk/main/comphelper/inc/comphelper/
H A Dnumbers.hxx42 … getNumberFormatType(const staruno::Reference<starutil::XNumberFormats>& xFormats, sal_Int32 nKey);
48 …NumberFormatDecimals(const staruno::Reference<starutil::XNumberFormats>& xFormats, sal_Int32 nKey);
/trunk/main/sc/source/ui/unoobj/
H A Dcellvaluebinding.cxx407 Reference<XNumberFormats> xFormats(xSupplier->getNumberFormats()); in setBooleanFormat() local
408 Reference<XNumberFormatTypes> xTypes( xFormats, UNO_QUERY ); in setBooleanFormat()
418 xOldFormat.set(xFormats->getByKey( nOldIndex )); in setBooleanFormat()
/trunk/main/sc/workben/
H A Dtest.cxx1484 XTableAutoFormatsRef xFormats = xView->getTableAutoFormats(); in lcl_AutoForm()
1485 if (!xFormats) return; in lcl_AutoForm()
1488 XTableAutoFormatsRef xFormats; in lcl_AutoForm() local
1490 XTableAutoFormatRef xFormat = xFormats->getAutoFormatByName(L"gaga"); in lcl_AutoForm()
1502 xFormats->addAutoFormat(L"gaga"); in lcl_AutoForm()
1503 XTableAutoFormatRef xNew = xFormats->getAutoFormatByName(L"gaga"); in lcl_AutoForm()
/trunk/main/connectivity/source/drivers/calc/
H A DCTable.cxx240 …cl_GetColumnInfo( const Reference<XSpreadsheet>& xSheet, const Reference<XNumberFormats>& xFormats, in lcl_GetColumnInfo() argument
284 const Reference<XPropertySet> xFormat = xFormats->getByKey( nKey ); in lcl_GetColumnInfo()
/trunk/main/connectivity/source/parse/
H A Dsqlnode.cxx1195 … Reference< ::com::sun::star::util::XNumberFormats > xFormats = xFormatSup->getNumberFormats(); in predicateTree() local
1196 if ( xFormats.is() ) in predicateTree()
1202 m_nDateFormatKey = xFormats->queryKey(sFormat,aLocale,sal_False); in predicateTree()
1204 m_nDateFormatKey = xFormats->addNew(sFormat, aLocale); in predicateTree()
/trunk/main/wizards/com/sun/star/wizards/reportbuilder/layout/
H A DReportBuilderLayouter.java828 XNumberFormats xFormats = x.getNumberFormats(); in insertFormattedField() local
829 … XNumberFormatTypes x3 = UnoRuntime.queryInterface(XNumberFormatTypes.class, xFormats); in insertFormattedField()
/trunk/main/xmlscript/source/xmldlg_imexp/
H A Dxmldlg_impmodels.cxx431 Reference< util::XNumberFormats > xFormats( in endElement() local
433 sal_Int32 nKey = xFormats->queryKey( sFormat, locale, sal_True ); in endElement()
436 nKey = xFormats->addNew( sFormat, locale ); in endElement()
/trunk/main/scaddins/source/analysis/
H A Danalysishelper.cxx2893 uno::Reference< util::XNumberFormats > xFormats( xFormatsSupp->getNumberFormats() ); in init() local
2894 uno::Reference< util::XNumberFormatTypes > xFormatTypes( xFormats, uno::UNO_QUERY ); in init()