[Libreoffice] building index at Win32 install time ...
Jesús Corrius
jesus at softcatala.org
Mon Jan 31 11:54:48 PST 2011
On Mon, Jan 31, 2011 at 8:53 PM, Steven Butler <sebutler at 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 <jesus at softcatala.org>
Document Foundation founding member
Skype: jcorrius | Twitter: @jcorrius
More information about the LibreOffice
mailing list