diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-24 18:45:15 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-04-25 17:02:31 +0200 |
commit | a8b7c72425aabae87bfd2e141aa06f06319ae11c (patch) | |
tree | c1476024e8ca00c013810a57b5bf240efbc38946 /include | |
parent | 6bec369008596f74dfa49721f52d16a684fc4581 (diff) |
add error to office:value-type for calc cells and fdo#51810
For cached value import we need the information which cells are error
cells. For ODF 1.2 extended we therefore export now calcext:office-value
with the additional value "error".
Change-Id: I9bc988ea4924bea767ba5e504b77f6a16e51a82e
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/numehelp.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/xmloff/numehelp.hxx b/include/xmloff/numehelp.hxx index 9f0bac4f9e4b..7aa3922ebc72 100644 --- a/include/xmloff/numehelp.hxx +++ b/include/xmloff/numehelp.hxx @@ -21,6 +21,7 @@ #define XMLOFF_NUMEHELP_HXX #include "sal/config.h" +#include "xmloff/xmlnmspe.hxx" #include "xmloff/dllapi.h" #include <sal/types.h> #include <com/sun/star/frame/XModel.hpp> @@ -59,7 +60,6 @@ class XMLOFF_DLLPUBLIC XMLNumberFormatAttributesExportHelper const OUString sEmpty; const OUString sStandardFormat; const OUString sType; - const OUString sAttrValueType; const OUString sAttrValue; const OUString sAttrDateValue; const OUString sAttrTimeValue; @@ -101,14 +101,15 @@ public : void WriteAttributes(const sal_Int16 nTypeKey, const double& rValue, const OUString& rCurrencySymbol, - sal_Bool bExportValue = sal_True); + sal_Bool bExportValue = sal_True, sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE); void SetNumberFormatAttributes(const sal_Int32 nNumberFormat, const double& rValue, - sal_Bool bExportValue = sal_True); + sal_Bool bExportValue = sal_True, sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE); void SetNumberFormatAttributes(const OUString& rValue, const OUString& rCharacters, sal_Bool bExportValue = sal_True, - sal_Bool bExportTypeAttribute = sal_True); + sal_Bool bExportTypeAttribute = sal_True, + sal_uInt16 nNamespace = XML_NAMESPACE_OFFICE); }; #endif |