Robert Vojta wrote: > Mathias Bauer píše v Út 10. 05. 2005 v 19:04 +0200: > >> You should be more clear: do they get opened readonly *always*? >> If yes: it could be a problem in OOo. >> If no (means: only sometimes): I'm a little bit clueless. > > I was writing similiar macro in the Basic (m97, m100, ...) and have no > problems at all. Each document was opened in r/w mode (user/pass ftp) > and saved correctly to the same place.
That lets me think that our ftp content provider supports a "readonly" property for its content, maybe the server of Matthew tells that the files are readonly and yours doesn't? But I have to check this. >> You don't need any special extension for this, OOo recognizes its own >> file types anyway. If you open an OOo file from the OOo file dialog it >> will be loaded correctly regardless which extension it has. Extensions >> are only a crutch for the Windows desktop. > > Yes, but from time to time the OO.o doesn't recognize other formats > (like CSV) and you should force the Filter. You can do this with > property "FilterName" and the correct filter name. But this is not the > OpenDocument format case. This is something different. There is nothing like a "CSV" format, this is just a different interpretation of another format (simple text). It's impossible to detect a "CSV" format safely - it works in simple cases, but not in general (theoretically every text could be interpreted as a "CSV" with one column). OTOH detection of HTML or XML formats (though they are text files also) works nicely so you don't need a predefined filter name for them. And of course OOo *always* detects its own formats (if the file isn't broken), so you never need extensions or preselected filters for them. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
