ODFBUILD(1)
π ODFBUILD β the OpenDocument file creation utility, bestie edition β¨
okay so picture this: it's a User Contributed Perl Documentation page (yes, that's the manual family, we love a humble queen), and it's about odfbuild β which literally just makes OpenDocument files for you. no cap. you give it a filename, it gives you a whole document. it's giving assistant energy and we're obsessed π
β¨ NAME β¨
odfbuild β the OpenDocument file creation utility π
πΈ SYNOPSIS πΈ
odfbuild filename.odt
odfbuild filename.odt --title "My Document" --subject "Test"
odfbuild filename.ods --class spreadsheet --source "data.csv"
--tablesize "8x16"
cat data.txt | odfbuild filename.odt -
see how the last one pipes stdin straight in with that little -? iconic. π«Ά
π OPTIONS π
--classβ what kind of document are we making, bestie. the choices aretext,spreadsheet,drawing,presentation. default:text. (text is the main character, obviously π)--opendocumentβ takes no value. if this is on, the document will be in OpenDocument format. if you don't turn it on, the format gets picked according to the general configuration of your OpenOffice::OODoc installation. so like, it's not deciding, the config is deciding. iykyk π--creatorβ the author of the document. default: the current user's login name. so it just claims you wrote it. slay β¨--dateβ creation date. default is current local time. if you do provide it, it must be in ISO-8601 format, and the format isYYYY-MM-DDTHH:MM:SS. no vibes-based date formats, okay? β--descriptionβ the description (abstract) of the document. default: none. give your doc a little blurb, it deserves one π¦--forceβ takes no value. if this is on, any existing file with the same path as the target file gets replaced. without it, the program will fail if the target already exists. so like... it will not overwrite unless you explicitly say so. respect the boundaries, honestly π--generatorβ the software signature stored in the file (not visible to the end user, so it's a secret little signature, very mysterious of it π). default:"Genicorp OpenOffice::OODoc <version>"--keywordsβ a list of comma-separated keywords. default: none. tag it like a tumblr post π₯--sourceβ a text file used as the content of the document. and the behaviour depends, so let me break it down:- if the document class is
text, each line is loaded as a new paragraph with the standard style. - if the document class is
spreadsheet, the file is processed as CSV data and loaded in one sheet. - if the document class is neither
textnorspreadsheet, the file is not processed. at all. it just sits there π - if
source=-, or if a-argument is provided, the data file is read through the standard input. pipeline girlies stay winning π§
- if the document class is
--subjectβ the subject of the document. default: none. πΈ--tablenameβ the name of the sheet to be created if the document class isspreadsheetand if a data file is provided. default: the name of the data file, or"Unnamed Sheet"if the data is read from the standard input. (unnamed sheet said no name, no problem π)--tablesizeβ the size of the sheet to be created if the document class isspreadsheetand if a data file is provided, in'HxW'format whereHis the number of lines andWis the number of columns. default:'16x8'. watch the order, it's H then W β height girlies first π--titleβ the title of the document. default:"Untitled". (untitled is such a mood but like, name your art π)--readable_XMLβ takes no value. for debugging only. if this is on, the XML content of the target file is indented, so you can go in and edit it later. it's the "make it readable" button and it's lowkey so useful π¦
real talk:--forcegenuinely replaces existing files, and--readable_XMLis debugging only β don't be out here shipping debug output to your boss, bestie π
π«Ά the sign-off π«Ά
this page is from perl v5.42.3, dated 2010-07-12, and it's the ODFBUILD(1) manual β so like, it's been serving this information for a minute and honestly? still ate. go make some documents. periodt. ππβ¨
π¦ where this page comes from
- nixos 26.05: perl5.42.3-OpenOffice-OODoc 2.125
- nixpkgs unstable: perl5.42.3-OpenOffice-OODoc 2.125
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms