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()
597 ScDocument* pDoc = pDocShell->GetDocument(); in Notify()
625 pNumFmt->SetNumberFormatter( pDocShell->GetDocument()->GetFormatTable() ); in Notify()
874 ScDocument* pDoc = pDocShell->GetDocument(); in FillRenderMarkData()
897 SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); in FillRenderMarkData()
917 ScExtDocOptions* pExtOpt = pDocShell->GetDocument()->GetExtDocOptions(); in FillRenderMarkData()
926 SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); in FillRenderMarkData()
1135 ScDocument* pDoc = pDocShell->GetDocument(); in render()
1313 ScDocument *doc = pDocShell->GetDocument(); in authorizeLinks()
1436 return pDocShell->GetDocument()->GetAutoCalc(); in isAutomaticCalculationEnabled()
1448 ScDocument* pDoc = pDocShell->GetDocument(); in enableAutomaticCalculation()
1467 if ( pDocShell && !pDocShell->GetDocument()->IsDocProtected() ) in protect()
1495 return pDocShell->GetDocument()->IsDocProtected(); in isProtected()
1583 ScDocument* pDoc = pDocShell->GetDocument(); in seekGoal()
1605 ScDocument* pDoc = pDocShell->GetDocument(); in createConsolidationDescriptor()
1635 pDocShell->GetDocument()->SetConsolidateDlgData( &rParam ); in consolidate()
1671 … pDocShell->GetDocument()->GetName( pDocShell->GetDocument()->GetVisibleTab(), sName ); in getViewData()
1706 ScDocument* pDoc = pDocShell->GetDocument(); in setPropertyValue()
1840 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
1936 … ScUnoHelpFunctions::SetBoolInAny( aRet, (pDocShell->GetDocument()->GetDrawLayer() != 0) ); in getPropertyValue()
2238 return pDocShell && pDocShell->GetDocument()->HasAnySheetEventScript(SC_SHEETEVENT_CHANGE); in HasChangesListeners()
2291 ScDocument* pDoc = pDocShell->GetDocument(); in NotifyChanges()
2344 ScDocument* pDoc = pDocShell->GetDocument(); in HandleCalculateEvents()
2388 pDocShell->GetDocument()->AddUnoObject(*this); in ScDrawPagesObj()
2394 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScDrawPagesObj()
2414 if ( pDrawLayer && nIndex >= 0 && nIndex < pDocShell->GetDocument()->GetTableCount() ) in GetObjectByIndex_Impl()
2437 pDocShell->GetDocument()->CreateValidTabName(aNewName); in insertNewByIndex()
2468 return pDocShell->GetDocument()->GetTableCount(); in getCount()
2502 pDocShell->GetDocument()->AddUnoObject(*this); in ScTableSheetsObj()
2508 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableSheetsObj()
2526 if ( pDocShell && nIndex >= 0 && nIndex < pDocShell->GetDocument()->GetTableCount() ) in GetObjectByIndex_Impl()
2538 if ( pDocShell->GetDocument()->GetTable( aString, nIndex ) ) in GetObjectByName_Impl()
2568 if ( pDocShell->GetDocument()->GetTable( aNamStr, nSource ) ) in moveByName()
2586 if ( pDocShell->GetDocument()->GetTable( aNamStr, nSource ) ) in copyByName()
2593 SCTAB nTabCount = pDocShell->GetDocument()->GetTableCount(); // count after copying in copyByName()
2624 ScDocument* pDoc = pDocShell->GetDocument(); in insertByName()
2678 if ( pDocShell->GetDocument()->GetTable( aNamStr, nPosition ) ) in replaceByName()
2721 if ( pDocShell->GetDocument()->GetTable( aString, nIndex ) ) in removeByName()
2768 ScDocument* pDoc = pDocShell->GetDocument(); in getCellRangesByName()
2805 return pDocShell->GetDocument()->GetTableCount(); in getCount()
2855 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()
2877 if ( pDocShell->GetDocument()->GetTable( String(aName), nIndex ) ) in hasByName()
2891 pDocShell->GetDocument()->AddUnoObject(*this); in ScTableColumnsObj()
2897 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableColumnsObj()
3121 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
3168 pDocShell->GetDocument()->AddUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3174 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScTableRowsObj()
3301 ScDocument* pDoc = pDocShell->GetDocument(); in setPropertyValue()
3389 ScDocument* pDoc = pDocShell->GetDocument(); in getPropertyValue()
3453 pDocShell->GetDocument()->RemoveUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3501 pDocShell->GetDocument()->AddUnoObject(*this); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
3507 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScAnnotationsObj()
3526 ScDocument* pDoc = pDocShell->GetDocument(); in GetAddressByIndex_Impl()
3609 ScCellIterator aCellIter( pDocShell->GetDocument(), 0,0, nTab, MAXCOL,MAXROW, nTab ); in getCount()
3648 pDocShell->GetDocument()->AddUnoObject(*this); in ScScenariosObj()
3654 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScScenariosObj()
3683 ScDocument* pDoc = pDocShell->GetDocument(); in GetScenarioIndex_Impl()
3779 ScDocument* pDoc = pDocShell->GetDocument(); in getCount()
3842 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()