/dports/editors/libreoffice/libreoffice-7.2.6.2/odk/examples/DevelopersGuide/Drawing/ |
H A D | ChangeOrderDemo.java | 83 XShape xShape1 = ShapeHelper.createShape( xDrawDoc, in main() local 91 xShapes.add( xShape1 ); in main() 92 ShapeHelper.addPortion( xShape1, " this shape was inserted first", false ); in main() 93 ShapeHelper.addPortion( xShape1, "by changing the ZOrder it lie now on top", true ); in main() 96 XPropertySet xPropSet1 = UnoRuntime.queryInterface( XPropertySet.class, xShape1 ); in main()
|
H A D | GluePointDemo.java | 91 XShape xShape1 = ShapeHelper.createShape( xDrawDoc, in main() local 105 xShapes.add( xShape1 ); in main() 121 xConnectorPropSet.setPropertyValue( "StartShape", xShape1 ); in main() 142 xGluePointsSupplier = UnoRuntime.queryInterface( XGluePointsSupplier.class, xShape1 ); in main() 164 xConnector2PropSet.setPropertyValue( "StartShape", xShape1 ); in main()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/odk/examples/DevelopersGuide/Drawing/ |
H A D | ChangeOrderDemo.java | 83 XShape xShape1 = ShapeHelper.createShape( xDrawDoc, in main() local 91 xShapes.add( xShape1 ); in main() 92 ShapeHelper.addPortion( xShape1, " this shape was inserted first", false ); in main() 93 ShapeHelper.addPortion( xShape1, "by changing the ZOrder it lie now on top", true ); in main() 96 XPropertySet xPropSet1 = UnoRuntime.queryInterface( XPropertySet.class, xShape1 ); in main()
|
H A D | GluePointDemo.java | 91 XShape xShape1 = ShapeHelper.createShape( xDrawDoc, in main() local 105 xShapes.add( xShape1 ); in main() 121 xConnectorPropSet.setPropertyValue( "StartShape", xShape1 ); in main() 142 xGluePointsSupplier = UnoRuntime.queryInterface( XGluePointsSupplier.class, xShape1 ); in main() 164 xConnector2PropSet.setPropertyValue( "StartShape", xShape1 ); in main()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/core/objectpositioning/ |
H A D | objectpositioning.cxx | 38 uno::Reference<beans::XPropertySet> xShape1(getShape(1), uno::UNO_QUERY); in CPPUNIT_TEST_FIXTURE() local 39 xShape1->setPropertyValue("AnchorType", uno::makeAny(text::TextContentAnchorType_AT_CHARACTER)); in CPPUNIT_TEST_FIXTURE()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/extras/ooxmlexport/ |
H A D | ooxmlexport6.cxx | 151 uno::Reference<beans::XPropertySet> xShape1(getShape(1), uno::UNO_QUERY); variable 154 …CPPUNIT_ASSERT_EQUAL(drawing::FillStyle_SOLID, getProperty<drawing::FillStyle>(xShape1, "FillStyle… 155 CPPUNIT_ASSERT_EQUAL(sal_Int16(0), getProperty<sal_Int16>(xShape1, "FillTransparence")); 156 CPPUNIT_ASSERT_EQUAL(sal_Int32(0xffffff), getProperty<sal_Int32>(xShape1, "FillColor")); 830 uno::Reference<drawing::XShape> xShape1 = getShape(1); variable 835 CPPUNIT_ASSERT_EQUAL(sal_Int32(0x4f81bd), getProperty<sal_Int32>(xShape1, "FillColor")); 838 CPPUNIT_ASSERT_EQUAL(sal_Int32(0x3a5f8b), getProperty<sal_Int32>(xShape1, "LineColor")); 843 …CPPUNIT_ASSERT_EQUAL(drawing::LineStyle_SOLID, getProperty<drawing::LineStyle>(xShape1, "LineStyle… 846 …CPPUNIT_ASSERT_EQUAL(drawing::LineJoint_ROUND, getProperty<drawing::LineJoint>(xShape1, "LineJoint…
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sd/qa/unit/ |
H A D | import-tests-smartart.cxx | 214 CPPUNIT_ASSERT_EQUAL(xShape0->getPosition().Y, xShape1->getPosition().Y); in testBase() 218 CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X); in testBase() 311 CPPUNIT_ASSERT(xShape0->getPosition().X > xShape1->getPosition().X); in testDir() 349 xShape1->getPropertyValue("RotateAngle").get<sal_Int32>()); in testRotation() 490 CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X); in testChevron() 491 CPPUNIT_ASSERT(xShape1->getPosition().X < xShape2->getPosition().X); in testChevron() 492 CPPUNIT_ASSERT_EQUAL(xShape0->getPosition().Y, xShape1->getPosition().Y); in testChevron() 493 CPPUNIT_ASSERT_EQUAL(xShape1->getPosition().Y, xShape2->getPosition().Y); in testChevron() 633 CPPUNIT_ASSERT_EQUAL(xShape0->getPosition().Y, xShape1->getPosition().Y); in testBaseRtoL() 637 CPPUNIT_ASSERT(xShape0->getPosition().X > xShape1->getPosition().X); in testBaseRtoL() [all …]
|
H A D | export-tests-ooxml3.cxx | 988 uno::Reference<beans::XPropertySet> xShape1(getShapeFromPage(1, 0, xDocShRef)); in testTdf116350TextEffects() local 989 fAdjust = getAdjustmentValue(xShape1); in testTdf116350TextEffects() 992 bScaleX = getScaleXValue(xShape1); in testTdf116350TextEffects() 1364 uno::Reference<drawing::XShape> xShape1(xGroupShape->getByIndex(0), uno::UNO_QUERY); in testTdf136830() local 1365 CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(14134), xShape1->getPosition().X); in testTdf136830() 1366 CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(-5321), xShape1->getPosition().Y); in testTdf136830()
|
H A D | export-tests-ooxml2.cxx | 740 …uno::Reference<drawing::XShape> xShape1(xFactory->createInstance("com.sun.star.drawing.CustomShape… in testTdf92527() local 743 xPage1->add(xShape1); in testTdf92527() 744 xShape1->setSize(awt::Size(10000, 10000)); in testTdf92527() 745 xShape1->setPosition(awt::Point(1000, 1000)); in testTdf92527() 750 uno::Reference<beans::XPropertySet> xPropertySet1(xShape1, uno::UNO_QUERY); in testTdf92527()
|
H A D | misc-tests.cxx | 347 …uno::Reference<drawing::XShape> xShape1(xDoc->createInstance("com.sun.star.drawing.RectangleShape"… in testFillGradient() local 348 uno::Reference<beans::XPropertySet> xPropSet(xShape1, uno::UNO_QUERY_THROW); in testFillGradient() 356 xShapes->add(xShape1); in testFillGradient()
|
H A D | export-tests.cxx | 398 uno::Reference<beans::XPropertySet> xShape1(xDP->getByIndex(1), uno::UNO_QUERY); in testTdf97630() local 399 xShape1->getPropertyValue("TextFitToSize") >>= tmp; in testTdf97630() 430 uno::Reference<beans::XPropertySet> xShape1(xDP->getByIndex(1), uno::UNO_QUERY); in testTdf97630() local 431 xShape1->getPropertyValue("TextFitToSize") >>= tmp; in testTdf97630()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sd/qa/unit/ |
H A D | import-tests-smartart.cxx | 188 uno::Reference<drawing::XShape> xShape1(xShapeGroup->getByIndex(2), uno::UNO_QUERY_THROW); in testBase() local 192 CPPUNIT_ASSERT_EQUAL(xShape0->getPosition().Y,xShape1->getPosition().Y); in testBase() 196 CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X); in testBase() 280 CPPUNIT_ASSERT(xShape0->getPosition().X > xShape1->getPosition().X); in testDir() 437 …CPPUNIT_ASSERT(xShape0->getPosition().X < xShape1->getPosition().X && xShape1->getPosition().X < x… in testChevron() 438 CPPUNIT_ASSERT_EQUAL(xShape0->getPosition().Y, xShape1->getPosition().Y); in testChevron() 439 CPPUNIT_ASSERT_EQUAL(xShape1->getPosition().Y, xShape2->getPosition().Y); in testChevron() 573 CPPUNIT_ASSERT_EQUAL(xShape0->getPosition().Y,xShape1->getPosition().Y); in testBaseRtoL() 577 CPPUNIT_ASSERT(xShape0->getPosition().X > xShape1->getPosition().X); in testBaseRtoL() 1215 uno::Reference<beans::XPropertySet> xShape1(xGroup1->getByIndex(1), uno::UNO_QUERY); in testFontSize() local [all …]
|
H A D | misc-tests.cxx | 348 …uno::Reference<drawing::XShape> xShape1(xDoc->createInstance("com.sun.star.drawing.RectangleShape"… in testFillGradient() local 349 uno::Reference<beans::XPropertySet> xPropSet(xShape1, uno::UNO_QUERY_THROW); in testFillGradient() 357 xShapes->add(xShape1); in testFillGradient()
|
H A D | export-tests-ooxml2.cxx | 696 …uno::Reference<drawing::XShape> xShape1(xFactory->createInstance("com.sun.star.drawing.CustomShape… in testTdf92527() local 699 xPage1->add(xShape1); in testTdf92527() 700 xShape1->setSize(awt::Size(10000, 10000)); in testTdf92527() 701 xShape1->setPosition(awt::Point(1000, 1000)); in testTdf92527() 706 uno::Reference<beans::XPropertySet> xPropertySet1(xShape1, uno::UNO_QUERY); in testTdf92527() 2053 uno::Reference<beans::XPropertySet> xShape1( getShapeFromPage( 1, 0, xDocShRef ) ); in testTdf116350TextEffects() local 2054 fAdjust = getAdjustmentValue( xShape1 ); in testTdf116350TextEffects() 2057 bScaleX = getScaleXValue( xShape1 ); in testTdf116350TextEffects()
|
H A D | export-tests.cxx | 325 uno::Reference<beans::XPropertySet> xShape1(xDP->getByIndex(1), uno::UNO_QUERY); in testTdf97630() local 326 xShape1->getPropertyValue("TextFitToSize") >>= tmp; in testTdf97630() 357 uno::Reference<beans::XPropertySet> xShape1(xDP->getByIndex(1), uno::UNO_QUERY); in testTdf97630() local 358 xShape1->getPropertyValue("TextFitToSize") >>= tmp; in testTdf97630()
|
H A D | import-tests.cxx | 1834 uno::Reference<beans::XPropertySet> xShape1(getShapeFromPage(0, 0, xDocShRef)); in testTdf79007() local 1835 CPPUNIT_ASSERT_MESSAGE("Not a shape", xShape1.is()); in testTdf79007() 1839 xShape1->getPropertyValue("GraphicColorMode") >>= aColorMode1; in testTdf79007() 1843 xShape1->getPropertyValue("AdjustContrast") >>= nContrast1; in testTdf79007() 1847 xShape1->getPropertyValue("AdjustLuminance") >>= nLuminance1; in testTdf79007() 2498 … uno::Reference< beans::XPropertySet > xShape1(xGroupShape1->getByIndex(1), uno::UNO_QUERY_THROW); in testTdf100065() local 2500 CPPUNIT_ASSERT(xShape1->getPropertyValue("RotateAngle") >>= nAngle1); in testTdf100065()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/extras/uiwriter/ |
H A D | uiwriter3.cxx | 2283 uno::Reference<drawing::XShape> xShape1 = getShape(1); in CPPUNIT_TEST_FIXTURE() local 2287 aPos[0] = xShape1->getPosition(); in CPPUNIT_TEST_FIXTURE() 2298 CPPUNIT_ASSERT_EQUAL(aPos[0].X, xShape1->getPosition().X); in CPPUNIT_TEST_FIXTURE() 2299 CPPUNIT_ASSERT_EQUAL(aPos[0].Y, xShape1->getPosition().Y); in CPPUNIT_TEST_FIXTURE() 2307 CPPUNIT_ASSERT_EQUAL(aPos[0].X, xShape1->getPosition().X); in CPPUNIT_TEST_FIXTURE() 2308 CPPUNIT_ASSERT_EQUAL(aPos[0].Y, xShape1->getPosition().Y); in CPPUNIT_TEST_FIXTURE() 2323 uno::Reference<drawing::XShape> xShape1 = getShape(1); in CPPUNIT_TEST_FIXTURE() local 2327 aPos[0] = xShape1->getPosition(); in CPPUNIT_TEST_FIXTURE() 2339 CPPUNIT_ASSERT(aPos[0].Y < xShape1->getPosition().Y); in CPPUNIT_TEST_FIXTURE() 2385 uno::Reference<drawing::XShape> xShape1 = getShape(1); in CPPUNIT_TEST_FIXTURE() local [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/extras/ooxmlimport/ |
H A D | ooxmlimport2.cxx | 177 uno::Reference<drawing::XShape> xShape1(xGroup->getByIndex(0), uno::UNO_QUERY_THROW); in CPPUNIT_TEST_FIXTURE() local 178 awt::Point aPosShape1 = xShape1->getPosition(); in CPPUNIT_TEST_FIXTURE() 179 awt::Size aSizeShape1 = xShape1->getSize(); in CPPUNIT_TEST_FIXTURE() 229 uno::Reference<drawing::XShape> xShape1(xGroup->getByIndex(0), uno::UNO_QUERY_THROW); in CPPUNIT_TEST_FIXTURE() local 230 awt::Point aPosShape1 = xShape1->getPosition(); in CPPUNIT_TEST_FIXTURE() 231 awt::Size aSizeShape1 = xShape1->getSize(); in CPPUNIT_TEST_FIXTURE()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/extras/ooxmlexport/ |
H A D | ooxmlexport6.cxx | 831 uno::Reference<drawing::XShape> xShape1 = getShape(1); variable 836 CPPUNIT_ASSERT_EQUAL(sal_Int32(0x4f81bd), getProperty<sal_Int32>(xShape1, "FillColor")); 839 CPPUNIT_ASSERT_EQUAL(sal_Int32(0x3a5f8b), getProperty<sal_Int32>(xShape1, "LineColor")); 844 …CPPUNIT_ASSERT_EQUAL(drawing::LineStyle_SOLID, getProperty<drawing::LineStyle>(xShape1, "LineStyle… 847 …CPPUNIT_ASSERT_EQUAL(drawing::LineJoint_ROUND, getProperty<drawing::LineJoint>(xShape1, "LineJoint…
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/core/objectpositioning/ |
H A D | objectpositioning.cxx | 32 uno::Reference<beans::XPropertySet> xShape1(getShape(1), uno::UNO_QUERY); in CPPUNIT_TEST_FIXTURE() local 33 xShape1->setPropertyValue("AnchorType", uno::makeAny(text::TextContentAnchorType_AT_CHARACTER)); in CPPUNIT_TEST_FIXTURE()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/oox/qa/unit/ |
H A D | drawingml.cxx | 279 uno::Reference<container::XNamed> xShape1(xDrawPage->getByIndex(1), uno::UNO_QUERY); in CPPUNIT_TEST_FIXTURE() local 281 uno::Reference<beans::XPropertySet> xShapeProps1(xShape1, uno::UNO_QUERY); in CPPUNIT_TEST_FIXTURE()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/chart2/source/view/axes/ |
H A D | VCartesianAxis.cxx | 190 static bool doesOverlap( const Reference< drawing::XShape >& xShape1 in doesOverlap() argument 194 if( !xShape1.is() || !xShape2.is() ) in doesOverlap() 197 …::basegfx::B2DRectangle aRect1( BaseGFXHelper::makeRectangle( awt::Point(0,0), xShape1->getSize())… in doesOverlap() 202 lcl_getRotatedPolygon( aPoly1, aRect1, xShape1->getPosition(), fRotationAngleDegree ); in doesOverlap()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/chart2/source/view/axes/ |
H A D | VCartesianAxis.cxx | 191 static bool doesOverlap( const Reference< drawing::XShape >& xShape1 in doesOverlap() argument 195 if( !xShape1.is() || !xShape2.is() ) in doesOverlap() 198 …::basegfx::B2DRectangle aRect1( BaseGFXHelper::makeRectangle( awt::Point(0,0), xShape1->getSize())… in doesOverlap() 203 lcl_getRotatedPolygon( aPoly1, aRect1, xShape1->getPosition(), fRotationAngleDegree ); in doesOverlap()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/sw/qa/extras/rtfexport/ |
H A D | rtfexport.cxx | 894 uno::Reference<text::XTextRange> xShape1(getShape(1), uno::UNO_QUERY); variable 895 CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(0), getProperty<sal_Int32>(xShape1, "ZOrder")); 897 CPPUNIT_ASSERT(xShape1->getString().isEmpty());
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/sw/qa/extras/rtfexport/ |
H A D | rtfexport.cxx | 882 uno::Reference<text::XTextRange> xShape1(getShape(1), uno::UNO_QUERY); variable 883 CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(0), getProperty<sal_Int32>(xShape1, "ZOrder")); 885 CPPUNIT_ASSERT(xShape1->getString().isEmpty());
|