Home
last modified time | relevance | path

Searched refs:aBoundRect (Results 1 – 25 of 101) sorted by relevance

12345

/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/frmdlg/
H A Dfrmmgr.cxx258 SwRect aBoundRect; in ValidateMetrics() local
278 Point aPos(aBoundRect.Pos()); in ValidateMetrics()
282 Size aSize(aBoundRect.SSize()); in ValidateMetrics()
286 aBoundRect.Chg( aPos, aSize ); in ValidateMetrics()
295 rVal.nMinHPos = aBoundRect.Left(); in ValidateMetrics()
296 rVal.nMinVPos = aBoundRect.Top(); in ValidateMetrics()
329 nV = aBoundRect.Top(); in ValidateMetrics()
332 nH = aBoundRect.Left(); in ValidateMetrics()
382 rVal.nMinHPos = aBoundRect.Left(); in ValidateMetrics()
385 rVal.nMinVPos = aBoundRect.Top(); in ValidateMetrics()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/frmdlg/
H A Dfrmmgr.cxx275 SwRect aBoundRect; in ValidateMetrics() local
295 Point aPos(aBoundRect.Pos()); in ValidateMetrics()
299 Size aSize(aBoundRect.SSize()); in ValidateMetrics()
303 aBoundRect.Chg( aPos, aSize ); in ValidateMetrics()
312 rVal.nMinHPos = aBoundRect.Left(); in ValidateMetrics()
313 rVal.nMinVPos = aBoundRect.Top(); in ValidateMetrics()
346 nV = aBoundRect.Top(); in ValidateMetrics()
349 nH = aBoundRect.Left(); in ValidateMetrics()
399 rVal.nMinHPos = aBoundRect.Left(); in ValidateMetrics()
402 rVal.nMinVPos = aBoundRect.Top(); in ValidateMetrics()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/qa/unit/
H A Dcustomshapes.cxx132 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
155 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
175 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
177 bool bIsZero(aBoundRect.Height == 0 && aBoundRect.Width == 0); in CPPUNIT_TEST_FIXTURE()
195 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
218 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
240 const double fDiffWmH = static_cast<double>(aBoundRect.Width - aBoundRect.Height); in CPPUNIT_TEST_FIXTURE()
558 const sal_Int32 nRight = aBoundRect.X + aBoundRect.Width - 1; in CPPUNIT_TEST_FIXTURE()
559 const sal_Int32 nBottom = aBoundRect.Y + aBoundRect.Height - 1; in CPPUNIT_TEST_FIXTURE()
592 const sal_Int32 nRight = aBoundRect.X + aBoundRect.Width - 1; in CPPUNIT_TEST_FIXTURE()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/qa/unit/
H A Dcustomshapes.cxx390 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
413 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
433 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
435 bool bIsZero(aBoundRect.Height == 0 && aBoundRect.Width == 0); in CPPUNIT_TEST_FIXTURE()
453 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
476 awt::Rectangle aBoundRect; in CPPUNIT_TEST_FIXTURE() local
498 const double fDiffWmH = static_cast<double>(aBoundRect.Width - aBoundRect.Height); in CPPUNIT_TEST_FIXTURE()
817 const sal_Int32 nRight = aBoundRect.X + aBoundRect.Width - 1; in CPPUNIT_TEST_FIXTURE()
818 const sal_Int32 nBottom = aBoundRect.Y + aBoundRect.Height - 1; in CPPUNIT_TEST_FIXTURE()
850 const sal_Int32 nRight = aBoundRect.X + aBoundRect.Width - 1; in CPPUNIT_TEST_FIXTURE()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/source/uibase/shells/
H A Ddrwbassh.cxx827 SwRect aBoundRect; in IMPL_LINK() local
842 pSh->CalcBoundRect( aBoundRect, eAnchorType, in IMPL_LINK()
857 Point aPos(aBoundRect.Pos()); in IMPL_LINK()
861 Size aSize(aBoundRect.SSize()); in IMPL_LINK()
865 aBoundRect.Chg( aPos, aSize ); in IMPL_LINK()
874 rValidation.nMinHPos = aBoundRect.Left(); in IMPL_LINK()
875 rValidation.nMinVPos = aBoundRect.Top(); in IMPL_LINK()
908 nV = aBoundRect.Top(); in IMPL_LINK()
911 nH = aBoundRect.Left(); in IMPL_LINK()
972 ? aBoundRect.Left() in IMPL_LINK()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/source/uibase/shells/
H A Ddrwbassh.cxx884 SwRect aBoundRect; in IMPL_LINK() local
899 pSh->CalcBoundRect( aBoundRect, eAnchorType, in IMPL_LINK()
914 Point aPos(aBoundRect.Pos()); in IMPL_LINK()
918 Size aSize(aBoundRect.SSize()); in IMPL_LINK()
922 aBoundRect.Chg( aPos, aSize ); in IMPL_LINK()
931 rValidation.nMinHPos = aBoundRect.Left(); in IMPL_LINK()
932 rValidation.nMinVPos = aBoundRect.Top(); in IMPL_LINK()
965 nV = aBoundRect.Top(); in IMPL_LINK()
968 nH = aBoundRect.Left(); in IMPL_LINK()
1030 ? aBoundRect.Left() in IMPL_LINK()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx61 tools::Rectangle aBoundRect; member
67 tools::Rectangle aBoundRect; member
73 tools::Rectangle aBoundRect; member
392 rParagraph.aBoundRect.Union( aBoundRect ); in GetTextAreaOutline()
397 if ( rParagraph.aBoundRect.IsEmpty() ) in GetTextAreaOutline()
399 if ( rTextArea.aBoundRect.IsEmpty() ) in GetTextAreaOutline()
497 …rzDiff = ( rFWData.fHorizontalTextScaling * rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRec… in GetFontWorkOutline()
499 …rzDiff = ( rFWData.fHorizontalTextScaling * rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRec… in GetFontWorkOutline()
524 … nHorzDiff = ( rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRect.GetWidth() ) / 2; in GetFontWorkOutline()
526 … nHorzDiff = ( rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRect.GetWidth() ); in GetFontWorkOutline()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx67 tools::Rectangle aBoundRect; member
73 tools::Rectangle aBoundRect; member
79 tools::Rectangle aBoundRect; member
396 rParagraph.aBoundRect.Union( aBoundRect ); in GetTextAreaOutline()
401 if ( rParagraph.aBoundRect.IsEmpty() ) in GetTextAreaOutline()
403 if ( rTextArea.aBoundRect.IsEmpty() ) in GetTextAreaOutline()
501 …rzDiff = ( rFWData.fHorizontalTextScaling * rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRec… in GetFontWorkOutline()
503 …rzDiff = ( rFWData.fHorizontalTextScaling * rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRec… in GetFontWorkOutline()
528 … nHorzDiff = ( rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRect.GetWidth() ) / 2; in GetFontWorkOutline()
530 … nHorzDiff = ( rTextArea.aBoundRect.GetWidth() - rParagraph.aBoundRect.GetWidth() ); in GetFontWorkOutline()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sfx2/source/control/
H A Dcharwin.cxx164 ::tools::Rectangle aBoundRect; in Paint()
168 if (!rRenderContext.GetTextBoundRect( aBoundRect, aText ) || aBoundRect.IsEmpty()) in Paint()
175 long nTextWidth = aBoundRect.GetWidth(); in Paint()
193 aBoundRect += aPoint; in Paint()
196 int nYLDelta = aBoundRect.Top(); in Paint()
204 aPoint.setX( -aBoundRect.Left() + (aSize.Width() - aBoundRect.GetWidth()) / 2 ); in Paint()
374 ::tools::Rectangle aBoundRect; in Paint()
378 if (!rRenderContext.GetTextBoundRect( aBoundRect, aText ) || aBoundRect.IsEmpty()) in Paint()
403 aBoundRect += aPoint; in Paint()
406 int nYLDelta = aBoundRect.Top(); in Paint()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/sfx2/source/control/
H A Dcharwin.cxx151 ::tools::Rectangle aBoundRect; in Paint()
155 if (!rRenderContext.GetTextBoundRect(aBoundRect, aText) || aBoundRect.IsEmpty()) in Paint()
162 tools::Long nTextWidth = aBoundRect.GetWidth(); in Paint()
180 aBoundRect += aPoint; in Paint()
183 int nYLDelta = aBoundRect.Top(); in Paint()
184 int nYHDelta = aSize.Height() - aBoundRect.Bottom(); in Paint()
191 aPoint.setX(-aBoundRect.Left() + (aSize.Width() - aBoundRect.GetWidth()) / 2); in Paint()
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/dialog/
H A Dsearchcharmap.cxx178 tools::Rectangle aBoundRect; in DrawChars_Impl() local
202 if (rRenderContext.GetTextBoundRect(aBoundRect, aCharStr) && !aBoundRect.IsEmpty()) in DrawChars_Impl()
207 aPointTxTy.setX( x - aBoundRect.Left() + (nX - aBoundRect.GetWidth() + 1) / 2 ); in DrawChars_Impl()
210 aBoundRect += aPointTxTy; in DrawChars_Impl()
213 int nYLDelta = aBoundRect.Top() - y; in DrawChars_Impl()
214 int nYHDelta = (y + nY) - aBoundRect.Bottom(); in DrawChars_Impl()
221 int nXLDelta = aBoundRect.Left() - x; in DrawChars_Impl()
222 int nXHDelta = (x + nX) - aBoundRect.Right(); in DrawChars_Impl()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/dialog/
H A Dsearchcharmap.cxx187 tools::Rectangle aBoundRect; in DrawChars_Impl() local
211 if (rRenderContext.GetTextBoundRect(aBoundRect, aCharStr) && !aBoundRect.IsEmpty()) in DrawChars_Impl()
216 aPointTxTy.setX( x - aBoundRect.Left() + (nX - aBoundRect.GetWidth() + 1) / 2 ); in DrawChars_Impl()
219 aBoundRect += aPointTxTy; in DrawChars_Impl()
222 int nYLDelta = aBoundRect.Top() - y; in DrawChars_Impl()
223 int nYHDelta = (y + nY) - aBoundRect.Bottom(); in DrawChars_Impl()
230 int nXLDelta = aBoundRect.Left() - x; in DrawChars_Impl()
231 int nXHDelta = (x + nX) - aBoundRect.Right(); in DrawChars_Impl()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/gdi/
H A Dprint2.cxx539 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds()
568 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds()
1048 tools::Rectangle aBoundRect( currentItem.aBounds ); in RemoveTransparenciesFromMetaFile() local
1049 aBoundRect.Intersection( aOutputRect ); in RemoveTransparenciesFromMetaFile()
1051 … const double fBmpArea( static_cast<double>(aBoundRect.GetWidth()) * aBoundRect.GetHeight() ); in RemoveTransparenciesFromMetaFile()
1065 if( aBoundRect.GetWidth() && aBoundRect.GetHeight() ) in RemoveTransparenciesFromMetaFile()
1067 Point aDstPtPix( aBoundRect.TopLeft() ); in RemoveTransparenciesFromMetaFile()
1081 while( aDstPtPix.Y() <= aBoundRect.Bottom() ) in RemoveTransparenciesFromMetaFile()
1083 aDstPtPix.setX( aBoundRect.Left() ); in RemoveTransparenciesFromMetaFile()
1087 aDstSzPix.setHeight( aBoundRect.Bottom() - aDstPtPix.Y() + 1 ); in RemoveTransparenciesFromMetaFile()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/gdi/
H A Dprint2.cxx588 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds()
617 aActionBounds = rOut.PixelToLogic( aBoundRect ); in ImplCalcActionBounds()
1124 tools::Rectangle aBoundRect( currentItem.aBounds ); in RemoveTransparenciesFromMetaFile() local
1125 aBoundRect.Intersection( aOutputRect ); in RemoveTransparenciesFromMetaFile()
1127 … const double fBmpArea( static_cast<double>(aBoundRect.GetWidth()) * aBoundRect.GetHeight() ); in RemoveTransparenciesFromMetaFile()
1141 if( aBoundRect.GetWidth() && aBoundRect.GetHeight() ) in RemoveTransparenciesFromMetaFile()
1143 Point aDstPtPix( aBoundRect.TopLeft() ); in RemoveTransparenciesFromMetaFile()
1157 while( aDstPtPix.Y() <= aBoundRect.Bottom() ) in RemoveTransparenciesFromMetaFile()
1159 aDstPtPix.setX( aBoundRect.Left() ); in RemoveTransparenciesFromMetaFile()
1163 aDstSzPix.setHeight( aBoundRect.Bottom() - aDstPtPix.Y() + 1 ); in RemoveTransparenciesFromMetaFile()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/qa/cppunit/
H A Dcomplextext.cxx89 tools::Rectangle aBoundRect; in testArabic() local
90 pOutDev->GetTextBoundRect(aBoundRect, aOneTwoThree); in testArabic()
91 CPPUNIT_ASSERT_DOUBLES_EQUAL(0, aBoundRect.getX(), 1); // This sometimes equals to 1 in testArabic()
92 CPPUNIT_ASSERT_DOUBLES_EQUAL(1, aBoundRect.getY(), 1); in testArabic()
93 CPPUNIT_ASSERT_DOUBLES_EQUAL(71, aBoundRect.getWidth(), 1); // This sometimes equals to 70 in testArabic()
94 CPPUNIT_ASSERT_DOUBLES_EQUAL(15, aBoundRect.getHeight(), 1); in testArabic()
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/control/
H A Dimivctl1.cxx2105 tools::Rectangle aBoundRect; in CalcMaxTextRect() local
2108 aBoundRect = pEntry->aRect; in CalcMaxTextRect()
2118 if( aBoundRect.Top() > aBoundRect.Bottom()) in CalcMaxTextRect()
2119 aBoundRect.SetTop( aBoundRect.Bottom() ); in CalcMaxTextRect()
2121 aBoundRect.AdjustLeft( 1 ); in CalcMaxTextRect()
2124 if( aBoundRect.Left() > aBoundRect.Right()) in CalcMaxTextRect()
2125 aBoundRect.SetLeft( aBoundRect.Right() ); in CalcMaxTextRect()
2134 if( aBoundRect.Left() > aBoundRect.Right() ) in CalcMaxTextRect()
2135 aBoundRect.SetLeft( aBoundRect.Right() ); in CalcMaxTextRect()
2142 return aBoundRect; in CalcMaxTextRect()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/control/
H A Dimivctl1.cxx2182 tools::Rectangle aBoundRect; in CalcMaxTextRect() local
2185 aBoundRect = pEntry->aRect; in CalcMaxTextRect()
2195 if( aBoundRect.Top() > aBoundRect.Bottom()) in CalcMaxTextRect()
2196 aBoundRect.SetTop( aBoundRect.Bottom() ); in CalcMaxTextRect()
2198 aBoundRect.AdjustLeft( 1 ); in CalcMaxTextRect()
2201 if( aBoundRect.Left() > aBoundRect.Right()) in CalcMaxTextRect()
2202 aBoundRect.SetLeft( aBoundRect.Right() ); in CalcMaxTextRect()
2211 if( aBoundRect.Left() > aBoundRect.Right() ) in CalcMaxTextRect()
2212 aBoundRect.SetLeft( aBoundRect.Right() ); in CalcMaxTextRect()
2219 return aBoundRect; in CalcMaxTextRect()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/filter/source/svg/
H A Dsvgfontexport.cxx259 tools::Rectangle aBoundRect; in implEmbedGlyph() local
263 if( !rOut.GetTextBoundRect( aBoundRect, rCellStr ) ) in implEmbedGlyph()
264 aBoundRect = tools::Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( rCellStr ), 0 ) ); in implEmbedGlyph()
269aBoundRect = tools::Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( OUString(' ') ), 0 ) ); in implEmbedGlyph()
271 …mrExport.AddAttribute( XML_NAMESPACE_NONE, "horiz-adv-x", OUString::number( aBoundRect.GetWidth() … in implEmbedGlyph()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/svg/
H A Dsvgfontexport.cxx255 tools::Rectangle aBoundRect; in implEmbedGlyph() local
259 if( !rOut.GetTextBoundRect( aBoundRect, rCellStr ) ) in implEmbedGlyph()
260aBoundRect = tools::Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( rCellStr ), 0 ) ); in implEmbedGlyph()
265aBoundRect = tools::Rectangle( Point( 0, 0 ), Size( rOut.GetTextWidth( OUString(' ') ), 0 ) ); in implEmbedGlyph()
267 …mrExport.AddAttribute( XML_NAMESPACE_NONE, "horiz-adv-x", OUString::number( aBoundRect.GetWidth() … in implEmbedGlyph()
H A Dsvgexport.cxx802 css::awt::Rectangle aBoundRect; in implExportDocument() local
803 … if( xShapePropSet.is() && ( xShapePropSet->getPropertyValue( "BoundRect" ) >>= aBoundRect )) in implExportDocument()
805 aShapeRange.expand(basegfx::B2DTuple(aBoundRect.X, aBoundRect.Y)); in implExportDocument()
806 aShapeRange.expand(basegfx::B2DTuple(aBoundRect.X + aBoundRect.Width, in implExportDocument()
807 aBoundRect.Y + aBoundRect.Height)); in implExportDocument()
1428 css::awt::Rectangle aBoundRect; in implExportTextEmbeddedBitmaps() local
1433 const Size aSize( aBoundRect.Width, aBoundRect.Height ); in implExportTextEmbeddedBitmaps()
1863 css::awt::Rectangle aBoundRect; in implExportShape() local
1866 xShapePropSet->getPropertyValue( "BoundRect" ) >>= aBoundRect; in implExportShape()
1868 const Point aTopLeft( aBoundRect.X, aBoundRect.Y ); in implExportShape()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/qa/cppunit/
H A Dcomplextext.cxx93 tools::Rectangle aBoundRect, aTestRect( 0, 1, 71, 15 ); in testArabic() local
94 pOutDev->GetTextBoundRect(aBoundRect, aOneTwoThree); in testArabic()
95 CPPUNIT_ASSERT_EQUAL(aTestRect, aBoundRect); in testArabic()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svx/source/svdraw/
H A Dsvdoattr.cxx109 tools::Rectangle aBoundRect = GetLastBoundRect(); in Notify() local
116 SendUserCall(SdrUserCallType::ChangeAttr, aBoundRect); in Notify()
/dports/editors/libreoffice/libreoffice-7.2.6.2/svx/source/svdraw/
H A Dsvdoattr.cxx67 tools::Rectangle aBoundRect = GetLastBoundRect(); in Notify() local
74 SendUserCall(SdrUserCallType::ChangeAttr, aBoundRect); in Notify()
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/core/frmedt/
H A Dfrmedt.cxx92 SwRect aBoundRect; in CPPUNIT_TEST_FIXTURE() local
102 pWrtShell->CalcBoundRect(aBoundRect, eAnchorType, eHoriRelOrient, eVertRelOrient, pContentPos, in CPPUNIT_TEST_FIXTURE()
110 CPPUNIT_ASSERT_EQUAL(-1 * nPagePrintAreaBottom, aBoundRect.Pos().getY()); in CPPUNIT_TEST_FIXTURE()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/filter/source/flash/
H A Dswfexporter.cxx557 css::awt::Rectangle aBoundRect; in exportShape() local
558 xPropSet->getPropertyValue( "BoundRect" ) >>= aBoundRect; in exportShape()
561 pShapeInfo->mnX = aBoundRect.X; in exportShape()
562 pShapeInfo->mnY = aBoundRect.Y; in exportShape()
563 pShapeInfo->mnWidth = aBoundRect.Width; in exportShape()
564 pShapeInfo->mnHeight = aBoundRect.Height; in exportShape()

12345