Hi,

> 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.

The Controller (ThisComponent.currentController) of the document has a
property "ViewSettings" (a com.sun.star.text.ViewSettings service)
which provides access to a lot of these "show*"-Options (e.g.
"ShowHiddenParagraphs").

there is also one option called "ShowHiddenText", but this option
corresponds to "Tools->Options/Writer/FormattingAids/(show)Textfields:
HiddenText" and not to "(show) Hidden Characters".

So I would expect an option like "ShowHiddenCharacters", in the
ViewSettings, but there is no such option. I can remember that the
support of HiddenCharacters is a feature that is much younger than
other features in ViewSettings. So could it be that the current
implementation of a "ShowHiddenCharacters" option (somewhere else) is
not conform the idea of ViewSettings?

Any Ideas where else such an option could be found? Is it possible
that the current implementation of the Controller doen't provide an
API access to the searched option/property "ShowHiddenCharacter"?

regards,
Christoph

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

Reply via email to