ODF_SET_FIELDS(1p)
π NAME π
odf_set_fields β bestie, this one sets the names and values for your user-defined fields. That's it, that's the whole job, and it does it slayfully β¨
πΈ USAGE πΈ
odf_set_fields <filename> -options
yeah it's literally that simple, no cap π
π¦ SYNOPSIS π¦
okay so picture this: it's a sample script, and what it does is it goes in and updates or creates 4 user-defined fields in your ODF file, and on top of that it adds brand new keywords. Existing keywords? Preserved, bestie, we don't touch them π
but the old user-defined fields β both their names and their values? deleted and replaced. gone. replaced. no takebacks π
and then the revision number of the document gets incremented by 1. one (1) single increment. iconic behaviour fr fr π
also important: the keywords have to be passed as a comma-separated list through the -keywords option. that's the rule, periodt.
the user-defined fields/options, aka the whole main character lineup, are:
-contact-organization-status-diffusion
π Examples π
these are the moments, the way that these exist:
odf_set_fields foo.odt -contact "Donald Duck" -organization "Genicorp"
odf_set_fields foo.odt -status "Complete" -keywords "software, office"
look at that second one β "software, office" β comma-separated, just like we said π«Ά
and that's the whole page, no filler, no fluff, just vibes and correct Unix usage. This one's a 1p page β the User Contributed Perl Documentation corner of the world π β and it came to you from perl v5.34.0, dated 2022-06-16. mwah, go forth and set those fields π
β¨πΈ
π¦ where this page comes from
- debian bookworm: libopenoffice-oodoc-perl 2.125-4 Β· LGPL-2.1-only
- debian trixie: libopenoffice-oodoc-perl 2.125-4 Β· LGPL-2.1-only
- ubuntu noble: libopenoffice-oodoc-perl 2.125-4 Β· LGPL-2.1-only
- ubuntu questing: libopenoffice-oodoc-perl 2.125-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms