text2ooo - Text to OpenOffice.org (SXW) conversion
cat sourcefile.txt | text2oo targetfile.sxw
This filter creates an OpenOffice.org Writer (SXW) file and fills it with the text coming through its standard entry. The target file is created, and any existing file with the same name is replaced. To avoid this behaviour and append the text to an existing OOo file, just remove the create => 'text' option in the script.
To install OpenOffice::OODoc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenOffice::OODoc
CPAN shell
perl -MCPAN -e shell install OpenOffice::OODoc
For more information on module installation, please visit the detailed CPAN module installation guide.