Home
last modified time | relevance | path

Searched refs:nNumberFormat (Results 1 – 25 of 48) sorted by relevance

12

/aoo41x/main/dbaccess/source/ui/misc/
H A DDExport.cxx331 sal_Int32 nNumberFormat = 0; in insertValueIntoColumn() local
430 sal_Int16 nNumberFormat = 0; in CheckString() local
465 nNumberFormat = NumberFormat::ALL; in CheckString()
468 nNumberFormat = NumberFormat::TEXT; in CheckString()
476 nNumberFormat = _nOldNumberFormat; in CheckString()
492 nNumberFormat = _nOldNumberFormat; in CheckString()
509 nNumberFormat = _nOldNumberFormat; in CheckString()
526 nNumberFormat = _nOldNumberFormat; in CheckString()
532 nNumberFormat = nType; in CheckString()
550 nNumberFormat = _nOldNumberFormat; in CheckString()
[all …]
/aoo41x/main/xmloff/inc/xmloff/
H A Dnumehelp.hxx46 sal_Int32 nNumberFormat; member
49 XMLNumberFormat() : nNumberFormat(0), nType(0) {} in XMLNumberFormat()
51 sal_Int16 nTempType) : sCurrency(sTempCurrency), nNumberFormat(nTempFormat), in XMLNumberFormat()
59 return rValue1.nNumberFormat < rValue2.nNumberFormat; in operator ()()
89 …sal_Int16 GetCellType(const sal_Int32 nNumberFormat, rtl::OUString& sCurrency, sal_Bool& bIsStanda…
95 static sal_Bool GetCurrencySymbol(const sal_Int32 nNumberFormat, rtl::OUString& rCurrencySymbol,
97 static sal_Int16 GetCellType(const sal_Int32 nNumberFormat, sal_Bool& bIsStandard,
100 const sal_Int32 nNumberFormat,
109 sal_Bool GetCurrencySymbol(const sal_Int32 nNumberFormat, rtl::OUString& rCurrencySymbol);
110 sal_Int16 GetCellType(const sal_Int32 nNumberFormat, sal_Bool& bIsStandard);
[all …]
/aoo41x/main/xmloff/source/style/
H A Dnumehelp.cxx88 XMLNumberFormat aFormat(sEmpty, nNumberFormat, 0); in GetCellType()
99 aFormat.nType = GetCellType(nNumberFormat, bIsStandard); in GetCellType()
102 if (GetCurrencySymbol(nNumberFormat, aFormat.sCurrency)) in GetCellType()
252 … uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat)); in GetCurrencySymbol()
289 … uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat)); in GetCellType()
307 const sal_Int32 nNumberFormat, const double& rValue, sal_Bool bExportValue) in SetNumberFormatAttributes() argument
313 GetCurrencySymbol(nNumberFormat, sCurrency, rXMLExport.GetNumberFormatsSupplier()); in SetNumberFormatAttributes()
336 uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat)); in GetCurrencySymbol()
370 uno::Reference <beans::XPropertySet> xNumberPropertySet(xNumberFormats->getByKey(nNumberFormat)); in GetCellType()
526 const sal_Int32 nNumberFormat, const double& rValue, sal_Bool bExportValue) in SetNumberFormatAttributes() argument
[all …]
/aoo41x/main/sw/source/core/txtnode/
H A Dfmtatr2.cxx809 const sal_uInt32 nNumberFormat, const bool bIsFixedLanguage) in MetaField() argument
811 , m_nNumberFormat( nNumberFormat ) in MetaField()
840 sal_uInt32 nNumberFormat( m_nNumberFormat ); in GetNumberFormat() local
848 rContent, nNumberFormat, number ); in GetNumberFormat()
850 return nNumberFormat; in GetNumberFormat()
853 void MetaField::SetNumberFormat(sal_uInt32 nNumberFormat) in SetNumberFormat() argument
857 m_nNumberFormat = nNumberFormat; in SetNumberFormat()
872 const sal_uInt32 nNumberFormat, const bool bIsFixedLanguage) in makeMetaField() argument
875 new MetaField(i_pFmt, nNumberFormat, bIsFixedLanguage) ); in makeMetaField()
/aoo41x/main/sc/source/filter/xml/
H A DXMLStylesImportHelper.hxx40 sal_Int32 nNumberFormat; member
42 ScMyStyleNumberFormat() : nNumberFormat(-1) {} in ScMyStyleNumberFormat()
44 sStyleName(rStyleName), nNumberFormat(-1) {} in ScMyStyleNumberFormat()
46 sStyleName(rStyleName), nNumberFormat(nFormat) {} in ScMyStyleNumberFormat()
64 void AddStyleNumberFormat(const rtl::OUString& rStyleName, const sal_Int32 nNumberFormat);
H A DXMLStylesExportHelper.hxx188 sal_Int32 nNumberFormat; member
220 …sal_Bool& bIsAutoStyle, sal_Int32& nValidationIndex, sal_Int32& nNumberFormat, const sal_Int32 nRe…
224 const sal_Bool bIsAutoStyle, const sal_Int32 nValidationIndex, const sal_Int32 nNumberFormat);
H A DXMLStylesExportHelper.cxx940 …sal_Bool& bIsAutoStyle, sal_Int32& nValidationIndex, sal_Int32& nNumberFormat, const sal_Int32 nRe… in GetStyleNameIndex() argument
955 nNumberFormat = aItr->nNumberFormat; in GetStyleNameIndex()
1049 const sal_Int32 nNumberFormat) in AddRangeStyleName() argument
1055 aFormatRange.nNumberFormat = nNumberFormat; in AddRangeStyleName()
H A DXMLStylesImportHelper.cxx37 …NumberFormats::AddStyleNumberFormat(const rtl::OUString& rStyleName, const sal_Int32 nNumberFormat) in AddStyleNumberFormat() argument
39 aSet.insert(ScMyStyleNumberFormat(rStyleName, nNumberFormat)); in AddStyleNumberFormat()
49 return aItr->nNumberFormat; in GetStyleNumberFormat()
H A Dxmlstyle.cxx628 sal_Int32 nNumberFormat = 0; in exportStyleAttributes() local
629 if (i->maValue >>= nNumberFormat) in exportStyleAttributes()
631 rtl::OUString sAttrValue(rScXMLExport.getDataStyleName(nNumberFormat)); in exportStyleAttributes()
821 sal_Int32 nNumberFormat = 0; in exportStyleAttributes() local
822 if (xPropSet->getPropertyValue( sNumberFormat ) >>= nNumberFormat) in exportStyleAttributes()
824 GetExport().getDataStyleName(nNumberFormat) ); in exportStyleAttributes()
H A Dxmlexprt.cxx1903 sal_Int32 nNumberFormat = 0; in _ExportStyles() local
1904 if (xCellProperties->getPropertyValue(sNumberFormat) >>= nNumberFormat) in _ExportStyles()
1905 addDataStyle(nNumberFormat); in _ExportStyles()
1931 sal_Int32 nNumberFormat(-1); in AddStyleFromCells() local
1964 if (aItr->maValue >>= nNumberFormat) in AddStyleFromCells()
1965 addDataStyle(nNumberFormat); in AddStyleFromCells()
1986 if (nNumberFormat == -1) in AddStyleFromCells()
1987 xProperties->getPropertyValue(SC_NUMBERFORMAT) >>= nNumberFormat; in AddStyleFromCells()
2937 aCell.nNumberFormat, aCell.fValue); in WriteCell()
2986 aCell.nNumberFormat, pDoc->GetValue( aCellPos )); in WriteCell()
[all …]
H A Dxmlimprt.cxx2320 sal_Bool ScXMLImport::IsCurrencySymbol(const sal_Int32 nNumberFormat, const rtl::OUString& sCurrent… in IsCurrencySymbol() argument
2330 …::Reference <beans::XPropertySet> xNumberPropertySet(xLocalNumberFormats->getByKey(nNumberFormat)); in IsCurrencySymbol()
2459 sal_Int32 nNumberFormat(pStyle->GetNumberFormat()); in SetStyleToRanges() local
2460 SetType(xProperties, nNumberFormat, nPrevCellType, sPrevCurrency); in SetStyleToRanges()
2479 … sal_Int32 nNumberFormat(GetStyleNumberFormats()->GetStyleNumberFormat(sPrevStyleName)); in SetStyleToRanges() local
2480 sal_Bool bInsert(nNumberFormat == -1); in SetStyleToRanges()
2481 SetType(xProperties, nNumberFormat, nPrevCellType, sPrevCurrency); in SetStyleToRanges()
2483 GetStyleNumberFormats()->AddStyleNumberFormat(sPrevStyleName, nNumberFormat); in SetStyleToRanges()
/aoo41x/main/xmloff/source/chart/
H A DSchXMLAutoStylePoolP.cxx71 sal_Int32 nNumberFormat = -1; in exportStyleAttributes() local
72 if( ( iter->maValue >>= nNumberFormat ) && in exportStyleAttributes()
73 ( nNumberFormat != -1 )) in exportStyleAttributes()
75 rtl::OUString sAttrValue = mrSchXMLExport.getDataStyleName( nNumberFormat ); in exportStyleAttributes()
H A DXMLChartStyleContext.cxx98 sal_Int32 nNumberFormat = pStyle->GetKey(); in lcl_NumberFormatStyleToProperty() local
99 aNumberFormat <<= nNumberFormat; in lcl_NumberFormatStyleToProperty()
/aoo41x/main/xmloff/source/draw/
H A Dpropimp0.cxx259 sal_Int32 nNumberFormat = 0; in exportXML() local
260 if( mpExport && (rValue >>= nNumberFormat) ) in exportXML()
262 mpExport->addDataStyle( nNumberFormat ); in exportXML()
263 rStrExpValue = mpExport->getDataStyleName( nNumberFormat ); in exportXML()
H A Dsdxmlexp_impl.hxx214 virtual void addDataStyle(const sal_Int32 nNumberFormat, sal_Bool bTimeFormat = sal_False );
217 …virtual rtl::OUString getDataStyleName(const sal_Int32 nNumberFormat, sal_Bool bTimeFormat = sal_F…
/aoo41x/main/dbaccess/source/filter/xml/
H A DxmlAutoStyle.cxx68 sal_Int32 nNumberFormat = 0; in exportStyleAttributes() local
69 if ( i->maValue >>= nNumberFormat ) in exportStyleAttributes()
71 rtl::OUString sAttrValue = rODBExport.getDataStyleName(nNumberFormat); in exportStyleAttributes()
/aoo41x/main/sw/inc/
H A Dfmtmeta.hxx188 void SetNumberFormat(sal_uInt32 nNumberFormat);
193 const sal_uInt32 nNumberFormat = SAL_MAX_UINT32,
214 const sal_uInt32 nNumberFormat = SAL_MAX_UINT32,
/aoo41x/main/sc/source/core/data/
H A Dcolumn3.cxx160 void ScColumn::Insert( SCROW nRow, sal_uLong nNumberFormat, ScBaseCell* pCell ) in Insert() argument
167 short eNewType = pDocument->GetFormatTable()->GetType(nNumberFormat); in Insert()
169 ApplyAttr( nRow, SfxUInt32Item( ATTR_VALUE_FORMAT, (sal_uInt32) nNumberFormat) ); in Insert()
1737 sal_uLong nNumberFormat = 0; in FillDPCacheT() local
1756 …nNumberFormatType = pFormatter->GetType( nNumberFormat = pPattern->GetNumberFormat( pFormatter ) ); in FillDPCacheT()
1758 nNumberFormatType = NUMBERFORMAT_NUMBER, nNumberFormat = 0; in FillDPCacheT()
1763 String str( GetStringFromCell( pCell, nNumberFormat, pFormatter ) ); in FillDPCacheT()
1770 String str( GetStringFromCell( pCell, nNumberFormat, pFormatter ) ); in FillDPCacheT()
1772 pDPItemData = new ScDPItemData( nNumberFormat, str, fVal, bFlag ); in FillDPCacheT()
1775 … pDPItemData = new ScDPItemData( GetStringFromCell( pCell, nNumberFormat, pFormatter ) ); in FillDPCacheT()
H A Ddocumen6.cxx131 sal_uInt8 ScDocument::GetCellScriptType( ScBaseCell* pCell, sal_uLong nNumberFormat ) in GetCellScriptType() argument
142 ScCellFormat::GetString( pCell, nNumberFormat, aStr, &pColor, *xPoolHelper->GetFormTable() ); in GetCellScriptType()
/aoo41x/main/sw/source/ui/shells/
H A Dtabsh.cxx1549 sal_uInt32 nNumberFormat = NUMBERFORMAT_ENTRY_NOT_FOUND; in ExecNumberFormat() local
1559 nNumberFormat = pFormatter->GetEntryKey( aCode, eLang ); in ExecNumberFormat()
1560 if( NUMBERFORMAT_ENTRY_NOT_FOUND == nNumberFormat ) in ExecNumberFormat()
1566 nNumberFormat, eLang )) in ExecNumberFormat()
1567 nNumberFormat = NUMBERFORMAT_ENTRY_NOT_FOUND; in ExecNumberFormat()
1589 nNumberFormat = pFormatter->GetStandardFormat( nFmtType, eLang ) + nOffset; in ExecNumberFormat()
1591 if( NUMBERFORMAT_ENTRY_NOT_FOUND != nNumberFormat ) in ExecNumberFormat()
1594 aBoxSet.Put( SwTblBoxNumFormat( nNumberFormat )); in ExecNumberFormat()
/aoo41x/main/dbaccess/source/ui/control/
H A DFieldDescControl.cxx103 sal_Int32 nNumberFormat = ::comphelper::getNumberFormatType(_xNumberFormatter,_nFormatKey); in checkDoubleForDateFormat() local
104 …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()
1829 sal_Int32 nNumberFormat = ::comphelper::getNumberFormatType(GetFormatter(),_nFormatKey); in isTextFormat() local
1830 bTextFormat = (nNumberFormat == ::com::sun::star::util::NumberFormat::TEXT); in isTextFormat()
1885 sal_Int32 nNumberFormat = ::comphelper::getNumberFormatType(xNumberFormatter,nFormatKey); in getControlDefault() local
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()
/aoo41x/main/chart2/source/view/main/
H A DVDataSeries.cxx549 sal_Int32 nNumberFormat = -1; in hasExplicitNumberFormat() local
550 if( xPointProp.is() && (xPointProp->getPropertyValue(aPropName) >>= nNumberFormat) ) in hasExplicitNumberFormat()
557 sal_Int32 nNumberFormat = -1; in getExplicitNumberFormat() local
560 xPointProp->getPropertyValue(aPropName) >>= nNumberFormat; in getExplicitNumberFormat()
561 return nNumberFormat; in getExplicitNumberFormat()
/aoo41x/main/sw/source/ui/utlui/
H A Dnumfmtlb.cxx464 sal_uInt32 nNumberFormat = ((SfxUInt32Item*)pItem)->GetValue(); in IMPL_LINK() local
466 const SvNumberformat* pFmt = pFormatter->GetEntry(nNumberFormat); in IMPL_LINK()
470 SetDefFormat(nNumberFormat); in IMPL_LINK()
/aoo41x/main/sw/source/filter/xml/
H A Dxmltble.cxx861 sal_Int32 nNumberFormat = 0; in ExportTableBox() local
863 aAny >>= nNumberFormat; in ExportTableBox()
865 if (NUMBERFORMAT_TEXT == nNumberFormat) in ExportTableBox()
871 else if ( (-1 != nNumberFormat) && (xText->getString().getLength() > 0) ) in ExportTableBox()
878 *this, nNumberFormat, xCell->getValue(), in ExportTableBox()
/aoo41x/main/chart2/source/controller/itemsetwrapper/
H A DMultipleChartConverters.cxx137 …sal_Int32 nNumberFormat=ExplicitValueProvider::getExplicitNumberFormatKeyForDataLabel( xObjectProp… in AllDataLabelItemConverter() local
151 nNumberFormat, nPercentNumberFormat in AllDataLabelItemConverter()

Completed in 181 milliseconds

12