On Mon, Jan 31, 2011 at 8:53 PM, Steven Butler <sebut...@gmail.com> wrote:
>> Does the existing indexing code use LibreOffice libraries? In that case it 
>> is best to keep it as a separate program which is always installed, and just 
>> have the custom action run it as a separate process (after putting the 
>> required directories into PATH so that the libraries the indexing program 
>> needs will be found).
>
> I can answer this quickly.  The index code is now in git in
> dictionaries/source/idxdict.cpp.  It is very simple and uses only STL
> and libstdc++ (in my recollection).  It currently expects the
> dictionary to come in on stdin, but this is easy to change to use two
> arguments and open its own input file if need be.
>
> Would it be simpler to ship the idxdict utility in the installer and
> run it from a cmd window (visually unappealing but I've seen similar
> on windows) :)

We can always hide the cmd window, it's easy ;)

-- 
Jesús Corrius <je...@softcatala.org>
Document Foundation founding member
Skype: jcorrius | Twitter: @jcorrius
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to