From: msevior_at_physics.unimelb.edu.au
Date: Fri Dec 12 2003 - 10:08:28 EST
> Just out of curiousity, why do we need this, since we
> already have:
>
> AbiWord --to=format file.doc?
>
Hi Dom,
Two reasons.
So we don't have the overhead of restarting Abiword while feeding 1000's
of docs to it.
Secondly apparently mono sucks at handling shell commands.
Overall running AbiWord as a server is a much faster solution for bulk
processing of many documents.
I told the dashboard people about the --to=format commandline option and
they asked me to turn abiword into a lib. I thought running abiword as a
server was a better option and much easier to implement.
Cheers
Martin
> Thanks,
> Dom
>
> --- msevior_at_physics.unimelb.edu.au wrote:
>> > En/na msevior_at_physics.unimelb.edu.au ha escrit:
>> >
>> >> CVS:
>> >>
>>
> ----------------------------------------------------------------------
>> >> CVS: Enter Log. Lines beginning with `CVS:' are
>> removed automatically
>> >> CVS:
>> >> CVS: Committing in .
>> >> CVS:
>> >> CVS: Modified Files:
>> >> CVS: xp/AbiCommand.cpp
>> >> CVS:
>> >>
>>
> ----------------------------------------------------------------------
>> >> New abicommand feature - converttotext.
>> >>
>> >> Usage from within AbiCommand:
>> >>
>> >> converttotext source dest
>> >>
>> >> Converts the word processor file <source> and
>> converts to the plain text
>> >> file
>> >> <dest>
>> >> If <dest> is ommitted the destination file is
>> source.txt
>> >>
>> >> This is useful for indexing a users documents.
>> Now we just need some
>> >> clever IPC code to feed
>> >> AbiWord-2.2 --plugin AbiCommand
>> >>
>> >> whatever file needs indexing.
>> >>
>> >> Over to you nadav!
>> >>
>> >> Cheers
>> >
>> > Do we need something special to make this work on
>> non-unix platforms or is
>> > complete XP code?
>> >
>> Hi Jordi,
>>
>> The AbiCommand plugin needs UnixNullGraphics which
>> is Unix only. I *think*
>> it might be possible to make it XP but at the time I
>> wrote the code, there
>> wasn't much interest in a command-line interface to
>> AbiWord outside Unix.
>> (and not much within the Unix users either...)
>>
>> It would be trivial to add another command line
>> option to convert to any
>> of the formats we can write to.
>>
>> With a bit of unix pipe magic we turn AbiWord into a
>> server to transmute
>> documents from any to any of our formats. We do
>> this using Dom's ultra
>> cool AP_Convert class and never have to build the
>> layouts. With our speedy
>> new piecetable methods, this is also very fast. This
>> has many uses, the
>> one being persued by nadav, me and the dashboard
>> project is to index all a
>> users documents based on content. A personal google
>> for your desktop :-)
>>
>> > BTW, I finally fill up three bug reports with
>> diferents documents that
>> > make
>> > Abi crash badly. I have more of those, but I want
>> to wait until you guys
>> > fix
>> > these three.
>> >
>>
>> I saw them thanks! I'll do a deal with you.
>> Fix Windows HEAD so
>> we can release 2.1.0 and I'll spend some time seeing
>> why the docs
>> crash :-)
>>
>> Cheers
>>
>> Martin
>>
>
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 10:07:41 EST