/trunk/main/sd/source/ui/app/ |
H A D | sdmod2.cxx | 166 SdDrawDocument* pDoc = 0; in IMPL_LINK() local 176 if( pDoc ) in IMPL_LINK() 240 if( !pDoc && pViewSh ) in IMPL_LINK() 280 if( !pDoc && pViewSh ) in IMPL_LINK() 294 else if( pDoc ) in IMPL_LINK() 435 if( pDoc && eDocType == pDoc->GetDocumentType() ) in CreateItemSet() 566 if( pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet() 593 if( pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet() 617 if( pDocSh && pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet() 681 if( pDocSh && pDoc && eDocType == pDoc->GetDocumentType() ) in ApplyItemSet() [all …]
|
/trunk/main/sc/source/ui/undo/ |
H A D | undocell.cxx | 257 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local 266 pDoc->ApplyAttr( nCol, nRow, pTabs[i], in Undo() 302 ScDocument* pDoc = pDocShell->GetDocument(); in Redo() local 307 pDoc, NULL ) ); in Redo() 375 ScDocument* pDoc = pDocShell->GetDocument(); in SetChangeTrack() local 392 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local 395 pDoc->PutCell( aPos, pNewCell ); in Undo() 748 pDoc->GetCell( nCol, nRow, nTab, pCell ); in DoChange() 768 pDoc->GetCell( nCol, nRow, nTab, pCell ); in DoChange() 998 DoSdrUndoAction(pDrawUndo, pDoc); in Undo() [all …]
|
/trunk/main/sw/source/core/view/ |
H A D | vnew.cxx | 192 pDoc( &rDocument ), in ViewShell() 214 pDoc->acquire(); in ViewShell() 238 pDoc->ResetModified(); in ViewShell() 271 pDoc( rShell.GetDoc() ), in ViewShell() 293 pDoc->acquire(); in ViewShell() 310 pDoc->ResetModified(); in ViewShell() 339 if( pDoc && GetWin() ) in ~ViewShell() 370 if ( pDoc ) in ~ViewShell() 372 if( !pDoc->release() ) in ~ViewShell() 373 delete pDoc, pDoc = 0; in ~ViewShell() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | tabvwsha.cxx | 101 ScDocument* pDoc = pViewData->GetDocument(); in GetFunction() local 163 ScDocument* pDoc = pViewData->GetDocument(); in GetState() local 174 SCTAB nTabCount = pDoc->GetTableCount(); in GetState() 210 … bHas = rMark.GetTableSelect(i) && (pDoc->GetPrintRangeCount(i) || pDoc->IsPrintEntireSheet(i)); in GetState() 214 else if ( !pDoc->GetPrintRangeCount( nTab ) && !pDoc->IsPrintEntireSheet( nTab ) ) in GetState() 287 if (!pDoc->HasManualBreaks(nTab)) in GetState() 447 if(pDoc->GetChangeTrack()==NULL) in GetState() 570 if ( pDoc ) in IsRefInputMode() 642 if (pDoc->IsTabProtected(nTab)) in UpdateInputHandler() 645 pDoc->GetAttr( nPosX,nPosY,nTab, in UpdateInputHandler() [all …]
|
H A D | dbfunc3.cxx | 406 if (bRecord && !pDoc->IsUndoEnabled()) in DoSubTotals() 460 nTabCount = pDoc->GetTableCount(); in DoSubTotals() 526 pDoc->SetDirty( aDirtyRange ); in DoSubTotals() 547 pDoc->CompileDBFormula(); in DoSubTotals() 610 pDoc->GetName( nSrcTab, aStr ); in MakePivotTable() 620 pDoc->BeginDrawUndo(); in MakePivotTable() 639 pDoc->EndDrawUndo(); in MakePivotTable() 701 if ( pDocSh && !pDoc ) in RefreshDPObject() 702 pDoc = pDocSh->GetDocument(); in RefreshDPObject() 704 if( !pDoc ) in RefreshDPObject() [all …]
|
H A D | gridwin4.cxx | 198 SCTAB nTabCount = pDoc->GetTableCount(); in lcl_DrawScenarioFrames() 199 if ( nTab+1<nTabCount && pDoc->IsScenario(nTab+1) && !pDoc->IsScenario(nTab) ) in lcl_DrawScenarioFrames() 226 pDoc->ExtendTotalMerge( aRange ); in lcl_DrawScenarioFrames() 247 if ( pDoc->IsActiveScenario(nAct) && pDoc->HasScenarioRange(nAct,aRange) ) in lcl_DrawScenarioFrames() 251 pDoc->GetName( nAct, aCurrent ); in lcl_DrawScenarioFrames() 263 pDoc, pViewData, bLayoutRTL ); in lcl_DrawScenarioFrames() 344 if ( pDoc->IsInInterpreter() ) in Paint() 383 if ( pDoc->IsLayoutRTL( nTab ) ) in Paint() 468 ScDocument* pDoc = pDocSh->GetDocument(); in Draw() local 778 SCTAB nTabCount = pDoc->GetTableCount(); in Draw() [all …]
|
H A D | printfun.cxx | 183 pDoc = pDocShell->GetDocument(); in Construct() 499 pDoc->GetEmbedded(aERange); in DrawToDev() 500 pDoc->ResetEmbedded(); in DrawToDev() 511 pDoc->SetEmbedded(aERange); in DrawToDev() 735 pDoc->ExtendPrintArea( pRefDev, in AdjustPrintArea() 987 else if ( pDoc->HasPrintRange() ) in InitParam() 1582 pDoc->GetEmbedded(aERange); in PrintArea() 1583 pDoc->ResetEmbedded(); in PrintArea() 1598 pDoc->SetEmbedded(aERange); in PrintArea() 1939 pPos->Format( aMarkStr, SCA_VALID, pDoc, pDoc->GetAddressConvention() ); in DoNotes() [all …]
|
/trunk/main/sw/source/core/docnode/ |
H A D | section.cxx | 242 SwDoc* pDoc = pFmt->GetDoc(); in ~SwSection() local 243 if( pDoc->IsInDtor() ) in ~SwSection() 1379 if( !pSectNd || !pDoc || pDoc->IsInDtor() || ChkNoDataFlag() || in DataChanged() 1388 pDoc->SetModified(); in DataChanged() 1403 pDoc->LockExpFlds(); in DataChanged() 1498 if( pSrcDoc == pDoc ) in DataChanged() 1516 if( pSrcDoc != pDoc || in DataChanged() 1529 else if( pSrcDoc != pDoc ) in DataChanged() 1638 pDoc->UnlockExpFlds(); in DataChanged() 1639 if( !pDoc->IsExpFldsLocked() ) in DataChanged() [all …]
|
/trunk/main/sw/source/core/undo/ |
H A D | unredln.cxx | 103 UndoRedlineImpl(*pDoc, rPam); in UndoImpl() 108 SetSaveData( *pDoc, *mpRedlSaveData ); in UndoImpl() 140 RedoRedlineImpl(*pDoc, rPam); in RedoImpl() 143 pDoc->SetRedlineMode_intern( eOld ); in RedoImpl() 383 SwDoc* pDoc = (SwDoc*)rRg.GetDoc(); in SwUndoCompDoc() local 384 if( pDoc->IsRedlineOn() ) in SwUndoCompDoc() 398 SwDoc* pDoc = (SwDoc*)rRedl.GetDoc(); in SwUndoCompDoc() local 399 if( pDoc->IsRedlineOn() ) in SwUndoCompDoc() 431 pDoc->SetRedlineMode_intern( eOld ); in UndoImpl() 506 pDoc->GetRedlineTbl().Count() ) in RedoImpl() [all …]
|
H A D | untblk.cxx | 49 SwDoc* pDoc = (SwDoc*)rPam.GetDoc(); in SwUndoInserts() local 65 SwFrmFmt* pFmt = (*pDoc->GetSpzFrmFmts())[n]; in SwUndoInserts() 80 if( pDoc->IsRedlineOn() ) in SwUndoInserts() 83 SetRedlineMode( pDoc->GetRedlineMode() ); in SwUndoInserts() 115 SwDoc* pDoc = (SwDoc*)rPam.GetDoc(); in SetInsertRange() local 170 SwDoc *const pDoc = & rContext.GetDoc(); in UndoImpl() local 269 SwDoc* pDoc = pPam->GetDoc(); in RedoImpl() local 317 pHistory->Rollback( pDoc, nSetPos ); in RedoImpl() 324 pDoc->SetRedlineMode_intern( eOld ); in RedoImpl() 327 pDoc->GetRedlineTbl().Count() ) in RedoImpl() [all …]
|
H A D | unspnd.cxx | 66 if( pDoc->IsRedlineOn() ) in SwUndoSplitNode() 69 SetRedlineMode( pDoc->GetRedlineMode() ); in SwUndoSplitNode() 81 SwDoc *const pDoc = & rContext.GetDoc(); in UndoImpl() local 90 SwNode* pCurrNd = pDoc->GetNodes()[ nNode + 1 ]; in UndoImpl() 114 pDoc->GetNodes().Delete( aDelNd ); in UndoImpl() 131 pDoc->DeleteRedline( rPam, true, USHRT_MAX ); in UndoImpl() 166 SwDoc* pDoc = rPam.GetDoc(); in RedoImpl() local 174 pDoc->GetRedlineTbl().Count() )) in RedoImpl() 181 RedlineMode_t eOld = pDoc->GetRedlineMode(); in RedoImpl() 184 pDoc->SetRedlineMode_intern( eOld ); in RedoImpl() [all …]
|
H A D | undel.cxx | 138 SwDoc * pDoc = rPam.GetDoc(); in SwUndoDelete() local 140 if( !pDoc->IsIgnoreRedline() && pDoc->GetRedlineTbl().Count() ) in SwUndoDelete() 235 SwNodes& rDocNds = pDoc->GetNodes(); in SwUndoDelete() 660 SwDoc *const pDoc = & rContext.GetDoc(); in UndoImpl() local 710 pDoc->SplitNode( aPos, false ); in UndoImpl() 762 pDoc->GetNodes()._MoveNodes( aRg, pDoc->GetNodes(), aMvIdx, sal_True ); in UndoImpl() 788 pDoc->GetNodes()._MoveNodes( aRg, pDoc->GetNodes(), aMvIdx, sal_True ); in UndoImpl() 832 pHistory->Rollback( pDoc ); in UndoImpl() 837 pHistory->Rollback( pDoc ); in UndoImpl() 857 pDoc->GetNodes().Delete( aIdx, 1 ); in UndoImpl() [all …]
|
/trunk/main/sw/source/filter/html/ |
H A D | swhtml.cxx | 279 pDoc( pD ), in SwHTMLParser() 445 if( pDoc->GetDocShell() ) in ~SwHTMLParser() 489 if( !pDoc->release() ) in ~SwHTMLParser() 492 delete pDoc; in ~SwHTMLParser() 493 pDoc = NULL; in ~SwHTMLParser() 501 if ( bRemoveHidden && pDoc && pDoc->GetDocShell() && pDoc->GetDocShell()->GetMedium() ) in ~SwHTMLParser() 512 if( ( pDoc->GetDocShell() && pDoc->GetDocShell()->IsAbortingImport() ) 593 if( pDoc->GetDocShell() && pDoc->GetDocShell()->IsAbortingImport() ) in Continue() 961 if( ( pDoc->GetDocShell() && pDoc->GetDocShell()->IsAbortingImport() ) in NextToken() 2397 if( ( pDoc->GetDocShell() && pDoc->GetDocShell()->IsAbortingImport() ) in Show() [all …]
|
/trunk/main/sc/source/ui/pagedlg/ |
H A D | areasdlg.cxx | 132 pDoc ( NULL ), in ScPrintAreasDlg() 141 pDoc = pScDocSh->GetDocument(); in ScPrintAreasDlg() 207 rRef.Format( aStr, SCR_ABS, pDoc, eConv ); in SetReference() 341 if( pDoc->IsPrintEntireSheet( nCurTab ) ) in Impl_Reset() 362 aRange.Format(aRangeStr, SCR_ABS, pDoc, eConv); in Impl_GetItem() 450 aRange.Format( aStrRange, SCR_ABS, pDoc, eConv ); in Impl_FillLists() 455 aList->Format( aStrRange, SCR_ABS, pDoc, eConv ); in Impl_FillLists() 463 ScRangeName* pRangeNames = pDoc->GetRangeName(); in Impl_FillLists() 488 aRange.Format( aSymbol, SCR_ABS, pDoc, eConv ); in Impl_FillLists() 893 rStart.Format(aTmpStr, nFmt, pDoc, eConv); in lcl_GetRepeatRangeString() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | chartlis.cxx | 73 mrParent(rParent), mpDoc(pDoc) in ExternalRefListener() 129 pDoc( pDocP ), in ScChartListener() 144 pDoc( pDocP ), in ScChartListener() 158 pDoc( pDocP ), in ScChartListener() 171 pDoc( r.pDoc ), in ScChartListener() 250 if ( pDoc->IsInInterpreter() ) in Update() 266 else if ( pDoc->GetAutoCalc() ) in Update() 439 if (pDoc != r.pDoc || bUsed != r.bUsed || bDirty != r.bDirty || in operator ==() 471 pDoc( pDocP ) in ScChartListenerCollection() 479 pDoc( rColl.pDoc ) in ScChartListenerCollection() [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | cellsuno.cxx | 1292 if ( pDoc ) in lcl_GetInputString() 1395 pDoc->AddUnoObject(*this); in ScCellRangesBase() 6196 if ( pDoc ) in GetOutputString_Impl() 7206 pDoc->UpdatePageBreaks(nTab); in removeAllManualPageBreaks() 7371 if(pDocSh && pDoc) in PrintAreaUndo_Impl() 8064 pDoc->GetName( nTab, aName ); in setScenarioComment() 8083 if (pDoc->IsScenario(nTab)) in addRanges() 8220 if ( pDoc ) in setExternalName() 9251 pDoc->AddUnoObject(*this); in ScCellsEnumeration() 9381 pDoc->AddUnoObject(*this); in ScCellFormatsObj() [all …]
|
H A D | nameuno.cxx | 1022 pDoc->SetNamedRangesLockCount( 0 ); in resetActionLocks() 1058 ScRangePairList* pList = bColumn ? pDoc->GetColNameRanges() : pDoc->GetRowNameRanges(); in GetData_Impl() 1070 ScRangePairList* pOldList = bColumn ? pDoc->GetColNameRanges() : pDoc->GetRowNameRanges(); in Modify_Impl() 1092 pDoc->CompileColRowNameFormula(); in Modify_Impl() 1180 ScRangePairList* pList = bColumn ? pDoc->GetColNameRanges() : pDoc->GetRowNameRanges(); in GetObjectByIndex_Impl() 1199 ScRangePairList* pOldList = bColumn ? pDoc->GetColNameRanges() : pDoc->GetRowNameRanges(); in addNew() 1211 pDoc->GetColNameRangesRef() = xNewList; in addNew() 1215 pDoc->CompileColRowNameFormula(); in addNew() 1232 ScRangePairList* pOldList = bColumn ? pDoc->GetColNameRanges() : pDoc->GetRowNameRanges(); in removeByIndex() 1249 pDoc->CompileColRowNameFormula(); in removeByIndex() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | conditio.cxx | 138 pDoc(r.pDoc), in ScConditionEntry() 172 pDoc(pDocument), in ScConditionEntry() 207 pDoc(pDocument), in ScConditionEntry() 233 pDoc(pDocument), in ScConditionEntry() 260 bRelRef1 = lcl_HasRelRef( pDoc, pFormula1 ); in ScConditionEntry() 305 ScCompiler aComp( pDoc, aSrcPos ); in Compile() 390 pFCell1->StartListeningTo( pDoc ); in MakeCells() 396 pFCell2->StartListeningTo( pDoc ); in MakeCells() 1191 pDoc( pDocument ), in ScConditionalFormat() 1200 pDoc( r.pDoc ), in ScConditionalFormat() [all …]
|
H A D | dociter.cxx | 63 pDoc( pDocument ), in ScDocumentIterator() 219 ScDocument* pDoc ) in lcl_IterGetNumberFormat() argument 275 pDoc( pDocument ), in ScValueIterator() 540 mpDoc(pDoc), in DataAccessInternal() 966 pDoc( pDocument ), in ScCellIterator() 1008 pDoc( pDocument ), in ScCellIterator() 1119 pDoc( pDocument ), in ScQueryCellIterator() 1679 pDoc( pDocument ), in ScHorizontalCellIterator() 1954 pDoc( pDocument ), in ScHorizontalAttrIterator() 2196 pDoc( pDocument ), in ScDocAttrIterator() [all …]
|
/trunk/main/sw/source/core/inc/ |
H A D | SwUndoFmt.hxx | 42 SwDoc * pDoc; member in SwUndoFmtCreate 51 SwDoc * pDoc); 68 SwDoc * pDoc; member in SwUndoFmtDelete 92 SwDoc * pDoc; member in SwUndoRenameFmt 98 SwDoc * pDoc); 135 SwDoc * pDoc); 177 SwDoc * pDoc); 199 SwDoc * pDoc); 208 SwDoc * pDoc; member in SwUndoNumruleCreate 223 SwDoc * pDoc; member in SwUndoNumruleDelete [all …]
|
/trunk/main/sc/source/ui/docshell/ |
H A D | impex.cxx | 170 ScRangeName* pRange = pDoc->GetRangeName(); in ScImportExport() 236 ScEditableTester aTester( pDoc, aRange ); in StartPaste() 245 if( bUndo && pDocSh && pDoc->IsUndoEnabled()) in StartPaste() 262 if( pUndoDoc && pDoc->IsUndoEnabled() ) in EndPaste() 507 if ( pDoc->IsClipboard() ) in ExportStream() 522 aRange.aStart.Format( aRefName, nFlags, pDoc, pDoc->GetAddressConvention() ); in ExportStream() 527 aRange.Format( aRefName, nFlags, pDoc ); in ExportStream() 909 pDoc->PutCell( nCol, nRow, nTab, ScBaseCell::CreateTextCell( rStr, pDoc ) ); in lcl_PutString() 1125 pDoc->PutCell( nCol, nRow, nTab, new ScEditCell( rStr, pDoc ) ); in lcl_PutString() 1957 pImportDoc->InitUndo( pDoc, nTab, nTab ); in Dif2Doc() [all …]
|
H A D | dbdocimp.cxx | 139 ScDocument* pDoc = rDocShell.GetDocument(); in DoImport() local 141 if (bRecord && !pDoc->IsUndoEnabled()) in DoImport() 205 pImportDoc->InitUndo( pDoc, nTab, nTab ); in DoImport() 464 if (!pDoc->CanFitBlock( aOld, aNew )) in DoImport() 504 if (pDoc->IsTabProtected(nTab)) in DoImport() 583 IDF_ALL, sal_False, pDoc ); in DoImport() 587 pDoc->SetAutoCalc( bOldAutoCalc ); in DoImport() 594 IDF_ATTRIB, sal_False, pDoc ); in DoImport() 621 pDoc->CompileDBFormula(); in DoImport() 643 pDoc->SetDirty(); in DoImport() [all …]
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | UnoDocumentSettings.cxx | 242 SdDrawDocument* pDoc = mpModel->GetDoc(); in _setPropertyValues() local 244 if( NULL == pDoc || NULL == pDocSh ) in _setPropertyValues() 307 pDoc->SetDashListAtSdrModel( aDashTab ); in _setPropertyValues() 329 pDoc->SetLineEndListAtSdrModel( aTab ); in _setPropertyValues() 351 pDoc->SetHatchListAtSdrModel( aTab ); in _setPropertyValues() 373 pDoc->SetGradientListAtSdrModel( aTab ); in _setPropertyValues() 395 pDoc->SetBitmapListAtSdrModel( aTab ); in _setPropertyValues() 624 pDoc->SetUIScale( aFract ); in _setPropertyValues() 636 pDoc->SetUIScale( aFract ); in _setPropertyValues() 887 SdDrawDocument* pDoc = mpModel->GetDoc(); in _getPropertyValues() local [all …]
|
/trunk/main/sw/source/core/doc/ |
H A D | doctxm.cxx | 814 if(pAttr && pDoc && GetFmt()) in Update() 815 pDoc->ChgFmt(*GetFmt(), *pAttr); in Update() 874 pDoc->SetModified(); in Update() 953 pDoc->UpdateNumRule(); in Update() 1078 pDoc->GetNodes().Delete( aInsPos, 1 ); in Update() 1097 SwDoc* pDoc = (SwDoc*)GetFmt()->GetDoc(); in InsertAlphaDelimitter() local 1142 SwDoc* pDoc = (SwDoc*)GetFmt()->GetDoc(); in GetTxtFmtColl() local 1273 SwNodes& rNds = pDoc->GetNodes(); in UpdateOutline() 1468 SwNodes& rNds = pDoc->GetNodes(); in UpdateCntnt() 1572 SwNodes& rNds = pDoc->GetNodes(); in UpdateTable() [all …]
|
/trunk/main/sc/source/filter/starcalc/ |
H A D | scflt.cxx | 981 pDoc (pDocument), in Sc10Import() 995 pDoc->CalcAfterLoad(); in ~Sc10Import() 996 pDoc->UpdateAllCharts(); in ~Sc10Import() 1012 ScDocOptions aOpt = pDoc->GetDocOptions(); in Import() 1015 pDoc->SetDocOptions( aOpt ); in Import() 1032 pDoc->SetViewOptions( aSc30ViewOpt ); in Import() 1101 pDoc->SetDocProtection(&aProtection); in LoadProtect() 1152 ScRangeName* pRN = pDoc->GetRangeName(); in ImportNameCollection() 1157 pRN->Insert( new ScRangeData( pDoc, in ImportNameCollection() 1647 aPageCollection.PutToDoc( pDoc ); in LoadTables() [all …]
|