-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathodt2txt.1
71 lines (71 loc) · 2.27 KB
/
odt2txt.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.TH ODT2TXT "1" "2008-06-23" "odt2txt 0.5" "User Commands"
.SH NAME
odt2txt \- a simple converter from OpenDocument Text to plain text
.SH SYNOPSIS
.B odt2txt
[OPTIONS] FILENAME
.SH DESCRIPTION
odt2txt is a command-line tool which extracts the text out of
OpenDocument Texts, as produced by OpenOffice.org, KOffice,
StarOffice and others.
.PP
odt2txt can also extract text from some file formats similar to
OpenDocument Text, such as OpenOffice.org XML (*.sxw), which was
used by OpenOffice.org version 1.x and older StarOffice versions.
To a lesser extent, odt2txt may be useful to extract content from
OpenDocument spreadsheets (*.ods) and OpenDocument presentations
(*.odp).
.PP
The FILENAME argument is mandatory.
.SH OPTIONS
.TP
\fB\-\-width\fR=\fIWIDTH\fR
Wrap text lines after \fIWIDTH\fR characters. The default value is
\fI65\fR, which means that any words which would extend beyond
column \fI65\fR are moved to a new line.
.IP
If \fIWIDTH\fR is set to \fI\-1\fR then no lines will be broken
.TP
\fB\-\-output\fR=\fIFILE\fR
Write output to \fIFILE\fR and not to standard output.
.TP
\fB\-\-subst\fR=\fISUBST\fR
Select which non\-ascii characters shall be replaced by ascii
look\-a\-likes. Valid values for \fISUBST\fR are \fIall\fR,
\fIsome\fR and \fInone\fR.
.IP
\fB\-\-subst\fR=\fIall\fR
Substitute all characters for which substitutions are known
.IP
\fB\-\-subst\fR=\fIsome\fR
Substitute all characters which the output charset does not contain
This is the default
.IP
\fB\-\-subst\fR=\fInone\fR
Substitute no characters
.TP
\fB\-\-encoding\fR=\fIX\fR
Do not try to autodetect the terminal encoding, but convert the
document to encoding \fIX\fR unconditionally To find out, which terminal
encoding will be used in automatic mode, use
\fB\-\-encoding\fR=\fIshow\fR
.TP
\fB\-\-raw\fR
Print raw XML
.TP
\fB\-\-raw-input\fR
Input file is a raw XML (fodt, fods, ...)
.TP
\fB\-\-version\fR
Show version and copyright information
.SH COPYRIGHT
Copyright \(co 2006,2007 Dennis Stosberg <[email protected]>
.br
Uses parts of the kunzip library, Copyright 2005,2006 by Michael Kohn
.PP
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License,
version 2 as published by the Free Software Foundation
.SH SEE ALSO
.TP
https://github.com/dstosberg/odt2txt