Lines Matching refs:pDocSh

1372 ScCellRangesBase::ScCellRangesBase(ScDocShell* pDocSh, const ScRange& rR) :  in ScCellRangesBase()  argument
1374 pDocShell( pDocSh ), in ScCellRangesBase()
1400 ScCellRangesBase::ScCellRangesBase(ScDocShell* pDocSh, const ScRangeList& rR) : in ScCellRangesBase() argument
1402 pDocShell( pDocSh ), in ScCellRangesBase()
1653 void ScCellRangesBase::InitInsertRange(ScDocShell* pDocSh, const ScRange& rR) in InitInsertRange() argument
1655 if ( !pDocShell && pDocSh ) in InitInsertRange()
1657 pDocShell = pDocSh; in InitInsertRange()
4130 ScCellRangesObj::ScCellRangesObj(ScDocShell* pDocSh, const ScRangeList& rR) : in ScCellRangesObj() argument
4131 ScCellRangesBase( pDocSh, rR ) in ScCellRangesObj()
4208 ScDocShell* pDocSh = GetDocShell(); in GetObjectByIndex_Impl() local
4210 if ( pDocSh && nIndex >= 0 && nIndex < sal::static_int_cast<sal_Int32>(rRanges.Count()) ) in GetObjectByIndex_Impl()
4214 return new ScCellObj( pDocSh, aRange.aStart ); in GetObjectByIndex_Impl()
4216 return new ScCellRangeObj( pDocSh, aRange ); in GetObjectByIndex_Impl()
4226 ScDocShell* pDocSh = GetDocShell(); in getRangeAddresses() local
4229 if ( pDocSh && nCount ) in getRangeAddresses()
4256 ScDocShell* pDocSh = GetDocShell(); in getCells() local
4257 if (pDocSh) in getCells()
4258 return new ScCellsObj( pDocSh, rRanges ); in getCells()
4267 ScDocShell* pDocSh = GetDocShell(); in getRangeAddressesAsString() local
4269 if (pDocSh) in getRangeAddressesAsString()
4270 rRanges.Format( aString, SCA_VALID | SCA_TAB_3D, pDocSh->GetDocument() ); in getRangeAddressesAsString()
4403 ScDocShell* pDocSh = GetDocShell(); in insertByName() local
4409 if ( pDocSh && xInterface.is() ) in insertByName()
4412 if ( pRangesImp && pRangesImp->GetDocShell() == pDocSh ) in insertByName()
4452 sal_Bool lcl_FindRangeByName( const ScRangeList& rRanges, ScDocShell* pDocSh, in lcl_FindRangeByName() argument
4455 if (pDocSh) in lcl_FindRangeByName()
4458 ScDocument* pDoc = pDocSh->GetDocument(); in lcl_FindRangeByName()
4474 const ScRangeList& rRanges, ScDocShell* pDocSh, in lcl_FindRangeOrEntry() argument
4480 if ( lcl_FindRangeByName( rRanges, pDocSh, rName, nIndex ) ) in lcl_FindRangeOrEntry()
4489 sal_uInt16 nParse = aCellRange.ParseAny( rName, pDocSh->GetDocument() ); in lcl_FindRangeOrEntry()
4533 ScDocShell* pDocSh = GetDocShell(); in removeByName() local
4536 if ( lcl_FindRangeByName( rRanges, pDocSh, aNameStr, nIndex ) ) in removeByName()
4547 else if (pDocSh) in removeByName()
4551 sal_Bool bValid = ( aDiff.Parse( aNameStr, pDocSh->GetDocument() ) & SCA_VALID ) != 0; in removeByName()
4613 ScDocShell* pDocSh = GetDocShell(); in getByName() local
4616 if ( lcl_FindRangeOrEntry( aNamedEntries, rRanges, pDocSh, aNameStr, aRange ) ) in getByName()
4620 xRange.set(new ScCellObj( pDocSh, aRange.aStart )); in getByName()
4622 xRange.set(new ScCellRangeObj( pDocSh, aRange )); in getByName()
4648 ScDocShell* pDocSh = GetDocShell(); in getElementNames() local
4650 if (pDocSh) in getElementNames()
4653 ScDocument* pDoc = pDocSh->GetDocument(); in getElementNames()
4676 ScDocShell* pDocSh = GetDocShell(); in hasByName() local
4679 return lcl_FindRangeOrEntry( aNamedEntries, rRanges, pDocSh, aNameStr, aRange ); in hasByName()
4768 ScCellRangeObj::ScCellRangeObj(ScDocShell* pDocSh, const ScRange& rR) : in ScCellRangeObj() argument
4769 ScCellRangesBase( pDocSh, rR ), in ScCellRangeObj()
4886 ScDocShell* pDocSh = GetDocShell(); in GetCellByPosition_Impl() local
4887 if (!pDocSh) in GetCellByPosition_Impl()
4898 return new ScCellObj( pDocSh, aNew ); in GetCellByPosition_Impl()
4921 ScDocShell* pDocSh = GetDocShell(); in getCellRangeByPosition() local
4922 if (!pDocSh) in getCellRangeByPosition()
4937 return new ScCellRangeObj( pDocSh, aNew ); in getCellRangeByPosition()
4959 ScDocShell* pDocSh = GetDocShell(); in getCellRangeByName() local
4960 if ( pDocSh ) in getCellRangeByName()
4962 ScDocument* pDoc = pDocSh->GetDocument(); in getCellRangeByName()
4995 return new ScCellObj( pDocSh, aCellRange.aStart ); in getCellRangeByName()
4997 return new ScCellRangeObj( pDocSh, aCellRange ); in getCellRangeByName()
5010 ScDocShell* pDocSh = GetDocShell(); in getColumns() local
5011 if (pDocSh) in getColumns()
5012 return new ScTableColumnsObj( pDocSh, aRange.aStart.Tab(), in getColumns()
5022 ScDocShell* pDocSh = GetDocShell(); in getRows() local
5023 if (pDocSh) in getRows()
5024 return new ScTableRowsObj( pDocSh, aRange.aStart.Tab(), in getRows()
5047 ScDocShell* pDocSh = GetDocShell(); in getSpreadsheet() local
5048 if (pDocSh) in getSpreadsheet()
5049 return new ScTableSheetObj( pDocSh, aRange.aStart.Tab() ); in getSpreadsheet()
5066 ScDocShell* pDocSh = GetDocShell(); in getArrayFormula() local
5067 if (pDocSh) in getArrayFormula()
5069 ScDocument* pDoc = pDocSh->GetDocument(); in getArrayFormula()
5092 ScDocShell* pDocSh = GetDocShell(); in SetArrayFormula_Impl() local
5093 if (pDocSh) in SetArrayFormula_Impl()
5095 ScDocFunc aFunc(*pDocSh); in SetArrayFormula_Impl()
5141 ScDocShell* pDocSh = GetDocShell(); in getArrayTokens() local
5142 if ( pDocSh ) in getArrayTokens()
5144 ScDocument* pDoc = pDocSh->GetDocument(); in getArrayTokens()
5171 ScDocShell* pDocSh = GetDocShell(); in setArrayTokens() local
5172 if ( pDocSh ) in setArrayTokens()
5174 ScDocFunc aFunc(*pDocSh); in setArrayTokens()
5182 ScDocument* pDoc = pDocSh->GetDocument(); in setArrayTokens()
5215 ScDocShell* pDocSh = GetDocShell(); in getDataArray() local
5216 if (pDocSh) in getDataArray()
5220 if ( ScRangeToSequence::FillMixedArray( aAny, pDocSh->GetDocument(), aRange, sal_True ) ) in getDataArray()
5239 ScDocShell* pDocSh = GetDocShell(); in setDataArray() local
5240 if (pDocSh) in setDataArray()
5243 bDone = lcl_PutDataArray( *pDocSh, aRange, aArray ); in setDataArray()
5263 ScDocShell* pDocSh = GetDocShell(); in getFormulaArray() local
5264 if (pDocSh) in getFormulaArray()
5281 pColAry[nColIndex] = lcl_GetInputString( pDocSh->GetDocument(), in getFormulaArray()
5301 ScDocShell* pDocSh = GetDocShell(); in setFormulaArray() local
5302 if (pDocSh) in setFormulaArray()
5304 ScExternalRefManager::ApiGuard aExtRefGuard(pDocSh->GetDocument()); in setFormulaArray()
5307 …bDone = lcl_PutFormulaArray( *pDocSh, aRange, aArray, EMPTY_STRING, formula::FormulaGrammar::GRAM_… in setFormulaArray()
5323 ScDocShell* pDocSh = GetDocShell(); in setTableOperation() local
5324 if (pDocSh) in setTableOperation()
5357 ScDocFunc aFunc(*pDocSh); in setTableOperation()
5368 ScDocShell* pDocSh = GetDocShell(); in merge() local
5369 if ( pDocSh ) in merge()
5371 ScDocFunc aFunc(*pDocSh); in merge()
5384 ScDocShell* pDocSh = GetDocShell(); in getIsMerged() local
5385 return pDocSh && pDocSh->GetDocument()->HasAttrib( aRange, HASATTR_MERGED ); in getIsMerged()
5395 ScDocShell* pDocSh = GetDocShell(); in fillSeries() local
5396 if ( pDocSh ) in fillSeries()
5462 ScDocFunc aFunc(*pDocSh); in fillSeries()
5473 ScDocShell* pDocSh = GetDocShell(); in fillAuto() local
5474 if ( pDocSh && nSourceCount ) in fillAuto()
5510 ScDocFunc aFunc(*pDocSh); in fillAuto()
5523 ScDocShell* pDocSh = GetDocShell(); in autoFormat() local
5524 if ( pDocSh && pAutoFormat ) in autoFormat()
5538 ScDocFunc aFunc(*pDocSh); in autoFormat()
5553 ScDocShell* pDocSh = GetDocShell(); in createSortDescriptor() local
5554 if ( pDocSh ) in createSortDescriptor()
5557 ScDBData* pData = pDocSh->GetDBData( aRange, SC_DB_OLD, SC_DBSEL_FORCE_MARK ); in createSortDescriptor()
5583 ScDocShell* pDocSh = GetDocShell(); in sort() local
5584 if (pDocSh) in sort()
5588 …ScDBData* pData = pDocSh->GetDBData( aRange, SC_DB_MAKE, SC_DBSEL_FORCE_MARK ); // ggf. Bereich an… in sort()
5617 pDocSh->GetDBData( aRange, SC_DB_MAKE, SC_DBSEL_FORCE_MARK ); // ggf. Bereich anlegen in sort()
5619 ScDBDocFunc aFunc(*pDocSh); // Bereich muss angelegt sein in sort()
5630 ScDocShell* pDocSh = GetDocShell(); in createFilterDescriptor() local
5631 ScFilterDescriptor* pNew = new ScFilterDescriptor(pDocSh); in createFilterDescriptor()
5632 if ( !bEmpty && pDocSh ) in createFilterDescriptor()
5635 ScDBData* pData = pDocSh->GetDBData( aRange, SC_DB_OLD, SC_DBSEL_FORCE_MARK ); in createFilterDescriptor()
5669 ScDocShell* pDocSh = GetDocShell(); in filter() local
5670 ScFilterDescriptor aImpl(pDocSh); in filter()
5690 if (pDocSh) in filter()
5706 pDocSh->GetDocument()->GetFormatTable()-> in filter()
5717 pDocSh->GetDBData( aRange, SC_DB_MAKE, SC_DBSEL_FORCE_MARK ); // ggf. Bereich anlegen in filter()
5722 ScDBDocFunc aFunc(*pDocSh); in filter()
5742 ScDocShell* pDocSh = GetDocShell(); in createFilterDescriptorByObject() local
5743 if ( pDocSh && xAddr.is() ) in createFilterDescriptorByObject()
5747 ScFilterDescriptor* pNew = new ScFilterDescriptor(pDocSh); //! stattdessen vom Objekt? in createFilterDescriptorByObject()
5760 ScDocument* pDoc = pDocSh->GetDocument(); in createFilterDescriptorByObject()
5800 ScDocShell* pDocSh = GetDocShell(); in createSubTotalDescriptor() local
5801 if ( !bEmpty && pDocSh ) in createSubTotalDescriptor()
5804 ScDBData* pData = pDocSh->GetDBData( aRange, SC_DB_OLD, SC_DBSEL_FORCE_MARK ); in createSubTotalDescriptor()
5838 ScDocShell* pDocSh = GetDocShell(); in applySubTotals() local
5842 if (pDocSh && pImp) in applySubTotals()
5867 pDocSh->GetDBData( aRange, SC_DB_MAKE, SC_DBSEL_FORCE_MARK ); // ggf. Bereich anlegen in applySubTotals()
5869 ScDBDocFunc aFunc(*pDocSh); in applySubTotals()
5878 ScDocShell* pDocSh = GetDocShell(); in removeSubTotals() local
5879 if (pDocSh) in removeSubTotals()
5882 ScDBData* pData = pDocSh->GetDBData( aRange, SC_DB_OLD, SC_DBSEL_FORCE_MARK ); in removeSubTotals()
5894 pDocSh->GetDBData( aRange, SC_DB_MAKE, SC_DBSEL_FORCE_MARK ); // ggf. Bereich anlegen in removeSubTotals()
5896 ScDBDocFunc aFunc(*pDocSh); in removeSubTotals()
5906 ScDocShell* pDocSh = GetDocShell(); in createImportDescriptor() local
5907 if ( !bEmpty && pDocSh ) in createImportDescriptor()
5910 ScDBData* pData = pDocSh->GetDBData( aRange, SC_DB_OLD, SC_DBSEL_FORCE_MARK ); in createImportDescriptor()
5924 ScDocShell* pDocSh = GetDocShell(); in doImport() local
5925 if (pDocSh) in doImport()
5938 pDocSh->GetDBData( aRange, SC_DB_MAKE, SC_DBSEL_FORCE_MARK ); // ggf. Bereich anlegen in doImport()
5940 ScDBDocFunc aFunc(*pDocSh); // Bereich muss angelegt sein in doImport()
5951 ScDocShell* pDocSh = GetDocShell(); in getCellFormatRanges() local
5952 if ( pDocSh ) in getCellFormatRanges()
5953 return new ScCellFormatsObj( pDocSh, aRange ); in getCellFormatRanges()
5963 ScDocShell* pDocSh = GetDocShell(); in getUniqueCellFormatRanges() local
5964 if ( pDocSh ) in getUniqueCellFormatRanges()
5965 return new ScUniqueCellFormatsObj( pDocSh, aRange ); in getUniqueCellFormatRanges()
5997 ScDocShell* pDocSh = GetDocShell(); in GetOnePropertyValue() local
5998 if (pDocSh) in GetOnePropertyValue()
6001 Rectangle aMMRect(pDocSh->GetDocument()->GetMMRect( in GetOnePropertyValue()
6010 ScDocShell* pDocSh = GetDocShell(); in GetOnePropertyValue() local
6011 if (pDocSh) in GetOnePropertyValue()
6014 Rectangle aMMRect = pDocSh->GetDocument()->GetMMRect( in GetOnePropertyValue()
6075 ScCellObj::ScCellObj(ScDocShell* pDocSh, const ScAddress& rP) : in ScCellObj() argument
6076 ScCellRangeObj( pDocSh, ScRange(rP,rP) ), in ScCellObj()
6229 ScDocShell* pDocSh = GetDocShell(); in GetOutputString_Impl() local
6231 if ( pDocSh ) in GetOutputString_Impl()
6232 aVal = GetOutputString_Impl(pDocSh->GetDocument(), aCellPos); in GetOutputString_Impl()
6238 ScDocShell* pDocSh = GetDocShell(); in SetString_Impl() local
6239 if ( pDocSh ) in SetString_Impl()
6241 ScDocFunc aFunc(*pDocSh); in SetString_Impl()
6249 ScDocShell* pDocSh = GetDocShell(); in GetValue_Impl() local
6250 if ( pDocSh ) in GetValue_Impl()
6251 return pDocSh->GetDocument()->GetValue( aCellPos ); in GetValue_Impl()
6258 ScDocShell* pDocSh = GetDocShell(); in SetValue_Impl() local
6259 if ( pDocSh ) in SetValue_Impl()
6261 ScDocFunc aFunc(*pDocSh); in SetValue_Impl()
6270 ScDocShell* pDocSh = GetDocShell(); in SetFormulaResultString() local
6271 if ( pDocSh ) in SetFormulaResultString()
6273 ScBaseCell* pCell = pDocSh->GetDocument()->GetCell( aCellPos ); in SetFormulaResultString()
6281 ScDocShell* pDocSh = GetDocShell(); in SetFormulaResultDouble() local
6282 if ( pDocSh ) in SetFormulaResultDouble()
6284 ScBaseCell* pCell = pDocSh->GetDocument()->GetCell( aCellPos ); in SetFormulaResultDouble()
6293 ScDocShell* pDocSh = GetDocShell(); in SetFormulaWithGrammar() local
6294 if ( pDocSh ) in SetFormulaWithGrammar()
6296 ScDocFunc aFunc(*pDocSh); in SetFormulaWithGrammar()
6307 ScDocShell* pDocSh = GetDocShell(); in InputEnglishString() local
6308 if ( pDocSh ) in InputEnglishString()
6311 ScDocument* pDoc = pDocSh->GetDocument(); in InputEnglishString()
6320 ScDocFunc aFunc(*pDocSh); in InputEnglishString()
6422 ScDocShell* pDocSh = GetDocShell(); in insertTextContent() local
6423 if ( pDocSh && xContent.is() ) in insertTextContent()
6458 pCellField->InitDoc( pDocSh, aCellPos, aSelection ); in insertTextContent()
6559 ScDocShell* pDocSh = GetDocShell(); in getType() local
6560 if (pDocSh) in getType()
6562 CellType eCalcType = pDocSh->GetDocument()->GetCellType( aCellPos ); in getType()
6589 ScDocShell* pDocSh = GetDocShell(); in GetResultType_Impl() local
6590 if ( pDocSh ) in GetResultType_Impl()
6592 ScBaseCell* pCell = pDocSh->GetDocument()->GetCell(aCellPos); in GetResultType_Impl()
6606 ScDocShell* pDocSh = GetDocShell(); in getError() local
6607 if (pDocSh) in getError()
6609 ScBaseCell* pCell = pDocSh->GetDocument()->GetCell( aCellPos ); in getError()
6628 ScDocShell* pDocSh = GetDocShell(); in getTokens() local
6629 if ( pDocSh ) in getTokens()
6631 ScDocument* pDoc = pDocSh->GetDocument(); in getTokens()
6646 ScDocShell* pDocSh = GetDocShell(); in setTokens() local
6647 if ( pDocSh ) in setTokens()
6649 ScDocument* pDoc = pDocSh->GetDocument(); in setTokens()
6653 ScDocFunc aFunc( *pDocSh ); in setTokens()
6677 ScDocShell* pDocSh = GetDocShell(); in getAnnotation() local
6678 if ( pDocSh ) in getAnnotation()
6679 return new ScAnnotationObj( pDocSh, aCellPos ); in getAnnotation()
6691 ScDocShell* pDocSh = GetDocShell(); in getTextFields() local
6692 if ( pDocSh ) in getTextFields()
6693 return new ScCellFieldsObj( pDocSh, aCellPos ); in getTextFields()
6888 ScTableSheetObj::ScTableSheetObj( ScDocShell* pDocSh, SCTAB nTab ) : in ScTableSheetObj() argument
6889 ScCellRangeObj( pDocSh, ScRange(0,0,nTab, MAXCOL,MAXROW,nTab) ), in ScTableSheetObj()
6898 void ScTableSheetObj::InitInsertSheet(ScDocShell* pDocSh, SCTAB nTab) in InitInsertSheet() argument
6900 InitInsertRange( pDocSh, ScRange(0,0,nTab, MAXCOL,MAXROW,nTab) ); in InitInsertSheet()
7002 ScDocShell* pDocSh = GetDocShell(); in getCharts() local
7003 if ( pDocSh ) in getCharts()
7004 return new ScChartsObj( pDocSh, GetTab_Impl() ); in getCharts()
7014 ScDocShell* pDocSh = GetDocShell(); in getDataPilotTables() local
7015 if ( pDocSh ) in getDataPilotTables()
7016 return new ScDataPilotTablesObj( pDocSh, GetTab_Impl() ); in getDataPilotTables()
7025 ScDocShell* pDocSh = GetDocShell(); in getScenarios() local
7027 if ( pDocSh ) in getScenarios()
7028 return new ScScenariosObj( pDocSh, GetTab_Impl() ); in getScenarios()
7038 ScDocShell* pDocSh = GetDocShell(); in getAnnotations() local
7040 if ( pDocSh ) in getAnnotations()
7041 return new ScAnnotationsObj( pDocSh, GetTab_Impl() ); in getAnnotations()
7058 ScDocShell* pDocSh = GetDocShell(); in createCursor() local
7059 if ( pDocSh ) in createCursor()
7063 return new ScCellCursorObj( pDocSh, ScRange( 0,0,nTab, MAXCOL,MAXROW,nTab ) ); in createCursor()
7073 ScDocShell* pDocSh = GetDocShell(); in createCursorByRange() local
7074 if ( pDocSh && xCellRange.is() ) in createCursorByRange()
7081 return new ScCellCursorObj( pDocSh, *rRanges.GetObject(0) ); in createCursorByRange()
7118 ScDocShell* pDocSh = GetDocShell(); in getColumnPageBreaks() local
7119 if ( pDocSh ) in getColumnPageBreaks()
7121 ScDocument* pDoc = pDocSh->GetDocument(); in getColumnPageBreaks()
7130 ScPrintFunc aPrintFunc( pDocSh, pDocSh->GetPrinter(), nTab ); in getColumnPageBreaks()
7164 ScDocShell* pDocSh = GetDocShell(); in getRowPageBreaks() local
7165 if ( pDocSh ) in getRowPageBreaks()
7167 ScDocument* pDoc = pDocSh->GetDocument(); in getRowPageBreaks()
7176 ScPrintFunc aPrintFunc( pDocSh, pDocSh->GetPrinter(), nTab ); in getRowPageBreaks()
7187 ScDocShell* pDocSh = GetDocShell(); in removeAllManualPageBreaks() local
7188 if ( pDocSh ) in removeAllManualPageBreaks()
7192 ScDocument* pDoc = pDocSh->GetDocument(); in removeAllManualPageBreaks()
7201 pDocSh->GetUndoManager()->AddUndoAction( in removeAllManualPageBreaks()
7202 new ScUndoRemoveBreaks( pDocSh, nTab, pUndoDoc ) ); in removeAllManualPageBreaks()
7209 pDocSh->SetDocumentModified(); in removeAllManualPageBreaks()
7210 pDocSh->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in removeAllManualPageBreaks()
7220 ScDocShell* pDocSh = GetDocShell(); in getName() local
7221 if ( pDocSh ) in getName()
7222 pDocSh->GetDocument()->GetName( GetTab_Impl(), aName ); in getName()
7230 ScDocShell* pDocSh = GetDocShell(); in setName() local
7231 if ( pDocSh ) in setName()
7234 ScDocFunc aFunc( *pDocSh ); in setName()
7245 ScDocShell* pDocSh = GetDocShell(); in getDrawPage() local
7246 if ( pDocSh ) in getDrawPage()
7248 ScDrawLayer* pDrawLayer = pDocSh->MakeDrawLayer(); in getDrawPage()
7269 ScDocShell* pDocSh = GetDocShell(); in insertCells() local
7270 if ( pDocSh ) in insertCells()
7291 ScDocFunc aFunc(*pDocSh); in insertCells()
7301 ScDocShell* pDocSh = GetDocShell(); in removeRange() local
7302 if ( pDocSh ) in removeRange()
7323 ScDocFunc aFunc(*pDocSh); in removeRange()
7334 ScDocShell* pDocSh = GetDocShell(); in moveRange() local
7335 if ( pDocSh ) in moveRange()
7341 ScDocFunc aFunc(*pDocSh); in moveRange()
7351 ScDocShell* pDocSh = GetDocShell(); in copyRange() local
7352 if ( pDocSh ) in copyRange()
7358 ScDocFunc aFunc(*pDocSh); in copyRange()
7368 ScDocShell* pDocSh = GetDocShell(); in PrintAreaUndo_Impl() local
7369 ScDocument* pDoc = pDocSh ? pDocSh->GetDocument() : 0; in PrintAreaUndo_Impl()
7371 if(pDocSh && pDoc) in PrintAreaUndo_Impl()
7378 pDocSh->GetUndoManager()->AddUndoAction( in PrintAreaUndo_Impl()
7380 pDocSh, in PrintAreaUndo_Impl()
7389 ScPrintFunc(pDocSh, pDocSh->GetPrinter(), nTab).UpdatePages(); in PrintAreaUndo_Impl()
7390 SfxBindings* pBindings = pDocSh->GetViewBindings(); in PrintAreaUndo_Impl()
7397 pDocSh->SetDocumentModified(); in PrintAreaUndo_Impl()
7411 ScDocShell* pDocSh = GetDocShell(); in getPrintAreas() local
7412 if ( pDocSh ) in getPrintAreas()
7414 ScDocument* pDoc = pDocSh->GetDocument(); in getPrintAreas()
7442 ScDocShell* pDocSh = GetDocShell(); in setPrintAreas() local
7443 if ( pDocSh ) in setPrintAreas()
7445 ScDocument* pDoc = pDocSh->GetDocument(); in setPrintAreas()
7470 ScDocShell* pDocSh = GetDocShell(); in getPrintTitleColumns() local
7471 if ( pDocSh ) in getPrintTitleColumns()
7473 ScDocument* pDoc = pDocSh->GetDocument(); in getPrintTitleColumns()
7484 ScDocShell* pDocSh = GetDocShell(); in setPrintTitleColumns() local
7485 if ( pDocSh ) in setPrintTitleColumns()
7487 ScDocument* pDoc = pDocSh->GetDocument(); in setPrintTitleColumns()
7513 ScDocShell* pDocSh = GetDocShell(); in getTitleColumns() local
7514 if ( pDocSh ) in getTitleColumns()
7516 ScDocument* pDoc = pDocSh->GetDocument(); in getTitleColumns()
7532 ScDocShell* pDocSh = GetDocShell(); in setTitleColumns() local
7533 if ( pDocSh ) in setTitleColumns()
7535 ScDocument* pDoc = pDocSh->GetDocument(); in setTitleColumns()
7551 ScDocShell* pDocSh = GetDocShell(); in getPrintTitleRows() local
7552 if ( pDocSh ) in getPrintTitleRows()
7554 ScDocument* pDoc = pDocSh->GetDocument(); in getPrintTitleRows()
7565 ScDocShell* pDocSh = GetDocShell(); in setPrintTitleRows() local
7566 if ( pDocSh ) in setPrintTitleRows()
7568 ScDocument* pDoc = pDocSh->GetDocument(); in setPrintTitleRows()
7594 ScDocShell* pDocSh = GetDocShell(); in getTitleRows() local
7595 if ( pDocSh ) in getTitleRows()
7597 ScDocument* pDoc = pDocSh->GetDocument(); in getTitleRows()
7613 ScDocShell* pDocSh = GetDocShell(); in setTitleRows() local
7614 if ( pDocSh ) in setTitleRows()
7616 ScDocument* pDoc = pDocSh->GetDocument(); in setTitleRows()
7635 ScDocShell* pDocSh = GetDocShell(); in getLinkMode() local
7636 if ( pDocSh ) in getLinkMode()
7638 sal_uInt8 nMode = pDocSh->GetDocument()->GetLinkMode( GetTab_Impl() ); in getLinkMode()
7665 ScDocShell* pDocSh = GetDocShell(); in getLinkUrl() local
7666 if ( pDocSh ) in getLinkUrl()
7667 aFile = pDocSh->GetDocument()->GetLinkDoc( GetTab_Impl() ); in getLinkUrl()
7689 ScDocShell* pDocSh = GetDocShell(); in getLinkSheetName() local
7690 if ( pDocSh ) in getLinkSheetName()
7691 aSheet = pDocSh->GetDocument()->GetLinkTab( GetTab_Impl() ); in getLinkSheetName()
7714 ScDocShell* pDocSh = GetDocShell(); in link() local
7715 if ( pDocSh ) in link()
7717 ScDocument* pDoc = pDocSh->GetDocument(); in link()
7725 aFileString = ScGlobal::GetAbsDocName( aFileString, pDocSh ); in link()
7742 pDocSh->UpdateLinks(); // ggf. Link eintragen oder loeschen in link()
7743 SfxBindings* pBindings = pDocSh->GetViewBindings(); in link()
7780 ScDocShell* pDocSh = GetDocShell(); in hideDependents() local
7781 if ( pDocSh ) in hideDependents()
7786 ScDocFunc aFunc(*pDocSh); in hideDependents()
7796 ScDocShell* pDocSh = GetDocShell(); in hidePrecedents() local
7797 if ( pDocSh ) in hidePrecedents()
7802 ScDocFunc aFunc(*pDocSh); in hidePrecedents()
7812 ScDocShell* pDocSh = GetDocShell(); in showDependents() local
7813 if ( pDocSh ) in showDependents()
7818 ScDocFunc aFunc(*pDocSh); in showDependents()
7828 ScDocShell* pDocSh = GetDocShell(); in showPrecedents() local
7829 if ( pDocSh ) in showPrecedents()
7834 ScDocFunc aFunc(*pDocSh); in showPrecedents()
7844 ScDocShell* pDocSh = GetDocShell(); in showErrors() local
7845 if ( pDocSh ) in showErrors()
7850 ScDocFunc aFunc(*pDocSh); in showErrors()
7859 ScDocShell* pDocSh = GetDocShell(); in showInvalid() local
7860 if ( pDocSh ) in showInvalid()
7862 ScDocFunc aFunc(*pDocSh); in showInvalid()
7871 ScDocShell* pDocSh = GetDocShell(); in clearArrows() local
7872 if ( pDocSh ) in clearArrows()
7874 ScDocFunc aFunc(*pDocSh); in clearArrows()
7886 ScDocShell* pDocSh = GetDocShell(); in group() local
7887 if ( pDocSh ) in group()
7892 ScOutlineDocFunc aFunc(*pDocSh); in group()
7902 ScDocShell* pDocSh = GetDocShell(); in ungroup() local
7903 if ( pDocSh ) in ungroup()
7908 ScOutlineDocFunc aFunc(*pDocSh); in ungroup()
7917 ScDocShell* pDocSh = GetDocShell(); in autoOutline() local
7918 if ( pDocSh ) in autoOutline()
7922 ScOutlineDocFunc aFunc(*pDocSh); in autoOutline()
7930 ScDocShell* pDocSh = GetDocShell(); in clearOutline() local
7931 if ( pDocSh ) in clearOutline()
7934 ScOutlineDocFunc aFunc(*pDocSh); in clearOutline()
7943 ScDocShell* pDocSh = GetDocShell(); in hideDetail() local
7944 if ( pDocSh ) in hideDetail()
7948 ScOutlineDocFunc aFunc(*pDocSh); in hideDetail()
7957 ScDocShell* pDocSh = GetDocShell(); in showDetail() local
7958 if ( pDocSh ) in showDetail()
7962 ScOutlineDocFunc aFunc(*pDocSh); in showDetail()
7971 ScDocShell* pDocSh = GetDocShell(); in showLevel() local
7972 if ( pDocSh ) in showLevel()
7976 ScOutlineDocFunc aFunc(*pDocSh); in showLevel()
7987 ScDocShell* pDocSh = GetDocShell(); in protect() local
7989 if ( pDocSh && !pDocSh->GetDocument()->IsTabProtected( GetTab_Impl() ) ) in protect()
7992 ScDocFunc aFunc(*pDocSh); in protect()
8001 ScDocShell* pDocSh = GetDocShell(); in unprotect() local
8002 if ( pDocSh ) in unprotect()
8005 ScDocFunc aFunc(*pDocSh); in unprotect()
8015 ScDocShell* pDocSh = GetDocShell(); in isProtected() local
8016 if ( pDocSh ) in isProtected()
8017 return pDocSh->GetDocument()->IsTabProtected( GetTab_Impl() ); in isProtected()
8028 ScDocShell* pDocSh = GetDocShell(); in getIsScenario() local
8029 if ( pDocSh ) in getIsScenario()
8030 return pDocSh->GetDocument()->IsScenario( GetTab_Impl() ); in getIsScenario()
8038 ScDocShell* pDocSh = GetDocShell(); in getScenarioComment() local
8039 if ( pDocSh ) in getScenarioComment()
8044 pDocSh->GetDocument()->GetScenarioData( GetTab_Impl(), aComment, aColor, nFlags ); in getScenarioComment()
8054 ScDocShell* pDocSh = GetDocShell(); in setScenarioComment() local
8055 if ( pDocSh ) in setScenarioComment()
8057 ScDocument* pDoc = pDocSh->GetDocument(); in setScenarioComment()
8069 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in setScenarioComment()
8077 ScDocShell* pDocSh = GetDocShell(); in addRanges() local
8078 if ( pDocSh ) in addRanges()
8080 ScDocument* pDoc = pDocSh->GetDocument(); in addRanges()
8106 ScDocFunc aFunc(*pDocSh); in addRanges()
8158 ScDocShell* pDocSh = GetDocShell(); in apply() local
8159 if ( pDocSh ) in apply()
8161 ScDocument* pDoc = pDocSh->GetDocument(); in apply()
8171 pDocSh->UseScenario( nDestTab, aName ); in apply()
8183 ScDocShell* pDocSh = GetDocShell(); in getRanges() local
8184 if ( pDocSh ) in getRanges()
8186 ScDocument* pDoc = pDocSh->GetDocument(); in getRanges()
8216 ScDocShell* pDocSh = GetDocShell(); in setExternalName() local
8217 if ( pDocSh ) in setExternalName()
8219 ScDocument* pDoc = pDocSh->GetDocument(); in setExternalName()
8223 const String aAbsDocName( ScGlobal::GetAbsDocName( aUrl, pDocSh ) ); in setExternalName()
8238 ScDocShell* pDocSh = GetDocShell(); in getEvents() local
8239 if ( pDocSh ) in getEvents()
8240 return new ScSheetEventsObj( pDocSh, GetTab_Impl() ); in getEvents()
8270 ScDocShell* pDocSh = GetDocShell(); in SetOnePropertyValue() local
8271 if (!pDocSh) in SetOnePropertyValue()
8273 ScDocument* pDoc = pDocSh->GetDocument(); in SetOnePropertyValue()
8275 ScDocFunc aFunc(*pDocSh); in SetOnePropertyValue()
8291 ScPrintFunc( pDocSh, pDocSh->GetPrinter(), nTab ).UpdatePages(); in SetOnePropertyValue()
8293 SfxBindings* pBindings = pDocSh->GetViewBindings(); in SetOnePropertyValue()
8303 pDocSh->SetDocumentModified(); in SetOnePropertyValue()
8332 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in SetOnePropertyValue()
8366 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in SetOnePropertyValue()
8399 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in SetOnePropertyValue()
8432 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in SetOnePropertyValue()
8465 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in SetOnePropertyValue()
8498 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in SetOnePropertyValue()
8531 pDocSh->ModifyScenario( nTab, aName, aComment, aColor, nFlags ); in SetOnePropertyValue()
8569 if ( pDocSh && ( aValue >>= aCodeName ) ) in SetOnePropertyValue()
8571 pDocSh->GetDocument()->SetCodeName( GetTab_Impl(), aCodeName ); in SetOnePropertyValue()
8585 ScDocShell* pDocSh = GetDocShell(); in GetOnePropertyValue() local
8586 if (!pDocSh) in GetOnePropertyValue()
8588 ScDocument* pDoc = pDocSh->GetDocument(); in GetOnePropertyValue()
8719 if ( pDocSh ) in GetOnePropertyValue()
8720 pDocSh->GetDocument()->GetCodeName( GetTab_Impl(), aCodeName ); in GetOnePropertyValue()
8812 ScTableColumnObj::ScTableColumnObj( ScDocShell* pDocSh, SCCOL nCol, SCTAB nTab ) : in ScTableColumnObj() argument
8813 ScCellRangeObj( pDocSh, ScRange(nCol,0,nTab, nCol,MAXROW,nTab) ), in ScTableColumnObj()
8914 ScDocShell* pDocSh = GetDocShell(); in SetOnePropertyValue() local
8915 if (!pDocSh) in SetOnePropertyValue()
8921 ScDocFunc aFunc(*pDocSh); in SetOnePropertyValue()
8971 ScDocShell* pDocSh = GetDocShell(); in GetOnePropertyValue() local
8972 if (!pDocSh) in GetOnePropertyValue()
8975 ScDocument* pDoc = pDocSh->GetDocument(); in GetOnePropertyValue()
9023 ScTableRowObj::ScTableRowObj(ScDocShell* pDocSh, SCROW nRow, SCTAB nTab) : in ScTableRowObj() argument
9024 ScCellRangeObj( pDocSh, ScRange(0,nRow,nTab, MAXCOL,nRow,nTab) ), in ScTableRowObj()
9058 ScDocShell* pDocSh = GetDocShell(); in SetOnePropertyValue() local
9059 if (!pDocSh) in SetOnePropertyValue()
9061 ScDocument* pDoc = pDocSh->GetDocument(); in SetOnePropertyValue()
9066 ScDocFunc aFunc(*pDocSh); in SetOnePropertyValue()
9128 ScDocShell* pDocSh = GetDocShell(); in GetOnePropertyValue() local
9129 if (!pDocSh) in GetOnePropertyValue()
9131 ScDocument* pDoc = pDocSh->GetDocument(); in GetOnePropertyValue()
9183 ScCellsObj::ScCellsObj(ScDocShell* pDocSh, const ScRangeList& rR) : in ScCellsObj() argument
9184 pDocShell( pDocSh ), in ScCellsObj()
9244 ScCellsEnumeration::ScCellsEnumeration(ScDocShell* pDocSh, const ScRangeList& rR) : in ScCellsEnumeration() argument
9245 pDocShell( pDocSh ), in ScCellsEnumeration()
9376 ScCellFormatsObj::ScCellFormatsObj(ScDocShell* pDocSh, const ScRange& rRange) : in ScCellFormatsObj() argument
9377 pDocShell( pDocSh ), in ScCellFormatsObj()
9499 ScCellFormatsEnumeration::ScCellFormatsEnumeration(ScDocShell* pDocSh, const ScRange& rRange) : in ScCellFormatsEnumeration() argument
9500 pDocShell( pDocSh ), in ScCellFormatsEnumeration()
9607 ScUniqueCellFormatsObj::ScUniqueCellFormatsObj(ScDocShell* pDocSh, const ScRange& rRange) : in ScUniqueCellFormatsObj() argument
9608 pDocShell( pDocSh ), in ScUniqueCellFormatsObj()
9878 ScUniqueCellFormatsEnumeration::ScUniqueCellFormatsEnumeration(ScDocShell* pDocSh, const ScMyRangeL… in ScUniqueCellFormatsEnumeration() argument
9880 pDocShell( pDocSh ), in ScUniqueCellFormatsEnumeration()