/aoo42x/main/sc/source/ui/docshell/ |
H A D | arealink.cxx | 202 sal_Bool ScAreaLink::FindExtRange( ScRange& rRange, ScDocument* pSrcDoc, const String& rAreaName ) in FindExtRange() argument 205 ScRangeName* pNames = pSrcDoc->GetRangeName(); in FindExtRange() 215 ScDBCollection* pDBColl = pSrcDoc->GetDBCollection(); in FindExtRange() 229 ScAddress::Details aDetails(pSrcDoc->GetAddressConvention(), 0, 0); in FindExtRange() 230 if ( rRange.ParseAny( rAreaName, pSrcDoc, aDetails ) & SCA_VALID ) in FindExtRange() 274 ScDocument* pSrcDoc = pSrcShell->GetDocument(); in Refresh() local 285 aTempArea = ScFormatFilter::Get().GetHTMLRangeNameList( pSrcDoc, rNewArea ); in Refresh() 300 if( FindExtRange( aTokenRange, pSrcDoc, aToken ) ) in Refresh() 383 if( FindExtRange( aTokenRange, pSrcDoc, aToken ) ) in Refresh() 391 pSrcDoc->CopyToClip(aClipParam, &aClipDoc, &aSourceMark); in Refresh() [all …]
|
H A D | externalrefmgr.cxx | 1659 if (!pSrcDoc) in getSingleRefToken() 1668 if (!pSrcDoc->GetTable(rTabName, nTab)) in getSingleRefToken() 1740 if (!pSrcDoc) in getDoubleRefTokens() 1749 if (!pSrcDoc->GetTable(rTabName, nTab1)) in getDoubleRefTokens() 1813 if (!pSrcDoc) in getRangeNameTokens() 1961 SCTAB nTabCount = pSrcDoc->GetTableCount(); in getSrcDocument() 1970 pSrcDoc->GetName(i, aName); in getSrcDocument() 1975 return pSrcDoc; in getSrcDocument() 2037 pSrcDoc->EnableUndo(false); in loadSrcDocument() 2038 pSrcDoc->EnableAdjustHeight(false); in loadSrcDocument() [all …]
|
H A D | tablink.cxx | 240 ScDocument* pSrcDoc = pSrcShell->GetDocument(); in Refresh() local 244 sal_Bool bAutoTab = (pSrcDoc->GetTableCount() == 1) && in Refresh() 298 bFound = pSrcDoc->GetTable( aTabName, nSrcTab ); in Refresh() 304 pDoc->TransferTab( pSrcDoc, nSrcTab, nTab, sal_False, // nicht neu einfuegen in Refresh()
|
/aoo42x/main/sc/source/core/data/ |
H A D | documen2.cxx | 939 sal_uLong ScDocument::TransferTab( ScDocument* pSrcDoc, SCTAB nSrcPos, in TransferTab() argument 950 pSrcDoc->GetName(nSrcPos, aName); in TransferTab() 972 bOldAutoCalcSrc = pSrcDoc->GetAutoCalc(); in TransferTab() 973 pSrcDoc->SetAutoCalc( sal_True ); // falls was berechnet werden muss in TransferTab() 977 NumFmtMergeHandler aNumFmtMergeHdl(this, pSrcDoc); in TransferTab() 994 sal_uInt16 nSrcRangeNames = pSrcDoc->pRangeName->GetCount(); in TransferTab() 1007 ScRangeData* pSrcData = (*pSrcDoc->pRangeName)[i]; in TransferTab() 1099 pSrcDoc->SetAutoCalc( bOldAutoCalcSrc ); in TransferTab() 1105 TransferDrawPage( pSrcDoc, nSrcPos, nDestPos ); in TransferTab() 1115 SfxObjectShell* pSrcShell = pSrcDoc ? pSrcDoc->GetDocumentShell() : NULL; in TransferTab() [all …]
|
H A D | documen9.cxx | 108 void ScDocument::TransferDrawPage(ScDocument* pSrcDoc, SCTAB nSrcPos, SCTAB nDestPos) in TransferDrawPage() argument 110 if (pDrawLayer && pSrcDoc->pDrawLayer) in TransferDrawPage() 112 SdrPage* pOldPage = pSrcDoc->pDrawLayer->GetPage(static_cast<sal_uInt16>(nSrcPos)); in TransferDrawPage() 144 ScChartHelper::AdjustRangesOfChartsOnDestinationPage( pSrcDoc, this, nSrcPos, nDestPos ); in TransferDrawPage()
|
H A D | patattr.cxx | 982 ScPatternAttr* ScPatternAttr::PutInPool( ScDocument* pDestDoc, ScDocument* pSrcDoc ) const in PutInPool() 991 if ( pDestDoc != pSrcDoc ) in PutInPool() 999 pSrcDoc->GetStyleSheetPool(), in PutInPool() 1019 ScConditionalFormatList* pSrcList = pSrcDoc->GetCondFormList(); in PutInPool() 1031 ScStyleSheetPool* pSrcSPool = pSrcDoc->GetStyleSheetPool(); in PutInPool() 1039 pSrcDoc->GetStyleSheetPool()->Find(aName, SFX_STYLE_FAMILY_PARA); in PutInPool() 1051 ScValidationDataList* pSrcList = pSrcDoc->GetValidationList(); in PutInPool()
|
H A D | document.cxx | 1382 void ScDocument::InitUndoSelected( ScDocument* pSrcDoc, const ScMarkData& rTabSelection, in InitUndoSelected() argument 1389 xPoolHelper = pSrcDoc->xPoolHelper; in InitUndoSelected() 1406 void ScDocument::InitUndo( ScDocument* pSrcDoc, SCTAB nTab1, SCTAB nTab2, in InitUndo() argument 1413 xPoolHelper = pSrcDoc->xPoolHelper; in InitUndo() 1739 ScDocument::NumFmtMergeHandler::NumFmtMergeHandler(ScDocument* pDoc, ScDocument* pSrcDoc) : in NumFmtMergeHandler() argument 1742 mpDoc->MergeNumberFormatter(pSrcDoc); in NumFmtMergeHandler() 1750 void ScDocument::MergeNumberFormatter(ScDocument* pSrcDoc) in MergeNumberFormatter() argument 1753 SvNumberFormatter* pOtherFormatter = pSrcDoc->xPoolHelper->GetFormTable(); in MergeNumberFormatter() 2537 ScDocument* pSrcDoc ) in MixDocument() argument 2542 if (pTab[i] && pSrcDoc->pTab[i]) in MixDocument() [all …]
|
H A D | documen8.cxx | 315 void ScDocument::CopyStdStylesFrom( ScDocument* pSrcDoc ) in CopyStdStylesFrom() argument 318 NumFmtMergeHandler aNumFmtMergeHdl(this, pSrcDoc); in CopyStdStylesFrom() 319 xPoolHelper->GetStylePool()->CopyStdStylesFrom( pSrcDoc->xPoolHelper->GetStylePool() ); in CopyStdStylesFrom()
|
/aoo42x/main/sw/source/core/attr/ |
H A D | swatrset.cxx | 333 const SwDoc *pSrcDoc = GetDoc(); in CopyToModify() local 337 if( pSrcDoc != pDstDoc && SFX_ITEM_SET == GetItemState( in CopyToModify() 348 pSrcDoc->FindNumRulePtr( rNm ) ); in CopyToModify() 355 if ( pSrcDoc != pDstDoc && in CopyToModify() 364 const SwList* pList = pSrcDoc->getListByName( sListId ); in CopyToModify() 374 pSrcDoc->FindNumRulePtr( sDefaultListStyleName ) ); in CopyToModify() 379 pSrcDoc->FindNumRulePtr( sDefaultListStyleName ); in CopyToModify() 407 if( pSrcDoc != pDstDoc && SFX_ITEM_SET == GetItemState( in CopyToModify()
|
/aoo42x/main/sw/source/core/docnode/ |
H A D | section.cxx | 1469 SwDoc* pSrcDoc = ((SwDocShell*)&xDocSh)->GetDoc(); in DataChanged() local 1470 eOldRedlineMode = pSrcDoc->GetRedlineMode(); in DataChanged() 1492 SwDoc* pSrcDoc = ((SwDocShell*)&xDocSh)->GetDoc(); in DataChanged() local 1498 if( pSrcDoc == pDoc ) in DataChanged() 1513 pSrcDoc->SelectServerObj( sRange, pCpyPam, pCpyRg ) in DataChanged() 1516 if( pSrcDoc != pDoc || in DataChanged() 1525 if( pCpyRg && pSrcDoc == pDoc && in DataChanged() 1529 else if( pSrcDoc != pDoc ) in DataChanged() 1531 pSrcDoc->GetNodes().GetEndOfContent() ); in DataChanged() 1536 if ( pSrcDoc != pDoc && in DataChanged() [all …]
|
H A D | ndcopy.cxx | 139 const SwDoc* pSrcDoc = rPam.GetDoc(); in lcl_CopyBookmarks() local 141 const IDocumentMarkAccess* const pSrcMarkAccess = pSrcDoc->getIDocumentMarkAccess(); in lcl_CopyBookmarks() 599 const SwDoc* pSrcDoc = rPam.GetDoc(); in lcl_DeleteRedlines() local 600 const SwRedlineTbl& rTbl = pSrcDoc->GetRedlineTbl(); in lcl_DeleteRedlines() 612 pSrcDoc->GetRedline( *pStt, &n ); in lcl_DeleteRedlines() 678 SwDoc* pSrcDoc = rRg.aStart.GetNode().GetDoc(); in lcl_DeleteRedlines() local 679 if( pSrcDoc->GetRedlineTbl().Count() ) in lcl_DeleteRedlines()
|
/aoo42x/main/sc/source/core/tool/ |
H A D | consoli.cxx | 282 void ScConsData::AddFields( ScDocument* pSrcDoc, SCTAB nTab, in AddFields() argument 298 pSrcDoc->GetString( nCol, nRow1, nTab, aTitle ); in AddFields() 315 pSrcDoc->GetString( nCol1, nRow, nTab, aTitle ); in AddFields() 519 void ScConsData::AddData( ScDocument* pSrcDoc, SCTAB nTab, in AddData() argument 543 pSrcDoc->GetString(nCol1,nRow1,nTab,aThisCorner); in AddData() 570 pSrcDoc->GetString(nCol,nRow1,nTab,aTitle); in AddData() 591 pSrcDoc->GetString(nCol1,nRow,nTab,aTitle); in AddData() 624 bAnyCell ? pSrcDoc->HasData( nCol, nRow, nTab ) in AddData() 625 : pSrcDoc->HasValueData( nCol, nRow, nTab ) ) ) in AddData() 641 pSrcDoc->GetValue( nCol, nRow, nTab, nVal ); in AddData()
|
H A D | charthelper.cxx | 142 void ScChartHelper::AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDo… in AdjustRangesOfChartsOnDestinationPage() argument 144 if( !pSrcDoc || !pDestDoc ) in AdjustRangesOfChartsOnDestinationPage() 166 pDestDoc->GetChartRanges( aChartName, aRangesVector, pSrcDoc ); in AdjustRangesOfChartsOnDestinationPage()
|
/aoo42x/main/sc/source/ui/navipi/ |
H A D | content.cxx | 422 ScDocument* pSrcDoc = GetSourceDocument(); in IMPL_LINK() local 423 … aRange.Format( aRangeStr, SCR_ABS_3D, pSrcDoc, pSrcDoc->GetAddressConvention() ); in IMPL_LINK() 1284 ScDocument* pSrcDoc = pSrcShell->GetDocument(); in lcl_DoDragObject() local 1285 ScDrawLayer* pModel = pSrcDoc->GetDrawLayer(); in lcl_DoDragObject() 1326 ScDocument* pSrcDoc = pSrcShell->GetDocument(); in lcl_DoDragCells() local 1327 if ( !pSrcDoc->HasSelectedBlockMatrixFragment( rRange.aStart.Col(), rRange.aStart.Row(), in lcl_DoDragCells() 1333 pSrcDoc->CopyToClip(aClipParam, pClipDoc, &aMark); in lcl_DoDragCells() 1453 ScDocument* pSrcDoc = pSrcShell->GetDocument(); in DoDrag() local 1457 if ( lcl_GetRange( pSrcDoc, nType, aText, aRange ) ) in DoDrag() 1465 if ( pSrcDoc->GetTable( aText, nTab ) ) in DoDrag()
|
/aoo42x/main/sc/source/ui/view/ |
H A D | viewfun5.cxx | 146 ScDocument* pSrcDoc = xDocShRef->GetDocument(); in PasteDataFormat() local 147 SCTAB nSrcTab = pSrcDoc->GetVisibleTab(); in PasteDataFormat() 148 if (!pSrcDoc->HasTable(nSrcTab)) in PasteDataFormat() 157 if ( pSrcDoc->GetDataStart( nSrcTab, nFirstCol, nFirstRow ) ) in PasteDataFormat() 158 pSrcDoc->GetCellArea( nSrcTab, nLastCol, nLastRow ); in PasteDataFormat() 165 pSrcDoc->CopyToClip(aClipParam, pClipDoc, &aSrcMark); in PasteDataFormat()
|
H A D | viewfun2.cxx | 2339 ScDocument* pSrcDoc = pSrcSh->GetDocument(); in InsertTableLink() local 2346 SCTAB nCount = pSrcDoc->GetTableCount(); in InsertTableLink() 2349 pSrcDoc->GetName( i, aTemp ); in InsertTableLink() 2368 ScDocument* pSrcDoc = pSrcShell->GetDocument(); in ImportTables() local 2379 if (pSrcDoc->GetDrawLayer()) in ImportTables() 2390 pSrcDoc->GetName( pSrcTabs[i], aName ); in ImportTables() 2424 pDoc->TransferDrawPage( pSrcDoc, nSrcTab, nDestTab1 ); in ImportTables() 2426 if(!bError &&pSrcDoc->IsScenario(nSrcTab)) in ImportTables() 2435 sal_Bool bActive = pSrcDoc->IsActiveScenario(nSrcTab ); in ImportTables() 2437 sal_Bool bVisible=pSrcDoc->IsVisible(nSrcTab); in ImportTables() [all …]
|
/aoo42x/main/sc/source/ui/unoobj/ |
H A D | funcuno.cxx | 159 sal_Bool lcl_CopyData( ScDocument* pSrcDoc, const ScRange& rSrcRange, in lcl_CopyData() argument 175 pSrcDoc->CopyToClip(aClipParam, pClipDoc, &aSourceMark, false); in lcl_CopyData() 180 ScPatternAttr aPattern( pSrcDoc->GetPool() ); in lcl_CopyData() 644 ScDocument* pSrcDoc = pImpl->GetDocument(); in callFunction() local 646 if ( pSrcDoc && rRanges.Count() == 1 ) in callFunction() 659 if ( !lcl_CopyData( pSrcDoc, aSrcRange, pDoc, ScAddress( 0, (SCROW)nDocRow, 0 ) ) ) in callFunction()
|
/aoo42x/main/sc/source/ui/miscdlgs/ |
H A D | instbdlg.cxx | 222 void ScInsertTableDlg::FillTables_Impl( ScDocument* pSrcDoc ) in FillTables_Impl() argument 227 if ( pSrcDoc ) in FillTables_Impl() 229 SCTAB nCount = pSrcDoc->GetTableCount(); in FillTables_Impl() 234 pSrcDoc->GetName( i, aName ); in FillTables_Impl()
|
/aoo42x/main/sd/source/ui/slidesorter/controller/ |
H A D | SlsTransferableData.cxx | 35 SdDrawDocument* pSrcDoc, in CreateTransferable() argument 41 SdTransferable* pTransferable = new SdTransferable (pSrcDoc, pWorkView, bInitOnGetData); in CreateTransferable()
|
/aoo42x/main/sc/inc/ |
H A D | consoli.hxx | 113 void AddFields( ScDocument* pSrcDoc, SCTAB nTab, 117 void AddData( ScDocument* pSrcDoc, SCTAB nTab,
|
H A D | document.hxx | 620 SC_DLLPUBLIC sal_uLong TransferTab(ScDocument* pSrcDoc, SCTAB nSrcPos, SCTAB nDestPos, 623 SC_DLLPUBLIC void TransferDrawPage(ScDocument* pSrcDoc, SCTAB nSrcPos, SCTAB nDestPos); 1125 ScDocument* pSrcDoc ); 1136 SC_DLLPUBLIC void InitUndo( ScDocument* pSrcDoc, SCTAB nTab1, SCTAB nTab2, 1140 SC_DLLPUBLIC void InitUndoSelected( ScDocument* pSrcDoc, const ScMarkData& rTabSelection, 1499 SC_DLLPUBLIC void CopyStdStylesFrom( ScDocument* pSrcDoc ); 1872 explicit NumFmtMergeHandler(ScDocument* pDoc, ScDocument* pSrcDoc); 1879 void MergeNumberFormatter(ScDocument* pSrcDoc);
|
H A D | charthelper.hxx | 49 …static void AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDoc, cons…
|
/aoo42x/main/sw/source/core/doc/ |
H A D | doclay.cxx | 394 SwDoc* pSrcDoc = (SwDoc*)rSource.GetDoc(); in CopyLayoutFmt() local 422 if( rSource.GetRegisteredIn() != pSrcDoc->GetDfltFrmFmt() ) in CopyLayoutFmt() 463 if( !mbCopyIsMove || this != pSrcDoc ) in CopyLayoutFmt() 494 pSrcDoc->CopyWithFlyInFly( aRg, 0, aIdx, NULL, sal_False, sal_True, sal_True ); in CopyLayoutFmt() 504 mbCopyIsMove && this == pSrcDoc ) ); in CopyLayoutFmt()
|
/aoo42x/main/sd/source/ui/slidesorter/inc/controller/ |
H A D | SlsTransferableData.hxx | 63 SdDrawDocument* pSrcDoc,
|
/aoo42x/main/sd/source/ui/app/ |
H A D | sdxfer.cxx | 102 SdTransferable::SdTransferable( SdDrawDocument* pSrcDoc, ::sd::View* pWorkView, sal_Bool bInitOnGet… in SdTransferable() argument 110 , mpSourceDoc( pSrcDoc ) in SdTransferable()
|