Lines Matching refs:GetDocument
365 pDocShell->GetDocument()->AddUnoObject(*this); // SfxModel is derived from SfxListener in ScModelObj()
372 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScModelObj()
391 …rFormatsSupplier> xFormatter(new SvNumberFormatsSupplierObj(pDocShell->GetDocument()->GetFormatTab… in GetFormatter()
407 ScDocument* ScModelObj::GetDocument() const in GetDocument() function in ScModelObj
410 return pDocShell->GetDocument(); in GetDocument()
599 ScDocument* pDoc = pDocShell->GetDocument(); in Notify()
627 pNumFmt->SetNumberFormatter( pDocShell->GetDocument()->GetFormatTable() ); in Notify()
876 ScDocument* pDoc = pDocShell->GetDocument(); in FillRenderMarkData()
899 SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); in FillRenderMarkData()
919 ScExtDocOptions* pExtOpt = pDocShell->GetDocument()->GetExtDocOptions(); in FillRenderMarkData()
928 SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); in FillRenderMarkData()
1137 ScDocument* pDoc = pDocShell->GetDocument(); in render()
1315 ScDocument *doc = pDocShell->GetDocument(); in authorizeLinks()
1438 return pDocShell->GetDocument()->GetAutoCalc(); in isAutomaticCalculationEnabled()
1450 ScDocument* pDoc = pDocShell->GetDocument(); in enableAutomaticCalculation()
1469 if ( pDocShell && !pDocShell->GetDocument()->IsDocProtected() ) in protect()
1497 return pDocShell->GetDocument()->IsDocProtected(); in isProtected()
1585 ScDocument* pDoc = pDocShell->GetDocument(); in seekGoal()
1607 ScDocument* pDoc = pDocShell->GetDocument(); in createConsolidationDescriptor()
1637 pDocShell->GetDocument()->SetConsolidateDlgData( &rParam ); in consolidate()
1673 … pDocShell->GetDocument()->GetName( pDocShell->GetDocument()->GetVisibleTab(), sName ); in getViewData()
1708 ScDocument* pDoc = pDocShell->GetDocument(); in setPropertyValue()
1842 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
1938 … ScUnoHelpFunctions::SetBoolInAny( aRet, (pDocShell->GetDocument()->GetDrawLayer() != 0) ); in getPropertyValue()
2240 return pDocShell && pDocShell->GetDocument()->HasAnySheetEventScript(SC_SHEETEVENT_CHANGE); in HasChangesListeners()
2293 ScDocument* pDoc = pDocShell->GetDocument(); in NotifyChanges()
2346 ScDocument* pDoc = pDocShell->GetDocument(); in HandleCalculateEvents()
2390 pDocShell->GetDocument()->AddUnoObject(*this); in ScDrawPagesObj()
2396 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScDrawPagesObj()
2416 if ( pDrawLayer && nIndex >= 0 && nIndex < pDocShell->GetDocument()->GetTableCount() ) in GetObjectByIndex_Impl()
2439 pDocShell->GetDocument()->CreateValidTabName(aNewName); in insertNewByIndex()
2470 return pDocShell->GetDocument()->GetTableCount(); in getCount()
2504 pDocShell->GetDocument()->AddUnoObject(*this); in ScTableSheetsObj()
2510 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableSheetsObj()
2528 if ( pDocShell && nIndex >= 0 && nIndex < pDocShell->GetDocument()->GetTableCount() ) in GetObjectByIndex_Impl()
2540 if ( pDocShell->GetDocument()->GetTable( aString, nIndex ) ) in GetObjectByName_Impl()
2570 if ( pDocShell->GetDocument()->GetTable( aNamStr, nSource ) ) in moveByName()
2588 if ( pDocShell->GetDocument()->GetTable( aNamStr, nSource ) ) in copyByName()
2595 … SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); // count after copying in copyByName()
2626 ScDocument* pDoc = pDocShell->GetDocument(); in insertByName()
2680 if ( pDocShell->GetDocument()->GetTable( aNamStr, nPosition ) ) in replaceByName()
2723 if ( pDocShell->GetDocument()->GetTable( aString, nIndex ) ) in removeByName()
2770 ScDocument* pDoc = pDocShell->GetDocument(); in getCellRangesByName()
2807 return pDocShell->GetDocument()->GetTableCount(); in getCount()
2857 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()
2879 if ( pDocShell->GetDocument()->GetTable( String(aName), nIndex ) ) in hasByName()
2893 pDocShell->GetDocument()->AddUnoObject(*this); in ScTableColumnsObj()
2899 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableColumnsObj()
3123 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
3170 pDocShell->GetDocument()->AddUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3176 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableRowsObj()
3303 ScDocument* pDoc = pDocShell->GetDocument(); in setPropertyValue()
3391 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
3455 pDocShell->GetDocument()->RemoveUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3503 pDocShell->GetDocument()->AddUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3509 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScAnnotationsObj()
3528 ScDocument* pDoc = pDocShell->GetDocument(); in GetAddressByIndex_Impl()
3611 ScCellIterator aCellIter( pDocShell->GetDocument(), 0,0, nTab, MAXCOL,MAXROW, nTab ); in getCount()
3650 pDocShell->GetDocument()->AddUnoObject(*this); in ScScenariosObj()
3656 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScScenariosObj()
3685 ScDocument* pDoc = pDocShell->GetDocument(); in GetScenarioIndex_Impl()
3781 ScDocument* pDoc = pDocShell->GetDocument(); in getCount()
3844 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()