summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-07-11 02:52:42 +0200
committerEike Rathke <erack@redhat.com>2015-07-11 03:08:40 +0200
commitdad6be8af0e670a56d3d399a1b0a35859bd7b093 (patch)
tree1069d0c4670fd3c1db07297d8185427a1416580f /offapi
parent934e35c62525a7541e6a5b2d05b557a6fcc35abb (diff)
write trailing text subformat also to Excel .xls and .xlsx, tdf#92457
... without generating 0;;;@ from 0;@ that has different semantics. Introduce css::util::NumberFormat::EMPTY to properly flag empty subformats and distinguish from UNDEFINED, everything else would be an ugly hack. SvNumberformat::GetMappedFormatstring() now correctly supports the trailing text subformat, so exports using it should get that automatically. Change-Id: If9a1bcc5ec5dfcf46688035e2b1428ab4747a68d
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/util/NumberFormat.idl6
1 files changed, 6 insertions, 0 deletions
diff --git a/offapi/com/sun/star/util/NumberFormat.idl b/offapi/com/sun/star/util/NumberFormat.idl
index 927bdf81a3ac..2bc297aed425 100644
--- a/offapi/com/sun/star/util/NumberFormat.idl
+++ b/offapi/com/sun/star/util/NumberFormat.idl
@@ -93,6 +93,12 @@ published constants NumberFormat
*/
const short UNDEFINED = 2048;
+
+ /** @internal is used to flag an empty sub format.
+ @since LibreOffice 5.1
+ */
+ const short EMPTY = 4096;
+
};