Home
last modified time | relevance | path

Searched refs:pNote (Results 1 – 25 of 30) sorted by relevance

12

/trunk/main/sc/source/ui/drawfunc/
H A Dfutext3.cxx75 ScPostIt* pNote = 0; in StopEditMode() local
79 pNote = rDoc.GetNote( aNotePos ); in StopEditMode()
80 …DBG_ASSERT( pNote && (pNote->GetCaption() == pObject), "FuText::StopEditMode - missing or invalid … in StopEditMode()
86 if( pNote && pUndoMgr ) in StopEditMode()
110 if( pNote ) in StopEditMode()
130 if( pNote ) in StopEditMode()
136 pNote->AutoStamp(); in StopEditMode()
160 pNote = 0; in StopEditMode()
203 ScPostIt* pNote = rDoc.GetNote( rPos ); in StopDragMode()
204 …DBG_ASSERT( pNote && (pNote->GetCaption() == pObject), "FuText::StopDragMode - missing or invalid … in StopDragMode()
[all …]
/trunk/main/sc/source/core/data/
H A Dpostit.cxx797 if( pNote && !pNote->IsCaptionShown() ) in CreateTempCaption()
857 pNote->AutoStamp(); in CreateNoteFromCaption()
858 rDoc.TakeNote( rPos, pNote ); in CreateNoteFromCaption()
860 if( pNote ) in CreateNoteFromCaption()
865 return pNote; in CreateNoteFromCaption()
894 pNote->AutoStamp(); in CreateNoteFromObjectData()
895 rDoc.TakeNote( rPos, pNote ); in CreateNoteFromObjectData()
897 return pNote; in CreateNoteFromObjectData()
904 ScPostIt* pNote = 0; in CreateNoteFromString() local
916 pNote->AutoStamp(); in CreateNoteFromString()
[all …]
H A Dcolumn3.cxx377 pNote->ForgetCaption(); in DeleteRange()
476 if( pNote || pBC ) in DeleteRange()
912 if (ScPostIt* pNote = rSource.GetNote()) in CloneCell() local
1438 ScPostIt* pNote = pOldCell->ReleaseNote(); in SetString() local
1440 if (pNewCell || pNote || pBC) in SetString()
1445 pNewCell = new ScNoteCell( pNote ); in SetString()
1932 pItems[ nIndex ].pCell->TakeNote( pNote ); in TakeNote()
1934 Insert( nRow, new ScNoteCell( pNote ) ); in TakeNote()
1940 ScPostIt* pNote = 0; in ReleaseNote() local
1945 pNote = pCell->ReleaseNote(); in ReleaseNote()
[all …]
H A Dtable6.cxx98 if(const ScPostIt* pNote = pCell->GetNote()) in SearchCell() local
100 aString = pNote->GetText(); in SearchCell()
101 bMultiLine = pNote->HasMultiLineText(); in SearchCell()
214 if( ScPostIt* pNote = pCell->GetNote() ) in SearchCell() local
215 pNote->SetText( ScAddress( nCol, nRow, nTab ), aString ); in SearchCell()
H A Dcell.cxx186 void ScBaseCell::TakeNote( ScPostIt* pNote ) in TakeNote() argument
189 mpNote = pNote; in TakeNote()
194 ScPostIt* pNote = mpNote; in ReleaseNote() local
196 return pNote; in ReleaseNote()
562 ScNoteCell::ScNoteCell( ScPostIt* pNote, SvtBroadcaster* pBC ) : in ScNoteCell() argument
565 TakeNote( pNote ); in ScNoteCell()
H A Ddocument.cxx2988 ScPostIt* pNote = GetNote( rPos ); in GetOrCreateNote() local
2989 if( !pNote ) in GetOrCreateNote()
2991 pNote = new ScPostIt( *this, rPos, false ); in GetOrCreateNote()
2992 TakeNote( rPos, pNote ); in GetOrCreateNote()
2994 return pNote; in GetOrCreateNote()
/trunk/main/sc/source/ui/unoobj/
H A Dnotesuno.cxx205 const ScPostIt* pNote = ImplGetNote(); in getAuthor() local
206 return pNote ? pNote->GetAuthor() : rtl::OUString(); in getAuthor()
212 const ScPostIt* pNote = ImplGetNote(); in getDate() local
213 return pNote ? pNote->GetDate() : rtl::OUString(); in getDate()
219 const ScPostIt* pNote = ImplGetNote(); in getIsVisible() local
220 return pNote && pNote->IsCaptionShown(); in getIsVisible()
237 if( const ScPostIt* pNote = ImplGetNote() ) in getAnnotationShape() local
238 if( SdrObject* pCaption = pNote->GetOrCreateCaption( aCellPos ) ) in getAnnotationShape()
H A Deditsrc.cxx219 ScPostIt* pNote = pDocShell->GetDocument()->GetNote( aCellPos ); in GetCaptionObj() local
220 return pNote ? pNote->GetOrCreateCaption( aCellPos ) : 0; in GetCaptionObj()
245 if ( ScPostIt* pNote = pDocShell->GetDocument()->GetNote( aCellPos ) ) in GetTextForwarder() local
246 if ( const EditTextObject* pEditObj = pNote->GetEditTextObject() ) in GetTextForwarder()
/trunk/main/sc/source/ui/undo/
H A Dundocell.cxx882 ScPostIt* pNote = new ScPostIt( rDoc, maPos, rNoteData, false ); in DoInsertNote() local
883 rDoc.TakeNote( maPos, pNote ); in DoInsertNote()
893 if( ScPostIt* pNote = rDoc.ReleaseNote( maPos ) ) in DoRemoveNote() local
898 pNote->ForgetCaption(); in DoRemoveNote()
899 delete pNote; in DoRemoveNote()
920 if( ScPostIt* pNote = pDocShell->GetDocument()->GetNote( maPos ) ) in Undo() local
921 pNote->ShowCaption( maPos, !mbShown ); in Undo()
928 if( ScPostIt* pNote = pDocShell->GetDocument()->GetNote( maPos ) ) in Redo() local
929 pNote->ShowCaption( maPos, mbShown ); in Redo()
H A Dundoblk3.cxx1193 ScPostIt* pNote = pDoc->GetNote( aCursorPos ); in Undo() local
1194 DBG_ASSERT( pNote, "ScUndoReplace::Undo - cell does not contain a note" ); in Undo()
1195 if (pNote) in Undo()
1196 pNote->SetText( aCursorPos, aUndoStr ); in Undo()
/trunk/main/sc/source/ui/view/
H A Dviewfun6.cxx166 if( ScPostIt* pNote = pDoc->GetOrCreateNote( aPos ) ) in EditNote() local
171 pNote->ShowCaptionTemp( aPos ); in EditNote()
176 if( SdrCaptionObj* pCaption = pNote->GetCaption() ) in EditNote()
H A Ddrawview.cxx923 ScPostIt* pNote = pDoc->ReleaseNote( pCaptData->maStart ); in DeleteMarked() local
924 DBG_ASSERT( pNote, "ScDrawView::DeleteMarked - cell note missing in document" ); in DeleteMarked()
925 if( pNote ) in DeleteMarked()
928 ScNoteData aNoteData = pNote->GetNoteData(); in DeleteMarked()
934 delete pNote; in DeleteMarked()
H A Dcellsh.cxx564 if ( const ScPostIt* pNote = pDoc->GetNote( aPos ) ) in GetState() local
565 aNoteText = pNote->GetText(); in GetState()
897 const ScPostIt* pNote = pDoc->GetNote( ScAddress( nPosX, nPosY, nTab ) ); in GetState() local
898 if ( pNote && pDoc->IsBlockEditable( nTab, nPosX,nPosY, nPosX,nPosY ) ) in GetState()
899 rSet.Put( SfxBoolItem( nWhich, pNote->IsCaptionShown() ) ); in GetState()
H A Dgridwin5.cxx198 const ScPostIt* pNote = pDoc->GetNote( aCellPos ); in ShowNoteMarker() local
199 if ( (aTrackText.Len() > 0) || (pNote && !pNote->IsCaptionShown()) ) in ShowNoteMarker()
H A Dcellsh1.cxx1866 if( ScPostIt* pNote = pDoc->GetNote( aPos ) ) in ExecuteEdit() local
1873 bShow = !pNote->IsCaptionShown(); in ExecuteEdit()
/trunk/main/sc/source/filter/xml/
H A Dxmlcelli.cxx604 ScPostIt* pNote = 0; in SetAnnotation() local
626 pNote = ScNoteUtil::CreateNoteFromCaption( *pDoc, aPos, *pCaption, true ); in SetAnnotation()
654 pNote = ScNoteUtil::CreateNoteFromObjectData( *pDoc, aPos, in SetAnnotation()
663 pNote = ScNoteUtil::CreateNoteFromString( *pDoc, aPos, in SetAnnotation()
668 if( pNote ) in SetAnnotation()
678 pNote->SetDate( aDate ); in SetAnnotation()
679 pNote->SetAuthor( mxAnnotationData->maAuthor ); in SetAnnotation()
H A Dxmlexprt.cxx2299 ScPostIt* pNote = pDoc->GetNote( aPos ); in _ExportAutoStyles() local
2300 DBG_ASSERT( pNote, "note not found" ); in _ExportAutoStyles()
2301 if (pNote) in _ExportAutoStyles()
2303 SdrCaptionObj* pDrawObj = pNote->GetOrCreateCaption( aPos ); in _ExportAutoStyles()
2346 ScPostIt* pNote = pDoc->GetNote( aPos ); in _ExportAutoStyles() local
2347 DBG_ASSERT( pNote, "note not found" ); in _ExportAutoStyles()
2348 if (pNote) in _ExportAutoStyles()
2350 SdrCaptionObj* pDrawObj = pNote->GetOrCreateCaption( aPos ); in _ExportAutoStyles()
2381 ScPostIt* pNote = pDoc->GetNote( aPos ); in _ExportAutoStyles() local
2382 DBG_ASSERT( pNote, "note not found" ); in _ExportAutoStyles()
[all …]
/trunk/main/sc/inc/
H A Dcell.hxx122 void TakeNote( ScPostIt* pNote );
184 explicit ScNoteCell( ScPostIt* pNote, SvtBroadcaster* pBC = 0 );
H A Dcolumn.hxx264 void TakeNote( SCROW nRow, ScPostIt* pNote );
/trunk/main/sc/source/ui/navipi/
H A Dcontent.cxx1121 if( const ScPostIt* pNote = pCell->GetNote() ) in GetNoteStrings() local
1122 InsertContent( SC_CONTENT_NOTE, lcl_NoteString( *pNote ) ); in GetNoteStrings()
1174 if( const ScPostIt* pNote = pCell->GetNote() ) in NoteStringsChanged() local
1180 if ( lcl_NoteString( *pNote ) != GetEntryText(pEntry) ) in NoteStringsChanged()
/trunk/main/sc/source/core/tool/
H A Ddetfunc.cxx1442 ScPostIt* pNote = rDoc.GetNote( pData->maStart ); in UpdateAllComments() local
1444 …DBG_ASSERT( pNote && (pNote->GetCaption() == pObject), "ScDetectiveFunc::UpdateAllComments - inval… in UpdateAllComments()
1445 if( pNote ) in UpdateAllComments()
H A Dinterpr2.cxx1620 ScPostIt* pNote = 0; in ScBackSolver() local
1624 pNote = pVCell ? pVCell->ReleaseNote() : 0; in ScBackSolver()
1774 pVCell = pNote ? new ScNoteCell( pNote ) : 0; in ScBackSolver()
/trunk/main/sc/source/ui/Accessibility/
H A DAccessibleDocumentPagePreview.cxx189 if( ScPostIt* pNote = pDoc->GetNote( aNote.maNoteCell ) ) in AddNotes() local
190 aNote.maNoteText = pNote->GetText(); in AddNotes()
366 if( ScPostIt* pNote = pDoc->GetNote( aNote.maNoteCell ) ) in CheckChanges() local
367 aNote.maNoteText = pNote->GetText(); in CheckChanges()
/trunk/main/sc/source/filter/starcalc/
H A Dscflt.cxx1720 sal_Char* pNote = new sal_Char[NoteLen+1]; in LoadCol() local
1721 rStream.Read(pNote, NoteLen); in LoadCol()
1722 pNote[NoteLen] = 0; in LoadCol()
1723 String aNoteText( SC10TOSTRING(pNote)); in LoadCol()
1724 delete [] pNote; in LoadCol()
/trunk/main/sc/source/ui/docshell/
H A Ddocfunc.cxx1076 ScPostIt* pNote = rDoc.GetNote( rPos ); in ShowNote() local
1077 if( !pNote || (bShow == pNote->IsCaptionShown()) ) return false; in ShowNote()
1080 pNote->ShowCaption( rPos, bShow ); in ShowNote()
1110 …if( ScPostIt* pNote = (aNewText.Len() > 0) ? pDoc->GetOrCreateNote( rPos ) : pDoc->GetNote( rPos )… in SetNoteText() local
1111 pNote->SetText( rPos, aNewText ); in SetNoteText()

Completed in 295 milliseconds

12