On Wed, 2008-05-21 at 15:45 +0200, Mikhail Voitenko wrote: > Hi Kohei, > > The suggested solution is easy, but it is a hack.
Ah ok. :-P > There is no guarantee > that it will work in future, since the item might be lost during the > conversion to MediaDescriptor representation. I see. So I'll need to add more code to correctly convert this information during the conversion, I guess. > At which moment of time ( which part of storing process ) do you need to > get the information that it is SaveAs or Save action? I need this information in Calc's Excel binary exporter code, which is still implemented as a conventional non-UNO filter. So, I need it after the code path reaches past the ScDocShell::ConvertTo() call in the sc module. Whether the action is Save or SaveAs determines whether I should use the password stored in the medium itself (the one the user typed in the dialog), or the password stored in Calc's document model (the original password used to decrypt the document in the first place). Kohei --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
