Lines Matching refs:pDocSh
234 ScDocShell* pDocSh = ((ScDocShell*)pObjSh); in ConfigurationChanged() local
236 ScDetectiveFunc( pDocSh->GetDocument(), 0 ).UpdateAllArrowColors(); in ConfigurationChanged()
238 ScDetectiveFunc::UpdateAllComments( *pDocSh->GetDocument() ); in ConfigurationChanged()
279 ScDocShell* pDocSh = ((ScDocShell*)pObjSh); in ConfigurationChanged() local
280 OutputDevice* pPrinter = pDocSh->GetPrinter(); in ConfigurationChanged()
284 pDocSh->CalcOutputFactor(); in ConfigurationChanged()
286 SCTAB nTabCount = pDocSh->GetDocument()->GetTableCount(); in ConfigurationChanged()
288 pDocSh->AdjustRowHeight( 0, MAXROW, nTab ); in ConfigurationChanged()
407 ScDocShell* pDocSh = PTR_CAST(ScDocShell, SfxObjectShell::Current()); in Execute() local
408 if ( pDocSh ) in Execute()
409 bSet = !pDocSh->GetDocument()->GetDocOptions().IsAutoSpell(); in Execute()
510 ScDocShell* pDocSh = PTR_CAST(ScDocShell, SfxObjectShell::Current()); in Execute() local
511 ScDocument* pDoc = pDocSh ? pDocSh->GetDocument() : NULL; in Execute()
537 pDocSh->SetDocumentModified(); in Execute()
602 ScDocShell* pDocSh = PTR_CAST(ScDocShell, SfxObjectShell::Current()); in GetState() local
603 if ( pDocSh ) in GetState()
604 bAuto = pDocSh->GetDocument()->GetDocOptions().IsAutoSpell(); in GetState()
617 ScDocShell* pDocSh = PTR_CAST(ScDocShell, SfxObjectShell::Current()); in GetState() local
618 ScDocument* pDoc = pDocSh ? pDocSh->GetDocument() : NULL; in GetState()
973 ScDocShell* pDocSh = PTR_CAST(ScDocShell, SfxObjectShell::Current()); in ModifyOptions() local
974 ScDocument* pDoc = pDocSh ? pDocSh->GetDocument() : NULL; in ModifyOptions()
1029 pDocSh->SetDocumentModified(); in ModifyOptions()
1063 pDocSh->SetDocumentModified(); in ModifyOptions()
1104 pDocSh->SetDocumentModified(); in ModifyOptions()
1122 pDocSh->SetDocumentModified(); in ModifyOptions()
1146 WaitObject aWait( pDocSh->GetActiveDialogParent() ); in ModifyOptions()
1163 if ( pDocSh ) in ModifyOptions()
1164 pDocSh->PostPaintGridAll(); // wegen Markierungen in ModifyOptions()
1262 WaitObject aWait( pDocSh->GetActiveDialogParent() ); in ModifyOptions()
1587 sal_Bool ScModule::IsModalMode(SfxObjectShell* pDocSh) in IsModalMode() argument
1601 !( pRefDlg->IsRefInputMode() && pRefDlg->IsDocAllowed(pDocSh) ); in IsModalMode()
1614 else if (pDocSh) in IsModalMode()
1618 bIsModal = pHdl->IsModalMode(pDocSh); in IsModalMode()
1837 ScDocShell* pDocSh = PTR_CAST( ScDocShell, SfxObjectShell::Current() ); in IMPL_LINK() local
1838 if ( pDocSh ) in IMPL_LINK()
1840 ScDocument* pDoc = pDocSh->GetDocument(); in IMPL_LINK()
1853 lcl_CheckNeedsRepaint( pDocSh ); in IMPL_LINK()
1891 ScDocShell* pDocSh = PTR_CAST( ScDocShell, SfxObjectShell::Current() ); in IMPL_LINK() local
1892 if ( pDocSh ) in IMPL_LINK()
1894 ScDocument* pDoc = pDocSh->GetDocument(); in IMPL_LINK()
1928 ScDocShell* pDocSh = PTR_CAST(ScDocShell, in CreateItemSet() local
1930 ScDocOptions aCalcOpt = pDocSh in CreateItemSet()
1931 ? pDocSh->GetDocument()->GetDocOptions() in CreateItemSet()