Lines Matching refs:pDoc

62 	ScDocument* pDoc = pViewData->GetDocument();  in ScTabControl()  local
66 SCTAB nCount = pDoc->GetTableCount(); in ScTabControl()
69 if (pDoc->IsVisible(i)) in ScTabControl()
71 if (pDoc->GetName(i,aString)) in ScTabControl()
73 if ( pDoc->IsScenario(i) ) in ScTabControl()
77 if ( !pDoc->IsDefaultTabBgColor(i) ) in ScTabControl()
79 aTabBgColor = pDoc->GetTabBgColor(i); in ScTabControl()
116 ScDocument* pDoc = pViewData->GetDocument(); in GetPrivatDropPos() local
118 SCTAB nCount = pDoc->GetTableCount(); in GetPrivatDropPos()
124 if (pDoc->IsVisible(i)) in GetPrivatDropPos()
132 if (pDoc->IsVisible(j)) in GetPrivatDropPos()
205 ScDocument* pDoc = pViewData->GetDocument(); in Select() local
207 SCTAB nCount = pDoc->GetTableCount(); in Select()
279 pScMod->SetReference( aRange, pDoc, &rMark ); in Select()
286 ScDocument* pDoc = pViewData->GetDocument(); in UpdateStatus() local
290 SCTAB nCount = pDoc->GetTableCount(); in UpdateStatus()
299 if (pDoc->IsVisible(i)) in UpdateStatus()
301 pDoc->GetName(i,aString); in UpdateStatus()
302 aTabBgColor = pDoc->GetTabBgColor(i); in UpdateStatus()
318 if (pDoc->IsVisible(i)) in UpdateStatus()
320 if (pDoc->GetName(i,aString)) in UpdateStatus()
322 if ( pDoc->IsScenario(i) ) in UpdateStatus()
326 if ( !pDoc->IsDefaultTabBgColor(i) ) in UpdateStatus()
328 aTabBgColor = pDoc->GetTabBgColor(i); in UpdateStatus()
454 ScDocument* pDoc = pDocSh->GetDocument(); in DoDrag() local
464 pDoc->CopyToClip(aClipParam, pClipDoc, &aTabMark, false); in DoDrag()
483 sal_uInt16 lcl_DocShellNr( ScDocument* pDoc ) in lcl_DocShellNr() argument
491 if ( ((ScDocShell*)pShell)->GetDocument() == pDoc ) in lcl_DocShellNr()
507 ScDocument* pDoc = pViewData->GetDocument(); in ExecuteDrop() local
510 rData.pCellTransfer->GetSourceDocument() == pDoc ) in ExecuteDrop()
523 if ( !pDoc->GetChangeTrack() && pDoc->IsDocEditable() ) in ExecuteDrop()
526 … pViewData->GetView()->MoveTable( lcl_DocShellNr(pDoc), nPos, rEvt.mnAction != DND_ACTION_MOVE ); in ExecuteDrop()
548 const ScDocument* pDoc = pViewData->GetDocument(); in AcceptDrop() local
551 rData.pCellTransfer->GetSourceDocument() == pDoc ) in AcceptDrop()
554 if ( !pDoc->GetChangeTrack() && pDoc->IsDocEditable() ) in AcceptDrop()