|
|
楼主 |
发表于 2014-6-8 11:18:12
|
显示全部楼层
wvWare,AbiWord: Way to process doc or docx online
wv is a library which allows access to Microsoft Word files. It can load and parse Word 2000,97, 95 and 6 file formats. (These are the file formats known internally as Word 9, 8, 7 and 6.)There is some support for reading earlier formats as well: Word 2 docs are converted to plaintext.
AbiWord is a more actively maintained product with a much larger and more robust feature set, including supporting many more output file formats than wvWare does. Its output has a much higher degree of fidelity (both visually and semantically) to the original Microsoft Word document.
wvWare is a"power-user" application with lots of command-line options, doo-dads, bells, and whistles. Lessinteresting, but more convenient, are the helper scripts that use wvWare. These are:- wvHtml: convert your Word document into HTML4.0. Use "AbiWord --to=html" instead.
- wvLatex: convert your Word document into visually (pretty) correct LaTeX. Use "AbiWord --to=tex" instead.
- wvCleanLatex: convert into 'cleaner' LaTeX containing less visual mark-up, more suitable for further use and LyX import. Work in progress. Use "AbiWord --to=tex" instead.
- wvSummary prints out metadata from your Microsoft Office documents. Not deprecated; actually useful.
- wvDVI: converts word to DVI. Requires 'latex'. "AbiWord --to=tex" will get you halfway there.
- wvPS: converts word to PostScript. Requires 'dvips'. Use "AbiWord --print=file.ps" instead.
- wvPDF: converts word to Adobe PDF. Use "AbiWord --to=pdf" or "AbiWord --print=file.ps && ps2pdf file.ps" instead.
- wvText: converts word to plain text. Textually correct output requires 'lynx.' For poor output, this doesn't require anything special. Use "AbiWord --to=txt" instead.
- wvAbw: converts word to Abiword format. Use "AbiWord --to=abw" instead.
- wvWml: converts word to WML for viewing on portable devices like WebPhones and Palm Pilots. Use "AbiWord --to=wml" instead.
- wvRtf: a basic version exists to convert DOC to RTF. Use "AbiWord --to=rtf" instead.
- wvMime: can be plugged as a MIME helper application into your browser/mail client; presents the document on-screen inside GhostView, while all intermediate files generated go into the /tmp directory.
|
|