Home
last modified time | relevance | path

Searched refs:xNumberFormats (Results 1 – 22 of 22) sorted by relevance

/aoo42x/main/wizards/com/sun/star/wizards/common/
H A DNumberFormatter.java52 public XNumberFormats xNumberFormats; field in NumberFormatter
63 xNumberFormats = _xNumberFormatsSupplier.getNumberFormats(); in NumberFormatter()
67 xNumberFormatTypes = UnoRuntime.queryInterface(XNumberFormatTypes.class, xNumberFormats); in NumberFormatter()
74 xNumberFormats = _xNumberFormatsSupplier.getNumberFormats(); in NumberFormatter()
76 xNumberFormatTypes = UnoRuntime.queryInterface(XNumberFormatTypes.class, xNumberFormats); in NumberFormatter()
150 int NewFormatKey = xNumberFormats.queryKey(_FormatString, aLocale, true); in defineNumberFormat()
153 NewFormatKey = xNumberFormats.addNew(_FormatString, aLocale); in defineNumberFormat()
175 int NewFormatKey = xNumberFormats.queryKey(_FormatString, _aLocale, true); in defineNumberFormat()
178 NewFormatKey = xNumberFormats.addNew(_FormatString, _aLocale); in defineNumberFormat()
247 iLogicalFormatKey = xNumberFormats.queryKey(FormatString, aLocale, true); in setBooleanReportDisplayNumberFormat()
[all …]
/aoo42x/main/xmloff/source/style/
H A Dnumehelp.cxx247 uno::Reference <util::XNumberFormats> xNumberFormats(xNumberFormatsSupplier->getNumberFormats()); in GetCurrencySymbol() local
248 if (xNumberFormats.is()) in GetCurrencySymbol()
284 uno::Reference <util::XNumberFormats> xNumberFormats(xNumberFormatsSupplier->getNumberFormats()); in GetCellType() local
285 if (xNumberFormats.is()) in GetCellType()
329 if (!xNumberFormats.is() && pExport && pExport->GetNumberFormatsSupplier().is()) in GetCurrencySymbol()
330 xNumberFormats.set(pExport->GetNumberFormatsSupplier()->getNumberFormats()); in GetCurrencySymbol()
332 if (xNumberFormats.is()) in GetCurrencySymbol()
336 uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat)); in GetCurrencySymbol()
363 if (!xNumberFormats.is() && pExport && pExport->GetNumberFormatsSupplier().is()) in GetCellType()
364 xNumberFormats.set(pExport->GetNumberFormatsSupplier()->getNumberFormats()); in GetCellType()
[all …]
/aoo42x/main/odk/examples/java/Spreadsheet/
H A DEuroAdaption.java114 XNumberFormats xNumberFormats = null; in main() local
115 xNumberFormats = xNumberFormatSupplier.getNumberFormats(); in main()
118 createExampleData( xSheet, xNumberFormats ); in main()
122 Convert( xSheet, xNumberFormats, "DM", "EUR", 1.95583f ); in main()
133 public static void Convert( XSpreadsheet xSheet, XNumberFormats xNumberFormats, in Convert() argument
144 int iSimpleKey = NumberFormat( xNumberFormats, sSimple, xLanguage ); in Convert()
179 xNumberFormats.getByKey(iNumberFormat ); in Convert()
202 String sNew = xNumberFormats.generateFormat( iSimpleKey, in Convert()
207 int iNewNumberFormat = NumberFormat( xNumberFormats, in Convert()
/aoo42x/main/sc/source/ui/vba/
H A Dvbaformat.cxx385xNumberFormats->getByKey(nFormat)->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( F… in getNumberFormatLocal()
405 sal_Int32 nFormat = xNumberFormats->queryKey(_sFormatString, _aLocale , sal_True); in setNumberFormat()
408 xNumberFormats->addNew(_sFormatString, _aLocale); in setNumberFormat()
434xNumberFormats->getByKey(nFormat)->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( L… in setNumberFormatLocal()
435 sal_Int32 nNewFormat = xNumberFormats->queryKey(sLocalFormatString, aRangeLocale, sal_True); in setNumberFormatLocal()
438 nNewFormat = xNumberFormats->addNew(sLocalFormatString, aRangeLocale); in setNumberFormatLocal()
461 sal_Int32 nFormat = xNumberFormats->queryKey(sFormatString, aDefaultLocale, sal_True); in setNumberFormat()
464 nFormat = xNumberFormats->addNew(sFormatString, aDefaultLocale); in setNumberFormat()
780 if ( !xNumberFormats.is() ) in initializeNumberFormats()
783 xNumberFormats = mxNumberFormatsSupplier->getNumberFormats(); in initializeNumberFormats()
[all …]
H A Dvbaformat.hxx48 css::uno::Reference< css::util::XNumberFormats > xNumberFormats; member in ScVbaFormat
/aoo42x/main/odk/examples/DevelopersGuide/OfficeDev/
H A DNumber_Formats.java84 com.sun.star.util.XNumberFormats xNumberFormats = in doFunction() local
91 com.sun.star.util.XNumberFormatTypes.class, xNumberFormats ); in doFunction()
126 com.sun.star.beans.XPropertySet xProp = xNumberFormats.getByKey( nIndexKey ); in doFunction()
136 nIndexKey = xNumberFormats.queryKey( aFormatCode, aLocale, false ); in doFunction()
143 nIndexKey = xNumberFormats.addNew( aFormatCode, aLocale ); in doFunction()
/aoo42x/main/chart2/source/tools/
H A DDiagramHelper.cxx1072 if( xNumberFormats.is() ) in lcl_switchToDateCategories()
1077 xKeyProps = xNumberFormats->getByKey( nNumberFormat ); in lcl_switchToDateCategories()
1161 …ateNumberFormat( sal_Int32 nNumberFormat, const Reference< util::XNumberFormats >& xNumberFormats ) in isDateNumberFormat() argument
1164 if( !xNumberFormats.is() ) in isDateNumberFormat()
1167 Reference< beans::XPropertySet > xKeyProps = xNumberFormats->getByKey( nNumberFormat ); in isDateNumberFormat()
1180 Reference< util::XNumberFormats > xNumberFormats( xNumberFormatsSupplier->getNumberFormats() ); in getDateNumberFormat() local
1181 if( xNumberFormats.is() ) in getDateNumberFormat()
1185 Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::DATE, in getDateNumberFormat()
1208 Reference< util::XNumberFormats > xNumberFormats( xNumberFormatsSupplier->getNumberFormats() ); in getPercentNumberFormat() local
1209 if( xNumberFormats.is() ) in getPercentNumberFormat()
[all …]
H A DExplicitCategoriesProvider.cxx196 Reference< util::XNumberFormats > xNumberFormats; in convertCategoryAnysToText() local
198xNumberFormats = Reference< util::XNumberFormats >( xNumberFormatsSupplier->getNumberFormats() ); in convertCategoryAnysToText()
442 Reference< util::XNumberFormats > xNumberFormats; in lcl_fillDateCategories() local
444xNumberFormats = Reference< util::XNumberFormats >( xNumberFormatsSupplier->getNumberFormats() ); in lcl_fillDateCategories()
461 …DataAnddAxisHasDateFormat = DiagramHelper::isDateNumberFormat( nAxisNumberFormat, xNumberFormats ); in lcl_fillDateCategories()
474 …iagramHelper::isDateNumberFormat( xDataSequence->getNumberFormatKeyByIndex( nN ), xNumberFormats ); in lcl_fillDateCategories()
/aoo42x/main/dbaccess/source/ui/dlg/
H A Dparamdialog.cxx124 …Reference< XNumberFormatsSupplier > xNumberFormats = ::dbtools::getNumberFormats(m_xConnection, s… in DBG_NAME() local
125 if (!xNumberFormats.is()) in DBG_NAME()
128 m_xFormatter->attachNumberFormatsSupplier(xNumberFormats); in DBG_NAME()
/aoo42x/main/connectivity/source/commontools/
H A Dpredicateinput.cxx117 …Reference< XNumberFormatsSupplier > xNumberFormats = ::dbtools::getNumberFormats( m_xConnection, … in OPredicateInputController() local
118 if ( !xNumberFormats.is() ) in OPredicateInputController()
121 m_xFormatter->attachNumberFormatsSupplier( xNumberFormats ); in OPredicateInputController()
/aoo42x/main/svx/source/form/
H A Dfmvwimp.cxx1214 Reference< XNumberFormats > xNumberFormats( xSupplier->getNumberFormats(), UNO_SET_THROW ); in implCreateFieldControl() local
1312 if ( !createControlLabelPair( *pOutDev, 0, 0, xField, xNumberFormats, nOBJID, sLabelPostfix, in implCreateFieldControl()
1334 if ( createControlLabelPair( *pOutDev, 0, 1000, xField, xNumberFormats, OBJ_FM_TIMEFIELD, in implCreateFieldControl()
1368 Reference< XNumberFormats > xNumberFormats; in implCreateXFormsControl() local
1418 if ( !createControlLabelPair( *pOutDev, 0, 0, NULL, xNumberFormats, nOBJID, sLabelPostfix, in implCreateXFormsControl()
H A Dfmsrcimp.cxx332 …Reference< ::com::sun::star::util::XNumberFormats > xNumberFormats(m_xFormatSupplier->getNumberFo… in BuildAndInsertFieldInfo() local
334 …sal_Int16 nFormatType = ::comphelper::getNumberFormatType(xNumberFormats, fiCurrent.nFormatKey) & … in BuildAndInsertFieldInfo()
/aoo42x/main/chart2/source/controller/dialogs/
H A DDataBrowser.cxx1161 Reference< util::XNumberFormats > xNumberFormats; in isDateString() local
1163xNumberFormats = Reference< util::XNumberFormats >( xNumberFormatsSupplier->getNumberFormats() ); in isDateString()
1164 if( DiagramHelper::isDateNumberFormat( nNumberFormat, xNumberFormats ) ) in isDateString()
/aoo42x/main/sc/source/filter/xml/
H A Dxmlimprt.cxx2387 if (!xNumberFormats.is()) in SetType()
2391 xNumberFormats.set(xNumberFormatsSupplier->getNumberFormats()); in SetType()
2393 if (xNumberFormats.is()) in SetType()
2397 …uno::Reference < beans::XPropertySet> xNumberFormatProperties(xNumberFormats->getByKey(rNumberForm… in SetType()
2406 … xNumberFormatTypes.set(uno::Reference <util::XNumberFormatTypes>(xNumberFormats, uno::UNO_QUERY)); in SetType()
H A Dxmlimprt.hxx763 com::sun::star::uno::Reference <com::sun::star::util::XNumberFormats> xNumberFormats; member in ScXMLImport
/aoo42x/main/svx/source/fmcomp/
H A Dfmgridcl.cxx415 Reference< XNumberFormats > xNumberFormats; variable
417 xNumberFormats = xSupplier->getNumberFormats();
418 if (!xNumberFormats.is())
565 aControlFactory.initializeFieldDependentProperties( xField, xCol, xNumberFormats );
/aoo42x/main/sw/source/ui/dbui/
H A Ddbinsdlg.cxx287 Reference< util::XNumberFormats > xNumberFormats; in SwInsertDBColAutoPilot() local
297 xNumberFormats = xSuppl->getNumberFormats( ); in SwInsertDBColAutoPilot()
337 if(xNumberFormats.is()) in SwInsertDBColAutoPilot()
341 Reference<XPropertySet> xNumProps = xNumberFormats->getByKey( nFmt ); in SwInsertDBColAutoPilot()
H A Ddbmgr.cxx1521 uno::Reference< XNumberFormats > xNumberFormats; in GetColumnFmt() local
1531 xNumberFormats = xSuppl->getNumberFormats(); in GetColumnFmt()
1543 if(xNumberFormats.is()) in GetColumnFmt()
1547 uno::Reference<XPropertySet> xNumProps = xNumberFormats->getByKey( nFmt ); in GetColumnFmt()
/aoo42x/main/odk/examples/DevelopersGuide/GUI/
H A DUnoDialogSample.java1058 XNumberFormats xNumberFormats = xNumberFormatsSupplier.getNumberFormats(); in insertFormattedField() local
1060 int nFormatKey = xNumberFormats.queryKey(sFormatString, aLocale, true); in insertFormattedField()
1063 nFormatKey = xNumberFormats.addNew(sFormatString, aLocale); in insertFormattedField()
/aoo42x/main/xmloff/inc/xmloff/
H A Dnumehelp.hxx67 ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormats > xNumberFormats;
/aoo42x/main/chart2/source/inc/
H A DDiagramHelper.hxx250 …const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormats >& xNumberFormats );
/aoo42x/main/reportdesign/source/ui/report/
H A DReportController.cxx3477 Reference< XNumberFormats > xNumberFormats(xSupplier->getNumberFormats()); in addPairControls() local
3490 ,xField,xNumberFormats,nOBJID,::rtl::OUString(),ReportInventor,OBJ_DLG_FIXEDTEXT, in addPairControls()

Completed in 257 milliseconds