[Libreoffice] CSC, SEC, CSCH & SECH Help missing, How to add one? ref: bug fdo#44792
kendy at suse.cz
Sun Jan 29 23:56:50 PST 2012
Olivier Hallot píše v Pá 27. 01. 2012 v 12:14 -0200:
> How can I write a help file to fix
> (help for new math function CSC, CSCH, SEC, SECH..)
> I can write it easily, but I need a tool to generate the xml for the
> help file.
The best is to edit it just with a plain text editor, like vim or emacs
(or your favorite tool), so that you avoid the xml editor messing with
the rest of the file. Of course, maybe there are good xml editors out
there that do not modify the part of the file you don't touch, but I
don't have any experience with any myself.
> My plan is to add the help in the file
> where other mathematical functions are described (SIN, COS, etc...)
Sounds like a good place to edit; I'd just copy & paste eg. the SIN
description, and modify it for CSC etc.
The paragraph id's should be distinct in at least the file, and you
probably also want to test the hid/SC_HID_FUNC_* where it is used (as
the help identifier for the other functions), and if it works for your
There might be other catches I don't see without actually trying that,
hopefully not ;-) But if they are, please share them with the list.
Thanks for looking into this!
More information about the LibreOffice