We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Colored Text is not working after html to doc conversion -Why?

Hi ,
Am using Aspose.words.java. I converted html ( containing text with different colors ) into document . I could not get colored text in Document…Why ?

html :

text content

public static void main (String args[]) throws Exception
Document doc = new Document(“color.html”);

Please do help me .

Anbu Chezhian.S

Hi Anbu,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. The problem occurs because, currently, Aspose.Words does not support inheriting styles from parent elements.

Currently, Aspose.Words expects that font formatting is set in element, formatting of paragraph – in


elements etc…

I linked your request to the appropriate issue, you will be notified as soon as it is resolved.

Best regards.

Hi Alexey ,

Has the above problem reported by me fixed ?
If not , when can i expect your fix ? I am facing
lot of problems in formatting ,if < p > contains any styles.

so please do the needful help to solve these
problem as early as possible.

Anbu Chezhian.S

Hi Anbu,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Unfortunately, the issue is still unresolved and currently I cannot provide you any reliable estimate regarding this issue. You will be notified as soon as it is fixed.

Best regards,

The issues you have found earlier (filed as WORDSNET-2021) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.