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 :

<html>
    <body>
        <p style="color: rgb(208, 52, 52);">
           text content
        </p>
     </body>
</html>

java:

public static void main (String args[]) throws Exception
{
    Document doc = new Document("color.html");
    doc.save("color.doc",SaveFormat.DOC);
}

Please do help me .

Regards,
Anbu Chezhian.S

Hi Anbu,

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 <span>, <i>, <b> or <u> element, formatting of paragraph – in <p> or <h1><h6> 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.

Regards,
Anbu Chezhian.S

Hi Anbu,

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.
(1)