Home
last modified time | relevance | path

Searched refs:pSrcDoc (Results 1 – 25 of 34) sorted by relevance

12

/aoo41x/main/sc/source/ui/docshell/
H A Darealink.cxx202 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 Dexternalrefmgr.cxx1658 if (!pSrcDoc) in getSingleRefToken()
1667 if (!pSrcDoc->GetTable(rTabName, nTab)) in getSingleRefToken()
1739 if (!pSrcDoc) in getDoubleRefTokens()
1748 if (!pSrcDoc->GetTable(rTabName, nTab1)) in getDoubleRefTokens()
1812 if (!pSrcDoc) in getRangeNameTokens()
1960 SCTAB nTabCount = pSrcDoc->GetTableCount(); in getSrcDocument()
1969 pSrcDoc->GetName(i, aName); in getSrcDocument()
1974 return pSrcDoc; in getSrcDocument()
2036 pSrcDoc->EnableUndo(false); in loadSrcDocument()
2037 pSrcDoc->EnableAdjustHeight(false); in loadSrcDocument()
[all …]
H A Dtablink.cxx240 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()
/aoo41x/main/sw/source/core/attr/
H A Dswatrset.cxx253 const SwDoc *pSrcDoc = GetDoc(); in CopyToModify() local
257 if( pSrcDoc != pDstDoc && SFX_ITEM_SET == GetItemState( in CopyToModify()
268 pSrcDoc->FindNumRulePtr( rNm ) ); in CopyToModify()
275 if ( pSrcDoc != pDstDoc && in CopyToModify()
284 const SwList* pList = pSrcDoc->getListByName( sListId ); in CopyToModify()
294 pSrcDoc->FindNumRulePtr( sDefaultListStyleName ) ); in CopyToModify()
299 pSrcDoc->FindNumRulePtr( sDefaultListStyleName ); in CopyToModify()
327 if( pSrcDoc != pDstDoc && SFX_ITEM_SET == GetItemState( in CopyToModify()
/aoo41x/main/sc/source/core/data/
H A Ddocumen2.cxx939 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 Ddocumen9.cxx108 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 Dpatattr.cxx982 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 Ddocument.cxx1382 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 Ddocumen8.cxx315 void ScDocument::CopyStdStylesFrom( ScDocument* pSrcDoc ) in CopyStdStylesFrom() argument
318 NumFmtMergeHandler aNumFmtMergeHdl(this, pSrcDoc); in CopyStdStylesFrom()
319 xPoolHelper->GetStylePool()->CopyStdStylesFrom( pSrcDoc->xPoolHelper->GetStylePool() ); in CopyStdStylesFrom()
/aoo41x/main/sw/source/core/docnode/
H A Dsection.cxx1469 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 Dndcopy.cxx139 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()
/aoo41x/main/sc/source/core/tool/
H A Dconsoli.cxx282 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 Dcharthelper.cxx142 void ScChartHelper::AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDo… in AdjustRangesOfChartsOnDestinationPage() argument
144 if( !pSrcDoc || !pDestDoc ) in AdjustRangesOfChartsOnDestinationPage()
166 pDestDoc->GetChartRanges( aChartName, aRangesVector, pSrcDoc ); in AdjustRangesOfChartsOnDestinationPage()
/aoo41x/main/sc/source/ui/navipi/
H A Dcontent.cxx422 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()
/aoo41x/main/sc/source/ui/unoobj/
H A Dfuncuno.cxx159 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()
/aoo41x/main/sc/source/ui/view/
H A Dviewfun5.cxx146 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 Dviewfun2.cxx2339 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 …]
/aoo41x/main/sc/source/ui/miscdlgs/
H A Dinstbdlg.cxx223 void ScInsertTableDlg::FillTables_Impl( ScDocument* pSrcDoc ) in FillTables_Impl() argument
228 if ( pSrcDoc ) in FillTables_Impl()
230 SCTAB nCount = pSrcDoc->GetTableCount(); in FillTables_Impl()
235 pSrcDoc->GetName( i, aName ); in FillTables_Impl()
/aoo41x/main/sd/source/ui/slidesorter/controller/
H A DSlsTransferableData.cxx35 SdDrawDocument* pSrcDoc, in CreateTransferable() argument
41 SdTransferable* pTransferable = new SdTransferable (pSrcDoc, pWorkView, bInitOnGetData); in CreateTransferable()
/aoo41x/main/sc/inc/
H A Dconsoli.hxx113 void AddFields( ScDocument* pSrcDoc, SCTAB nTab,
117 void AddData( ScDocument* pSrcDoc, SCTAB nTab,
H A Ddocument.hxx620 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 Dcharthelper.hxx49 …static void AdjustRangesOfChartsOnDestinationPage( ScDocument* pSrcDoc, ScDocument* pDestDoc, cons…
H A Darealink.hxx51 sal_Bool FindExtRange( ScRange& rRange, ScDocument* pSrcDoc, const String& rAreaName );
/aoo41x/main/sw/source/core/doc/
H A Ddoclay.cxx402 SwDoc* pSrcDoc = (SwDoc*)rSource.GetDoc(); in CopyLayoutFmt() local
430 if( rSource.GetRegisteredIn() != pSrcDoc->GetDfltFrmFmt() ) in CopyLayoutFmt()
471 if( !mbCopyIsMove || this != pSrcDoc ) in CopyLayoutFmt()
502 pSrcDoc->CopyWithFlyInFly( aRg, 0, aIdx, NULL, sal_False, sal_True, sal_True ); in CopyLayoutFmt()
512 mbCopyIsMove && this == pSrcDoc ) ); in CopyLayoutFmt()
/aoo41x/main/sd/source/ui/slidesorter/inc/controller/
H A DSlsTransferableData.hxx63 SdDrawDocument* pSrcDoc,

Completed in 1266 milliseconds

12