diff options
Diffstat (limited to 'sc/inc/postit.hxx')
-rw-r--r-- | sc/inc/postit.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index 0db2a9fc1f69..907e67918a91 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -64,8 +64,8 @@ struct SC_DLLPUBLIC ScNoteData // ============================================================================ -/** An additional class held by an ScBaseCell instance containing all - information for a cell annotation. +/** + * Additional class containing cell annotation data. */ class SC_DLLPUBLIC ScPostIt { @@ -266,10 +266,11 @@ private: typedef std::map<ScAddress2D, ScPostIt*> ScNoteMap; ScNoteMap maNoteMap; + ScNotes(const ScNotes& rNotes); + ScNotes operator=(const ScNotes& rNotes); ScDocument* mpDoc; public: ScNotes(ScDocument* pDoc); - ScNotes(const ScNotes& rNotes); ~ScNotes(); typedef ScNoteMap::iterator iterator; @@ -306,7 +307,7 @@ public: void clear(); - ScNotes* clone(ScDocument* pDoc, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bCloneNoteCaption, SCTAB nTab); + void clone(ScDocument* pDoc, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bCloneNoteCaption, SCTAB nTab, ScNotes& rTarget); void CopyFromClip(const ScNotes& maNotes, ScDocument* pDoc, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, SCsCOL nDx, SCsROW nDy, SCTAB nTab, bool bCloneCaption); void erase(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bForgetCaption = false); |