Lines Matching refs:rPos

180 sal_Bool ScDocFunc::DetectiveAddPred(const ScAddress& rPos)  in DetectiveAddPred()  argument
188 SCCOL nCol = rPos.Col(); in DetectiveAddPred()
189 SCROW nRow = rPos.Row(); in DetectiveAddPred()
190 SCTAB nTab = rPos.Tab(); in DetectiveAddPred()
218 sal_Bool ScDocFunc::DetectiveDelPred(const ScAddress& rPos) in DetectiveDelPred() argument
229 SCCOL nCol = rPos.Col(); in DetectiveDelPred()
230 SCROW nRow = rPos.Row(); in DetectiveDelPred()
231 SCTAB nTab = rPos.Tab(); in DetectiveDelPred()
259 sal_Bool ScDocFunc::DetectiveAddSucc(const ScAddress& rPos) in DetectiveAddSucc() argument
268 SCCOL nCol = rPos.Col(); in DetectiveAddSucc()
269 SCROW nRow = rPos.Row(); in DetectiveAddSucc()
270 SCTAB nTab = rPos.Tab(); in DetectiveAddSucc()
298 sal_Bool ScDocFunc::DetectiveDelSucc(const ScAddress& rPos) in DetectiveDelSucc() argument
309 SCCOL nCol = rPos.Col(); in DetectiveDelSucc()
310 SCROW nRow = rPos.Row(); in DetectiveDelSucc()
311 SCTAB nTab = rPos.Tab(); in DetectiveDelSucc()
339 sal_Bool ScDocFunc::DetectiveAddError(const ScAddress& rPos) in DetectiveAddError() argument
348 SCCOL nCol = rPos.Col(); in DetectiveAddError()
349 SCROW nRow = rPos.Row(); in DetectiveAddError()
350 SCTAB nTab = rPos.Tab(); in DetectiveAddError()
733 sal_Bool ScDocFunc::SetNormalString( const ScAddress& rPos, const String& rText, sal_Bool bApi ) in SetNormalString() argument
739 ScEditableTester aTester( pDoc, rPos.Tab(), rPos.Col(),rPos.Row(), rPos.Col(),rPos.Row() ); in SetNormalString()
751 ScBaseCell* pDocCell = pDoc->GetCell( rPos ); in SetNormalString()
756 pTabs[0] = rPos.Tab(); in SetNormalString()
763 const ScPatternAttr* pPattern = pDoc->GetPattern( rPos.Col(),rPos.Row(),rPos.Tab() ); in SetNormalString()
774 pDoc->SetString( rPos.Col(), rPos.Row(), rPos.Tab(), rText ); in SetNormalString()
779 …tUndoManager()->AddUndoAction(new ScUndoEnterData( &rDocShell, rPos.Col(),rPos.Row(),rPos.Tab(), 1… in SetNormalString()
783 if ( bEditDeleted || pDoc->HasAttrib( ScRange(rPos), HASATTR_NEEDHEIGHT ) ) in SetNormalString()
784 AdjustRowHeight( ScRange(rPos) ); in SetNormalString()
786 rDocShell.PostPaintCell( rPos ); in SetNormalString()
791 NotifyInputHandler( rPos ); in SetNormalString()
796 sal_Bool ScDocFunc::PutCell( const ScAddress& rPos, ScBaseCell* pNewCell, sal_Bool bApi ) in PutCell() argument
806 ScEditableTester aTester( pDoc, rPos.Tab(), rPos.Col(),rPos.Row(), rPos.Col(),rPos.Row() ); in PutCell()
817 ScBaseCell* pDocCell = pDoc->GetCell( rPos ); in PutCell()
820 pDoc->HasAttrib( ScRange(rPos), HASATTR_NEEDHEIGHT ) ); in PutCell()
822 ScBaseCell* pUndoCell = (bUndo && pDocCell) ? pDocCell->CloneWithoutNote( *pDoc, rPos ) : 0; in PutCell()
823 ScBaseCell* pRedoCell = (bUndo && pNewCell) ? pNewCell->CloneWithoutNote( *pDoc, rPos ) : 0; in PutCell()
825 pDoc->PutCell( rPos, pNewCell ); in PutCell()
831 new ScUndoPutCell( &rDocShell, rPos, pUndoCell, pRedoCell, bHeight ) ); in PutCell()
835 AdjustRowHeight( ScRange(rPos) ); in PutCell()
838 rDocShell.PostPaintCell( rPos ); in PutCell()
845 NotifyInputHandler( rPos ); in PutCell()
850 void ScDocFunc::NotifyInputHandler( const ScAddress& rPos ) in NotifyInputHandler() argument
856 if ( pInputHdl && pInputHdl->GetCursorPos() == rPos ) in NotifyInputHandler()
880 sal_Bool ScDocFunc::PutData( const ScAddress& rPos, ScEditEngineDefaulter& rEngine, sal_Bool bInter… in PutData() argument
922 bRet = PutCell( rPos, in PutData()
949 bRet = SetNormalString( rPos, aText, bApi ); in PutData()
951 bRet = PutCell( rPos, new ScStringCell( aText ), bApi ); in PutData()
959 aPattern.DeleteUnchanged( pDoc->GetPattern( rPos.Col(), rPos.Row(), rPos.Tab() ) ); in PutData()
964 aMark.SelectTable( rPos.Tab(), sal_True ); in PutData()
965 aMark.SetMarkArea( ScRange( rPos ) ); in PutData()
984 ScBaseCell* ScDocFunc::InterpretEnglishString( const ScAddress& rPos, in InterpretEnglishString() argument
1000 ScCompiler aComp( pDoc, rPos ); in InterpretEnglishString()
1004 pNewCell = new ScFormulaCell( pDoc, rPos, pCode, eGrammar, MM_NONE ); in InterpretEnglishString()
1036 sal_Bool ScDocFunc::SetCellText( const ScAddress& rPos, const String& rText, in SetCellText() argument
1055 pNewCell = InterpretEnglishString( rPos, rText, rFormulaNmsp, eGrammar ); in SetCellText()
1066 return PutCell( rPos, pNewCell, bApi ); in SetCellText()
1068 return SetNormalString( rPos, rText, bApi ); in SetCellText()
1073 bool ScDocFunc::ShowNote( const ScAddress& rPos, bool bShow ) in ShowNote() argument
1076 ScPostIt* pNote = rDoc.GetNote( rPos ); in ShowNote()
1080 pNote->ShowCaption( rPos, bShow ); in ShowNote()
1082 … rDocShell.GetUndoManager()->AddUndoAction( new ScUndoShowHideNote( rDocShell, rPos, bShow ) ); in ShowNote()
1084 if (rDoc.IsStreamValid(rPos.Tab())) in ShowNote()
1085 rDoc.SetStreamValid(rPos.Tab(), sal_False); in ShowNote()
1094 bool ScDocFunc::SetNoteText( const ScAddress& rPos, const String& rText, sal_Bool bApi ) in SetNoteText() argument
1099 ScEditableTester aTester( pDoc, rPos.Tab(), rPos.Col(),rPos.Row(), rPos.Col(),rPos.Row() ); in SetNoteText()
1110 …f( ScPostIt* pNote = (aNewText.Len() > 0) ? pDoc->GetOrCreateNote( rPos ) : pDoc->GetNote( rPos ) ) in SetNoteText()
1111 pNote->SetText( rPos, aNewText ); in SetNoteText()
1115 if (pDoc->IsStreamValid(rPos.Tab())) in SetNoteText()
1116 pDoc->SetStreamValid(rPos.Tab(), sal_False); in SetNoteText()
1118 rDocShell.PostPaintCell( rPos ); in SetNoteText()
1126 bool ScDocFunc::ReplaceNote( const ScAddress& rPos, const String& rNoteText, const String* pAuthor,… in ReplaceNote() argument
1132 ScEditableTester aTester( &rDoc, rPos.Tab(), rPos.Col(),rPos.Row(), rPos.Col(),rPos.Row() ); in ReplaceNote()
1139 ScPostIt* pOldNote = rDoc.ReleaseNote( rPos ); in ReplaceNote()
1143 pOldNote->GetOrCreateCaption( rPos ); in ReplaceNote()
1157 … if( ScPostIt* pNewNote = ScNoteUtil::CreateNoteFromString( rDoc, rPos, rNoteText, false, true ) ) in ReplaceNote()
1167 …pUndoMgr->AddUndoAction( new ScUndoReplaceNote( rDocShell, rPos, aOldData, aNewData, pDrawLayer->G… in ReplaceNote()
1170 rDocShell.PostPaintCell( rPos ); in ReplaceNote()
1172 if (rDoc.IsStreamValid(rPos.Tab())) in ReplaceNote()
1173 rDoc.SetStreamValid(rPos.Tab(), sal_False); in ReplaceNote()
3289 sal_Bool ScDocFunc::InsertPageBreak( sal_Bool bColumn, const ScAddress& rPos, in InsertPageBreak() argument
3297 SCTAB nTab = rPos.Tab(); in InsertPageBreak()
3300 SCCOLROW nPos = bColumn ? static_cast<SCCOLROW>(rPos.Col()) : in InsertPageBreak()
3301 static_cast<SCCOLROW>(rPos.Row()); in InsertPageBreak()
3313 new ScUndoPageBreak( &rDocShell, rPos.Col(), rPos.Row(), nTab, bColumn, sal_True ) ); in InsertPageBreak()
3353 sal_Bool ScDocFunc::RemovePageBreak( sal_Bool bColumn, const ScAddress& rPos, in RemovePageBreak() argument
3361 SCTAB nTab = rPos.Tab(); in RemovePageBreak()
3364 SCCOLROW nPos = bColumn ? static_cast<SCCOLROW>(rPos.Col()) : in RemovePageBreak()
3365 static_cast<SCCOLROW>(rPos.Row()); in RemovePageBreak()
3378 new ScUndoPageBreak( &rDocShell, rPos.Col(), rPos.Row(), nTab, bColumn, sal_False ) ); in RemovePageBreak()