Felix E. Klee wrote:

How do I set the filename (URL) of a newly created, unnamed document?

I know that one can set the title using

  DocumentInfo.Title

but I could find no property for the filename in the service DocumentInfo. Also, looking through the reference documentation, I didn't find anything appropriate.

The filename is not set until the document is stored on disk. In other words, you can not give it a file name until you save it to disk. The property is read only. use StoreAsURL(...) to do this.

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


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

Reply via email to