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

Free Support Forum - aspose.com

Stylesheet problem when saving as .DOC-File

Dear Aspose-Team,

look at the test.doc document at the attachments. In the stylesheets we only have two stylesheets customized (default and Test kph). After saving this document with Aspose.Words for Java Version 16.6 we have more than the two stylesheets again. Is this a bug or can we supress this anyway?

We use this code for testing:

public class TestAspose
    public static void main(String[] args)
            new License().setLicense("C:/Aspose.Words.lic");
            new Document("C:/test.doc").save("C:/test-saved.doc");
        catch (Exception ex)

Kind regards,

Hi Jochen,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 17.2.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. The ID of this issue is WORDSNET-14985. Your thread has also been linked to the appropriate issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-14985) have been fixed in this Aspose.Words for .NET 17.4 update and this Aspose.Words for Java 17.4 update.

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