Hi,
I find that after using class ‘com.aspose.words.Document’ to update the MS Word docx document, the font name of the ‘Ohm Sign’ symbol is changed to ‘Times New Roman’ automatically, so that such symbol become ‘invisible’ when open it.
Here is the code I try to insert a blank line at the end of original document.
Document srcDoc = new Document(“C:\in.docx”);
DocumentBuilder srcBuilder = new DocumentBuilder(srcDoc);
srcBuilder.moveToDocumentEnd();
srcBuilder.writeln();
srcDoc.save(“C:\out.docx”);
Here is the part of ‘word\document.xml’ after unzip “in.docx”:
<w:r>
<w:rPr><w:rFonts w:hint=“eastAsia”/></w:rPr>
<w:sym w:font=“Symbol” w:char=“F06D”/>
</w:r>
Here is the part of ‘word\document.xml’ after unzip “out.docx”:
<w:r>
<w:rPr><w:rFonts w:ascii=“Times New Roman” w:hAnsi=“Times New Roman” w:hint=“eastAsia” /></w:rPr>
<w:sym w:font=“Times New Roman” w:char=“F06D” />
</w:r>
Can you help? How to avoid this problem?
Regards
Laurence
Hi,
Here is the code:
Document srcDoc = new Document(“C:\TEMP\ASPOSE\ELE23.5.docx”);
DocumentBuilder srcBuilder = new DocumentBuilder(srcDoc);
srcBuilder.moveToDocumentEnd();
srcBuilder.writeln();
srcDoc.save(“C:\TEMP\ASPOSE\ELE23.5-output.docx”);
and the result are attached. Looking forward for your reply.
Regards
Laurence
Hi Laurence,
Hi
May I know the target release date for this issue? As we need to resolve this problem before launching our application to production. Please help.
Regards
Laurence
Hi Support,
Hi Laurence,
Will the issue going to be resolved after 2 years?
The issues you have found earlier (filed as WORDSNET-11234) have been fixed in this Aspose.Words for .NET 16.11.0 update and this Aspose.Words for Java 16.11.0 update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.