Hi,
Hi,
Thanks for your posting and using Aspose.Cells.
We have tested this issue with the latest version:
Aspose.Cells for Java v8.8.2.6
using your source excel file and sample code and found that the latest version throws exception.
However, we were able to achieve your output using the following sample code. You may try it at your end and use it as a workaround.
I have also attached the output excel file generated with this code for your reference
C#
Worksheet worksheet = workbook.getWorksheets().get(0);
Shape shape = worksheet.getShapes().get(0);
//shape.setText(“NEW TEXT”);
String strText = shape.getText();
shape.setText(shape.getText().replace(strText, “Zeljko is online”));
workbook.save(dirPath + “output.xlsx”);
Hi,
Thanks for using Aspose.Cells.
We have also fixed your main issue which was logged in our database as CELLSNET-44522. We will soon port the fix in Java version too and provide it to you after performing QA and including other enhancements and fixes.
Hi,
Hi,
Hi,
Thanks for your using Aspose.Cells.
Please download and try the latest fix: Aspose.Cells for Java v8.8.2.7 and let us know your feedback.
The issues you have found earlier (filed as CELLSNET-44522) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.
Hi,
I switched to Aspose.Cells for Java 16.11.0 and this issue still occurs.
Thanks,
Zeljko
Hi Zeljko,
- Operating system version & architecture
- JDK vendor, version & architecture
- JVM arguments, if any
- Locale of your machine
- Input spreadsheet, if different than what you have already shared in this thread.
Hi Babar,
Ubuntu 14.04 LTS x64
java version "1.8.0_101"Java™ SE Runtime Environment (build 1.8.0_101-b13)Java HotSpot™ 64-Bit Server VM (build 25.101-b13, mixed mode)
No VM arguments
English US
Zeljko
Hi,
- CELLSJAVA-42085 - Setting the shape text changes the text style
Worksheet worksheet = workbook.getWorksheets().get(0);
Shape shape = worksheet.getShapes().get(0);
//Setting the shape text changes text style as shown in screenshot
shape.setText(“NEW TEXT”);
workbook.save(dirPath + “output.xlsx”);
Hi,
Hi Shakeel,
Zeljko
The issues you have found earlier (filed as CELLSJAVA-42085) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.