Tobias Krais wrote: > Hi Mathias, > >> Thinking a bit more: you want to suppress this dialog even if the saving >> is done from the UI? Then the additional parameter won't help. I don't >> see a good fix for that. > > Yes, I would like to... I would like to pass this PropertyValue to the > document I open via API. When Saving via API or UI, the warning dialog > should be supressed.
So my suggestion was wrong - that can't be handled by MediaDescriptor as these special properties are not meant to be stored longer than the current action (loading or saving). > >> OTOH if you are saving via API and see the dialog it is a bug and we >> don't need an additional parameter - just fix the bug. But does it >> happen by saving via API? > > This message does not appear when saving via API. OK, that was my misunderstanding. Sorry for the noise. I don't see a good solution here. An exception would be to have a configuration which file formats should trigger a warning and which shouldn't. But IMHO that switching the warning off completely is wrong - the warning has a reason: showing the user that data loss might happen. You can make sxw the standard format - then you will get the warning once when you select the standard format, but not at every save. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
