![]() ![]() tPropertyValue("EndGluePointIndex", new Integer(endPt)) tPropertyValue("StartGluePointIndex", new Integer(startPt)) tPropertyValue("EdgeKind", ConnectorType.STANDARD) ![]() XPropertySet xConnector2PropSet = (XPropertySet)UnoRuntime.queryInterface( XShapes.add(UnoRuntime.queryInterface(XShape.class, connector)) Object connector = xMsf.createInstance(".ConnectorShape") XMultiServiceFactory xMsf = UnoRuntime.queryInterface(XMultiServiceFactory.class, xDrawDoc) UnoRuntime.queryInterface(XShapes.class, xDrawPage) The code I have used to draw connectors is:- XShapes xShapes = (XShapes) I am programmatically drawing a flowchart(using Java UNO Runtime Reference) in which I am showing If-Else condition.But I am facing problems while showing the "ELSE" condition because in such a case the connector moves over the intermediate shape(as shwon in attached fig) ![]()
0 Comments
Leave a Reply. |