Author Archives: Romank

Aspose.Words 3.6.1 Released

New Features

  • List styles are fully supported during load, save and copy between DOC files. Note there is still no rich public API to deal with list formatting, but this feature is a prerequisite step towards it.
  • Added CompositeNode.GetChildNodes that returns either “live” or “dead” collection of nodes. Before that all returned collections were live.
  • Added a bit more code examples to the API Reference.

Fixes

  • Aspose.Words.Viewer Beta throws an exception when you attempt to print. 
  • Fixed handling of the
Continue Reading
Posted in Roman Korchagin |

Navigating Between Parent, Child and Sibling Nodes in the Document Tree

Added a new useful topic in the Aspose.Words documentation:

Navigating Between Parent, Child and Sibling Nodes in the Document Tree

 … Continue Reading

Posted in Roman Korchagin |

Code Examples for Aspose.Words

Aspose.Words (and probably other Aspose components) have been plagued by lack of code examples in the API Reference.

Now we have a great new system that allows us, developers, to build code examples easily and we are putting it into heavy use. As of Aspose.Words 3.6 we included a great deal of new code examples, both for C# and VB.NET into the Aspose.Words API Reference. Our first goal is to provide at least one code example for each class, but … Continue Reading

Posted in Roman Korchagin |

Aspose.Words 3.6 Released

New Features

  • Added a lot of new code examples to the API. Both in C# and VB.NET. The work on code examples continues, we will eventually have examples for all members.
  • Added a new demo project DocumentExplorer. Not only it provides more example code, but it is a useful tool on its own. You can open a document in HTML or DOC format, explore the nodes of the document object model and save the document as DOC, HTML or PDF.
Continue Reading
Posted in Roman Korchagin |

Aspose.Words for Java 1.0.2 Released

  • Add IMailMergeDataSource interface to allow mail merge from any user defined data source.
  • Tidied up clone methods naming convention (renamed all clone methods into deepClone).
Continue Reading
Posted in Roman Korchagin |

Aspose.Words for .NET 3.5.3 Released

New Features

  • Added the Document.AttachedTemplate property that allows to get/set the template attached to the document.
  • Added the Document.ShadeFormData property that allows to turn on/off gray shading under the form fields.

Note the updated documentation for the above properties will be released later.… Continue Reading

Posted in Roman Korchagin |

Aspose.Words 3.5.2 Released

New Features

  • Added ClearFormatting method for RowFormat and CellFormat classes.
  • Added SaveOptions.HtmlExportHeadersFooters that specifies whether to output primary headers and footers to HTML.

Fixes

  • List bullet is exported as asterisk to PDF.
  • Missing table borders when exporting to PDF. 
  • Table with zero width column causes exception when exporting to PDF.
  • A particular image causes exception when exporting to PDF.
  • Document opens with ‘Drop down form field in old format’ error.
  • RowFormat.AllowBreakAcrossPages is not saved.
  • ‘Unknown cell spacing sides’ error when openning
Continue Reading
Posted in Roman Korchagin |

Aspose.Words for Java 1.0.1 Released

New Features

  • Both JDK 1.4 and 1.5 are now supported. There are two separate Aspose.Words jars included in the download.
  • Aspose.Total for Java licenses are supported.
  • Added Document.save to Java OutputStream.

Fixes

  • Added public constants to StyleIdentifier, VisitorAction and InlineShapeType. 
  • Added proper Styles.getByStyleIdentifier method.
Continue Reading
Posted in Roman Korchagin |

Is it Unit Testing or What?

It’s not a secret we’ve been using unit testing and test-driven development for Aspose.Words from the beginning. I’ve also studied, used and taught unit testing and many XP practices in the “early days”, for example, my Practical Unit Testing articles in MSDN from 2000. It long ago became a part of nature, yet here is something new I noticed that grabbed me.

Most of the unit tests I wrote before, conformed to the “commonly accepted understanding” of what a unit … Continue Reading

Posted in Roman Korchagin |

Why Find and Replace Could be so Complex in Aspose.Words

The other day a customer asked how he can replace a piece of text in a Word document with a hyperlink To answer this seemingly simple question, Vladimir quickly created an example. I think the example is very smart, many thanks to Vladimir. You can see the code here http://www.aspose.com/Community/Forums/41863/ShowPost.aspx

But the example at the same time is very complex. I cringe that our Aspose.Words object model requires to write such tricky code to do a simple operation such as this find and … Continue Reading

Posted in Roman Korchagin |