1ODT2TXT(1) User Commands ODT2TXT(1)
2
3
4
6 odt2txt - a simple converter from OpenDocument Text to plain text
7
9 odt2txt [OPTIONS] FILENAME
10
12 odt2txt is a command-line tool which extracts the text out of OpenDocu‐
13 ment Texts, as produced by OpenOffice.org, KOffice, StarOffice and oth‐
14 ers.
15
16 odt2txt can also extract text from some file formats similar to Open‐
17 Document Text, such as OpenOffice.org XML (*.sxw), which was used by
18 OpenOffice.org version 1.x and older StarOffice versions. To a lesser
19 extent, odt2txt may be useful to extract content from OpenDocument
20 spreadsheets (*.ods) and OpenDocument presentations (*.odp).
21
22 The FILENAME argument is mandatory.
23
25 --width=WIDTH
26 Wrap text lines after WIDTH characters. The default value is 65,
27 which means that any words which would extend beyond column 65
28 are moved to a new line.
29
30 If WIDTH is set to -1 then no lines will be broken
31
32 --output=FILE
33 Write output to FILE and not to standard output.
34
35 --subst=SUBST
36 Select which non-ascii characters shall be replaced by ascii
37 look-a-likes. Valid values for SUBST are all, some and none.
38
39 --subst=all Substitute all characters for which substitutions
40 are known
41
42 --subst=some Substitute all characters which the output charset
43 does not contain This is the default
44
45 --subst=none Substitute no characters
46
47 --encoding=X
48 Do not try to autodetect the terminal encoding, but convert the
49 document to encoding X unconditionally To find out, which termi‐
50 nal encoding will be used in automatic mode, use --encoding=show
51
52 --raw Print raw XML
53
54 --version
55 Show version and copyright information
56
58 Copyright © 2006,2007 Dennis Stosberg <dennis@stosberg.net>
59 Uses parts of the kunzip library, Copyright 2005,2006 by Michael Kohn
60
61 This program is free software; you can redistribute it and/or modify it
62 under the terms of the GNU General Public License, version 2 as pub‐
63 lished by the Free Software Foundation
64
66 https://github.com/dstosberg/odt2txt
67
68
69
70odt2txt 0.5 2008-06-23 ODT2TXT(1)