StylePanel options are not correctly preserved

Hi,
Aspose Words (v22.4) does not correctly preserve the StylePanel options when you simply open and save a docx.

Wrong behavior:

  • if only w:directFormattingOnRuns was enabled, it will be lost.
  • if only w:directFormattingOnParagraphs was enabled, w:directFormattingOnRuns will also be enabled.

I have attached a maven/Junit project do demonstrate the issues:
StylePanelTest.zip (21.1 KB)

Best regards,

Romain

@flammang Thank you for reporting this problem to us. It has been logged as WORDSNET-23803. We will keep you informed and let you know once it is resolved or we have more information for you.

The issues you have found earlier (filed as WORDSNET-23803) have been fixed in this Aspose.Words for Java 22.6 update.