#3443 NORM Untriag: Create bindings to use libabiword for file conversion
Zarro Boogs per Child
bugtracker at laptop.org
Fri Sep 14 08:31:48 EDT 2007
#3443: Create bindings to use libabiword for file conversion
---------------------------------------+------------------------------------
Reporter: uwog | Owner: uwog
Type: defect | Status: new
Priority: normal | Milestone: Untriaged
Component: write-activity (abiword) | Version:
Resolution: | Keywords:
Verified: 0 |
---------------------------------------+------------------------------------
Comment(by uwog):
Please don't start the whole of AbiWord for piping in and out data every
time. The fixed cost of the setup and teardown are way too high (even
while AbiWord is quite fast).
If you don't want in-process stuff (which is a good choice), then _please_
use something like AbiCommand. AbiCommand is an abiword plugin that allows
running AbiWord as a daemon. Example:
abiword --plugin AbiCommand
This will open an AbiWord "shell" you can pipe data to and from. Type
"help" for details. To convert a .doc to .txt, one could give it the
command:
convert foo.doc foo.txt txt
(Note: please don't use converttotext, that's deprecated in favor of
"convert").
--
Ticket URL: <https://dev.laptop.org/ticket/3443#comment:2>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list