Hi Nils,
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Thanks for your request. What you are looking for is CompatibilityOptions.UseFELayout. You can set this option using Aspose.Words. Please see the following simple code:
Document doc = new Document("C:\\Temp\\test-without-japanese-default.rtf");
doc.getCompatibilityOptions().setUseFELayout(true);
doc.save("C:\\Temp\\out.docx");
But unfortunately, this option currently works only for DOCX format. Your request has been linked to the appropriate issue. You will be notified as soon as this option also works for other formats.
Best regards,
Small correction, UseFELayout this is just an option that allow setting such layout in DOCX. In other formats, it seems this option is stored differently (not in CompatibilityOptions). We will further investigate the issue and provide you more information.
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
Best regards,
The issues you have found earlier (filed as WORDSNET-4079) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Hi Nils,
Font Document.Styles.DefaultFont; ParagraphFormat Document.Styles.DefaultParagraphFormat; |
UC1
Document doc = new Document();
doc.Styles.DefaultFont.NameFarEast = “PMingLiU” ;
|
UC2
Document doc = new Document();
doc.Styles.DefaultParagraphFormat.SpaceAfter = 20; |