News & Releases
|
|

Spire.Presentation for Java 3.5.4 supports getting the maximum width of the text input area in the shape
We're pleased to announce the release of Spire.Presentation for Java 3.5.4. This version supports getting the maximum width of the text input area in the shape and the starting coordinates of text when the width of the text input area is maximum. Furthermore, some issues that occurred when converting PPTX document to image, obtaining the text color of table cells, loading file and setting data table border are fixed successfully. See the content below for more details.
Here is a list of changes made in this release
| Category | ID | Description |
| New Feature | SPIREPPT-1157 | Supports getting the maximum width of the text input area in the shape.
IAutoShape shape = (IAutoShape) ppt.getSlides().get(0).getShapes().get(0); float maxWidth = shape.getTextFrame().getMaxWidth(); |
| New Feature | SPIREPPT-1158 | Supports getting the starting coordinates of the text when the width of the text input area is maximum.
IAutoShape shape = (IAutoShape) ppt.getSlides().get(0).getShapes().get(0); double x = shape.getTextFrame().getStartLocationAtMaxWidth().getX(); double y = shape.getTextFrame().getStartLocationAtMaxWidth().getY(); |
| Bug | SPIREPPT-904 SPIREPPT-1164 |
Fixes the issue that the white text turned black when converting PPTX document to image in CentOS. |
| Bug | SPIREPPT-1154 | Fixes the issue that the text color of the table cells obtained by the method "getColor()" was incorrect. |
| Bug | SPIREPPT-1156 | Fixes the issue that the method "shape.isTextBox" returned an incorrect value. |
| Bug | SPIREPPT-1165 | Fixes the issue that the application threw the exception "Object reference not set to an instance of an object" when loading document. |
| Bug | SPIREPPT-1172 | Fixes the issue that the data table border of the chart was not displayed correctly after setting it. |
Click the link to download Spire.Presentation for Java 3.5.4: