Home
last modified time | relevance | path

Searched refs:NumberFormat (Results 1 – 25 of 91) sorted by relevance

1234

/trunk/main/dbaccess/source/ui/misc/
H A DDExport.cxx592 case NumberFormat::ALL: in SetColumnTypes()
595 case NumberFormat::DEFINED: in SetColumnTypes()
599 case NumberFormat::DATE: in SetColumnTypes()
602 case NumberFormat::TIME: in SetColumnTypes()
605 case NumberFormat::DATETIME: in SetColumnTypes()
608 case NumberFormat::CURRENCY: in SetColumnTypes()
613 case NumberFormat::NUMBER: in SetColumnTypes()
615 case NumberFormat::FRACTION: in SetColumnTypes()
616 case NumberFormat::PERCENT: in SetColumnTypes()
619 case NumberFormat::TEXT: in SetColumnTypes()
[all …]
/trunk/main/connectivity/source/commontools/
H A DDateConversion.cxx281 case NumberFormat::DATE: in setValue()
283 case NumberFormat::TIME: in setValue()
288 case NumberFormat::NUMBER: in setValue()
291 case NumberFormat::PERCENT: in setValue()
326 case NumberFormat::DATE: in setValue()
329 case NumberFormat::DATETIME: in setValue()
332 case NumberFormat::TIME: in setValue()
461 case NumberFormat::DATE: in getFormattedValue()
487 case NumberFormat::TIME: in getFormattedValue()
488 case NumberFormat::NUMBER: in getFormattedValue()
[all …]
H A Ddbtools.cxx136 return NumberFormat::UNDEFINED; in getDefaultNumberFormat()
150 return NumberFormat::UNDEFINED; in getDefaultNumberFormat()
168 return NumberFormat::UNDEFINED; in getDefaultNumberFormat()
171 sal_Int32 nNumberType = _bIsCurrency ? NumberFormat::CURRENCY : NumberFormat::NUMBER; in getDefaultNumberFormat()
176 nFormat = _xTypes->getStandardFormat(NumberFormat::LOGICAL, _rLocale); in getDefaultNumberFormat()
212 nFormat = _xTypes->getStandardFormat(NumberFormat::TEXT, _rLocale); in getDefaultNumberFormat()
215 nFormat = _xTypes->getStandardFormat(NumberFormat::DATE, _rLocale); in getDefaultNumberFormat()
218 nFormat = _xTypes->getStandardFormat(NumberFormat::TIME, _rLocale); in getDefaultNumberFormat()
221 nFormat = _xTypes->getStandardFormat(NumberFormat::DATETIME, _rLocale); in getDefaultNumberFormat()
235 nFormat = _xTypes->getStandardFormat(NumberFormat::UNDEFINED, _rLocale); in getDefaultNumberFormat()
[all …]
H A Dformattedcolumnvalue.cxx75 namespace NumberFormat = ::com::sun::star::util::NumberFormat;
97 ,m_nKeyType( NumberFormat::UNDEFINED ) in FormattedColumnValue_Data()
114 _rData.m_nKeyType = NumberFormat::UNDEFINED; in lcl_clear_nothrow()
/trunk/main/xmloff/source/style/
H A Dnumehelp.cxx101 if ((aFormat.nType & ~util::NumberFormat::DEFINED) == util::NumberFormat::CURRENCY) in GetCellType()
119 case util::NumberFormat::NUMBER: in WriteAttributes()
129 case util::NumberFormat::PERCENT: in WriteAttributes()
156 case util::NumberFormat::DATE: in WriteAttributes()
175 case util::NumberFormat::TIME: in WriteAttributes()
190 case util::NumberFormat::LOGICAL: in WriteAttributes()
223 case util::NumberFormat::TEXT: in WriteAttributes()
312 if ((nTypeKey & ~util::NumberFormat::DEFINED) == util::NumberFormat::CURRENCY) in SetNumberFormatAttributes()
439 case util::NumberFormat::DATE: in WriteAttributes()
458 case util::NumberFormat::TIME: in WriteAttributes()
[all …]
/trunk/main/sc/source/filter/xml/
H A DXMLStylesImportHelper.cxx124 rImport.SetStyleToRange(*pRange, pStyleName, util::NumberFormat::CURRENCY, pCurrency); in AddCurrencyRange()
139 case util::NumberFormat::NUMBER: in AddRange()
146 case util::NumberFormat::TEXT: in AddRange()
153 case util::NumberFormat::TIME: in AddRange()
160 case util::NumberFormat::DATETIME: in AddRange()
167 case util::NumberFormat::PERCENT: in AddRange()
174 case util::NumberFormat::LOGICAL: in AddRange()
181 case util::NumberFormat::UNDEFINED: in AddRange()
284 SetStylesToRanges(pTextList, pStyleName, util::NumberFormat::TEXT, NULL, rImport); in SetStylesToRanges()
286 SetStylesToRanges(pTimeList, pStyleName, util::NumberFormat::TIME, NULL, rImport); in SetStylesToRanges()
[all …]
H A Dxmlcelli.cxx115 nCellType(util::NumberFormat::TEXT), in ScXMLTableRowCellContext()
243 if (nCellType == util::NumberFormat::TEXT) in ScXMLTableRowCellContext()
245 nCellType = util::NumberFormat::UNDEFINED; in ScXMLTableRowCellContext()
789 if(nCellType == util::NumberFormat::TEXT) in EndElement()
868 case util::NumberFormat::TEXT: in EndElement()
951 case util::NumberFormat::NUMBER: in EndElement()
952 case util::NumberFormat::PERCENT: in EndElement()
953 case util::NumberFormat::CURRENCY: in EndElement()
954 case util::NumberFormat::TIME: in EndElement()
955 case util::NumberFormat::DATETIME: in EndElement()
[all …]
H A Dxmlimprt.cxx1754 { XML_FLOAT, util::NumberFormat::NUMBER }, in ScXMLImport()
1755 { XML_STRING, util::NumberFormat::TEXT }, in ScXMLImport()
1756 { XML_TIME, util::NumberFormat::TIME }, in ScXMLImport()
1757 { XML_DATE, util::NumberFormat::DATETIME }, in ScXMLImport()
1758 { XML_PERCENTAGE, util::NumberFormat::PERCENT }, in ScXMLImport()
1759 { XML_CURRENCY, util::NumberFormat::CURRENCY }, in ScXMLImport()
1760 { XML_BOOLEAN, util::NumberFormat::LOGICAL } in ScXMLImport()
1989 return util::NumberFormat::UNDEFINED; in GetCellType()
2368 if ((nCellType != util::NumberFormat::TEXT) && (nCellType != util::NumberFormat::UNDEFINED)) in SetType()
2382 (nCurrentCellType == util::NumberFormat::FRACTION) || in SetType()
[all …]
/trunk/main/wizards/com/sun/star/wizards/common/
H A DNumberFormatter.java34 import com.sun.star.util.NumberFormat;
258 …iLogicalFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.LOGICAL, aLocale); … in setBooleanReportDisplayNumberFormat()
271 … iDateFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.DATE, aLocale); in getDateFormatKey()
282 … iDateTimeFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.DATETIME, aLocale); in getDateTimeFormatKey()
293 iLogicalFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.LOGICAL, aLocale); in getLogicalFormatKey()
304 iNumberFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.NUMBER, aLocale); in getNumberFormatKey()
315 iTextFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.TEXT, aLocale); in getTextFormatKey()
326 iTimeFormatKey = xNumberFormatTypes.getStandardFormat(NumberFormat.TIME, aLocale); in getTimeFormatKey()
/trunk/main/svtools/source/table/
H A Dcellvalueconversion.cxx77 namespace NumberFormat = ::com::sun::star::util::NumberFormat;
180 :StandardFormatNormalizer( i_formatter, NumberFormat::NUMBER ) in DoubleNormalization()
202 :StandardFormatNormalizer( i_formatter, NumberFormat::NUMBER ) in IntegerNormalization()
223 :StandardFormatNormalizer( i_formatter, NumberFormat::LOGICAL ) in BooleanNormalization()
244 :StandardFormatNormalizer( i_formatter, NumberFormat::DATETIME ) in DateTimeNormalization()
278 :StandardFormatNormalizer( i_formatter, NumberFormat::DATE ) in DateNormalization()
308 :StandardFormatNormalizer( i_formatter, NumberFormat::TIME ) in TimeNormalization()
/trunk/main/extensions/source/propctrlr/
H A Dxsdvalidationhelper.cxx54 namespace NumberFormat = ::com::sun::star::util::NumberFormat;
333 sal_Int16 nNumberFormatType = NumberFormat::NUMBER; in findDefaultFormatForIntrospectee()
337 nNumberFormatType = NumberFormat::DATETIME; in findDefaultFormatForIntrospectee()
340 nNumberFormatType = NumberFormat::DATE; in findDefaultFormatForIntrospectee()
343 nNumberFormatType = NumberFormat::TIME; in findDefaultFormatForIntrospectee()
349 nNumberFormatType = NumberFormat::TEXT; in findDefaultFormatForIntrospectee()
/trunk/main/odk/examples/java/Spreadsheet/
H A DEuroAdaption.java64 import com.sun.star.util.NumberFormat;
144 int iSimpleKey = NumberFormat( xNumberFormats, sSimple, xLanguage ); in Convert()
187 if( ( (fType & com.sun.star.util.NumberFormat.CURRENCY) > 0) && in Convert()
207 int iNewNumberFormat = NumberFormat( xNumberFormats, in Convert()
245 public static int NumberFormat( XNumberFormats xNumberFormat, String sFormat, in NumberFormat() method in EuroAdaption
284 int iNumberFormatKey = NumberFormat(xNumberFormat, sSimple, xLanguage); in createExampleData()
/trunk/main/forms/source/component/
H A DFormattedField.cxx353 m_nKeyType = NumberFormat::UNDEFINED; in DBG_NAME()
741 aFmtKey <<= (sal_Int32)xTypes->getStandardFormat(NumberFormat::NUMBER, aApplicationLocale); in onConnectedDbColumn()
743 aFmtKey <<= (sal_Int32)xTypes->getStandardFormat(NumberFormat::TEXT, aApplicationLocale); in onConnectedDbColumn()
806 m_nKeyType = NumberFormat::UNDEFINED; in onDisconnectedDbColumn()
1214 switch ( m_nKeyType & ~NumberFormat::DEFINED ) in getSupportedBindingTypes()
1216 case NumberFormat::DATE: in getSupportedBindingTypes()
1219 case NumberFormat::TIME: in getSupportedBindingTypes()
1222 case NumberFormat::DATETIME: in getSupportedBindingTypes()
1225 case NumberFormat::TEXT: in getSupportedBindingTypes()
1228 case NumberFormat::LOGICAL: in getSupportedBindingTypes()
/trunk/main/connectivity/source/drivers/calc/
H A DCTable.cxx276 sal_Int16 nNumType = NumberFormat::NUMBER; in lcl_GetColumnInfo()
295 if ( nNumType & NumberFormat::TEXT ) in lcl_GetColumnInfo()
297 else if ( nNumType & NumberFormat::NUMBER ) in lcl_GetColumnInfo()
299 else if ( nNumType & NumberFormat::CURRENCY ) in lcl_GetColumnInfo()
304 else if ( ( nNumType & NumberFormat::DATETIME ) == NumberFormat::DATETIME ) in lcl_GetColumnInfo()
309 else if ( nNumType & NumberFormat::DATE ) in lcl_GetColumnInfo()
311 else if ( nNumType & NumberFormat::TIME ) in lcl_GetColumnInfo()
313 else if ( nNumType & NumberFormat::LOGICAL ) in lcl_GetColumnInfo()
/trunk/main/oox/inc/oox/xls/
H A Dnumberformatsbuffer.hxx63 class NumberFormat : public WorkbookHelper class
66 explicit NumberFormat( const WorkbookHelper& rHelper );
92 typedef ::boost::shared_ptr< NumberFormat > NumberFormatRef;
122 typedef RefMap< sal_Int32, NumberFormat > NumberFormatMap;
/trunk/main/oox/source/xls/
H A Dnumberformatsbuffer.cxx1878 inline void operator()( NumberFormat& rNumFmt ) const in operator ()()
1904 NumberFormat::NumberFormat( const WorkbookHelper& rHelper ) : in NumberFormat() function in oox::xls::NumberFormat
1909 void NumberFormat::setFormatCode( const OUString& rFmtCode ) in setFormatCode()
1914 void NumberFormat::setFormatCode( const Locale& rLocale, const sal_Char* pcFmtCode ) in setFormatCode()
1921 void NumberFormat::setPredefinedId( const Locale& rLocale, sal_Int16 nPredefId ) in setPredefinedId()
1928 sal_Int32 NumberFormat::finalizeImport( const Reference< XNumberFormats >& rxNumFmts, const Locale&… in finalizeImport()
1937 void NumberFormat::writeToPropertyMap( PropertyMap& rPropMap ) const in writeToPropertyMap()
1984 xNumFmt.reset( new NumberFormat( *this ) ); in createNumFmt()
2040 if( const NumberFormat* pNumFmt = maNumFmts.get( nNumFmtId ).get() ) in writeToPropertyMap()
2089 rxNumFmt.reset( new NumberFormat( *this ) ); in insertBuiltinFormats()
/trunk/main/oox/source/drawingml/chart/
H A Dmodelbase.cxx38 NumberFormat::NumberFormat() : in NumberFormat() function in oox::drawingml::chart::NumberFormat
43 void NumberFormat::setAttributes( const AttributeList& rAttribs ) in setAttributes()
/trunk/main/dbaccess/source/ui/control/
H A DFieldDescControl.cxx104 …if( (nNumberFormat & ::com::sun::star::util::NumberFormat::DATE) == ::com::sun::star::util::Numbe… in checkDoubleForDateFormat()
105 …|| (nNumberFormat & ::com::sun::star::util::NumberFormat::DATETIME) == ::com::sun::star::util::Num… in checkDoubleForDateFormat()
1830 bTextFormat = (nNumberFormat == ::com::sun::star::util::NumberFormat::TEXT); in isTextFormat()
1886 …if( (nNumberFormat & ::com::sun::star::util::NumberFormat::DATE) == ::com::sun::star::util::Numbe… in getControlDefault()
1887 …|| (nNumberFormat & ::com::sun::star::util::NumberFormat::DATETIME) == ::com::sun::star::util::Num… in getControlDefault()
/trunk/main/reportdesign/source/ui/dlg/
H A DDateTime.cxx104 InsertEntry(util::NumberFormat::DATE); in DBG_NAME()
105 InsertEntry(util::NumberFormat::TIME); in DBG_NAME()
130 const bool bTime = util::NumberFormat::TIME == _nNumberFormatId; in InsertEntry()
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/
H A DNumberFormat.java37 public class NumberFormat implements BIFFRecord { class
47 public NumberFormat(InputStream is) throws IOException { in NumberFormat() method in NumberFormat
H A DWorksheet.java172 NumberFormat nf = new NumberFormat(is); in read()
/trunk/main/chart2/source/tools/
H A DDiagramHelper.cxx1083 sal_Int32 nType = util::NumberFormat::UNDEFINED; in lcl_switchToDateCategories()
1086 if( !( nType & util::NumberFormat::DATE ) ) in lcl_switchToDateCategories()
1091 …Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::DATE, rLocaleDataWra… in lcl_switchToDateCategories()
1170 sal_Int32 nType = util::NumberFormat::UNDEFINED; in isDateNumberFormat()
1172 bIsDate = nType & util::NumberFormat::DATE; in isDateNumberFormat()
1185 Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::DATE, in getDateNumberFormat()
1213 Sequence<sal_Int32> aKeySeq = xNumberFormats->queryKeys( util::NumberFormat::PERCENT, in getPercentNumberFormat()
/trunk/main/oox/inc/oox/drawingml/chart/
H A Dmodelbase.hxx101 struct NumberFormat struct
106 explicit NumberFormat();
H A Dseriesmodel.hxx43 NumberFormat maNumberFormat; /// Number format for numeric data labels.
140 NumberFormat maNumberFormat; /// Number format for coefficients.
/trunk/main/offapi/com/sun/star/chart2/
H A DAxis.idl102 /** A NumberFormat key.
112 [property, maybevoid] long NumberFormat;

Completed in 128 milliseconds

1234