/aoo42x/main/sc/source/ui/docshell/ |
H A D | docfunc.cxx | 1456 pDoc->BeginDrawUndo(); in InsertCells() 2038 pDoc->BeginDrawUndo(); in DeleteCells() 2403 pDoc->BeginDrawUndo(); in MoveBlock() 2703 bInsertDocModule = pDoc ? pDoc->IsInVBAMode() : false; in InsertTable() 2750 sal_Bool bVbaEnabled = pDoc ? pDoc->IsInVBAMode() : false; in DeleteTable() 2771 pUndoDoc->SetLink( nTab, pDoc->GetLinkMode(nTab), pDoc->GetLinkDoc(nTab), in DeleteTable() 2772 pDoc->GetLinkFlt(nTab), pDoc->GetLinkOpt(nTab), in DeleteTable() 3000 if ( !pDoc->IsDocEditable() || pDoc->IsTabProtected(nTab) ) in SetTabBgColor() 3741 pDoc->BeginDrawUndo(); in AutoFormat() 4136 pDoc->CopyToDocument( in FillSeries() [all …]
|
H A D | olinefun.cxx | 108 if (bRecord && !pDoc->IsUndoEnabled()) in MakeOutline() 133 if (pDoc->IsStreamValid(nTab)) in MakeOutline() 265 pDoc->UpdatePageBreaks( nTab ); in RemoveAllOutlines() 338 if (pDoc->IsStreamValid(nTab)) in AutoOutline() 391 pDoc->IncSizeRecalcLevel( nTab ); in SelectLevel() 433 pDoc->DecSizeRecalcLevel( nTab ); in SelectLevel() 434 pDoc->UpdatePageBreaks( nTab ); in SelectLevel() 540 pDoc->UpdatePageBreaks( nTab ); in ShowMarkedOutlines() 638 pDoc->UpdatePageBreaks( nTab ); in HideMarkedOutlines() 732 pDoc->UpdatePageBreaks( nTab ); in ShowOutline() [all …]
|
H A D | dbdocfun.cxx | 69 sal_Bool bUndo (pDoc->IsUndoEnabled()); in AddDBRange() 114 sal_Bool bUndo (pDoc->IsUndoEnabled()); in DeleteDBRange() 149 sal_Bool bUndo (pDoc->IsUndoEnabled()); in RenameDBRange() 219 pDoc->CompileDBFormula(); in ModifyDBData() 243 if (bRecord && !pDoc->IsUndoEnabled()) in RepeatDB() 613 pDoc->SetDirty( aDirtyRange ); in Sort() 799 pDoc->BeginDrawUndo(); in Query() 941 pDoc->UpdatePageBreaks( nTab ); in Query() 947 pDoc->SetDirty( aDirtyRange ); in Query() 1116 pDoc->SetDirty( aDirtyRange ); in DoSubTotals() [all …]
|
H A D | tablink.cxx | 118 SCTAB nCount = pDoc->GetTableCount(); in ~ScTableLink() 120 if (pDoc->IsLinked(nTab) && pDoc->GetLinkDoc(nTab)==aFileName) in ~ScTableLink() 162 sal_Bool bUndo (pDoc->IsUndoEnabled()); in Closed() 198 pDoc->SetInLinkUpdate( sal_True ); in Refresh() 200 sal_Bool bUndo(pDoc->IsUndoEnabled()); in Refresh() 247 SCTAB nCount = pDoc->GetTableCount(); in Refresh() 277 pDoc->GetName( nTab, aName ); in Refresh() 281 pDoc->RenameTab( nTab, in Refresh() 427 pDoc->SetInLinkUpdate( sal_False ); in Refresh() 433 pDoc->BroadcastUno( aHint ); in Refresh() [all …]
|
/aoo42x/main/sc/source/ui/view/ |
H A D | viewfun2.cxx | 1573 pDoc->BeginDrawUndo(); in AutoFormat() 1868 if ( pDoc ) in Solve() 1881 pDoc->Solver( in Solve() 2147 sal_Bool bVbaEnabled = pDoc ? pDoc->IsInVBAMode() : sal_False; in DeleteTables() 2182 pUndoDoc->SetLink( nTab, pDoc->GetLinkMode(nTab), pDoc->GetLinkDoc(nTab), in DeleteTables() 2183 pDoc->GetLinkFlt(nTab), pDoc->GetLinkOpt(nTab), in DeleteTables() 2559 if (pDestDoc != pDoc) in MoveTable() 2585 if((!pDoc->IsVisible(j))&&(pDoc->IsScenario(j))) in MoveTable() 2598 if (pDoc->GetDrawLayer()) in MoveTable() 2756 if((!pDoc->IsVisible(j))&&(pDoc->IsScenario(j))) in MoveTable() [all …]
|
H A D | viewfunc.cxx | 205 if (bAddUndo && !pDoc->IsUndoEnabled()) in DoAutoAttributes() 350 if (bRecord && !pDoc->IsUndoEnabled()) in EnterData() 463 ScCompiler aComp( pDoc, aPos); in EnterData() 604 pDoc->PutCell( aPos, pCell ); in EnterData() 687 if ( pDoc && pDocSh ) in EnterValue() 697 || pDoc->HasAttrib( in EnterValue() 830 pDoc->PutCell( nCol, nRow, i, new ScEditCell( pData, pDoc, NULL ) ); in EnterData() 1829 pDoc->BeginDrawUndo(); in DeleteMulti() 1977 pDoc->BeginDrawUndo(); in DeleteContents() 2294 pDoc->UpdatePageBreaks( nTab ); in SetWidthOrHeight() [all …]
|
H A D | cellsh.cxx | 178 || pDoc->HasSelectedBlockMatrixFragment( in GetBlockState() 524 ScDocument* pDoc = pData->GetDocument(); in GetState() local 530 SCTAB nTabCount = pDoc->GetTableCount(); in GetState() 542 if (!pDoc->HasDetectiveOperations()) in GetState() 553 aRange.Format(aStr,nFlags,pDoc); in GetState() 653 if ( pDoc->IsInInterpreter() ) in GetState() 748 if ( !pDoc->IsScenario(nTab) ) in GetState() 756 while ( pDoc->IsScenario(nScTab) ) in GetState() 758 pDoc->GetName( nScTab, aStr ); in GetState() 938 if(pDoc->GetChangeTrack()!=NULL) in GetState() [all …]
|
H A D | viewfun3.cxx | 257 pDoc->ExtendMerge( aRange, sal_True ); in CutToClip() 269 pDoc->BeginDrawUndo(); in CutToClip() 278 pDoc->DeleteSelection( IDF_ALL, rMark ); in CutToClip() 280 pDoc->DeleteObjectsInSelection( rMark ); in CutToClip() 346 if ( pDoc && pClipDoc ) in CopyToClip() 1332 pUndoData = new ScRefUndoData( pDoc ); in PasteFromClip() 1374 pDoc->BeginDrawUndo(); in PasteFromClip() 1622 if (pDoc->IsUndoEnabled()) in PasteMultiRangesFromClip() 1646 if (pDoc->IsUndoEnabled()) in PasteMultiRangesFromClip() 1647 pDoc->BeginDrawUndo(); in PasteMultiRangesFromClip() [all …]
|
H A D | tabvwshf.cxx | 102 if (pDoc->IsVisible(i)) in ExecuteTable() 124 if (pDoc->IsVisible(i)) in ExecuteTable() 182 if (!pDoc->IsVisible(i)) in ExecuteTable() 213 if ( !pDoc->IsDocEditable() ) in ExecuteTable() 277 if(!pDoc->IsScenario(j)) in ExecuteTable() 320 if(!pDoc->IsScenario(j)) in ExecuteTable() 365 if ( !pDoc->IsDocEditable() ) in ExecuteTable() 853 if (pDoc->IsVisible(i)) in GetStateTable() 865 if (!pDoc->IsVisible(i)) in GetStateTable() 880 if (pDoc->IsVisible(i)) in GetStateTable() [all …]
|
H A D | viewfun4.cxx | 100 ScDocument* pDoc = pDocSh->GetDocument(); in PasteRTF() local 131 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in PasteRTF() 149 pRedoDoc->InitUndo( pDoc, nTab, nTab ); in PasteRTF() 190 if (bRecord && !pDoc->IsUndoEnabled()) in DoRefConversion() 314 ScDocument* pDoc = pDocSh->GetDocument(); in DoThesaurus() local 327 if (bRecord && !pDoc->IsUndoEnabled()) in DoThesaurus() 387 pDoc->GetCell(nCol, nRow, nTab, pCell); in DoThesaurus() 430 pCell = new ScEditCell( pNewTObj, pDoc, in DoThesaurus() 484 if (bRecord && !pDoc->IsUndoEnabled()) in DoSheetConversion() 589 pDoc->SetDirty(); in DoSheetConversion() [all …]
|
H A D | tabcont.cxx | 69 if (pDoc->IsVisible(i)) in ScTabControl() 71 if (pDoc->GetName(i,aString)) in ScTabControl() 73 if ( pDoc->IsScenario(i) ) in ScTabControl() 124 if (pDoc->IsVisible(i)) in GetPrivatDropPos() 132 if (pDoc->IsVisible(j)) in GetPrivatDropPos() 299 if (pDoc->IsVisible(i)) in UpdateStatus() 301 pDoc->GetName(i,aString); in UpdateStatus() 318 if (pDoc->IsVisible(i)) in UpdateStatus() 322 if ( pDoc->IsScenario(i) ) in UpdateStatus() 523 if ( !pDoc->GetChangeTrack() && pDoc->IsDocEditable() ) in ExecuteDrop() [all …]
|
/aoo42x/main/sw/source/filter/basflt/ |
H A D | shellio.cxx | 123 po->SetTemplate( *pDoc ); in Read() 349 pDoc->UpdateNumRule(); in Read() 350 pDoc->ChkCondColls(); in Read() 387 pDoc->SetModified(); in Read() 809 SwDoc *pDoc = 0; in Write() local 814 pDoc = new SwDoc; in Write() 815 pDoc->acquire(); in Write() 873 SwDoc* pOutDoc = pDoc ? pDoc : &rDoc; in Write() 889 SwDoc* pOutDoc = pDoc ? pDoc : &rDoc; in Write() 971 if ( pDoc ) in Write() [all …]
|
/aoo42x/main/sc/source/ui/undo/ |
H A D | undodat.cxx | 306 pDoc->UpdatePageBreaks( nTab ); in Undo() 409 pDoc->UpdatePageBreaks( nTab ); in Undo() 504 pDoc->UpdatePageBreaks( nTab ); in Undo() 598 pDoc); in Undo() 727 pDoc); in Undo() 992 pDoc->FitBlock( ScRange( in Undo() 1028 pDoc->UpdatePageBreaks( nTab ); in Undo() 1033 pDoc->SetDirty( aDirtyRange ); in Undo() 1200 pDoc->SetAutoCalc( bOldAutoCalc ); in Undo() 1392 pDoc->FitBlock( aOld, aNew ); in Redo() [all …]
|
H A D | undoblk3.cxx | 487 pDoc->ExtendMerge( aEffRange ); in DoChange() 1128 pContent->SetNewValue( pDoc->GetCell( aCursorPos ), pDoc ); in SetChangeTrack() 1181 pDoc->ReplaceStyle( *pSearchItem, in Undo() 1205 pDoc->PutCell( aCursorPos, new ScEditCell( aUndoStr, pDoc ) ); in Undo() 1246 pDoc->ReplaceStyle( *pSearchItem, in Redo() 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() [all …]
|
H A D | undotab.cxx | 501 pDoc->RenameTab( nTabP, rName ); in DoChange() 678 pDoc->DeleteTab(nDestTab); in Undo() 712 pDoc->CopyTab( nOldTab, nNewTab ); in Redo() 794 if (!pDoc) in DoChange() 869 pDoc->DeleteTab( nDestTab ); in Undo() 995 if ( pDoc->IsScenario(nTabPos) ) in Undo() 1019 pDoc->DeleteTab( nTab ); in Undo() 1041 pDoc->InsertTab(nTabPos,aName); in Redo() 1473 pDoc->RenameTab( nTab, aOldName ); in Undo() 1490 pDoc->RenameTab( nTab, aNewName ); in Redo() [all …]
|
H A D | refundo.cxx | 70 ScDetOpList* pOldDetOp = pDoc->GetDetOpList(); in ScRefUndoData() 74 pDoc->GetChartListenerCollection(); in ScRefUndoData() 143 pDoc->GetChartListenerCollection(); in DeleteUnchanged() 151 if ( pAreaLinks->IsEqual( pDoc ) ) in DeleteUnchanged() 155 if ( pDoc->HasUnoRefUndo() ) in DeleteUnchanged() 173 pDoc->RestorePrintRanges(*pPrintRanges); in DoUndo() 196 pDoc->CompileAll(); in DoUndo() 197 pDoc->SetDirty(); in DoUndo() 198 pDoc->SetAutoCalc( bOldAutoCalc ); in DoUndo() 202 pAreaLinks->Restore( pDoc ); in DoUndo() [all …]
|
H A D | undoblk.cxx | 178 ScDocument* pDoc = pDocShell->GetDocument(); in DoChange() local 1011 pRefRedoData->DeleteUnchanged( pDoc ); in DoChange() 1263 pDoc->ExtendMerge( aRange, sal_True ); in DoUndo() 1503 pDoc->SetActiveScenario( i, bActive ); in Undo() 1611 SCTAB nTabCount = pDoc->GetTableCount(); in DoChange() 1812 SCTAB nTabCount = pDoc->GetTableCount(); in Undo() 1873 SCTAB nTabCount = pDoc->GetTableCount(); in Undo() 2020 pDoc->RemoveManualBreaks(nTab); in Redo() 2021 pDoc->UpdatePageBreaks(nTab); in Redo() 2097 pDoc->ExtendMerge( aExtended ); in Redo() [all …]
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | ndcopy.cxx | 302 SwDoc* pDoc; member 462 SwFrmFmt* pTblFmt = pDoc->MakeTblFrmFmt( sTblName, pDoc->GetDfltFrmFmt() ); in MakeCopy() 695 bool bColumnSel = pDoc->IsClipBoard() && pDoc->IsColumnSelection(); in CopyRange() 702 if( pDoc == this ) in CopyRange() 722 if( pDoc->IsRedlineOn() || in CopyRange() 723 (!pDoc->IsIgnoreRedline() && pDoc->GetRedlineTbl().Count() ) ) in CopyRange() 730 if( pDoc != this ) in CopyRange() 802 pDoc->SetModified(); in CopyRange() 880 const bool bColumnSel = pDoc->IsClipBoard() && pDoc->IsColumnSelection(); in CopyImpl() 1312 pDoc->SetNumRule( in CopyImpl() [all …]
|
/aoo42x/main/sw/source/core/undo/ |
H A D | SwUndoFmt.cxx | 84 pDoc->ChgFmt(*pFmt, *pNewSet); in RedoImpl() 110 pDoc(_pDoc), sOldName(_pOld->GetName()), in SwUndoFmtDelete() 130 pDoc->ChgFmt(*pFmt, aOldSet); in UndoImpl() 162 sNewName(_sNewName), pDoc(_pDoc) in SwUndoRenameFmt() 275 return pDoc->FindCharFmtByName(rName); in Find() 295 return pDoc->FindCharFmtByName(rName); in Find() 307 return pDoc->FindCharFmtByName(rName); in Find() 330 return pDoc->FindFrmFmtByName(rName); in Find() 350 return pDoc->FindFrmFmtByName(rName); in Find() 362 return pDoc->FindFrmFmtByName(rName); in Find() [all …]
|
H A D | rolbck.cxx | 152 SwNode * pNode = pDoc->GetNodes()[ m_nNodeIndex ]; in SetInDoc() 197 void SwHistoryResetFmt::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument 241 void SwHistorySetTxt::SetInDoc( SwDoc* pDoc, bool ) in SetInDoc() argument 272 SwDoc* pDoc = pTxtFld->GetTxtNode().GetDoc(); in SwHistorySetTxtFld() local 279 !pDoc->GetSysFldType( m_nFldWhich )) in SwHistorySetTxtFld() 456 m_pUndo->SaveSection( pDoc, aSttIdx ); in SwHistorySetFootnote() 582 ::sw::UndoRedoContext context(*pDoc, *pISCS); in SetInDoc() 629 SwNodes& rNds = pDoc->GetNodes(); in SetInDoc() 1222 pHHt->SetInDoc( pDoc, false ); in Rollback() 1244 pHHt->SetInDoc( pDoc, true ); in TmpRollback() [all …]
|
/aoo42x/main/sc/source/core/data/ |
H A D | drwlayer.cxx | 289 if( pDoc ) in ScDrawLayer() 368 if ( !pDoc ) in GetCurDocViewWin() 542 if( !pDoc ) in RecalcPos() 718 if ( !pDoc ) in GetPrintArea() 1037 if ( !pDoc ) in MoveArea() 1089 if ( !pDoc ) in WidthChanged() 1123 if ( !pDoc ) in HeightChanged() 1164 if ( !pDoc ) in HasObjectsInRows() 1259 if ( !pDoc ) in DeleteObjectsInArea() 1520 sal_Bool bDestClip = pDoc && pDoc->IsClipboard(); in CopyFromClip() [all …]
|
/aoo42x/main/sc/source/ui/app/ |
H A D | transobj.cxx | 108 if (!pDoc) in PaintToDev() 115 aViewData.InitData( pDoc ); in PaintToDev() 127 pDoc( pClipDoc ), in ScTransferObj() 146 pDoc->GetClipStart( nCol1, nRow1 ); in ScTransferObj() 160 if (pDoc->HasTable(i)) in ScTransferObj() 280 pDoc->GetCell( nCol, nRow, nTab, pCell ); in GetData() 310 ScImportExport aObj( pDoc, aBlock ); in GetData() 605 pDestDoc->CopyStdStylesFrom( pDoc ); in InitDocShell() 643 if ( pDoc->GetDrawLayer() ) in InitDocShell() 651 sal_Bool bWasCut = pDoc->IsCutMode(); in InitDocShell() [all …]
|
/aoo42x/main/sw/source/filter/rtf/ |
H A D | swparrtf.cxx | 192 pDoc(pD), in SwRTFParser() 318 pDoc->SetTxtFmtColl( *pPam, pDoc->GetTxtCollFromPool in Continue() 342 pRelNumRule->SetNumRelSpaces( *pDoc ); in Continue() 427 pDoc->DelPageDesc(*aI); in Continue() 527 pDoc->SetUpdateExpFldStat(true); in Continue() 528 pDoc->SetInitDBFields(true); in Continue() 531 ::EndProgress( pDoc->GetDocShell() ); in Continue() 1298 pDoc->GetOrCreateDrawModel(); in ReadDrawingObject() 1332 pDoc->GetOrCreateDrawModel(); in InsertShpObject() 1758 pDoc->InsertPoolItem(*pPam, in NextToken() [all …]
|
/aoo42x/main/sc/source/core/tool/ |
H A D | address.cxx | 49 eConv( pDoc->GetAddressConvention() ), in Details() 166 ScDocument* pDoc ) in lcl_ScRange_External_TabSpan() argument 336 const ScDocument* pDoc, in Parse_XL_Header() argument 1017 if (!bExtDoc && (!pDoc || !pDoc->GetTable( aTab, nTab ))) in lcl_ScAddress_Parse_OOo() 1081 if (!pDoc) in lcl_ScAddress_Parse_OOo() 1605 if( NULL != pDoc && in getFileNameFromDoc() 1722 pDoc->GetName( nTab, rTabName ); in lcl_Split_DocTab() 1807 pDoc = NULL; in Format() 1888 SCsTAB nMaxTab = pDoc ? pDoc->GetTableCount() : MAXTAB+1; in Move() 1913 return aStart.Move( dx, dy, dz, pDoc ) & aEnd.Move( dx, dy, dz, pDoc ); in Move() [all …]
|
H A D | chgtrack.cxx | 1355 if ( !(aBigRange.IsValid( pDoc ) && aFromRange.IsValid( pDoc )) ) in Reject() 1526 aBigRange.aStart.MakeAddress(), pCell, pDoc, pDoc ); in SetNewValue() 1715 pNew->SetOldValue( pDoc->GetCell( rPos ), pDoc, pDoc ); in Select() 1728 pNew->SetNewValue( pDoc->GetCell( rPos ), pDoc ); in Select() 2222 pDoc( pDocP ) in ScChangeTrack() 2233 pDoc( pDocP ) in ScChangeTrack() 2752 pAct->SetOldValue( pOldCell, pDoc, pDoc ); in AppendContent() 2763 pRefDoc = pDoc; in AppendContent() 4282 pNew->SetNewValue( pDoc->GetCell( aPos ), pDoc ); in SelectContent() 4509 pReject->SetOldValue( pDoc->GetCell( aRange.aStart ), pDoc, pDoc ); in Reject() [all …]
|