Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-07 Thread Mathias Bauer
Niklas Nebel wrote: Mathias Bauer wrote: 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. One may call it a bug, but it's not

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Christoph Lutz
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

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Niklas Nebel
Mathias Bauer wrote: 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. One may call it a bug, but it's not surprising. When the old

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Christoph Lutz
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

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Frank Meies
Hi Christoph, On 11/06/06 10:44, Christoph Lutz wrote: 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. viewsetting = thiscomponent.getCurrentController().getViewSettings() gives you the view settings. There is a

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Peter Eberlein
Hi Christoph, Christoph Lutz schrieb: Hi, 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

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Peter Eberlein
Peter Eberlein schrieb: Hi Christoph, There are some single properties, e.g. ShowBreaks, ShowParaBreaks, ShowSpaces you can turn on or off. There is no one for all property. Sorry, misunderstood, Frank has answered it yet. Peter

Re: [dev] changing the OOo-Configuration via API has no effect during runtime

2006-11-06 Thread Christoph Lutz
Hi Frank, Hi Peter, thanks for your answers! 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. viewsetting = thiscomponent.getCurrentController().getViewSettings() gives you the view settings. There is a ShowHiddenParagraphs