Free Support Forum - aspose.com

How to draw a line using Aspose.cells for java

We prepare to buy the aspose cells for java. But We found aspose.cells for java not support some functions, such as "worksheet.Shapes", If so , How can I draw a line with Aspose.cells for java? And there is any way to draw a orgchart with Aspose.cells for java?

Hi,

Thanks for considering Aspose.

Well, shapes like drawing lines etc. are not supported for java version of Aspose.Cells, we will support them soon.

Thank you.

Hi,

Please try this fix. Please add a line with the following codes:

Workbook workbook = new Workbook();
com.aspose.cells.Shapes shapes = workbook.getWorksheets().getSheet(0).getShapes();
LineShape lineShape = shapes.addLine(0,0,0,0,100,100);
workbook.save("F:\\FileTemp\\dest.xls");

We still don't support orgchart in the Java version. We will look into . But we have to work with Excel2007 first now.

Hi,

Thanks for your immediately reply, I'll try this fix. Your surport is good.

We used the fix, and it work propertly. Thank.

If we buy the aspose.cells for java, It will contain the fix?

if not , Can you help to provide the way to add the function?

Hi,

Thanks for considering Aspose.

Well, If you purchase Aspose.Cells for java, you may use this fix without any problem, the fix will behave just like official. However our next official relaese will include this feature.

Thank you.