summaryrefslogtreecommitdiffstats
path: root/sc/inc/celltextattr.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-10 22:47:05 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-10 22:50:22 -0500
commit808fd5fbd8868dfd95c8a38676815798fa2b79c4 (patch)
tree5bec9519ec53ec0a0f68688a3e156b4bf8eb71a2 /sc/inc/celltextattr.hxx
parentfdo#87030: Generate a proper PKCS#7 signature (diff)
downloadcore-808fd5fbd8868dfd95c8a38676815798fa2b79c4.tar.gz
core-808fd5fbd8868dfd95c8a38676815798fa2b79c4.zip
Deteremine the script type of source cell during paste replication.
Doing this ahead of time eliminates the need to update script types of all replicated cells after the paste. This makes significant performance impact. Change-Id: Ic4f7d7b2fe152bd5640ddb1dae01cc2ed757657e
Diffstat (limited to 'sc/inc/celltextattr.hxx')
-rw-r--r--sc/inc/celltextattr.hxx30
1 files changed, 30 insertions, 0 deletions
diff --git a/sc/inc/celltextattr.hxx b/sc/inc/celltextattr.hxx
new file mode 100644
index 000000000000..9e4675d0e3c3
--- /dev/null
+++ b/sc/inc/celltextattr.hxx
@@ -0,0 +1,30 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_SC_CELLTEXTATTR_HXX
+#define INCLUDED_SC_CELLTEXTATTR_HXX
+
+#include <sal/types.h>
+
+namespace sc {
+
+struct CellTextAttr
+{
+ sal_uInt16 mnTextWidth;
+ sal_uInt8 mnScriptType;
+
+ CellTextAttr();
+ CellTextAttr(const CellTextAttr& r);
+};
+
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */