From c0deb50f8f7feecb7adb049e8253c9566232abde Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 27 Jan 2014 14:26:23 -0500 Subject: Handle note instances during copy-n-pasting of single cell. Change-Id: Ib258556414fd94b5156b65777478a8fd37abfd9e --- sc/inc/clipcontext.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sc/inc/clipcontext.hxx') 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; -- cgit