Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

RTL Comments Rendering & Scaling WMF Fonts According to Metafile Size on the Page using Java

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
  • 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 18.12 .  In old versions of Aspose.Words, handling of ‘hide mark element’ in a table cell for rendering document to fixed page format is according to MS Word 2013 behavior. Starting from Aspose.Words 18.12, it has changed this behavior and mimic MS Word 2016 behavior. In some situations, for “continuous” and “new column” section breaks, the behavior of MS Word 2016 is different from MS Word 2013 or an earlier version when document is converted to fixed file formats e.g. PDF, XPS. We have changed the behavior of Aspose.Words and now it mimics MS Word 2016. The behavior has changed for computing page numbers and for providing an empty facing page when adjacent pages have the same oddity.  This release has added new property in MetafileRenderingOptions class to control the scaling of fonts in WMF meta-file according to meta-file size on the page when rendering document to fixed file format. This property is used only when meta-file is rendered as vector graphics. By default, Aspose.Words uses font family names from source document and writes to HTML. Starting from Aspose.Words 18.12, you can resolve and substitute fonts according to FontSettings. Aspose team has added new property to achieve this.  Obsolete Property AllowTrailingWhitespaceForListItems was removed from LoadOptions Class. It has removed obsolete public API method ‘SetAsDefault’ from LoadOptions.LanguagePreferences in this version of Aspose.Words.  There are 108 improvements and fixes in this regular monthly release, such as Java 11 compatibility is checked and updated, ExternalImageLibTest utility class added to check external image libraries on user side, Implemented WMF fonts scaling, according to metafile size on the page, and public option to control it, Improved the default font fallback mechanism to better fit the MW behavior, Optimized metafile from SVG rendering to skip redundant line segments, Fixed a bug that caused an exception when rendering metafiles filled with gradient, Fixed a bug with the order of legend items of the stacked DrawingML chart when rendering, Fixed a bug with text clipping when rendering the DrawingML charts, Fixed a bug with rendering of minor tick marks and clipping the rightmost bar of DrawingML charts, Fixed a bug with rendering data labels for points, located on the border of the DrawingML chart plot area, Implemented support for RTL comments rendering, e.g. Arabic, Improved hyphenation logic for multiple cases,  Improved page numbering for sections starting in new columns, Improved table row alignment, Improved tab stop calculations with paragraph indents, Improved table breaking logic for numerous complex cases, Improved handling of character compression within mixed ltr/rtl text, Fixed exception in rare case when field update causes line to contain only zero length spans, Fixed exception in rare case when floating object is pushed beyond empty column, Fixed layout when tables merge over the hidden paragraph and more.  The list of most notable new and improved features added in this release are given below

- Negative font spacing is not preserved after HTML round-trip
- Table rows not aligned
- Converting DOC to PDF moves some Table Rows to right
- Word to PDF Table Alignment Issue
- Remove public API method 'SetAsDefault' from LoadOptions.LanguagePreferences
- DOCX to PDF - invalid page count in the header
- Page numbers in footer not correct in rendered PDF
- Font size depend on metafile bbox aspect ratio
- DOCX to PDF - tables split across two pages
- DefaultFontName setting is not working for saving into HTML
- Floating table overlaps text when anchor is pushed to the next column
- Position of floating table is incorrect.
- Legends stretched on diagram when converted to PDF.
- Aspose.Words cannot load native Windows dll: URI scheme is not "file"
- Mail Merge generates incorrect numeric output
- - Image not visible in exported HTML
- Native Windows dll loading problem
- Inverted image fill while saving document to PDF.
- MailMergeWithRegions not working when DataRelation has multiple columns
- A method with Ref parameter is absent in Javadoc.
- Font of text is changed after conversion from DOCX to HTML
- Table's cell is lost after conversion from DOCX to HTML
- DOCX to PDF conversion issue with chart rendering
- Header not rendered
- Hyphenation in AW pdf output is different from MS Word
- Position of hyphen is different when converting Docx to Pdf
- Content is moved beyond the page
- INCLUDEPICTURE is lost during DOC to DOCX, WML and RTF conversion
- Invalid license signature error on calling License.SetLicense method
- Docx to Pdf conversion issue rotated text of Shape
- Table widths are not correct in PDF
- Part of content is moved to previous page upon rendering.
- Size of image inserted using INCLUDEPICTURE field is changed after converting to DOC
- Image CSS style is ignored and the image is rendered full size in the word
- Content controls linked to custom xml properties filled from SharePoint metadata are empty on conversion to pdf and doc (sdt)
- Different Foreign Language texts rendering as square boxes in PDF
- When converting DOC to PDF, bookmarks for TOT (Table Of Tables) & TOF (Table Of Figures) are not created
- Incorrect shape width when word wrap is OFF in text box properties
- Aspose.Words v18.3.0: NullReferenceExeption when saving table
- Invalid order of chart legend items after conversion to PDF
- The picture rendered incorrectly in PDF output
- Docx to Pdf conversion issue with table's width
- DOCX to PDF - content moved
- DOCX to PDF - content on page 2 is hidden
- MHTML to PDF - indented email text becomes single column
- Text of the chart user shape is clipped after converting to PDF
- The last data label is not rendered after converting to PDF
- DOCX to PDF/Jpeg conversion issue with Hindi font
- Content overlaps in generated PDF
- Document.getText() and Document.toString(SaveFormat.TEXT) do not return Text of EQ field
- Chart.Title.Text returns incorrect value
- Header hight with dynamically growing content is incorrerct in Pdf
- Problem with image alignment while converting to mhtml or html file
- Export width in percent for horizontal rules with images
- Issue with horizontal rule indentation when converting DOCX to HTML
- Font size in a table cell is changed during rendering
- SDT position is wrong after AcceptAllRevisions
- Put evaluation marks above all other content
- Arrow Shape do not render correctly after DML-to-VML conversion
- UpdateFields method recreates bookmarks used in the ToC
- Document.UpdateFields does not update the TOC field
- PDF is converted from DOCX as raw XML fragment

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.

- WMF Fonts Scaling According to Metafile Size on the Page
- Resolve and Substitute Fonts According to FontSettings

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 Java Word Library
- Download Aspose.Words for Java
- Online documentation of Aspose.Words for .NET
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic