Lines Matching refs:GetDocument
363 pDocShell->GetDocument()->AddUnoObject(*this); // SfxModel is derived from SfxListener in ScModelObj()
370 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScModelObj()
389 …rFormatsSupplier> xFormatter(new SvNumberFormatsSupplierObj(pDocShell->GetDocument()->GetFormatTab… in GetFormatter()
405 ScDocument* ScModelObj::GetDocument() const in GetDocument() function in ScModelObj
408 return pDocShell->GetDocument(); in GetDocument()
595 ScDocument* pDoc = pDocShell->GetDocument(); in Notify()
623 pNumFmt->SetNumberFormatter( pDocShell->GetDocument()->GetFormatTable() ); in Notify()
872 ScDocument* pDoc = pDocShell->GetDocument(); in FillRenderMarkData()
895 SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); in FillRenderMarkData()
915 ScExtDocOptions* pExtOpt = pDocShell->GetDocument()->GetExtDocOptions(); in FillRenderMarkData()
924 SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); in FillRenderMarkData()
1133 ScDocument* pDoc = pDocShell->GetDocument(); in render()
1407 return pDocShell->GetDocument()->GetAutoCalc(); in isAutomaticCalculationEnabled()
1419 ScDocument* pDoc = pDocShell->GetDocument(); in enableAutomaticCalculation()
1438 if ( pDocShell && !pDocShell->GetDocument()->IsDocProtected() ) in protect()
1466 return pDocShell->GetDocument()->IsDocProtected(); in isProtected()
1554 ScDocument* pDoc = pDocShell->GetDocument(); in seekGoal()
1576 ScDocument* pDoc = pDocShell->GetDocument(); in createConsolidationDescriptor()
1606 pDocShell->GetDocument()->SetConsolidateDlgData( &rParam ); in consolidate()
1642 … pDocShell->GetDocument()->GetName( pDocShell->GetDocument()->GetVisibleTab(), sName ); in getViewData()
1677 ScDocument* pDoc = pDocShell->GetDocument(); in setPropertyValue()
1811 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
1907 ScUnoHelpFunctions::SetBoolInAny( aRet, (pDocShell->GetDocument()->GetDrawLayer() != 0) ); in getPropertyValue()
2209 return pDocShell && pDocShell->GetDocument()->HasAnySheetEventScript(SC_SHEETEVENT_CHANGE); in HasChangesListeners()
2262 ScDocument* pDoc = pDocShell->GetDocument(); in NotifyChanges()
2315 ScDocument* pDoc = pDocShell->GetDocument(); in HandleCalculateEvents()
2359 pDocShell->GetDocument()->AddUnoObject(*this); in ScDrawPagesObj()
2365 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScDrawPagesObj()
2385 if ( pDrawLayer && nIndex >= 0 && nIndex < pDocShell->GetDocument()->GetTableCount() ) in GetObjectByIndex_Impl()
2408 pDocShell->GetDocument()->CreateValidTabName(aNewName); in insertNewByIndex()
2439 return pDocShell->GetDocument()->GetTableCount(); in getCount()
2473 pDocShell->GetDocument()->AddUnoObject(*this); in ScTableSheetsObj()
2479 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableSheetsObj()
2497 if ( pDocShell && nIndex >= 0 && nIndex < pDocShell->GetDocument()->GetTableCount() ) in GetObjectByIndex_Impl()
2509 if ( pDocShell->GetDocument()->GetTable( aString, nIndex ) ) in GetObjectByName_Impl()
2539 if ( pDocShell->GetDocument()->GetTable( aNamStr, nSource ) ) in moveByName()
2557 if ( pDocShell->GetDocument()->GetTable( aNamStr, nSource ) ) in copyByName()
2564 … SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); // count after copying in copyByName()
2595 ScDocument* pDoc = pDocShell->GetDocument(); in insertByName()
2649 if ( pDocShell->GetDocument()->GetTable( aNamStr, nPosition ) ) in replaceByName()
2692 if ( pDocShell->GetDocument()->GetTable( aString, nIndex ) ) in removeByName()
2739 ScDocument* pDoc = pDocShell->GetDocument(); in getCellRangesByName()
2776 return pDocShell->GetDocument()->GetTableCount(); in getCount()
2826 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()
2848 if ( pDocShell->GetDocument()->GetTable( String(aName), nIndex ) ) in hasByName()
2862 pDocShell->GetDocument()->AddUnoObject(*this); in ScTableColumnsObj()
2868 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableColumnsObj()
3092 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
3139 pDocShell->GetDocument()->AddUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3145 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableRowsObj()
3272 ScDocument* pDoc = pDocShell->GetDocument(); in setPropertyValue()
3360 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
3424 pDocShell->GetDocument()->RemoveUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3472 pDocShell->GetDocument()->AddUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3478 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScAnnotationsObj()
3497 ScDocument* pDoc = pDocShell->GetDocument(); in GetAddressByIndex_Impl()
3580 ScCellIterator aCellIter( pDocShell->GetDocument(), 0,0, nTab, MAXCOL,MAXROW, nTab ); in getCount()
3619 pDocShell->GetDocument()->AddUnoObject(*this); in ScScenariosObj()
3625 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScScenariosObj()
3654 ScDocument* pDoc = pDocShell->GetDocument(); in GetScenarioIndex_Impl()
3750 ScDocument* pDoc = pDocShell->GetDocument(); in getCount()
3813 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()