set_title - Set the title of a document using a content element
Sample script reading the title of an OpenOffice.org Writer document and, if empty, use the text of the first header of the document content as the title (or put an arbitrary string if there is no header in the document). Probably not an inspired idea in real life, but it's just a demo.
usage : set_title filename
To install OpenOffice::OODoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenOffice::OODoc
CPAN shell
perl -MCPAN -e shell install OpenOffice::OODoc
For more information on module installation, please visit the detailed CPAN module installation guide.