Hi Uwe and Andras,
I think there is a small misunderstanding. Andreas has a patch to modify
helpcontent2 source file while Uwe is speaking about the StarOffice
Product Patch mechanism.
The hid.lst lists in the helpcontent2 module needs to be updated. The
current hid.lst is created during the build in the instset_native
module. There is ( must be? ) some sort of magic scripting that Frank
Peters use to update the various hid.lst list in the helpcontent2
project from that fresh created hid.lst . The bad thing is that Frank is
on vacation till next tuesday and here nobody ( me , Gregor and
apparently Uwe also ) has a clue how or what script Frank use . The
whole process looks a bit broken to me, someone should fix that as
everything needed is already in the buildenvironment execpt those magic
script.
Please see the definition of the term "Truck Factor" in context of
software projects:
http://www.agileadvice.com/archives/2005/05/truck_factor.html
Cheers,
Ivo
Uwe Fischer wrote:
Hi Andras,
Andras Timar wrote On 03/04/06 23:18,:
Hi Uwe,
Thanks for your answer.
Uwe Fischer írta:
as far as I know, the online help currently cannot be patched in this
way. Online Help is built from the xhp source files as part of the
general OOo build process. Several index files are created by the tools
to get a working online help. You can find some information on
http://documentation.openoffice.org/online_help/index.html
I patched the source (helpcontent2/source/text/scalc/01/12030200.xhp)
and rebuilt the helpcontent2 module. Please find my patch in my original
post. I would like to solve this at the source level of course.
I did the following:
The patch in issue #26565 added a new checkbox to the Sort - Options
dialog tab (RID_SCPAGE_SORT_OPTIONS). This new checkbox was the "Enable
natural sort" option (BTN_NATURALSORT). Therefore I added a paragraph to
helpcontent2/source/text/scalc/01/12030200.xhp with an <ahelp
hid="SC:CHECKBOX:RID_SCPAGE_SORT_OPTIONS:BTN_NATURALSORT"> tag in order
to have an extended tip for this new checkbox. However, this extended
tip did not appear. The extended tip of <ahelp
hid="HID_SCPAGE_SORT_OPTIONS">Sets additional sorting options.</ahelp>
appeared instead.
I launched OOo with HELP_DEBUG environment variable set. For the "Enable
natural sort" checkbox I got this debug string "scalc - 956449812 -
58874". The number 58884 is HID_SCPAGE_SORT_OPTIONS according to
help_hid.lst. The number 956449812 is not in help_hid.lst of course,
because this must be BTN_NATURALSORT which is new. Other checkboxes in
this dialog page did not have double IDs, they had only one. I would
like to know why. Do I have to add the BTN_NATURALSORT somewhere else,
too?
I have my builds at http://ftp.fsf.hu/OpenOffice.org_hu/devel/OOB680_m5/
I will file this issue of course but the natural sort patch is targeted
to OOo 3.0 and we have plenty of time before it. I would like to solve
this problem sooner.
currently we are working on a solution to enable developers to supply
patches to the online help. This is not quite easy, but it should be
fixed within PP4 timeline (in autumn this year). You may contact
Ivo.Hinkelmann @ sun.com for discussion of this topic.
Kind regards
Uwe
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]