OpenOffice-OODoc - Re: Simple question on generating a filename or title for an OOo document

Posted on Fri Nov 17 13:18:36 2006 by jmgdoc in response to 3566 (See the whole thread of 4)
Re: Simple question on generating a filename or title for an OOo document
In order to set the title of an already open document connector, we must get a metadata connector then the title() method, like that:
my $document = ooDocument(file => ...); #... my $meta = ooMeta(file => $document); $meta->title("My title"); #... $document->save("target_file.odt");
Direct Responses: 3574 | Write a response