Lines Matching refs:pDocShell

89 	pDocShell( pDocSh ),  in ScNamedRangeObj()
93 pDocShell->GetDocument()->AddUnoObject(*this); in ScNamedRangeObj()
98 if (pDocShell) in ~ScNamedRangeObj()
99 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScNamedRangeObj()
107 pDocShell = NULL; // ungueltig geworden in Notify()
115 if (pDocShell) in GetRangeData_Impl()
117 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in GetRangeData_Impl()
124 pDocShell->GetDocument()->GetTable( aScopeName, nameScope ); in GetRangeData_Impl()
142 if (pDocShell) in Modify_Impl()
144 ScDocument* pDoc = pDocShell->GetDocument(); in Modify_Impl()
194 ScDocFunc aFunc(*pDocShell); in Modify_Impl()
210 ScDocFunc aFunc(*pDocShell); in Modify_Impl()
307 if (pDocShell) in getReferencePosition()
309 SCTAB nDocTabs = pDocShell->GetDocument()->GetTableCount(); in getReferencePosition()
368 if (pData && pDocShell) in getTokens()
372 …(void)ScTokenConversion::ConvertToTokenSequence( *pDocShell->GetDocument(), aSequence, *pTokenArra… in getTokens()
380 if( pDocShell ) in setTokens()
383 … (void)ScTokenConversion::ConvertToTokenArray( *pDocShell->GetDocument(), aTokenArray, rTokens ); in setTokens()
403 return new ScCellObj( pDocShell, aRange.aStart ); in getReferredCells()
405 return new ScCellRangeObj( pDocShell, aRange ); in getReferredCells()
536 pDocShell( pDocSh ) in ScNamedRangesObj()
538 pDocShell->GetDocument()->AddUnoObject(*this); in ScNamedRangesObj()
543 if (pDocShell) in ~ScNamedRangesObj()
544 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScNamedRangesObj()
554 pDocShell = NULL; // ungueltig geworden in Notify()
562 if (pDocShell) in GetObjectByIndex_Impl()
564 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in GetObjectByIndex_Impl()
575 return new ScNamedRangeObj( pDocShell, pData->GetName(), pData->GetScopeSheetName() ); in GetObjectByIndex_Impl()
586 if ( pDocShell && hasByName(aName) ) in GetObjectByName_Impl()
587 return new ScNamedRangeObj( pDocShell, String(aName) ); in GetObjectByName_Impl()
593 if ( pDocShell && hasByScopeName(aScopeName, aRangeName) ) in GetObjectByScopeName_Impl()
594 return new ScNamedRangeObj( pDocShell, String(aRangeName),String(aScopeName) ); in GetObjectByScopeName_Impl()
609 if (pDocShell) in ImplAddNewByScopeAndName()
611 ScDocument* pDoc = pDocShell->GetDocument(); in ImplAddNewByScopeAndName()
631 ScDocFunc aFunc(*pDocShell); in ImplAddNewByScopeAndName()
645 ScDocFunc aFunc(*pDocShell); in ImplAddNewByScopeAndName()
676 if (aScopeName.getLength() != 0 && pDocShell && in addNewByScopeName()
677 !pDocShell->GetDocument()->GetTable( String(aScopeName), scope ) ) in addNewByScopeName()
706 ScDocFunc aFunc(*pDocShell); in addNewFromTitles()
715 if (pDocShell) in ImplRemoveByScopeAndName()
717 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in ImplRemoveByScopeAndName()
726 ScDocFunc aFunc(*pDocShell); in ImplRemoveByScopeAndName()
750 if (aScopeName.getLength() != 0 && pDocShell && in removeByScopeName()
751 !pDocShell->GetDocument()->GetTable( String(aScopeName), scope )) in removeByScopeName()
762 if (pDocShell) in outputList()
764 ScDocFunc aFunc(*pDocShell); in outputList()
784 if (pDocShell) in getCount()
786 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in getCount()
852 if (pDocShell) in getElementNames()
854 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in getElementNames()
880 if (pDocShell) in getElementScopeNames()
882 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in getElementScopeNames()
910 if (pDocShell) in hasByName()
912 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in hasByName()
928 if (pDocShell) in hasByScopeName()
931 …if (aScopeName.getLength() != 0 && !pDocShell->GetDocument()->GetTable( String(aScopeName), scope … in hasByScopeName()
934 ScRangeName* pNames = pDocShell->GetDocument()->GetRangeName(); in hasByScopeName()
948 pDocShell->GetDocument()->CompileNameFormula( sal_True ); // CreateFormulaString in lock()
954 pDocShell->GetDocument()->CompileNameFormula( sal_False ); // CompileFormulaString in unlock()
962 return pDocShell->GetDocument()->GetNamedRangesLockCount() != 0; in isActionLocked()
968 ScDocument* pDoc = pDocShell->GetDocument(); in addActionLock()
981 ScDocument* pDoc = pDocShell->GetDocument(); in removeActionLock()
999 ScDocument* pDoc = pDocShell->GetDocument(); in setActionLocks()
1016 ScDocument* pDoc = pDocShell->GetDocument(); in resetActionLocks()
1029 pDocShell( pDocSh ), in ScLabelRangeObj()
1033 pDocShell->GetDocument()->AddUnoObject(*this); in ScLabelRangeObj()
1038 if (pDocShell) in ~ScLabelRangeObj()
1039 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScLabelRangeObj()
1047 pDocShell = NULL; // ungueltig geworden in Notify()
1055 if (pDocShell) in GetData_Impl()
1057 ScDocument* pDoc = pDocShell->GetDocument(); in GetData_Impl()
1067 if (pDocShell) in Modify_Impl()
1069 ScDocument* pDoc = pDocShell->GetDocument(); in Modify_Impl()
1093 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); in Modify_Impl()
1094 pDocShell->SetDocumentModified(); in Modify_Impl()
1150 pDocShell( pDocSh ), in ScLabelRangesObj()
1153 pDocShell->GetDocument()->AddUnoObject(*this); in ScLabelRangesObj()
1158 if (pDocShell) in ~ScLabelRangesObj()
1159 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScLabelRangesObj()
1169 pDocShell = NULL; // ungueltig geworden in Notify()
1177 if (pDocShell) in GetObjectByIndex_Impl()
1179 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByIndex_Impl()
1185 return new ScLabelRangeObj( pDocShell, bColumn, pData->GetRange(0) ); in GetObjectByIndex_Impl()
1196 if (pDocShell) in addNew()
1198 ScDocument* pDoc = pDocShell->GetDocument(); in addNew()
1216 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); in addNew()
1217 pDocShell->SetDocumentModified(); in addNew()
1229 if (pDocShell) in removeByIndex()
1231 ScDocument* pDoc = pDocShell->GetDocument(); in removeByIndex()
1250 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); in removeByIndex()
1251 pDocShell->SetDocumentModified(); in removeByIndex()
1276 if (pDocShell) in getCount()
1278 ScDocument* pDoc = pDocShell->GetDocument(); in getCount()