Sign In  Sign Up Live-Chat
Collapse/expand the left pane
Are you looking for an evaluation version of a product?
If so you can download any of the below versions for testing. The component will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the component to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
NOTE:  If you experience errors like ’Internet explorer cannot display the web page’ is shown when you try to download a file, make sure your networking policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Aspose.Words for Java 2.5.0

Support Forum
Sorry but it is not allowed to download this release because it is older than one year. Instead, please try to download any newer release that is less one year old.
File Details
Downloads: 294 File Size: 7.1MB
Posted By: Konstantin Views: 1642
Date Added: Sun, Oct 19 2008

We are proud to announce the long-awaited Aspose.Words for Java 2.5.0 release. The list of new features and fixed issues includes 124 items!

As you know, our Aspose.Words for Java is a “closely ported” version of our Aspose.Words for .NET. Therefore, Aspose.Words for Java 2.5.0 includes a port of all changes and fixes we’ve made earlier on Aspose.Words for .NET versions 4.4.0 to 5.2.0 plus some Java-specific fixes.

The following subsections are “copies” of earlier announcements that were applicable to Aspose.Words for .NET, but now they are applicable to Aspose.Words for Java.

New Save Formats

Have a look at the updated SaveFormat enum, it includes the following new formats:

  • SaveFormat.DOCX - Saves the document as a Microsoft Office 2007 Open XML Document (macro-free).
  • SaveFormat.DOCM - Saves the document as a Microsoft Office 2007 Open XML Macro-Enabled Document.
  • SaveFormat.DOTX - Saves the document as a Microsoft Office 2007 Open XML Template (macro-free).
  • SaveFormat.DOTM - Saves the document as a Microsoft Office 2007 Open XML Macro-Enabled Template.

Note that the Office Open XML specification and Microsoft Word 2007 strictly distinguish between macro-enabled and macro-free documents. If you save a document with macros as DOCX, Microsoft Word 2007 will reject to open it (unfortunately with a misleading error message). Therefore, you need to make sure you are saving an Office Open XML document in the correct (macro-free or macro-enabled) format. By default, Aspose.Words fully preserves VBA projects in Office Open XML documents, but you can remove all macros from a document using the Document.removeMacros() method.

 

Office Open XML Conformance

We are fully committed to making Aspose.Words support the Office Open XML specification 100% in the shortest timeframe possible and we are well on track to achieving this.

Since the previous release we have added support for the following features:

  • Smart Tags
  • OLE embedded and linked objects
  • VBA projects
  • Digital signatures for VBA projects
  • Many others

Although the degree of Aspose.Words conformance to OOXML is high, not all OOXML features are yet supported. For example ActiveX controls, Structured Document Tags (Content Controls) and Custom XML are not yet supported. These will be supported in the following months.

 

Breaking Changes in the API

The changes are not likely to affect many users. Even if you cannot recompile your project because of a change, it is very easy to update your code because all changes are cosmetic, although they had to be done.

The breaking changes in Aspose.Words for Java 2.5.0 are:

  • All collection classes, such as Paragraphs, Runs, Tables, Bookmarks etc have been renamed into ParagraphCollection, RunCollection, TableCollection, BookmarkCollection, CellCollection accordingly.

 

Changes and Fixes from Aspose.Words for Java 2.4.2 to 2.5.0

Issue ID

Type ID

Area

Summary

5284

New

Model

Foreach iteration for NodeCollection children.

3193

Bug

DOC

Image is not visible in Word 97.

4968

Bug

DOC

Embedded image is not displayed after saving document in doc format.

5007

Enhancement

MailMerge

Workaround for jdbc drivers whose ResultSets doesn't implement getTableName().

5270

New

Model

Add Comment.getDateTime() property to JAVA API

5843

Bug

MailMerge

“IllegalArgumentException” exception occurs during mail merge if mergfield date switch contains uppercase YYYY.

5935

Bug

Model

“NullPointerException” exception occurs when set PaperSize.CUSTOM.

4969

Enhancement

Installer

IBM's JVM with enabled JIT fails to load optimized Aspose.Words jar.

565

Enhancement

DOC

Add support for outline numbered lists

1084

Enhancement

DOC

Support comment date

1118

Bug

DOC

Pattern or texture fills are not saved to DOC

1175

Bug

DOC

TestChuckChanCrash Out.doc is too big

1199

Bug

DOC

Table borders are read incorrectly by Aspose.Words.

1245

Bug

DOC

Setting Document.ProtectionType to ReadOnly is lost after Save/Open.

3519

Bug

DOC

“The document does not have a piece table” exception occurs during opening document.

3560

Bug

DOC

NullReferenceException in RunPrFiler during document open.

3590

Bug

DOC

Font is changed after populating data into bookmarks.

3602

Bug

DOC

“This property is only allowed for list styles” exception occurs during saving document.

3622

Bug

DOC

Paragraph indents are lost in styles.

3633

Bug

DOC

Document.RemoveMacros() method does not remove all macros from document.

3914

Bug

DOC

“Aspose.Words.FileCorruptedException” exception occurs during opening document.http://www.aspose.com/Community/Forums/thread/99058.aspx

4210

Bug

DOC

“Aspose.Words.FileCorruptedException” exception occurs during opening document.

4212

Bug

DOC

Aspose.Words.FileCorruptedException” exception occurs during opening document.

4254

Bug

DOC

“NullReferenceException” occurs when try to save document with empty section.

4324

Bug

DOC

“Aspose.Words.FileCorruptedException” exception occurs during opening document.

4502

Bug

DOC

OutOfMemoryException is thrown on document load

4635

Bug

DOC

Font.HighlightColor doesn’t work for DOCX documents.

4825

Bug

DOC

“Aspose.Words.FileCorruptedException” exception occurs during opening document.

4856

Bug

DOC

“FileCorruptedException” exception occurs during opening document.

4899

Bug

DOC

OutOfMemoryException occurs when reading the document.

4918

Bug

DOC

“Unsupported version of the stylesheet” exception occurs during opening document.

4882

Bug

DOCX

“FileCorruptedException” occurs during opening DOCX file.

352

Bug

HTML

Research if it is possible to use MHTML to store images inside exported files.

538

Bug

HTML

Generate list numbers only when needed for HTML export.

957

Bug

HTML

Generate list numbers for paragraphs with Heading styles

1287

Bug

HTML

Add tests for export shapes to HTML

4436

Bug

HTML

Use ol.start during converting document to HTML.

4464

Bug

HTML

“System.NotSupportedException” exception occurs during saving document in HTML format.

4953

Bug

HTML

List items are exported as ordinary paragraphs if belong to H1...H6 styles

5016

Bug

HTML

Export correct standard HTML bullets to HTML

500

Bug

Model

Join runs of same formatting on request.

4881

Bug

Model

“System.ArgumentException” exception occurs during creating DocumentBuilder or saving document.

4905

Bug

Model

Consider paragraph break font direct formatting in list label properties calculation.

4638

Bug

DOC

“System.FormatException” exception occurs during opening file.

4424

Bug

Model

Unexpected spaces appear after InsertHtml call.

3683

Bug

DOC

Embedded image is not displayed after saving document in doc format.

1392

Bug

DOC

A picture in the document is not visible in Word 97.

1145

Bug

HTML

Separate styles from content when exporting to HTML

4382

Bug

DOC

Document can’t be opened by MSWord 2007 after processing using AW.

4237

Bug

DOC

Table alignment does not work in created DOC files - probably FIB problem

3997

Bug

DOC

Get rid of DocPr.ExtraBytes

3690

Bug

DOC

“Unrecognized format of the form field” exception occurs during opening document.

1068

New

DOC

Support writing of styles in Word 2007 format

971

New

DOC

Hack remaining undocumented document properties.

4440

Bug

DOCX

“Cannot find form field node in a form field declaration” exception occurs during saving DOCX.

4390

Bug

DOCX

“FileCorruptedException” exception occurs during opening DOCX file.

4356

Bug

DOCX

Selected (checked) check boxes become unselected

4355

Bug

DOCX

“Unexpected subdocument type” exception occurs during saving DOCX file in DOC format.

4307

Bug

DOCX

Styles lost after converting document to DOCX

3998

Bug

DOCX

Support docPr.revisionView in export and import

4418

Bug

HTML

“System.ArgumentOutOfRangeException” exception occurs during inserting HTML.

4392

Bug

HTML

Borders around HTML images after converting DOC to HTML

4369

Bug

HTML

“Aspose.Words.FileCorruptedException” exception occurs during opening HTML document.

4384

Bug

MailMerge

Font of merge field is changed after mail merge.

4432

Bug

Model

Parent node of Inline class is cast to Paragraph without check

4387

Bug

Model

Document.ViewType.Reading does not work.

3564

Bug

Model

Text inserted by FormField.SetTextInputValue does not have an expected formatting.

4309

Bug

DOC

“The document contains captions” exception occurs during opening document.

4239

Bug

DOC

Cannot insert PNG image, error Unable to read beyond the end of the stream.

558

Bug

DOC

RTL table becomes too wide.

4368

Bug

DOCX

DOCX generated by Apsose.Words is corrupted to open with Word 2007.

4220

Bug

DOCX

Background shape is lost during load/save.

4218

Bug

DOCX

Freeform shape is processed incorrectly during load/save.

4035

Bug

DOCX

Font size changes from 11pt to 10pt during OpenSaveOpen

3613

Bug

DOCX

Support proper protection password export in DOCX.

3586

Bug

DOCX

Macros and digital sugnatures are not saved during DOCX export.

3476

Bug

DOCX

UnifiedTestIncludePictureNoSeparator fails

4386

Enhancement

Model

Add Name property to Shape class.

1280

Bug

Model

As Icon, Icon Label, Icon Path and Icon Index are not supported for OLE objects

341

Enhancement

Model

Add Smart Tags/Smart Document support

4092

Bug

DOC

“Aspose.Words.FileCorruptedException” exception occurs during opening document.

3767

Bug

DOC

“End of story is out of sync” exception occurs when open document using Aspose.Words.

3684

Bug

DOC

“Aspose.Words.FileCorruptedException” occurs during opening document using Aspose.Words.

3624

Bug

DOC

Extra rectangle appears in the model during load.

1588

Bug

DOC

ArgumentOutOfRangeException during document save - bookmark related.

1122

Bug

DOC

The list bullet picture defined for lists is incorrectly interpreted as shape inside a paragraph.

4091

Bug

DOCX

Hyperlink targets to unexpected URL

966

Bug

Model

Cloning a document could be more efficient.

3983

Bug

DOC

The extracted embedded OLE object is corrupted.

3942

Bug

DOC

“Aspose.Words.FileCorruptedException” exception occurs during opening the document.

3711

Bug

DOC

“'System.OutOfMemoryException” exception occurs during extracting OLE objects from document.

3702

Bug

DOC

“There is not enough memory or disk space to display or print the picture” occurs when open document in MS Word.

3576

Bug

DOC

“System.OutOfMemoryException” occurs during extracting OLE10 object from document.

1472

Bug

DOC

File causes "Cannot find stream 'META' in the storage." exception when opened in Aspose.Words.

1461

New

DOC

Customer asked to support page border art

777

Bug

DOC

Text is lost in organizational diagram when opened and save by Aspose.Words

772

Bug

DOC

Problem inserting file modified by Aspose.Word in MS Word

676

Bug

DOC

Organization diagram casuses MS Word to crash

4036

Bug

DOCX

Hyperlink is lost when loading a DOCX

3970

Bug

DOCX

RTL paragraph alignment is incorrect in TestHebrew

3969

Bug

DOCX

RTL paragraph indents are incorrect

3966

Bug

DOCX

Vertical text direction is lost in TestRtlIssue

3901

Bug

HTML

HtmlExportScaleImageToShapeSize docs not work during HTML exporting.

922

Bug

HTML

An email hyperlink causes exception

871

Bug

HTML

An HTML document falls into infinite loop

759

New

HTML

Allow badly formatted HTML

692

Bug

HTML

Export of cell borders to HTML does not work

649

Bug

HTML

Cannot import background scroll value

648

Bug

HTML

Cannot import border color #000000

639

New

HTML

Need to ignore CSS page breaks instead of throwing

617

Bug

HTML

List item with a certain inline style throws during HTML import

525

New

MailMerge

Add code examples to all new model methods

21

Bug

MailMerge

Merge fields in endnotes maybe not working

1474

Bug

Model

Setting PaperSize to Custom throws an exception.

1381

Bug

Model

Setting the result of a form field removes the formatting.

902

Bug

Model

Extra margins are added when particular emf image is inserted into document.

153

New

Model

Allow specifying border around floating image

3859

New

Model

Support mirror margins and other page setup options in the interface.

3853

Bug

Model

“Aspose.Words.FileCorruptedException” exception occurs during opening document.

3850

Bug

Model

“System.NullReferenceException” exception occurs when you trying to read formfield with a paragraph break as the first character.

3815

Bug

Model

The marathi characters are converted into square boxes.

3803

Bug

Model

The XE field code is created with a "|" at the end that.

3739

Bug

Model

Check boxes are converted differently. Crosses come out as ticks.

 

Comments
No comments exist for this file.