Hi there,
I’m using word-13.1-jdk16.jar to export my html to doc. But I have faced some problem when exporting my html:
1. All the fonts in my html are incorrect after export. It should be Arial but appears to be Time News Roman.
2. All selected radio button can not be display in exported doc:
3. My stylesheet doesn’t apply well in exported document.
Have anyone faced this before ? Please help me or guide me to the right topic.
Thanks in advanced.
Tam Nguyen Minh
Hi Awais,
Thank you for answering me. Please find my exported doc and html files as attachment.
I already try 2 ways below to generate doc or pdf file, but get the same result
1.
String html = //generate html code;
Document document = new Document();
com.aspose.words.DocumentBuilder builder = new com.aspose.words.DocumentBuilder(document);
builder.insertHtml(html);
document.save(“D:\newoutput.doc”);
2.
InputStream content = // get html
LoadOptions option = new LoadOptions();
option.setLoadFormat(LoadFormat.HTML);
com.aspose.words.Document input = new com.aspose.words.Document(content, option);
DocSaveOptions options = new DocSaveOptions();
options.setSaveFormat(SaveFormat.DOC);
os = new FileBackedOutputStream(THRESHOLD);
input.save(os, options);
Please point me out if there are any incorrect in my html or my java code.
Thanks in advanced
Tam Nguyen Minh
Hi Tam,
tags from Html
Thank you, Awais
I will wait for bug fixing notification. Mean while, I will try to refactor my css with your link.
Hi Awais,
I must get back to this problem since we are going to meet the deadline soon. Can I get some update about these current issue ? Do we need to purchase a new license for latest release (include these bug fix) or these issues will be included in some patch of my current version word 13.1-jdk16
Thank you and Best regards
Tam Nguyen Minh
Hi Tam,
The issues you have found earlier (filed as WORDSNET-8825) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.
Hi, is there a plan to fix WORDSNET-8826? It has been over a year now.
The issues you have found earlier (filed as WORDSNET-8826) have been fixed in this .NET update and this Java update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.