• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Get Mail Merge Regions Hierarchy & Document Hyphenation Options Configuration using Java/.NET

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is new in this release?

Aspose development team is happy to announce the monthly release of Aspose.Words for Java &.NET 16.1.0 . This month’s release contains over 139 useful new features, enhancements and bug fixes to the Aspose.Words products. This month’s release contains over 139 useful new features, enhancements and bug fixes to the Aspose.Words products. Here is a look at just a few of the biggest features and API changes in this month’s release, Support of Ancient Legacy Binary DOC files, support of Configuration of Document Hyphenation Options, support of Controlling Global Mail Merge Events, support of Getting Mail Merge Regions Hierarchy, support of Working without Static Font Cache and Use Per-document Font Settings, introduced Public Fields API v2.0 – Building Arbitrary Field Using FieldBuilder, introduced Shape.SignatureLine Property, introduced FormField.RemoveField Method, introduced DocumentBuilder.InsertSignatureLine Method and Improved Font Substitution Warnings. We have added support for older biWnary DOC format for Word6.0/Word95 documents import. We have renamed Public enumeration LoadFormat.DocPreWord97 to DocPreWord60 to avoid confusion. We introduced new HyphenationOptions class in Aspose.Words. HyphenationOptions instance is available as a read only property on the Document class and contains the following properties to configure document hyphenation options. We have added the IMailMergeCallback interface to receive notifications while mail merge is performed and MailMerge.MailMergeCallback property to handle particular events during mail merge. This allows to respond to different global mail merge events. Currently it supports a single event, TagsReplaced, which is fired when mustache fields are replaced with merge fields but not yet merged. We have added the MailMergeRegionInfo public class and the MailMerge.GetRegionsHierachy public method. These allow to obtain mail merge hierarchy including child regions and fields. We have made all methods of FontSettings class as instance methods. Static methods are replaced with static DefaultInstance property. We have now provided typed access to all Microsoft Word fields, it is a good time to allow users build an arbitrary field code. We can insert a complete field code via DocumentBuilder, or we can insert a field of a certain type and access its code using the typed properties of a FieldXXX class. We have now added a new public property to HtmlSaveOptions class to specify whether page margins is exported to HTML, MHTML or EPUB. Now Aspose.Words could save metafiles directly without using GDI+. For now only saving to EmfPlusOnly format is supported. We have now added a new public property to HtmlFixedSaveOptions class to get/set indication of whether form fields are exported as interactive items (as ‘input’ tag) rather than converted to text or graphics. We have added a capability to preserve mustache tags that haven’t been populated. We have added two methods to DocumentBuilder class to insert signature lines. We have now added Shape.SignatureLine property to get SignatureLine object if the shape is a signature line. Note! Now it is not possible to sign a signature line by digital signature in Aspose.Words. We have added a capability to remove the whole form field right from the FormField object. The list of new and improved features added in this release are given below

- EMF format is now supported
- Aspose.Words for Java passes the Veracode Security Scan
- Performance of PNG encoding/decoding improved x 1.5 times
- Implemented auto-fit table grid calculation for several classes of tables
- EMF+ images now can be rendered without the GDI+
- Comments rendering improved
- Word 6.0 binary DOC files are supported now
- Added public methods for inserting signature lines
- Added ability to configure document hyphenation options
- Added capability to get mail merge regions hierarchy
- Added more public classes and methods to work with fields in a document
- Font sources can now be specified for each document instance
- Implemented line counting (Document.BuiltInDocumentProperties.Lines)
- Table column widths are calculated incorrectly during rendering
- Table nested inside SDT is not rendering correctly in fixed page formats
- Reduction of vertical spacing between two Tables results in incorrect Document.PageCount value
- Table width calculation problem in PDF
- Formatting of table is lost after conversion from Docx to Pdf
- Document.PageCount returns wrong value
- When changing the page layout, table in footer is not resizing in PDF
- Add feature to import font properties from based on style when font properties are not defined
- StructuredDocumentTag is missing after conversion from Docx to Pdf
- Table does not render correctly in output Pdf file
- Support signature line (not digital signature) in Word documents
- Different Word and PDF output when table auto fit is set to true
- Add option in HtmlFixedSaveOptions to export FORMCHECKBOX as <input type="checkbox">
- Add option in HtmlFixedSaveOptions to export FORMDROPDOWN into select, option tags
- /pre-word97/ Support pre-Word97 format
- Provide way to use Aspose' hyphenation functionality when no input document is involved
- Doc to Pdf conversion issue with Cell's text rendering
- Incorrect table width in PDF saved from DOCX
- Provide option to check document for automatic hyphenation
- Text overlaps the Shape while saving docx to pdf Feature
- Implement public fields API v2.0 (add support for building arbitrary fields and field arguments)
- MyriadPro font not rendered correctly in output EMF
- Support merge fields' table hierarchy as XML node
- Table header does not render correctly in output Pdf
- Add feature to preserve mustache tags if field is not used
- Add to public fields API "RemoveFormField" method
- Cell's width is changed in output Pdf Feature
- Add to public API feature to replace mustache tags with corresponding merge fields
- Import floating objects from HTML
- Allow enabling “Auto Hyphenate” option on a document.
- Add capability to replace hyperlinks with other ones
- One table column is missed upon rendering.
- Table width in multicolumn document is incorrect upon rendering
/pre-word97/ Support loading pre-Word97 format
- Allow retrieving merge field names for a particular region.
- Large pictures it table are truncated at right.
- Update Barcode fields
- Table narrows when rendering to pdf. Feature
- Width of table is incorrect, when width is specified in percents.
- Table cells are not wide enough, causing the text to wrap incorrectly.
- Vertical text position in TextBox becomes Horizontal during rendering
- Widths of cells and tables are not correct in PNG
- Table does not resize itself when rendered to fixed formats
- Table width is incorrect in PDF
- Word to PDF issue with table rendering, the table gets squeezed
- Table column widths are calculated incorrectly during rendering
- Text overlap after conversion from Docx to Pdf
- Table column widths are calculated incorrectly during rendering
- BuiltInDocumentProperties.Lines return incorrect value
- Display warnings for fonts replaced using FontSettings.addFontSubstitutes
- - A big negative value of 'margin-left' causes image part hiding after exporting from DOCX to HTML.
- Improper Restriction of XML External Entity Reference (XXE).
- Tables misaligned in rendered PDF
- Enhancement in WORDSNET-1432
- Consider providing Aspose.Words.dll built for .NET 4.0
- Table column widths are calculated incorrectly during rendering
- Office Math does not display correctly after saving Rtf to Html
is not resolved in v15.12.0
- Check if it is possible to create the entire DataSet from Java's ResultSet
- Expose of internal ThreadLocal<Locale> to public api.
- Add feature to set ThreadLocal Locale for Document
- Text is overlapped after conversion from Docx to Pdf
- WInserting one document into another causes indent issue
- ODT to Pdf conversion issue with frame layout
- BuiltInDocumentProperties.Lines returns incorrect number of lines
- /noExtraLineSpacing + suppressBottomSpacing/ Word Compatibility Options lost when creating PDF
- Content cutting from left edge, Table disappears from top and unwanted rows appear in PDF
- /noExtraLineSpacing + suppressBottomSpacing/ Docx to Pdf conversion issue with text position
- RTF to Html conversion issue with Shape's text
- /FloaterList.GetIndexAtOrAfterComparer.IsThisOrder/ System.InvalidOperationException during saving to PDF
- HeaderFooter contents are not exported to Html
- MailMerge.CleanupOptions change TOC into Hyperlink fields
- Aspose.Words loads text with two fonts into one Run
- TestDefect3873 contrast sidebar is rendered incorrectly.
- TestDefect3873 shadow size is incorrect
- Table header row truncates in PDF
- Image Shadow lost during open/save a RTF
- Shape size is different in output RTF and Docx
- Position of shapes are changed in output Pdf
- Newline characters inside URLs prevent HTML import from loading resources
- Content moves to previous page and behind picture in PDF
- Unable to open cloned document in MS Office
- Set ShapeBase.HRef to empty string does not remove hyperlink
- Incorrect series interval values in charts in exported HTML
- Incorrect series interval values and Primary and Secondary vertical Axis Titles are replaced in charts in exported HTML

Other most recent bug fixes are also included in this release

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Words for .NET documentation that may guide you briefly how to use Aspose.Words for performing different tasks like the followings.

- How to Replace Fields with Static Text
- How to Extract Content using DocumentVisitor

Overview: Aspose.Words

Aspose.Words is a word processing component that enables .NET, Java & Android applications to read, write and modify Word documents without using Microsoft Word. Other useful features include document creation, content and formatting manipulation, mail merge abilities, reporting features, TOC updated/rebuilt, Embedded OOXML, Footnotes rendering and support of DOCX, DOC, WordprocessingML, HTML, XHTML, TXT and PDF formats (requires Aspose.Pdf). It supports both 32-bit and 64-bit operating systems. You can even use Aspose.Words for .NET to build applications with Mono.

More about Aspose.Words

- Homepage of Aspose.Words for .NET
- Homepage of Aspose.Words for Java
- Download Aspose.Words for .NET
- Online documentation of Aspose.Words for .NET:

Contact Information
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic