Hi Matthias,

Are you sure that it doesn't affect even new documents you create later?
 Then it would be a bug (Writer having a cached value that doesn't react
on changes of the configuration) and you should create an issue.

I checked this and it is a bug --> #71235

If it only doesn't affect the current (or other already opened)
documents the reason is that this is a document setting that is read
from the configuration and set when the document is created. This
happens with quite a lot of view settings in Writer. If you switch it on
in the GUI it will be applied to both the configuration (that's what you
did in your macro) *and* the view settings of the current document

thanks for the explanation. This helpes to understand the behaviour!

I don't know the API to change the corresponding setting at the
document, sorry. Perhaps somebody else does.

I will try to find how to change the view setting, but I still would
be glad if somebody else could give me a hint.

thangs and best regards,
Christoph

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to