diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-10 22:47:05 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-12-10 22:50:22 -0500 |
commit | 808fd5fbd8868dfd95c8a38676815798fa2b79c4 (patch) | |
tree | 5bec9519ec53ec0a0f68688a3e156b4bf8eb71a2 /sc/inc/celltextattr.hxx | |
parent | fdo#87030: Generate a proper PKCS#7 signature (diff) | |
download | core-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.hxx | 30 |
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: */ |