Code Baseline Moved to Java 6, Improved OpenDocument & HTML Import/Export Fidelity

It moved main codebase to Java 6 (Java 7 and 8 are also supported). Dropped support for Java 5 and 1.4, Fields Public API, New public API members for structured document tags, OpenDocument (ODT) import/export fidelity improvements and several others.
By: Aspose
 
LANE COVE, Australia - Feb. 23, 2015 - PRLog -- What's New in this Release?

Aspose development team is happy to announce the monthly release of Aspose.Words for Java 15.1.0.  This month’s release contains over 81 useful new features, enhancements and bug fixes to the Aspose.Words products. Here are some of the the biggest features included in this release: Moved main codebase to Java 6 (Java 7 and 8 are also supported). Dropped support for Java 5 and 1.4, Fields Public API, New public API members for structured document tags, OpenDocument (ODT) import/export fidelity improvements, rendering of spacing and kerning in WordArt supported and HTML export/import improved for better round-tripping. JDK 1.5 32-bit had used as Aspose.Words Java baseline for long long time. Even JDK 1.4 version had generated for users with ancient environment. Both JDKs are discontinued by Sun/Oracle. Even commercial (non-open) support of JDK 1.5 is dropped about year ago. Starting from January release 15.1 of Aspose.Words, we dropped support of Java 1.4 and 1.5. Oracle currently supports jdk 1.6, 1.7 and 1.8. Open support of jdk 1.6 is closed about year ago, but commercial support is still here. There are also few environments (like not very last but still popular versions of Mac OS) that don’t support 1.7 and 1.8, they work on jdk 1.6 only. The very last available Java JDK is 1.8 64-bit which is chosen for development and test baseline. This is becuause of two reasons: 1) it is faster than older versions, so tests and development will be slightly faster. 2) It is stricter than older versions so some bugs we can catch under 1.8 but the bugs don’t show under 1.6. However, we use only 1.6 language options, language constructs added in 1.7 and 1.8 are not used. So we can compile 1.8 baseline to 1.6 production JAR for release publication. We have now opened programmatic access to Checked/Unchecked state of SDT (StructuredDocumentTag) Checkbox through StructuredDocumentTag.Checked property. We have also added capability to create StructuredDocumentTag of type SdtType.Checkbox in the public API. All FieldXXX classes are now public. Each class corresponds to a certain MS Word field type and provides a number of properties corresponding to arguments, switches and switch arguments of that field. All field types and arguments/switches listed in the specification (except the newest ones appeared in MS Word 2013) are covered that makes it a unique solution on the market. We have introduced two property types i.e. boolean for stand-alone switches and string for arguments and arguments of switches. In defense of this approach, we can adduce the following: if we treat UI of MS Word as a visual analogue of its API, the field insertion dialog also provides checkboxes for simple switches and textboxes (without any format verification) for the rest. We have introduced three overloads of the Paragraph.AppendField() method, each corresponding to a DocumentBuilder.InsertField() method with similar signatures. This is basically to address WORDSNET-3225 (Make it possible to create Fields using DOM (without using DocumentBuilder)). We have added the FieldToc.UpdatePageNumbers() method. Since the FieldToc class, like other field classes, were initially internal, we had to wait until the rest of public fields API is ready. We have now added a new public property HtmlSaveOptions.ExportRoundtripInformation. This option allows to convert Word document to HTML format with round-trip information. Saving of the round-trip information allows to restore document properties such as tab stops, comments, headers and footers during the HTML documents loading back into a Document object. Aspose.Words now takes spacing and kerning in WordArt objects into account during rendering to fixed page formats such as PDF.  The list of new and improved features added in this release are given below

·         Moved main codebase to Java 6 (Java 7 and 8 are also supported). Dropped support for Java 5 and 1.4

·         Fields Public API

·         New public API members for structured document tags

·         OpenDocument (ODT) import/export fidelity improvements

·         Rendering of spacing and kerning in WordArt supported

·         HTML export/import improved for better round-tripping

·         Comment numbering in rendering

·         Support importing li.value from HTML

·         Add freature for new ImportFormatMode (Keep Source Formatting Smart)

·         Text auto-fit does not work properly with vertical text.

·         Add "style:paragraph-properties" -> "style:auto-text-indent" import/export

·         Consider adding an ability to export documents to HTML page by page.

·         Make it possible to create Fields using DOM (without using DocumentBuilder).

·         Implement public field API (V1.0)

·         Public fields API - Implement field types

·         Allow programmatic access to Checked/Unchecked state of SDT Checkbox

·         Allow to create StructuredDocumentTag of type Checkbox

·         Very first AD year starts from 3rd day.

·         ExternalFontCache is not thread-safe

·         DocumentPageSplitter sample for Java

·         Remove need of explicit casting in foreach loop for Body and other CompositeNode childs

·         Left margin is being exported wrongly during Word-HTML-WORD roundtrips

·         Text is missing from SmartArt when Docx is exported to Pdf

·         Docx to Pdf conversion issue with image rendering

·         DocumentBuilder.InsertHtml ignore list numbers

·         Line break is lost after conversion from Doc to Txt

More about Aspose.Words

- Homepage of Aspose.Words for Java: http://www.aspose.com/java/word-component.aspx

- Download Aspose.Words for Java: http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

- Online Demos for Aspose.Words : http://www.aspose.com/demos/.net-components/aspose.words/...

- Online documentation of Aspose.Words : http://www.aspose.com/docs/display/wordsnet/Home

Contact Information

Aspose Pty Ltd

Suite 163, 79 Longueville Road

Lane Cove, NSW, 2066

Australia

http://www.aspose.com/

sales@aspose.com


Phone: 888.277.6734

Fax: 866.810.9465

Contact
sherazam
***@aspose.com
End
Aspose Pty Ltd. PRs
Trending News
Most Viewed
Top Daily News



Like PRLog?
9K2K1K
Click to Share