DOKK / manpages / debian 12 / libopenoffice-oodoc-perl / odf_set_title.1p.en
ODF_SET_TITLE(1p) User Contributed Perl Documentation ODF_SET_TITLE(1p)

odf_set_title - Set the title of a document using the first heading of the content

odf_set_title <filename> <new title>

This sample script outputs the current title of an ODF file, then it replaces it using a command line argument as the new title. If the command line doesn't provide a new title, then the program uses the first heading text in the document body. If the document doesn't contain any heading element, nothing is changed.

2022-06-16 perl v5.34.0