File: _antiword

package info (click to toggle)
zsh-beta 4.3.6-dev-0%2B20080723-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 14,752 kB
  • ctags: 7,403
  • sloc: ansic: 90,889; sh: 5,568; makefile: 836; perl: 745; awk: 381; sed: 16
file content (23 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#compdef antiword

# Version: 0.36.1  (09 Dec 2004)

local papersizes

papersizes=( 10x14 a3 a4 a5 b4 b5 executive folio legal letter note quarto statement tabloid )

_arguments -s -S \
  '(         -w    -f -p -t -x)-a+[Adobe PDF output]:paper size:(${papersizes[@]})' \
  '(-i -L       -a    -p -t -x)-f[formatted text output]' \
  '(         -w -a -f    -t -x)-p+[PostScript output]:paper size:(${papersizes[@]})' \
  '(-i -L       -a -f -p    -x)-t[text output (default)]' \
  '(-i -L -m -w -a -f -p -t   )-x+[XML output]:DTD:(db)' \
  '(-x)-m+[character mapping file]:mapping file:_files' \
  '(-i -L -a -p -x)-w+[width in characters of text output]:line width:' \
  '(-w -f -t -x)-i+[image level (PostScript only)]:image level:((0\:use\ non\ standard\ extensions\ from\ Ghostscript 1\:show\ no\ images 2\:PostScript\ level\ 2\ compatible 3\:PostScript\ level\ 3\ compatible))' \
  '(-w -f -t -x)-L[use landscape mode (PostScript only)]' \
  '-s[show hidden (by Word) text]' \
  '(- *)-h[display help information]' \
  '*:MS Word file:_files -g "*.doc(-.)"' && return

return 1