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

Free Support Forum - aspose.com

Limit formatting to permitted styles not preserved

Hi Support,

I have checked ‘Limit formatting to permitted styles’ in Word styles.

But after saving the template with Aspose.Words it is not preserved.

I use Version 15.5.0.0.

Code:

wordlic.SetLicense(“Aspose.Total.lic”);


// open source document.

Document doc = new Document(“Doc1.dotx”);

doc.Save(“Doc1 output.dotx”, Aspose.Words.SaveFormat.Dotx);

Unfortunately is not allowed to upload a dotx-file.

I have uploaded a document from dotx.

Kind regards,

guido

Hi Guido,

Thanks for your inquiry. I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-12056. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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


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

Dear,


can I check this setting via code ?

How can I disable or enable this function ?

Kind regards,

Hristo
Hi Hristo,

Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we have logged this feature request as WORDSNET-12593 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.