Lines Matching refs:pDoc
65 ScDocument* pDoc = rDocShell.GetDocument(); in lcl_PaintWidthHeight() local
84 if (pDoc->HasAttrib( nStartCol,nStartRow,nTab, nEndCol,nEndRow,nTab, in lcl_PaintWidthHeight()
104 ScDocument* pDoc = rDocShell.GetDocument(); in MakeOutline() local
105 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab, sal_True ); in MakeOutline()
108 if (bRecord && !pDoc->IsUndoEnabled()) in MakeOutline()
133 if (pDoc->IsStreamValid(nTab)) in MakeOutline()
134 pDoc->SetStreamValid(nTab, sal_False); in MakeOutline()
169 ScDocument* pDoc = rDocShell.GetDocument(); in RemoveOutline() local
171 if (bRecord && !pDoc->IsUndoEnabled()) in RemoveOutline()
173 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in RemoveOutline()
199 if (pDoc->IsStreamValid(nTab)) in RemoveOutline()
200 pDoc->SetStreamValid(nTab, sal_False); in RemoveOutline()
230 ScDocument* pDoc = rDocShell.GetDocument(); in RemoveAllOutlines() local
232 if (bRecord && !pDoc->IsUndoEnabled()) in RemoveAllOutlines()
234 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in RemoveAllOutlines()
248 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in RemoveAllOutlines()
249 pDoc->CopyToDocument( nStartCol, 0, nTab, nEndCol, MAXROW, nTab, IDF_NONE, sal_False, pUndoDoc ); in RemoveAllOutlines()
250 pDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pUndoDoc ); in RemoveAllOutlines()
263 pDoc->SetOutlineTable( nTab, NULL ); in RemoveAllOutlines()
265 pDoc->UpdatePageBreaks( nTab ); in RemoveAllOutlines()
267 if (pDoc->IsStreamValid(nTab)) in RemoveAllOutlines()
268 pDoc->SetStreamValid(nTab, sal_False); in RemoveAllOutlines()
292 ScDocument* pDoc = rDocShell.GetDocument(); in AutoOutline() local
294 if (bRecord && !pDoc->IsUndoEnabled()) in AutoOutline()
296 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in AutoOutline()
316 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in AutoOutline()
317 …pDoc->CopyToDocument( nOutStartCol, 0, nTab, nOutEndCol, MAXROW, nTab, IDF_NONE, sal_False, pUndoD… in AutoOutline()
318 …pDoc->CopyToDocument( 0, nOutStartRow, nTab, MAXCOL, nOutEndRow, nTab, IDF_NONE, sal_False, pUndoD… in AutoOutline()
324 pDoc->SetOutlineTable( nTab, NULL ); in AutoOutline()
327 pDoc->DoAutoOutline( nStartCol,nStartRow, nEndCol,nEndRow, nTab ); in AutoOutline()
338 if (pDoc->IsStreamValid(nTab)) in AutoOutline()
339 pDoc->SetStreamValid(nTab, sal_False); in AutoOutline()
353 ScDocument* pDoc = rDocShell.GetDocument(); in SelectLevel() local
355 if (bRecord && !pDoc->IsUndoEnabled()) in SelectLevel()
357 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); // ist schon da in SelectLevel()
373 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_False ); in SelectLevel()
374 pDoc->CopyToDocument( static_cast<SCCOL>(nStart), 0, nTab, in SelectLevel()
380 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in SelectLevel()
381 pDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pUndoDoc ); in SelectLevel()
391 pDoc->IncSizeRecalcLevel( nTab ); in SelectLevel()
419 pDoc->ShowCol( static_cast<SCCOL>(i), nTab, bShow ); in SelectLevel()
424 bool bFiltered = pDoc->RowFiltered( i, nTab, NULL, &nFilterEnd ); in SelectLevel()
427 pDoc->ShowRows( i, nFilterEnd, nTab, bShow ); in SelectLevel()
433 pDoc->DecSizeRecalcLevel( nTab ); in SelectLevel()
434 pDoc->UpdatePageBreaks( nTab ); in SelectLevel()
457 ScDocument* pDoc = rDocShell.GetDocument(); in ShowMarkedOutlines() local
459 if (bRecord && !pDoc->IsUndoEnabled()) in ShowMarkedOutlines()
461 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in ShowMarkedOutlines()
477 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in ShowMarkedOutlines()
478 pDoc->CopyToDocument( nStartCol, 0, nTab, nEndCol, MAXROW, nTab, IDF_NONE, sal_False, pUndoDoc ); in ShowMarkedOutlines()
479 pDoc->CopyToDocument( 0, nStartRow, nTab, MAXCOL, nEndRow, nTab, IDF_NONE, sal_False, pUndoDoc ); in ShowMarkedOutlines()
487 pDoc->IncSizeRecalcLevel( nTab ); in ShowMarkedOutlines()
508 pDoc->ShowCol( static_cast<SCCOL>(i), nTab, sal_True ); in ShowMarkedOutlines()
532 bool bFiltered = pDoc->RowFiltered( i, nTab, NULL, &nFilterEnd ); in ShowMarkedOutlines()
535 pDoc->ShowRows( i, nFilterEnd, nTab, sal_True ); in ShowMarkedOutlines()
539 pDoc->DecSizeRecalcLevel( nTab ); in ShowMarkedOutlines()
540 pDoc->UpdatePageBreaks( nTab ); in ShowMarkedOutlines()
566 ScDocument* pDoc = rDocShell.GetDocument(); in HideMarkedOutlines() local
568 if (bRecord && !pDoc->IsUndoEnabled()) in HideMarkedOutlines()
570 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in HideMarkedOutlines()
597 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in HideMarkedOutlines()
598 pDoc->CopyToDocument( static_cast<SCCOL>(nEffStartCol), 0, nTab, in HideMarkedOutlines()
601 …pDoc->CopyToDocument( 0, nEffStartRow, nTab, MAXCOL, nEffEndRow, nTab, IDF_NONE, sal_False, pUndoD… in HideMarkedOutlines()
609 pDoc->IncSizeRecalcLevel( nTab ); in HideMarkedOutlines()
637 pDoc->DecSizeRecalcLevel( nTab ); in HideMarkedOutlines()
638 pDoc->UpdatePageBreaks( nTab ); in HideMarkedOutlines()
659 ScDocument* pDoc = rDocShell.GetDocument(); in ShowOutline() local
660 if (bRecord && !pDoc->IsUndoEnabled()) in ShowOutline()
663 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in ShowOutline()
674 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_False ); in ShowOutline()
675 pDoc->CopyToDocument( static_cast<SCCOL>(nStart), 0, nTab, in ShowOutline()
681 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in ShowOutline()
682 pDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pUndoDoc ); in ShowOutline()
693 pDoc->IncSizeRecalcLevel( nTab ); in ShowOutline()
700 pDoc->ShowCol( static_cast<SCCOL>(i), nTab, sal_True ); in ShowOutline()
705 bool bFiltered = pDoc->RowFiltered( i, nTab, NULL, &nFilterEnd ); in ShowOutline()
708 pDoc->ShowRows( i, nFilterEnd, nTab, sal_True ); in ShowOutline()
722 pDoc->ShowCol( static_cast<SCCOL>(i), nTab, sal_False ); in ShowOutline()
724 pDoc->ShowRows( nSubStart, nSubEnd, nTab, sal_False ); in ShowOutline()
730 pDoc->DecSizeRecalcLevel( nTab ); in ShowOutline()
731 pDoc->InvalidatePageBreaks(nTab); in ShowOutline()
732 pDoc->UpdatePageBreaks( nTab ); in ShowOutline()
751 ScDocument* pDoc = rDocShell.GetDocument(); in HideOutline() local
752 if (bRecord && !pDoc->IsUndoEnabled()) in HideOutline()
755 ScOutlineTable* pTable = pDoc->GetOutlineTable( nTab ); in HideOutline()
766 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_False ); in HideOutline()
767 pDoc->CopyToDocument( static_cast<SCCOL>(nStart), 0, nTab, in HideOutline()
773 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in HideOutline()
774 pDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pUndoDoc ); in HideOutline()
785 pDoc->IncSizeRecalcLevel( nTab ); in HideOutline()
791 pDoc->ShowCol( static_cast<SCCOL>(i), nTab, sal_False ); in HideOutline()
793 pDoc->ShowRows( nStart, nEnd, nTab, sal_False ); in HideOutline()
797 pDoc->DecSizeRecalcLevel( nTab ); in HideOutline()
798 pDoc->InvalidatePageBreaks(nTab); in HideOutline()
799 pDoc->UpdatePageBreaks( nTab ); in HideOutline()