ODFUSERFIELD(1)
π NAME π
okay so bestie, welcome to the odfuserfield(1) page β this is the manual for odfuserfield, and its whole thing is list or change the user-field declarations in an ODF file. iconic behavior, honestly. π
πΈ SYNOPSIS πΈ
odfuserfield [-l] [-L] [-x field...] [-X field...] [-s field:value...]
[-o path] path
β¨ DESCRIPTION β¨
so Odfuserfield is a program that will list or change the user variable declarations in an OpenDocument file. periodt. π«Ά
there are, like, two kinds of variables in OpenDocument:
- Simple variables can take different values at different positions, throughout a document.
- User variables have the same value throughout a document.
and because user variables are global like that β the original says βdue to the latterΒ΄s global natureβ β it is safe to change them with an external application. no cap. π₯
use odfuserfield to fill out form letters before printing or giving to the user. thatβs the whole vibe. π
βPathβ is assumed to be an OpenDocument file of text, spreadsheet or presentation type. so like, text docs, spreadsheets, presentations β those are the accepted main-character file types here. π
π OPTIONS π
-lβ List (extract) all known user-fields. simple, clean, slay. β¨-Lβ List (extract) all known user-fields with type and value. okay, now weβre getting the full tea. π-x fieldβ Extract the contents of this field from the file.-X fieldβ Same as-x, but also preserves/includes the field name and type. so you get the name AND the type AND the content β generous. π-s field:valueβ Set the value of an existing user field. The field type will be the same. no changing the type, bestie, just the value. π-o pathβ Filename to write modified ODT file to. If no-ooption is provided, the ODT file will be written to stdout. so like, pipe it or redirect it if you donβt give it a home. π
π EXAMPLE π
bestie, hereβs the example, literally right here:
odfuserfield -L odf-file
thatβs it. thatβs the moment. π
π¦ SEE ALSO π¦
go check out formail(1) and id3tag(1) too β the manual said so, and we listen. π«Ά
π§ TODO π§
Implement formulas. See OpenDocument v1.0 specification section 6.3.5. This requires a different syntax for -s arguments.
so yeah, formulas are not implemented yet, and the -s syntax would need to change for that. noted. π
π AUTHORS π
- SΓΈren Roug β Original author
- Michael Howitz β
gocept gmbh & co. kgβ Refactoring
and thatβs the page, bestie: source/version odfpy, dated 03/15/2009, and yes β itβs the ODFUSERFIELD(1) manual. mwah. ππ
π¦ where this page comes from
- opensuse-leap 16.0: python313-odfpy 1.4.2-bp160.1.11 Β· Apache-2.0 OR GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms