summaryrefslogtreecommitdiff
path: root/sc/inc/unonames.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-24 20:41:52 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-09-26 19:37:12 +0000
commit89804c14ee99721d252e30468342384fbc8926b2 (patch)
treea543fb27fe9333b4a204aabba4ef984a2cb09f57 /sc/inc/unonames.hxx
parentf626fd5f897796451685c06ce5f397a90aeaa8e6 (diff)
implement prototype for more stable calc cell style names
This should ensure that as long as the style does not change the cell style name is the same after an import export cycle. Each ScPatternAttr stores a unique ID and we store the ID to name mapping during import. During export if we find a ScPatternAttr that has a key that is also stored in the map we write back the style name from the map. To avoid name collisions we block the style names from the import for the export. The missing piece to make this completely awesome is now to make sure that styles are sorted by name during export. That way we can reduce the diff between import and export even more. Change-Id: Ie4fe2aa00f07efec27ea129e314ac0b6b7e0d8c0 Reviewed-on: https://gerrit.libreoffice.org/29255 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/inc/unonames.hxx')
-rw-r--r--sc/inc/unonames.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/unonames.hxx b/sc/inc/unonames.hxx
index 415399e1caef..e7ff39cbf595 100644
--- a/sc/inc/unonames.hxx
+++ b/sc/inc/unonames.hxx
@@ -103,6 +103,7 @@
#define SC_UNONAME_CELLVJUS_METHOD "VertJustifyMethod"
#define SC_UNONAME_CELLORI "Orientation"
#define SC_UNONAME_NUMFMT "NumberFormat"
+#define SC_UNONAME_FORMATID "FormatID"
#define SC_UNONAME_SHADOW "ShadowFormat"
#define SC_UNONAME_TBLBORD "TableBorder"
#define SC_UNONAME_TBLBORD2 "TableBorder2"