summaryrefslogtreecommitdiff
path: root/sc/inc/clipcontext.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-27 14:26:23 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-01-27 14:47:04 -0500
commitc0deb50f8f7feecb7adb049e8253c9566232abde (patch)
treea1905b6efcc41cb3a0a233da52669a0d77311da1 /sc/inc/clipcontext.hxx
parent1cfb281c2daafcdefe5404f51037c72f9b57dde8 (diff)
Handle note instances during copy-n-pasting of single cell.
Change-Id: Ib258556414fd94b5156b65777478a8fd37abfd9e
Diffstat (limited to 'sc/inc/clipcontext.hxx')
-rw-r--r--sc/inc/clipcontext.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/clipcontext.hxx b/sc/inc/clipcontext.hxx
index c693c7f533a7..77abcf834618 100644
--- a/sc/inc/clipcontext.hxx
+++ b/sc/inc/clipcontext.hxx
@@ -21,6 +21,7 @@
class ScDocument;
class ScColumn;
class ScPatternAttr;
+class ScPostIt;
namespace sc {
@@ -49,6 +50,7 @@ class CopyFromClipContext : public ClipContextBase
sal_uInt16 mnInsertFlag;
ScCellValue maSingleCell;
const ScPatternAttr* mpSinglePattern;
+ const ScPostIt* mpSingleNote;
bool mbAsLink:1;
bool mbSkipAttrForEmptyCells:1;
bool mbCloneNotes:1;
@@ -76,6 +78,9 @@ public:
const ScPatternAttr* getSingleCellPattern() const;
void setSingleCellPattern( const ScPatternAttr* pAttr );
+ const ScPostIt* getSingleCellNote() const;
+ void setSingleCellNote( const ScPostIt* pNote );
+
bool isAsLink() const;
bool isSkipAttrForEmptyCells() const;
bool isCloneNotes() const;