Lines Matching refs:pDescriptor
281 PresenterPaneContainer::SharedPaneDescriptor pDescriptor ( in NotifyViewCreation() local
283 OSL_ASSERT(pDescriptor.get() != NULL); in NotifyViewCreation()
284 if (pDescriptor.get() != NULL) in NotifyViewCreation()
289 pDescriptor->mxContentWindow, in NotifyViewCreation()
305 PresenterPaneContainer::SharedPaneDescriptor pDescriptor ( in SetPanePosSizeRelative() local
307 if (pDescriptor.get() != NULL) in SetPanePosSizeRelative()
309 pDescriptor->mnLeft = nRelativeX; in SetPanePosSizeRelative()
310 pDescriptor->mnTop = nRelativeY; in SetPanePosSizeRelative()
311 pDescriptor->mnRight = nRelativeX + nRelativeWidth; in SetPanePosSizeRelative()
312 pDescriptor->mnBottom = nRelativeY + nRelativeHeight; in SetPanePosSizeRelative()
314 mpPaneContainer->ToTop(pDescriptor); in SetPanePosSizeRelative()
328 PresenterPaneContainer::SharedPaneDescriptor pDescriptor ( in SetPanePosSizeAbsolute() local
330 if (pDescriptor.get() != NULL) in SetPanePosSizeAbsolute()
335 pDescriptor->mnLeft = nX / aParentBox.Width; in SetPanePosSizeAbsolute()
336 pDescriptor->mnTop = nY / aParentBox.Height; in SetPanePosSizeAbsolute()
337 pDescriptor->mnRight = (nX + nWidth) / aParentBox.Width; in SetPanePosSizeAbsolute()
338 pDescriptor->mnBottom = (nY + nHeight) / aParentBox.Height; in SetPanePosSizeAbsolute()
340 if (pDescriptor->mxBorderWindow.is()) in SetPanePosSizeAbsolute()
341 pDescriptor->mxBorderWindow->setPosSize( in SetPanePosSizeAbsolute()
1047 PresenterPaneContainer::SharedPaneDescriptor pDescriptor( in LayoutToolBar() local
1049 if (pDescriptor.get() != NULL) in LayoutToolBar()
1052 = dynamic_cast<PresenterToolBarView*>(pDescriptor->mxView.get()); in LayoutToolBar()
1195 const PresenterPaneContainer::SharedPaneDescriptor& pDescriptor (*iPane); in LayoutUnknownMode() local
1196 if ( ! pDescriptor->mxBorderWindow.is()) in LayoutUnknownMode()
1200 const sal_Int32 nX = (sal_Int32)(pDescriptor->mnLeft * aBox.Width); in LayoutUnknownMode()
1201 const sal_Int32 nY = (sal_Int32)(pDescriptor->mnTop * aBox.Height); in LayoutUnknownMode()
1202 const sal_Int32 nWidth = (sal_Int32)(pDescriptor->mnRight * aBox.Width) - nX; in LayoutUnknownMode()
1203 const sal_Int32 nHeight = (sal_Int32)(pDescriptor->mnBottom * aBox.Height) - nY; in LayoutUnknownMode()
1205 pDescriptor->mxBorderWindow->setPosSize( in LayoutUnknownMode()
1216 PresenterPaneContainer::SharedPaneDescriptor pDescriptor ( in UpdateWindowSize() local
1218 if (pDescriptor.get() != NULL) in UpdateWindowSize()
1223 awt::Rectangle aBorderBox (pDescriptor->mxBorderWindow->getPosSize()); in UpdateWindowSize()
1229 pDescriptor->mnLeft = double(aBorderBox.X) / nWidth; in UpdateWindowSize()
1230 pDescriptor->mnTop = double(aBorderBox.Y) / nHeight; in UpdateWindowSize()
1231 pDescriptor->mnRight = double(aBorderBox.X + aBorderBox.Width) / nWidth; in UpdateWindowSize()
1232 pDescriptor->mnBottom = double(aBorderBox.Y + aBorderBox.Height) / nHeight; in UpdateWindowSize()
1243 mpPaneContainer->ToTop(pDescriptor); in UpdateWindowSize()
1370 PresenterPaneContainer::SharedPaneDescriptor pDescriptor (*iPane); in CreateClipPolyPolygon() local
1371 if ( ! pDescriptor->mbIsActive) in CreateClipPolyPolygon()
1373 if ( ! pDescriptor->mbIsOpaque) in CreateClipPolyPolygon()
1375 if ( ! pDescriptor->mxBorderWindow.is() || ! pDescriptor->mxContentWindow.is()) in CreateClipPolyPolygon()
1377 Reference<awt::XWindow2> xWindow (pDescriptor->mxBorderWindow, UNO_QUERY); in CreateClipPolyPolygon()
1381 const awt::Rectangle aOuterBorderBox (pDescriptor->mxBorderWindow->getPosSize()); in CreateClipPolyPolygon()
1382 awt::Rectangle aInnerBorderBox (pDescriptor->mxContentWindow->getPosSize()); in CreateClipPolyPolygon()