Lines Matching refs:pDoc

178 	ScDocument* pDoc = pDocShell->GetDocument();  in DoChange()  local
183 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in DoChange()
199pDoc->DeleteRow( aEffRange.aStart.Col(), pTabs[i], aEffRange.aEnd.Col(), pTabs[i]+pScenarios[i], in DoChange()
202pDoc->InsertRow( aEffRange.aStart.Col(), pTabs[i], aEffRange.aEnd.Col(), pTabs[i]+pScenarios[i], in DoChange()
211pDoc->DeleteCol( aEffRange.aStart.Row(), pTabs[i], aEffRange.aEnd.Row(), pTabs[i]+pScenarios[i], in DoChange()
214pDoc->InsertCol( aEffRange.aStart.Row(), pTabs[i], aEffRange.aEnd.Row(), pTabs[i]+pScenarios[i], in DoChange()
229 if ( pDoc->HasAttrib( aWorkRange.aStart.Col(), aWorkRange.aStart.Row(), pTabs[i], in DoChange()
234pDoc->ExtendMerge( aWorkRange.aStart.Col(), aWorkRange.aStart.Row(), nEndCol, nEndRow, pTabs[i], s… in DoChange()
389 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
394 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in DoChange()
409pDoc->InsertRow( aEffRange.aStart.Col(), pTabs[i], aEffRange.aEnd.Col(), pTabs[i]+pScenarios[i], in DoChange()
412pDoc->DeleteRow( aEffRange.aStart.Col(), pTabs[i], aEffRange.aEnd.Col(), pTabs[i]+pScenarios[i], in DoChange()
421pDoc->InsertCol( aEffRange.aStart.Row(), pTabs[i], aEffRange.aEnd.Row(), pTabs[i]+pScenarios[i], in DoChange()
424pDoc->DeleteCol( aEffRange.aStart.Row(), pTabs[i], aEffRange.aEnd.Row(), pTabs[i]+pScenarios[i], in DoChange()
438 IDF_ALL | IDF_NOCAPTIONS, sal_False, pDoc ); in DoChange()
447 if ( pDoc->HasAttrib( aWorkRange.aStart.Col(), aWorkRange.aStart.Row(), pTabs[i], in DoChange()
461 ScPatternAttr aPattern( pDoc->GetPool() ); in DoChange()
463 pDoc->ApplyPatternArea( aWorkRange.aStart.Col(), aWorkRange.aStart.Row(), in DoChange()
470pDoc->ExtendMerge( aWorkRange.aStart.Col(), aWorkRange.aStart.Row(), nEndCol, nEndRow, pTabs[i], s… in DoChange()
619 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
622 pDoc->RemoveFlagsTab( nStartCol, nStartRow, nEndCol, nEndRow, nTab, SC_MF_HOR | SC_MF_VER ); in DoChange()
623 pDoc->ExtendMerge( nStartCol, nStartRow, nEndCol, nEndRow, nTab, sal_True ); in DoChange()
676 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
687 pDoc->InsertRow( 0,nTab, MAXCOL,nTab, nStart,static_cast<SCSIZE>(nEnd-nStart+1) ); in Undo()
689pDoc->InsertCol( 0,nTab, MAXROW,nTab, static_cast<SCCOL>(nStart), static_cast<SCSIZE>(nEnd-nStart+… in Undo()
698 pRefUndoDoc->CopyToDocument( 0,nStart,nTab, MAXCOL,nEnd,nTab, IDF_ALL,sal_False,pDoc ); in Undo()
701 static_cast<SCCOL>(nEnd),MAXROW,nTab, IDF_ALL,sal_False,pDoc ); in Undo()
704 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in Undo()
722 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
731 pDoc->DeleteRow( 0,nTab, MAXCOL,nTab, nStart,static_cast<SCSIZE>(nEnd-nStart+1) ); in Redo()
733pDoc->DeleteCol( 0,nTab, MAXROW,nTab, static_cast<SCCOL>(nStart), static_cast<SCSIZE>(nEnd-nStart+… in Redo()
800 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
809 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
813 pUndoDoc->CopyToDocument( aCopyRange, nUndoFlags, sal_False, pDoc ); in DoChange()
814 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in DoChange()
821 pDoc->DeleteArea( aBlockRange.aStart.Col(), aBlockRange.aStart.Row(), in DoChange()
848 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
849 EnableDrawAdjust( pDoc, sal_False ); //! include in ScBlockUndo? in Redo()
851 EnableDrawAdjust( pDoc, sal_True ); //! include in ScBlockUndo? in Redo()
931 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
937 pRefRedoData = new ScRefUndoData( pDoc ); in DoChange()
958 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
967 pRedoDoc->InitUndoSelected( pDoc, aMarkData, bColInfo, bRowInfo ); in DoChange()
974 pDoc->CopyToDocument( aCopyRange, nUndoFlags, sal_False, pRedoDoc ); in DoChange()
982 pDoc->DeleteSelection( nUndoFlags, aMarkData ); in DoChange()
993 pRedoDoc->UndoToDocument( aTabSelectRange, nUndoFlags, sal_False, pDoc ); in DoChange()
999 pRedoDoc->CopyToDocument( aTabSelectRange, nUndoFlags, sal_False, pDoc ); in DoChange()
1005 …pWorkRefData->DoUndo( pDoc, sal_True ); // sal_True = bSetChartRangeLists for SetChartListenerCol… in DoChange()
1006 if ( pDoc->RefreshAutoFilter( 0,0, MAXCOL,MAXROW, aBlockRange.aStart.Tab() ) ) in DoChange()
1011 pRefRedoData->DeleteUnchanged( pDoc ); in DoChange()
1017 pUndoDoc->UndoToDocument( aTabSelectRange, nUndoFlags, sal_False, pDoc ); in DoChange()
1023 pUndoDoc->UndoToDocument( aTabSelectRange, nUndoFlags, sal_False, pDoc ); in DoChange()
1029 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in DoChange()
1037 pDoc->ExtendMerge( aDrawRange, sal_True ); // only needed for single sheet (text/rtf etc.) in DoChange()
1094 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1095 EnableDrawAdjust( pDoc, sal_False ); //! include in ScBlockUndo? in Redo()
1097 EnableDrawAdjust( pDoc, sal_True ); //! include in ScBlockUndo? in Redo()
1196 ScDocument* pDoc = pDocShell->GetDocument(); in PaintArea() local
1203 if ( pDoc->SetOptimalHeight( aRange.aStart.Row(), aRange.aEnd.Row(), in PaintArea()
1243 ScDocument* pDoc = pDocShell->GetDocument(); in DoUndo() local
1245 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in DoUndo()
1252 pDoc->ExtendMerge( aPaintRange ); // before deleting in DoUndo()
1260 pDoc->DeleteAreaTab( aRange, nUndoFlags ); in DoUndo()
1261 pRefUndoDoc->CopyToDocument( aRange, nUndoFlags, sal_False, pDoc ); in DoUndo()
1262 if ( pDoc->HasAttrib( aRange, HASATTR_MERGED ) ) in DoUndo()
1263 pDoc->ExtendMerge( aRange, sal_True ); in DoUndo()
1286 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1289 EnableDrawAdjust( pDoc, sal_False ); //! include in ScBlockUndo? in Redo()
1314 pDoc->CopyToClip(aClipParam, pClipDoc, &aSourceMark, false, bKeepScenarioFlags, false, false); in Redo()
1319 pDoc->ExtendMerge( aSrcPaintRange ); // before deleting in Redo()
1322 pDoc->DeleteAreaTab( aSrcRange, nRedoFlags ); in Redo()
1332pDoc->CopyFromClip( aDestRange, aDestMark, IDF_ALL & ~IDF_OBJECTS, NULL, pClipDoc, sal_True, sal_F… in Redo()
1336 pDoc->RefreshAutoFilter( aSrcRange.aStart.Col(), aSrcRange.aStart.Row(), in Redo()
1347 pDoc->ExtendMerge( aDestRange.aStart.Col(), aDestRange.aStart.Row(), in Redo()
1359 EnableDrawAdjust( pDoc, sal_True ); //! include in ScBlockUndo? in Redo()
1402 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
1404 pDoc->DeleteAreaTab( aBlockRange, IDF_ALL ); in DoChange()
1405 pSrcDoc->CopyToDocument( aBlockRange, IDF_ALL, sal_False, pDoc ); in DoChange()
1484 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1485 pDoc->DeleteSelection( IDF_ALL, aMarkData ); in Undo()
1486 pUndoDoc->CopyToDocument( aRange, IDF_ALL, sal_True, pDoc, &aMarkData ); in Undo()
1501 pDoc->SetScenarioData( i, aComment, aColor, nScenFlags ); in Undo()
1503 pDoc->SetActiveScenario( i, bActive ); in Undo()
1507 pDoc->DeleteAreaTab( 0,0, MAXCOL,MAXROW, i, IDF_ALL ); in Undo()
1508 pUndoDoc->CopyToDocument( 0,0,i, MAXCOL,MAXROW,i, IDF_ALL,sal_False, pDoc ); in Undo()
1598 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
1603 if ( pDoc->HasAttrib( aWorkRange, HASATTR_MERGED ) ) // zusammengefasste Zellen? in DoChange()
1604 pDoc->ExtendMerge( aWorkRange, sal_True ); in DoChange()
1611 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
1615 pUndoDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, sal_True, pDoc, &aMarkData ); in DoChange()
1619 ScStyleSheetPool* pStlPool = pDoc->GetStyleSheetPool(); in DoChange()
1627 pDoc->ApplySelectionStyle( *pStyleSheet, aMarkData ); in DoChange()
1657 ScDocument* pDoc = pDocShell->GetDocument(); in Repeat() local
1658 ScStyleSheetPool* pStlPool = pDoc->GetStyleSheetPool(); in Repeat()
1709 ScDocument* pDoc = pDocShell->GetDocument(); in SetChangeTrack() local
1710 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in SetChangeTrack()
1722 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1724 pDoc->DeleteAreaTab( aBlockRange, IDF_ALL & ~IDF_NOTE ); in Undo()
1725 pUndoDoc->CopyToDocument( aBlockRange, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in Undo()
1732 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in Undo()
1743 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1749 pDoc->InsertMatrixFormula( aBlockRange.aStart.Col(), aBlockRange.aStart.Row(), in Redo()
1811 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1812 SCTAB nTabCount = pDoc->GetTableCount(); in Undo()
1816 pUndoDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, sal_True, pDoc, &aMarkData ); in Undo()
1826 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1827 pDoc->ChangeSelectionIndent( bIsIncrement, aMarkData ); in Redo()
1872 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1873 SCTAB nTabCount = pDoc->GetTableCount(); in Undo()
1877 pUndoDoc->CopyToDocument( aCopyRange, IDF_CONTENTS, sal_True, pDoc, &aMarkData ); in Undo()
1887 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1888 pDoc->TransliterateText( aMarkData, nTransliterationType ); in Redo()
1942 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1943 pUndoDoc->CopyToDocument( aBlockRange, IDF_ATTRIB, sal_True, pDoc, &aMarkData ); in Undo()
1953 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1954 pDoc->ClearSelectionItems( pWhich, aMarkData ); in Redo()
2002 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
2005 pUndoDoc->CopyToDocument( 0,0,nTab, MAXCOL,MAXROW,nTab, IDF_NONE, sal_False, pDoc ); in Undo()
2017 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
2020 pDoc->RemoveManualBreaks(nTab); in Redo()
2021 pDoc->UpdatePageBreaks(nTab); in Redo()
2069 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
2074 pDoc->DeleteAreaTab( aExtended, IDF_ATTRIB ); in Undo()
2075 pUndoDoc->CopyToDocument( aExtended, IDF_ATTRIB, sal_False, pDoc ); in Undo()
2095 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
2097 pDoc->ExtendMerge( aExtended ); in Redo()
2099 pDoc->ExtendOverlapped( aRefresh ); in Redo()
2103 const SfxPoolItem& rDefAttr = pDoc->GetPool()->GetDefaultItem( ATTR_MERGE ); in Redo()
2104 ScPatternAttr aPattern( pDoc->GetPool() ); in Redo()
2106 pDoc->ApplyPatternAreaTab( aBlockRange.aStart.Col(), aBlockRange.aStart.Row(), in Redo()
2110 pDoc->RemoveFlagsTab( aExtended.aStart.Col(), aExtended.aStart.Row(), in Redo()
2114 pDoc->ExtendMerge( aRefresh, sal_True, sal_False ); in Redo()
2203 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
2206 pUndoDoc->CopyToDocument( aBlockRange, IDF_ATTRIB, sal_True, pDoc, &aMarkData ); in Undo()
2216 ScDocument* pDoc = pDocShell->GetDocument(); //! Funktion an docfunc aufrufen in Redo() local
2228 pDoc->ApplySelectionFrame( aMark, pOuter, pInner ); in Redo()