Lines Matching refs:pDoc
145 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
164 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
168 pUndoDoc->CopyToDocument( aCopyRange, nUndoFlags, bMulti, pDoc, &aMarkData ); in DoChange()
170 DoSdrUndoAction( pDrawUndo, pDoc ); in DoChange()
172 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in DoChange()
186 pDoc->DeleteSelection( nRedoFlags, aMarkData ); in DoChange()
338 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
344 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
352 pDoc->DeleteSelectionTab( i, IDF_ALL, aMarkData ); in DoChange()
354 pDoc->DeleteAreaTab( aWorkRange, IDF_ALL ); in DoChange()
355 pUndoDoc->CopyToDocument( aWorkRange, IDF_ALL, bMulti, pDoc, &aMarkData ); in DoChange()
358 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in DoChange()
365 pDoc->FillTabMarked( nSrcTab, aMarkData, nFlags, nFunction, bSkipEmpty, bAsLink ); in DoChange()
481 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
486 if ( pDoc->HasAttrib( aEffRange, HASATTR_MERGED ) ) // zusammengefasste Zellen? in DoChange()
487 pDoc->ExtendMerge( aEffRange ); in DoChange()
495 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
498 pUndoDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, bMulti, pDoc, &aMarkData ); in DoChange()
503 pDoc->ApplySelectionPattern( *pApplyPattern, aMarkData ); in DoChange()
507 pDoc->ApplySelectionFrame( aMarkData, pLineOuter, pLineInner ); in DoChange()
626 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
628 SCTAB nTabCount = pDoc->GetTableCount(); in Undo()
639 pDoc->DeleteAreaTab( aWorkRange, IDF_AUTOFILL ); in Undo()
640 pUndoDoc->CopyToDocument( aWorkRange, IDF_AUTOFILL, sal_False, pDoc ); in Undo()
642 pDoc->ExtendMerge( aWorkRange, sal_True ); in Undo()
659 ScRangeName* pRangeName = pDoc->GetRangeName(); in Undo()
678 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in Undo()
711 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
717 pDoc->SetValue( nValX, nValY, nTab, fStartValue ); in Redo()
719 pDoc->Fill( aSource.aStart.Col(), aSource.aStart.Row(), in Redo()
804 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
810 pDoc->RemoveMerge( maRange.aStart.Col(), maRange.aStart.Row(), maRange.aStart.Tab() ); in DoChange()
813 /*!*/ pDoc->DoMerge( maRange.aStart.Tab(), in DoChange()
820 pDoc->DeleteAreaTab( maRange, IDF_CONTENTS|IDF_NOCAPTIONS ); in DoChange()
821 mpUndoDoc->CopyToDocument( maRange, IDF_ALL|IDF_NOCAPTIONS, sal_False, pDoc ); in DoChange()
827 /*!*/ pDoc->DoMergeContents( maRange.aStart.Tab(), in DoChange()
833 DoSdrUndoAction( mpDrawUndo, pDoc ); in DoChange()
936 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
942 SCTAB nTabCount = pDoc->GetTableCount(); in Undo()
943 pDoc->DeleteArea( aBlockRange.aStart.Col(), aBlockRange.aStart.Row(), in Undo()
949 pUndoDoc->CopyToDocument( aCopyRange, IDF_ATTRIB, sal_False, pDoc, &aMarkData ); in Undo()
962 IDF_NONE, sal_False, pDoc, &aMarkData ); in Undo()
964 IDF_NONE, sal_False, pDoc, &aMarkData ); in Undo()
981 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
990 pDoc->AutoFormat( nStartX, nStartY, nEndX, nEndY, nFormatNo, aMarkData ); in Redo()
1027 sal_uInt8 nOld = pDoc->GetRowFlags(nRow,nTab); in Redo()
1028 bool bHidden = pDoc->RowHidden(nRow, nTab, nLastRow); in Redo()
1030 pDoc->SetRowFlags( nRow, nTab, nOld & ~CR_MANUALSIZE ); in Redo()
1032 pDoc->SetOptimalHeight( nStartY, nEndY, nTab, 0, &aVirtDev, in Redo()
1037 if (!pDoc->ColHidden(nCol, nTab, nLastCol)) in Redo()
1039 sal_uInt16 nThisSize = STD_EXTRA_WIDTH + pDoc->GetOptimalColWidth( nCol, nTab, in Redo()
1042 pDoc->SetColWidth( nCol, nTab, nThisSize ); in Redo()
1043 pDoc->ShowCol( nCol, nTab, sal_True ); in Redo()
1112 ScDocument* pDoc = pDocShell->GetDocument(); in SetChangeTrack() local
1113 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in SetChangeTrack()
1127 pContent->SetOldValue( aUndoStr, pDoc ); in SetChangeTrack()
1128 pContent->SetNewValue( pDoc->GetCell( aCursorPos ), pDoc ); in SetChangeTrack()
1151 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1172 nUndoFlags, sal_False, pDoc, NULL, sal_False ); // ohne Row-Flags in Undo()
1181 pDoc->ReplaceStyle( *pSearchItem, in Undo()
1193 ScPostIt* pNote = pDoc->GetNote( aCursorPos ); in Undo()
1205 pDoc->PutCell( aCursorPos, new ScEditCell( aUndoStr, pDoc ) ); in Undo()
1207 pDoc->SetString( aCursorPos.Col(), aCursorPos.Row(), aCursorPos.Tab(), aUndoStr ); in Undo()
1214 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in Undo()
1228 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1246 pDoc->ReplaceStyle( *pSearchItem, in Redo()
1334 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1335 pDoc->DeleteAreaTab( aRange,IDF_ALL & ~IDF_NOTE ); in Undo()
1336 pUndoDoc->CopyToDocument( aRange, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in Undo()
1419 ScDocument* pDoc = pDocShell->GetDocument(); in SetChangeTrack() local
1420 ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in SetChangeTrack()
1458 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
1463 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
1469 IDF_CONTENTS, bMulti, pDoc, &aMarkData ); in DoChange()
1564 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
1571 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange()
1574 pRefDoc->CopyToDocument( aCopyRange, nFlags, bMulti, pDoc, &aMarkData ); in DoChange()
1657 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1658 SCTAB nCount = pDoc->GetTableCount(); in Undo()
1666 pRedoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in Undo()
1670 pDoc->CopyToDocument(aRange, IDF_ALL, sal_False, pRedoDoc); in Undo()
1673 pDoc->GetLinkMode(nTab), in Undo()
1674 pDoc->GetLinkDoc(nTab), in Undo()
1675 pDoc->GetLinkFlt(nTab), in Undo()
1676 pDoc->GetLinkOpt(nTab), in Undo()
1677 pDoc->GetLinkTab(nTab), in Undo()
1678 pDoc->GetLinkRefreshDelay(nTab) ); in Undo()
1679 pRedoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) ); in Undo()
1682 pDoc->DeleteAreaTab( aRange,IDF_ALL ); in Undo()
1683 pUndoDoc->CopyToDocument( aRange, IDF_ALL, sal_False, pDoc ); in Undo()
1685 pDoc->SetLink( nTab, pUndoDoc->GetLinkMode(nTab), pUndoDoc->GetLinkDoc(nTab), in Undo()
1689 pDoc->SetTabBgColor( nTab, pUndoDoc->GetTabBgColor(nTab) ); in Undo()
1707 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1708 SCTAB nCount = pDoc->GetTableCount(); in Redo()
1714 pDoc->DeleteAreaTab( aRange, IDF_ALL ); in Redo()
1715 pRedoDoc->CopyToDocument( aRange, IDF_ALL, sal_False, pDoc ); in Redo()
1717 pDoc->SetLink( nTab, in Redo()
1724 pDoc->SetTabBgColor( nTab, pRedoDoc->GetTabBgColor(nTab) ); in Redo()
1815 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1816 sfx2::LinkManager* pLinkManager = pDoc->GetLinkManager(); in Undo()
1831 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1832 sfx2::LinkManager* pLinkManager = pDoc->GetLinkManager(); in Redo()
1905 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
1906 sfx2::LinkManager* pLinkManager = pDoc->GetLinkManager(); in Undo()
1924 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
1925 sfx2::LinkManager* pLinkManager = pDoc->GetLinkManager(); in Redo()
2009 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local
2019 pDoc->FitBlock( aNewRange, aOldRange ); in DoChange()
2020 pDoc->DeleteAreaTab( aOldRange, IDF_ALL & ~IDF_NOTE ); in DoChange()
2021 pUndoDoc->UndoToDocument( aOldRange, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in DoChange()
2026 pDoc->DeleteAreaTab( aCopyRange, IDF_ALL & ~IDF_NOTE ); in DoChange()
2027 pUndoDoc->CopyToDocument( aCopyRange, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in DoChange()
2034 pDoc->FitBlock( aOldRange, aNewRange ); in DoChange()
2035 pDoc->DeleteAreaTab( aNewRange, IDF_ALL & ~IDF_NOTE ); in DoChange()
2036 pRedoDoc->CopyToDocument( aNewRange, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in DoChange()
2041 pDoc->DeleteAreaTab( aCopyRange, IDF_ALL & ~IDF_NOTE ); in DoChange()
2042 pRedoDoc->CopyToDocument( aCopyRange, IDF_ALL & ~IDF_NOTE, sal_False, pDoc ); in DoChange()
2047 pDoc->ExtendMerge( aWorkRange, sal_True ); in DoChange()
2070 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local
2071 sfx2::LinkManager* pLinkManager = pDoc->GetLinkManager(); in Undo()
2089 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local
2090 sfx2::LinkManager* pLinkManager = pDoc->GetLinkManager(); in Redo()