Lines Matching refs:pData
89 ImpSdrObjTextLinkUserData* pData=pSdrObj->GetLinkUserData(); in Closed() local
90 if (pData!=NULL) pData->pLink=NULL; in Closed()
105 ImpSdrObjTextLinkUserData* pData=pSdrObj->GetLinkUserData(); in DataChanged() local
106 if( pData ) in DataChanged()
112 if( !pData->aFileName.Equals( aFile ) || in DataChanged()
113 !pData->aFilterName.Equals( aFilter )) in DataChanged()
115 pData->aFileName = aFile; in DataChanged()
116 pData->aFilterName = aFilter; in DataChanged()
156 ImpSdrObjTextLinkUserData* pData=new ImpSdrObjTextLinkUserData((SdrTextObj*)pObj1); in Clone() local
157 pData->aFileName =aFileName; in Clone()
158 pData->aFilterName=aFilterName; in Clone()
159 pData->aFileDate0 =aFileDate0; in Clone()
160 pData->eCharSet =eCharSet; in Clone()
161 pData->pLink=NULL; in Clone()
162 return pData; in Clone()
182 ImpSdrObjTextLinkUserData* pData=GetLinkUserData(); in SetTextLink() local
183 if (pData!=NULL) { in SetTextLink()
186 pData=new ImpSdrObjTextLinkUserData(this); in SetTextLink()
187 pData->aFileName=rFileName; in SetTextLink()
188 pData->aFilterName=rFilterName; in SetTextLink()
189 pData->eCharSet=eCharSet; in SetTextLink()
190 InsertUserData(pData); in SetTextLink()
200 SdrObjUserData* pData=GetUserData(nNum); in ReleaseTextLink() local
201 if (pData->GetInventor()==SdrInventor && pData->GetId()==SDRUSERDATA_OBJTEXTLINK) { in ReleaseTextLink()
209 ImpSdrObjTextLinkUserData* pData = GetLinkUserData(); in ReloadLinkedText() local
212 if( pData ) in ReloadLinkedText()
224 INetURLObject aURL( pData->aFileName ); in ReloadLinkedText()
245 bLoad = ( aFileDT > pData->aFileDate0 ); in ReloadLinkedText()
249 bRet = LoadText( pData->aFileName, pData->aFilterName, pData->eCharSet ); in ReloadLinkedText()
252 pData->aFileDate0 = aFileDT; in ReloadLinkedText()
305 ImpSdrObjTextLinkUserData* pData=NULL; in GetLinkUserData() local
307 for (sal_uInt16 nNum=nAnz; nNum>0 && pData==NULL;) { in GetLinkUserData()
309 pData=(ImpSdrObjTextLinkUserData*)GetUserData(nNum); in GetLinkUserData()
310 if (pData->GetInventor()!=SdrInventor || pData->GetId()!=SDRUSERDATA_OBJTEXTLINK) { in GetLinkUserData()
311 pData=NULL; in GetLinkUserData()
314 return pData; in GetLinkUserData()
319 ImpSdrObjTextLinkUserData* pData=GetLinkUserData(); in ImpLinkAnmeldung() local
321 if (pLinkManager!=NULL && pData!=NULL && pData->pLink==NULL) { // Nicht 2x Anmelden in ImpLinkAnmeldung()
322 pData->pLink=new ImpSdrObjTextLink(this); in ImpLinkAnmeldung()
324 pLinkManager->InsertFileLink(*pData->pLink,OBJECT_CLIENT_FILE,pData->aFileName, in ImpLinkAnmeldung()
325 pData->aFilterName.Len() ? in ImpLinkAnmeldung()
326 &pData->aFilterName : (const String *)NULL, in ImpLinkAnmeldung()
329 pLinkManager->InsertFileLink(*pData->pLink,OBJECT_CLIENT_FILE,pData->aFileName, in ImpLinkAnmeldung()
330 pData->aFilterName.Len() ? &pData->aFilterName : NULL,NULL); in ImpLinkAnmeldung()
332 pData->pLink->Connect(); in ImpLinkAnmeldung()
338 ImpSdrObjTextLinkUserData* pData=GetLinkUserData(); in ImpLinkAbmeldung() local
340 if (pLinkManager!=NULL && pData!=NULL && pData->pLink!=NULL) { // Nicht 2x Abmelden in ImpLinkAbmeldung()
342 pLinkManager->Remove( pData->pLink ); in ImpLinkAbmeldung()
343 pData->pLink=NULL; in ImpLinkAbmeldung()