Lines Matching refs:pDocShell

93 	pDocShell( pDocSh ),  in ScSheetLinkObj()
96 pDocShell->GetDocument()->AddUnoObject(*this); in ScSheetLinkObj()
101 if (pDocShell) in ~ScSheetLinkObj()
102 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScSheetLinkObj()
113 pDocShell = NULL; // pointer is invalid in Notify()
125 if (pDocShell) in GetLink_Impl()
127 sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager(); in GetLink_Impl()
303 String aNewStr(ScGlobal::GetAbsDocName( String(rNewName), pDocShell )); in setFileName()
307 ScDocument* pDoc = pDocShell->GetDocument(); in setFileName()
320 pDocShell->UpdateLinks(); // alter Link raus, evtl. neuen Link anlegen in setFileName()
392 pDocShell( pDocSh ) in ScSheetLinksObj()
394 pDocShell->GetDocument()->AddUnoObject(*this); in ScSheetLinksObj()
399 if (pDocShell) in ~ScSheetLinksObj()
400 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScSheetLinksObj()
410 pDocShell = NULL; // ungueltig geworden in Notify()
418 if (pDocShell) in GetObjectByIndex_Impl()
422 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByIndex_Impl()
432 return new ScSheetLinkObj( pDocShell, aLinkDoc ); in GetObjectByIndex_Impl()
446 if (pDocShell) in GetObjectByName_Impl()
450 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByName_Impl()
458 return new ScSheetLinkObj( pDocShell, aNameStr ); in GetObjectByName_Impl()
480 if (pDocShell) in getCount()
483 ScDocument* pDoc = pDocShell->GetDocument(); in getCount()
543 if (pDocShell) in hasByName()
547 ScDocument* pDoc = pDocShell->GetDocument(); in hasByName()
566 if (pDocShell) in getElementNames()
569 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()
597 ScAreaLink* lcl_GetAreaLink( ScDocShell* pDocShell, sal_uInt16 nPos ) in lcl_GetAreaLink() argument
599 if (pDocShell) in lcl_GetAreaLink()
601 sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager(); in lcl_GetAreaLink()
620 pDocShell( pDocSh ), in ScAreaLinkObj()
623 pDocShell->GetDocument()->AddUnoObject(*this); in ScAreaLinkObj()
628 if (pDocShell) in ~ScAreaLinkObj()
629 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScAreaLinkObj()
640 pDocShell = NULL; // pointer is invalid in Notify()
648 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in Notify()
661 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in Modify_Impl()
674 sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager(); in Modify_Impl()
682 aFile = ScGlobal::GetAbsDocName( aFile, pDocShell ); //! in InsertAreaLink? in Modify_Impl()
696 ScDocFunc aFunc(*pDocShell); in Modify_Impl()
703 ScAreaLink* pLink = lcl_GetAreaLink( pDocShell, nPos ); in ModifyRefreshDelay_Impl()
713 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in refresh()
836 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in SC_IMPL_DUMMY_PROPERTY_LISTENER()
852 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in getFilter()
868 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in getFilterOptions()
884 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in getRefreshDelay()
902 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in getSourceArea()
919 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, nPos); in getDestArea()
935 pDocShell( pDocSh ) in ScAreaLinksObj()
937 pDocShell->GetDocument()->AddUnoObject(*this); in ScAreaLinksObj()
942 if (pDocShell) in ~ScAreaLinksObj()
943 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScAreaLinksObj()
953 pDocShell = NULL; // ungueltig geworden in Notify()
961 if ( pDocShell && nIndex >= 0 && nIndex < getCount() ) in GetObjectByIndex_Impl()
962 return new ScAreaLinkObj( pDocShell, (sal_uInt16)nIndex ); in GetObjectByIndex_Impl()
975 if (pDocShell) in insertAtPosition()
983 aFileStr = ScGlobal::GetAbsDocName( aFileStr, pDocShell ); //! in InsertAreaLink ??? in insertAtPosition()
985 ScDocFunc aFunc(*pDocShell); in insertAtPosition()
995 ScAreaLink* pLink = lcl_GetAreaLink(pDocShell, (sal_uInt16)nIndex); in removeByIndex()
1000 sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager(); in removeByIndex()
1020 if (pDocShell) in getCount()
1022 sfx2::LinkManager* pLinkManager = pDocShell->GetDocument()->GetLinkManager(); in getCount()
1063 pDocShell( pDocSh ), in ScDDELinkObj()
1068 pDocShell->GetDocument()->AddUnoObject(*this); in ScDDELinkObj()
1073 if (pDocShell) in ~ScDDELinkObj()
1074 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScDDELinkObj()
1085 pDocShell = NULL; // pointer is invalid in Notify()
1154 if (pDocShell) in refresh()
1156 ScDocument* pDoc = pDocShell->GetDocument(); in refresh()
1204 if ( pDocShell ) in getResults()
1206 ScDocument* pDoc = pDocShell->GetDocument(); in getResults()
1242 if ( pDocShell ) in setResults()
1244 ScDocument* pDoc = pDocShell->GetDocument(); in setResults()
1277 pDocShell( pDocSh ) in ScDDELinksObj()
1279 pDocShell->GetDocument()->AddUnoObject(*this); in ScDDELinksObj()
1284 if (pDocShell) in ~ScDDELinksObj()
1285 pDocShell->GetDocument()->RemoveUnoObject(*this); in ~ScDDELinksObj()
1295 pDocShell = NULL; // ungueltig geworden in Notify()
1303 if (pDocShell) in GetObjectByIndex_Impl()
1307 pDocShell->GetDocument()->GetDdeLinkData( (sal_uInt16)nIndex, aAppl, aTopic, aItem ) ) in GetObjectByIndex_Impl()
1308 return new ScDDELinkObj( pDocShell, aAppl, aTopic, aItem ); in GetObjectByIndex_Impl()
1315 if (pDocShell) in GetObjectByName_Impl()
1320 ScDocument* pDoc = pDocShell->GetDocument(); in GetObjectByName_Impl()
1326 return new ScDDELinkObj( pDocShell, aAppl, aTopic, aItem ); in GetObjectByName_Impl()
1347 if (pDocShell) in getCount()
1348 nAreaCount = pDocShell->GetDocument()->GetDdeLinkCount(); in getCount()
1393 if (pDocShell) in getElementNames()
1397 ScDocument* pDoc = pDocShell->GetDocument(); in getElementNames()
1416 if (pDocShell) in hasByName()
1421 ScDocument* pDoc = pDocShell->GetDocument(); in hasByName()
1443 if ( pDocShell ) in addDDELink()
1445 ScDocument* pDoc = pDocShell->GetDocument(); in addDDELink()
1731 ScExternalDocLinksObj::ScExternalDocLinksObj(ScDocShell* pDocShell) : in ScExternalDocLinksObj() argument
1732 mpDocShell(pDocShell), in ScExternalDocLinksObj()
1733 mpRefMgr(pDocShell->GetDocument()->GetExternalRefManager()) in ScExternalDocLinksObj()