Lines Matching refs:pDescriptor
88 SharedPaneDescriptor pDescriptor (new PaneDescriptor()); in PreparePane() local
89 pDescriptor->mxPaneId = rxPaneId; in PreparePane()
90 pDescriptor->msViewURL = rsViewURL; in PreparePane()
91 pDescriptor->mxPane = NULL; in PreparePane()
94 pDescriptor->msTitle = rsTitle; in PreparePane()
95 pDescriptor->msTitleTemplate = OUString(); in PreparePane()
99 pDescriptor->msTitleTemplate = rsTitle; in PreparePane()
100 pDescriptor->msTitle = OUString(); in PreparePane()
102 pDescriptor->msAccessibleTitleTemplate = rsAccessibleTitle; in PreparePane()
103 pDescriptor->maViewInitialization = rViewInitialization; in PreparePane()
104 pDescriptor->mnLeft = nLeft; in PreparePane()
105 pDescriptor->mnTop = nTop; in PreparePane()
106 pDescriptor->mnRight = nRight; in PreparePane()
107 pDescriptor->mnBottom = nBottom; in PreparePane()
108 pDescriptor->mbIsActive = true; in PreparePane()
109 pDescriptor->mbIsOpaque = bIsOpaque; in PreparePane()
110 pDescriptor->maSpriteProvider = PaneDescriptor::SpriteProvider(); in PreparePane()
111 pDescriptor->mbIsSprite = false; in PreparePane()
112 pDescriptor->maCalloutAnchorLocation = awt::Point(-1,-1); in PreparePane()
113 pDescriptor->mbHasCalloutAnchor = false; in PreparePane()
115 maPanes.push_back(pDescriptor); in PreparePane()
137 SharedPaneDescriptor pDescriptor; in StorePane() local
146 pDescriptor = FindPaneURL(sPaneURL); in StorePane()
147 if (pDescriptor.get() == NULL) in StorePane()
150 pDescriptor = FindPaneURL(sPaneURL); in StorePane()
151 if (pDescriptor.get() != NULL) in StorePane()
154 pDescriptor->mxContentWindow = xWindow; in StorePane()
155 pDescriptor->mxPaneId = xPaneId; in StorePane()
156 pDescriptor->mxPane = rxPane; in StorePane()
157 pDescriptor->mxPane->SetTitle(pDescriptor->msTitle); in StorePane()
161 if (pDescriptor->mbHasCalloutAnchor) in StorePane()
162 pDescriptor->mxPane->SetCalloutAnchor(pDescriptor->maCalloutAnchorLocation); in StorePane()
169 return pDescriptor; in StorePane()
186 SharedPaneDescriptor pDescriptor (FindPaneURL(sPaneURL)); in StoreBorderWindow() local
187 if (pDescriptor.get() != NULL) in StoreBorderWindow()
189 pDescriptor->mxBorderWindow = rxBorderWindow; in StoreBorderWindow()
190 return pDescriptor; in StoreBorderWindow()
204 SharedPaneDescriptor pDescriptor; in StoreView() local
217 pDescriptor = FindPaneURL(sPaneURL); in StoreView()
218 if (pDescriptor.get() != NULL) in StoreView()
220 pDescriptor->mxView = rxView; in StoreView()
221 pDescriptor->mpViewBackground = rpViewBackground; in StoreView()
222 pDescriptor->mxPane->SetBackground(rpViewBackground); in StoreView()
225 if ( ! pDescriptor->maViewInitialization.empty()) in StoreView()
226 pDescriptor->maViewInitialization(rxView); in StoreView()
229 if ( ! pDescriptor->maActivator.empty()) in StoreView()
230 pDescriptor->maActivator(pDescriptor->mbIsActive); in StoreView()
239 return pDescriptor; in StoreView()
248 SharedPaneDescriptor pDescriptor (FindPaneId(rxPaneId)); in RemovePane() local
249 if (pDescriptor.get() != NULL) in RemovePane()
251 if (pDescriptor->mxContentWindow.is()) in RemovePane()
252 pDescriptor->mxContentWindow->removeEventListener(this); in RemovePane()
253 pDescriptor->mxContentWindow = NULL; in RemovePane()
254 pDescriptor->mxBorderWindow = NULL; in RemovePane()
255 pDescriptor->mxPane = NULL; in RemovePane()
256 pDescriptor->mxView = NULL; in RemovePane()
257 pDescriptor->mbIsActive = false; in RemovePane()
259 return pDescriptor; in RemovePane()
269 SharedPaneDescriptor pDescriptor; in RemoveView() local
282 pDescriptor = FindPaneURL(sPaneURL); in RemoveView()
283 if (pDescriptor.get() != NULL) in RemoveView()
285 pDescriptor->mxView = NULL; in RemoveView()
286 pDescriptor->mpViewBackground = SharedBitmapDescriptor(); in RemoveView()
290 return pDescriptor; in RemoveView()
382 SharedPaneDescriptor pDescriptor (FindViewURL(rsViewURL)); in GetPaneURLForViewURL() local
383 if (pDescriptor.get() != NULL) in GetPaneURLForViewURL()
384 if (pDescriptor->mxPaneId.is()) in GetPaneURLForViewURL()
385 return pDescriptor->mxPaneId->getResourceURL(); in GetPaneURLForViewURL()
423 SharedPaneDescriptor pDescriptor ( in disposing() local
425 if (pDescriptor.get() != NULL) in disposing()
427 RemovePane(pDescriptor->mxPaneId); in disposing()