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

Free Support Forum - aspose.com

More issues with setting font colors

We’re having more issues with setting the font color on everything in the document to black. Please see the attached file for an example.

Hi Linda,

Thanks for your inquiry. Please use the following modified visitParagraphEnd method in your code. Hope this helps you. Please let us know if you have any more queries.

public int visitParagraphEnd(Paragraph paragraph) throws Exception {
    if (paragraph.isListItem())
    return VisitorAction.CONTINUE;

Thanks Tahir. That did the trick.

Hi Linda,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.