Hi,
I wonder how I can get the "name" of my document
with OOo Basic.
The "name" is what one can see in the title bar of
the application
window. It also is the string OOo would deliver to the
printer
driver as the name of the document to print. This
"name" does not
equal the file name, and it does not equal any of the
document
properties found in the File|Properties... dialoque.
If the document has already been saved the "name"
equals the file
name without the extension. For example, if the document has
been
saved as test123.odt, the "name" is: test123
In this case I can extract the "name" from the URL
property of
thisComponent. Okay so far.
But if the document has not been saved yet, it has a
"name" like
Untitled1, Untitled2 or Untitled3. How can I get this
"name"?
TIA for any help!
Stefan
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|