Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Mon, Jan 31, 2011 at 8:53 PM, Steven Butler <sebutler@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@softcatala.org>
Document Foundation founding member
Skype: jcorrius | Twitter: @jcorrius

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.