summaryrefslogtreecommitdiffstats
path: root/sc/inc/column.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-15 15:06:25 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-15 22:12:41 -0400
commit6b51a4e7a3f511fc1dce0b21fe7926d303e9afbf (patch)
tree0df13d4d20918eea498697c8750b9004b205c102 /sc/inc/column.hxx
parentActually these should be MAXROWCOUNT; MAXROW would be one element too short. (diff)
downloadcore-6b51a4e7a3f511fc1dce0b21fe7926d303e9afbf.tar.gz
core-6b51a4e7a3f511fc1dce0b21fe7926d303e9afbf.zip
Set up new container to store cell text's script type.
Change-Id: I0330dea1b2f85a8ba12cb232ab8b4263607ba225
Diffstat (limited to 'sc/inc/column.hxx')
-rw-r--r--sc/inc/column.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index dd14b6a896c4..2469a6c60a2e 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -91,12 +91,19 @@ struct ColEntry
class ScColumn
{
typedef mdds::multi_type_vector<mdds::mtv::element_block_func> TextWidthType;
+ typedef mdds::multi_type_vector<mdds::mtv::element_block_func> ScriptType;
// Only stores empty or unsigned short values. Empty values correspond
// with empty cells. All non-empty cell positions must have unsigned short
// values; either the reall text widths or TEXTWIDTH_DIRTY.
TextWidthType maTextWidths;
+ // Empty elements represent unknown script types. For now, we store script
+ // type values as unsigned shorts. Once multi_type_vector supports char
+ // and unsigned char (due in 0.7.2), we can switch to that to save storage
+ // space.
+ ScriptType maScriptTypes;
+
SCCOL nCol;
SCTAB nTab;