/trunk/main/sc/source/core/data/ |
H A D | dpobject.cxx | 161 pDoc( pD ), in ScDPObject() 181 pDoc( r.pDoc ), in ScDPObject() 715 ScRefUpdate::Update( pDoc, eUpdateRefMode, in UpdateReference() 733 eRes = ScRefUpdate::Update( pDoc, eUpdateRefMode, in UpdateReference() 2126 ScDocument* pDoc, SCROW nRow, SCTAB nTab, in ConvertOrientation() argument 2149 if ( pDoc ) in ConvertOrientation() 2150 pDoc->GetString( nCol, nRow, nTab, aDocStr ); in ConvertOrientation() 2398 pDoc( pDocument ) in ScDPCollection() 2404 pDoc(r.pDoc) in ScDPCollection() 2550 pDoc->RemoveDPObjectCache( nOldId ); in RefreshCache() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | wrtww8.cxx | 362 SwDocShell *pDocShell(rWrt.pDoc->GetDocShell()); in SV_IMPL_PTRARR() 1422 if ( pDoc ) in CollectGrfsOfBullets() 2854 if (pEscher || pDoc->ContainsMSVBasic()) in WriteFkpPlcUsw() 3112 pDoc->GetEditShell( &pViewShell ); in ExportDocument() 3149 mnRedlineMode = pDoc->GetRedlineMode(); in ExportDocument() 3150 if ( pDoc->GetRedlineTbl().Count() ) in ExportDocument() 3159 CollectOutlineBookmarks(*pDoc); in ExportDocument() 3162 if ( pDoc->GetDrawModel() ) in ExportDocument() 3512 long nMaxNode = pDoc->GetNodes().Count(); in WriteStorage() 3531 ::EndProgress( pDoc->GetDocShell() ); in WriteStorage() [all …]
|
/trunk/main/sc/source/core/tool/ |
H A D | chartlock.cxx | 47 std::vector< WeakReference< frame::XModel > > lcl_getAllLivingCharts( ScDocument* pDoc ) in lcl_getAllLivingCharts() argument 50 if( !pDoc ) in lcl_getAllLivingCharts() 52 ScDrawLayer* pDrawLayer = pDoc->GetDrawLayer(); in lcl_getAllLivingCharts() 56 for (SCTAB nTab=0; nTab<=pDoc->GetMaxTableNumber(); nTab++) in lcl_getAllLivingCharts() 58 if (pDoc->HasTable(nTab)) in lcl_getAllLivingCharts() 67 if( pDoc->IsChart( pObject ) ) in lcl_getAllLivingCharts() 89 ScChartLockGuard::ScChartLockGuard( ScDocument* pDoc ) : in ScChartLockGuard() argument 90 maChartModels( lcl_getAllLivingCharts( pDoc ) ) in ScChartLockGuard()
|
H A D | rangeseq.cxx | 46 bool lcl_HasErrors( ScDocument* pDoc, const ScRange& rRange ) in lcl_HasErrors() argument 49 ScCellIterator aIter( pDoc, rRange ); in lcl_HasErrors() 70 sal_Bool ScRangeToSequence::FillLongArray( uno::Any& rAny, ScDocument* pDoc, const ScRange& rRange ) in FillLongArray() argument 85 pColAry[nCol] = lcl_DoubleToLong( pDoc->GetValue( in FillLongArray() 92 return !lcl_HasErrors( pDoc, rRange ); in FillLongArray() 126 sal_Bool ScRangeToSequence::FillDoubleArray( uno::Any& rAny, ScDocument* pDoc, const ScRange& rRang… in FillDoubleArray() argument 141 pColAry[nCol] = pDoc->GetValue( in FillDoubleArray() 148 return !lcl_HasErrors( pDoc, rRange ); in FillDoubleArray() 200 sal_uInt16 nErrCode = pDoc->GetStringForFormula( in FillStringArray() 270 sal_Bool ScRangeToSequence::FillMixedArray( uno::Any& rAny, ScDocument* pDoc, const ScRange& rRange, in FillMixedArray() argument [all …]
|
H A D | refupdat.cxx | 281 sal_Bool bExpand = pDoc->IsExpandRefs(); in Update() 323 SCsTAB nMaxTab = pDoc->GetTableCount() - 1; in Update() 363 SCsTAB nMaxTab = (SCsTAB) pDoc->GetTableCount() - 1; in Update() 511 sal_Bool bExpand = pDoc->IsExpandRefs(); in Update() 513 const ScChangeTrack* pChangeTrack = pDoc->GetChangeTrack(); in Update() 625 SCTAB nMaxTab = pDoc->GetTableCount() - 1; in Update() 773 SCsTAB nMaxTab = (SCsTAB) pDoc->GetTableCount() - 1; in Move() 816 void ScRefUpdate::MoveRelWrap( ScDocument* pDoc, const ScAddress& rPos, in MoveRelWrap() argument 839 SCsTAB nMaxTab = (SCsTAB) pDoc->GetTableCount() - 1; in MoveRelWrap() 863 SCsTAB nCount = pDoc->GetTableCount(); in DoTranspose() [all …]
|
/trunk/main/sc/source/ui/undo/ |
H A D | undoblk2.cxx | 111 ScDocument* pDoc = pDocShell->GetDocument(); in Undo() local 123 pDoc->SetOutlineTable( nStartTab, pUndoTab ); in Undo() 125 SCTAB nTabCount = pDoc->GetTableCount(); in Undo() 134 sal_False, pDoc ); in Undo() 135 pDoc->UpdatePageBreaks( nTab ); in Undo() 141 pUndoDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pDoc ); in Undo() 142 pDoc->UpdatePageBreaks( nTab ); in Undo() 147 DoSdrUndoAction( pDrawUndo, pDoc ); in Undo()
|
/trunk/main/sc/inc/ |
H A D | rangenam.hxx | 72 ScDocument* pDoc; member in ScRangeData 87 SC_DLLPUBLIC ScRangeData( ScDocument* pDoc, 93 SC_DLLPUBLIC ScRangeData( ScDocument* pDoc, 98 SC_DLLPUBLIC ScRangeData( ScDocument* pDoc, 124 void SetDocument( ScDocument* pDocument){ pDoc = pDocument; } in SetDocument() 125 ScDocument* GetDocument() const { return pDoc; } in GetDocument() 158 SC_DLLPUBLIC static sal_Bool IsNameValid( const String& rName, ScDocument* pDoc ); 183 ScDocument* pDoc; member in ScRangeName 192 pDoc ( pDocument ), in ScRangeName()
|
/trunk/main/sw/source/core/unocore/ |
H A D | unoredlines.cxx | 141 pDoc(&rDoc), in SwXRedlineEnumeration() 144 pDoc->GetPageDescFromPool(RES_POOLPAGE_STANDARD)->Add(this); in SwXRedlineEnumeration() 153 if(!pDoc) in hasMoreElements() 155 return pDoc->GetRedlineTbl().Count() > nCurrentIndex; in hasMoreElements() 161 if(!pDoc) in nextElement() 163 const SwRedlineTbl& rRedTbl = pDoc->GetRedlineTbl(); in nextElement() 166 … <beans::XPropertySet> xRet = SwXRedlines::GetObject( *rRedTbl.GetObject(nCurrentIndex++), *pDoc ); in nextElement() 191 pDoc = 0; in Modify()
|
H A D | unotbl.cxx | 722 SwDoc* pDoc = rCell.GetDoc(); in lcl_setValue() local 723 UnoActionContext aAction(pDoc); in lcl_setValue() 1311 SwDoc* pDoc = pFmt->GetDoc(); in setPropertyValue() local 1351 pDoc->SetAttr(aSet, *pLnFmt); in setPropertyValue() 1478 SwDoc* pDoc = pFmt->GetDoc(); in SwXTextTableCursor() local 2260 if(pDoc && nRows && nColumns) in attachToRange() 2262 SwUnoInternalPaM aPam(*pDoc); in attachToRange() 2267 UnoActionContext aCont( pDoc ); in attachToRange() 2278 pDoc->DeleteAndJoin(aPam); in attachToRange() 3026 SwDoc* pDoc = pFmt->GetDoc(); in setPropertyValue() local [all …]
|
/trunk/main/sc/source/filter/starcalc/ |
H A D | scfobj.cxx | 58 void Sc10InsertObject::InsertChart( ScDocument* pDoc, SCTAB nDestTab, const Rectangle& rRect, in InsertChart() argument 66 uno::Reference < embed::XEmbeddedObject > xObj = pDoc->GetDocumentShell()-> in InsertChart() 72 ScDrawLayer* pModel = pDoc->GetDrawLayer(); in InsertChart() 75 pDoc->InitDrawLayer(); in InsertChart() 76 pModel = pDoc->GetDrawLayer(); in InsertChart() 99 ScChartCollection* pColl = pDoc->GetChartCollection(); in InsertChart() 100 …pColl->Insert( new ScChartArray( pDoc, nSrcTab, static_cast<SCCOL>(nX1), static_cast<SCROW>(nY1), … in InsertChart()
|
/trunk/main/sc/source/filter/xml/ |
H A D | xmlimprt.cxx | 1639 pDoc( NULL ), in ScXMLImport() 2044 if (pDoc) in ExamineDefaultStyle() 2081 if (pDoc) in SetChangeTrackingViewSettings() 2576 if (!pDoc) in setTargetDocument() 2615 if (pDoc && !pDoc->IsImportingXML()) in startDocument() 2863 if (pDoc) in endDocument() 2865 pDoc->CompileXML(); in endDocument() 2876 if (pDoc && GetModel().is() && !pDoc->HasRangeOverflow()) in endDocument() 2899 if (pDoc && bSelfImportingXMLSet) in endDocument() 2911 pDoc = NULL; in DisposingModel() [all …]
|
/trunk/main/sc/source/ui/miscdlgs/ |
H A D | highred.cxx | 87 pDoc ( ptrViewData->GetDocument() ), in ScHighlightChgDlg() 88 aLocalRangeName ( *(pDoc->GetRangeName()) ) in ScHighlightChgDlg() 122 DBG_ASSERT( pViewData && pDoc, "ViewData oder Document nicht gefunden!" ); in Init() 124 ScChangeTrack* pChanges=pDoc->GetChangeTrack(); in Init() 135 ScChangeViewSettings* pViewSettings=pDoc->GetChangeViewSettings(); in Init() 170 pRangeEntry->Format( aRefStr, ABS_DREF3D, pDoc ); in Init() 289 aLocalRangeList.Parse(aFilterCtr.GetRange(), pDoc); in IMPL_LINK() 291 aChangeViewSet.AdjustDateMode( *pDoc ); in IMPL_LINK() 292 pDoc->SetChangeViewSettings(aChangeViewSet); in IMPL_LINK()
|
/trunk/main/sw/source/core/doc/ |
H A D | extinput.cxx | 57 SwDoc *const pDoc = GetDoc(); in ~SwExtTextInput() local 58 if (pDoc->IsInDtor()) { return; /* #i58606# */ } in ~SwExtTextInput() 91 pDoc->InsertPoolItem(*this, aLangItem, 0 ); in ~SwExtTextInput() 109 pDoc->GetIDocumentUndoRedo().StartUndo( in ~SwExtTextInput() 111 pDoc->Overwrite( *this, sTxt.Copy( 0, in ~SwExtTextInput() 113 pDoc->InsertString( *this, in ~SwExtTextInput() 115 pDoc->GetIDocumentUndoRedo().EndUndo( in ~SwExtTextInput() 126 pDoc->Overwrite( *this, sTxt ); in ~SwExtTextInput() 136 pDoc->InsertString( *this, sTxt ); in ~SwExtTextInput()
|
H A D | acmplwrd.cxx | 54 SwDoc* pDoc; member in SwAutoCompleteClient 65 const SwDoc& GetDoc(){return *pDoc;} in GetDoc() 119 pDoc(&rSwDoc) in SwAutoCompleteClient() 121 pDoc->GetPageDescFromPool(RES_POOLPAGE_STANDARD)->Add(this); in SwAutoCompleteClient() 132 pDoc(rClient.pDoc) in SwAutoCompleteClient() 134 pDoc->GetPageDescFromPool(RES_POOLPAGE_STANDARD)->Add(this); in SwAutoCompleteClient() 154 pDoc = rClient.pDoc; in operator =() 172 pAutoCompleteWord->DocumentDying(*pDoc); in Modify()
|
H A D | number.cxx | 236 ? pDoc->GetCharFmtFromPool( nId ) in SwNumFmt() 237 : pDoc->MakeCharFmt( rCharStyleName, 0 ); in SwNumFmt() 424 void SwNumFmt::UpdateNumNodes( SwDoc* pDoc ) in UpdateNumNodes() argument 426 sal_Bool bDocIsModified = pDoc->IsModified(); in UpdateNumNodes() 431 pRule = pDoc->GetNumRuleTbl()[ --n ]; in UpdateNumNodes() 476 pDoc->ResetModified(); in UpdateNumNodes() 696 void SwNumRule::CheckCharFmts( SwDoc* pDoc ) in CheckCharFmts() argument 701 pFmt->GetDoc() != pDoc ) in CheckCharFmts() 705 pNew->SetCharFmt( pDoc->CopyCharFmt( *pFmt ) ); in CheckCharFmts() 954 aFmts[n]->SetCharFmt( pDoc->CopyCharFmt( *aFmts[n]-> in CopyNumRule() [all …]
|
/trunk/main/starmath/source/ |
H A D | view.cxx | 1217 SmDocShell *pDoc = GetDoc(); in GetPrinter() local 1219 return pDoc->GetPrinter(); in GetPrinter() 1321 SmDocShell *pDoc = GetDoc(); in Insert() local 1342 aText = pDoc->GetText(); in Insert() 1353 pDoc->Parse(); in Insert() 1369 SmDocShell *pDoc = GetDoc(); in InsertFrom() local 1391 aText = pDoc->GetText(); in InsertFrom() 1402 pDoc->Parse(); in InsertFrom() 1953 pDoc->SetText( pDoc->GetEditEngine().GetText( LINEEND_LF ) ); in Activate() 1981 pDoc->UpdateText(); in IMPL_LINK() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | drawdlg.cxx | 63 SdrModel* pDoc = pView->GetModel(); in ExecDrawDlg() local 64 sal_Bool bChanged = pDoc->IsChanged(); in ExecDrawDlg() 65 pDoc->SetChanged(sal_False); in ExecDrawDlg() 67 SfxItemSet aNewAttr( pDoc->GetItemPool() ); in ExecDrawDlg() 107 pDoc, in ExecDrawDlg() 154 pDoc, in ExecDrawDlg() 192 if (pDoc->IsChanged()) in ExecDrawDlg() 196 pDoc->SetChanged(sal_True); in ExecDrawDlg()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlgrin.cxx | 128 SwNodes& rNds = pDoc->GetNodes(); in ConnectImageMaps() 310 SwDocShell *pDocSh = pDoc->GetDocShell(); in GetDefaultScriptType() 471 SfxItemSet aItemSet( pDoc->GetAttrPool(), pCSS1Parser->GetWhichMap() ); in InsertImage() 476 SfxItemSet aFrmSet( pDoc->GetAttrPool(), in InsertImage() 522 (const SvxColorItem &)pDoc->GetDefault(RES_CHRATR_COLOR); in InsertImage() 720 SwFrmFmt *pFlyFmt = pDoc->Insert( *pPam, sGrfNm, aEmptyStr, &aEmptyGrf, in InsertImage() 722 SwGrfNode *pGrfNd = pDoc->GetNodes()[ pFlyFmt->GetCntnt().GetCntntIdx() in InsertImage() 818 pDoc->SetTxtFmtColl( *pPam, in InsertBodyOptions() 1036 pDoc->SetDefault( aLanguage ); in InsertBodyOptions() 1336 const SwSpzFrmFmts& rFrmFmtTbl = *pDoc->GetSpzFrmFmts(); in StripTrailingPara() [all …]
|
/trunk/main/sw/source/core/docnode/ |
H A D | ndsect.cxx | 1206 SwDoc* pDoc = rNds.GetDoc(); in MakeFrms() local 1216 ::MakeFrms( pDoc, *pIdxBehind, *pEnd ); in MakeFrms() 1268 SwSectionFmt* pSectFmt = pDoc->MakeSectionFmt( 0 ); in MakeCopy() 1277 pTOXBase.reset( new SwTOXBase(rTBS, pDoc) ); in MakeCopy() 1291 if( rNds.GetDoc() == pDoc && pDoc->IsCopyIsMove() ) in MakeCopy() 1329 && pDoc->GetIDocumentUndoRedo().IsUndoNodes(rNds)) in MakeCopy() 1332 pDoc->GetLinkManager().InsertServer( pNewSect->GetObject() ); in MakeCopy() 1374 SwDoc* pDoc = pFmt->GetDoc(); in NodesArrChgd() local 1389 : pDoc->GetDfltFrmFmt() ); in NodesArrChgd() 1404 ASSERT( pDoc == GetDoc(), in NodesArrChgd() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | viewutil.cxx | 86 sal_uInt16 ScViewUtil::GetEffLanguage( ScDocument* pDoc, const ScAddress& rPos ) in GetEffLanguage() argument 90 sal_uInt8 nScript = pDoc->GetScriptType( rPos.Col(), rPos.Row(), rPos.Tab() ); in GetEffLanguage() 93 const SfxPoolItem* pItem = pDoc->GetAttr( rPos.Col(), rPos.Row(), rPos.Tab(), nWhich); in GetEffLanguage() 102 pDoc->GetLanguage( eLatin, eCjk, eCtl ); in GetEffLanguage() 254 void ScViewUtil::UnmarkFiltered( ScMarkData& rMark, ScDocument* pDoc ) in UnmarkFiltered() argument 266 SCTAB nTabCount = pDoc->GetTableCount(); in UnmarkFiltered() 273 if (pDoc->RowFiltered(nRow, nTab, NULL, &nLastRow)) in UnmarkFiltered() 300 SCROW nLastRow = pDoc->LastNonFilteredRow(nStartRow, MAXROW, nTab); in FitToUnfilteredRows() 303 SCROW nCount = pDoc->CountNonFilteredRows(nStartRow, MAXROW, nTab); in FitToUnfilteredRows() 309 bool ScViewUtil::HasFiltered( const ScRange& rRange, ScDocument* pDoc ) in HasFiltered() argument [all …]
|
H A D | gridwin2.cxx | 78 ScDocument* pDoc = pViewData->GetDocument(); in GetDPFieldOrientation() local 80 ScDPObject* pDPObj = pDoc->GetDPAtCursor(nCol, nRow, nTab); in GetDPFieldOrientation() 128 ScDocument* pDoc = pViewData->GetDocument(); in DoAutoFilterButton() local 134 sal_Bool bLayoutRTL = pDoc->IsLayoutRTL( nTab ); in DoAutoFilterButton() 174 ScDocument* pDoc = pViewData->GetDocument(); in DoPushButton() local 177 ScDPObject* pDPObj = pDoc->GetDPAtCursor(nCol, nRow, nTab); in DoPushButton() 947 ScDocument* pDoc = pDocSh->GetDocument(); in PagebreakMove() local 949 sal_Bool bUndo (pDoc->IsUndoEnabled()); in PagebreakMove() 993 if (pDoc->HasRowBreak(nPagebreakBreak, nTab) & BREAK_MANUAL) in PagebreakMove() 1036 sal_uInt16 nOldCount = pDoc->GetPrintRangeCount( nTab ); in PagebreakMove() [all …]
|
/trunk/main/sw/source/filter/xml/ |
H A D | wrtxml.cxx | 108 SfxObjectShell *pPersist = pDoc->GetPersist(); in _Write() 214 sal_uInt16 nRedlineMode = pDoc->GetRedlineMode(); in _Write() 221 pDoc->SetRedlineMode((RedlineMode_t)( nRedlineMode )); in _Write() 227 if( SFX_CREATE_MODE_EMBEDDED == pDoc->GetDocShell()->GetCreateMode() ) in _Write() 252 docfunc::HasOutlineStyleToBeWrittenAsNormalListStyle( *pDoc ) ) in _Write() 292 pDoc->GetDocShell()->GetModel(), UNO_QUERY ); in _Write() 342 sal_Bool bStoreMeta = ( SFX_CREATE_MODE_EMBEDDED != pDoc->GetDocShell()->GetCreateMode() ); in _Write() 420 if( pDoc->GetCurrentViewShell() && pDoc->GetDocStat().nPage > 1 && //swmod 071108//swmod 071225 in _Write() 438 pDoc->WriteLayoutCache( *pStream ); in _Write() 458 nRedlineMode = pDoc->GetRedlineMode(); in _Write() [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | styleuno.cxx | 774 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByIndex_Impl() local 796 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByName_Impl() local 820 ScDocument* pDoc = pDocShell->GetDocument(); in insertByName() local 870 ScDocument* pDoc = pDocShell->GetDocument(); in removeByName() local 898 if ( pDoc->RemovePageStyleInUse( aString ) ) in removeByName() 922 ScDocument* pDoc = pDocShell->GetDocument(); in getCount() local 978 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames() local 1010 ScDocument* pDoc = pDocShell->GetDocument(); in hasByName() local 1178 ScDocument* pDoc = pDocShell->GetDocument(); in GetStyle_Impl() local 1234 ScDocument* pDoc = pDocShell->GetDocument(); in setParentStyle() local [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | navigatr.cxx | 181 void SdNavigatorWin::FreshTree( const SdDrawDocument* pDoc ) in FreshTree() argument 183 SdDrawDocument* pNonConstDoc = (SdDrawDocument*) pDoc; // const as const can... in FreshTree() 189 maTlbObjects.Fill( pDoc, sal_False, aDocName ); // Nur normale Seiten in FreshTree() 199 void SdNavigatorWin::InitTreeLB( const SdDrawDocument* pDoc ) in InitTreeLB() argument 201 SdDrawDocument* pNonConstDoc = (SdDrawDocument*) pDoc; // const as const can... in InitTreeLB() 222 if( !maTlbObjects.IsEqualToDoc( pDoc ) ) in InitTreeLB() 270 sd::DrawDocShell* SdNavigatorWin::GetDrawDocShell( const SdDrawDocument* pDoc ) in GetDrawDocShell() argument 272 if( !pDoc ) in GetDrawDocShell() 274 sd::DrawDocShell* pDocShell = pDoc->GetDocSh(); in GetDrawDocShell() 479 SdDrawDocument* pDoc = pDocShell->GetDoc(); in IMPL_LINK() local [all …]
|
/trunk/main/sw/source/core/view/ |
H A D | viewsh.cxx | 2161 return pDoc->GetNodes(); in GetNodes() 2253 ((SwHiddenTxtFieldType*)pDoc->GetSysFldType( RES_HIDDENTXTFLD ))-> in ImplApplyViewOptions() 2342 pDoc->set(IDocumentSettingAccess::HTML_MODE, 0 != ::GetHtmlMode(pDoc->GetDocShell())); in ImplApplyViewOptions() 2348 pDoc->CheckDefaultPageFmt(); in ImplApplyViewOptions() 2518 if( pDoc->GetCurrentViewShell() && GetWin() ) //swmod 071108 in CreateAccessible() 2745 IDocumentDeviceAccess* ViewShell::getIDocumentDeviceAccess() { return pDoc; } in getIDocumentDeviceAccess() 2753 IDocumentLayoutAccess* ViewShell::getIDocumentLayoutAccess() { return pDoc; } in getIDocumentLayoutAccess() 2760 { return pDoc->GetIDocumentUndoRedo(); } in GetIDocumentUndoRedo() 2762 { return pDoc->GetIDocumentUndoRedo(); } in GetIDocumentUndoRedo() 2767 return pDoc; in getIDocumentListItemsAccess() [all …]
|