Jean-Marie Gouarné > OpenOffice-OODoc-2.108 > odf_set_fields

Download:
OpenOffice-OODoc-2.108.tar.gz

Annotate this POD

CPAN RT

Open  2
View Bugs
Report a bug
Source  

NAME ^

odf_set_fields - Set names & values for user-defined fields

USAGE ^

odf_set_fields <filename> -options

SYNOPSIS ^

Sample script updating or creating the 4 first user-defined fields of an ODF file and adding new keywords. Existing keywords are preserved. Old user-defined fields names and values are deleted and replaced.

The keywords must be passed as a comma-separated list through the -keywords option.

The user-defined fields/options are : -contact -organization -status -diffusion

Examples:

odf_set_fields foo.odt -contact "Donald Duck" -organization "Genicorp"

odf_set_fields foo.odt -status "Complete" -keywords "software, office"