[Libreoffice] [PATCH] CSC, SEC, CSCH & SECH Help missing, How to add one? ref: bug fdo#44792

Olivier Hallot olivier.hallot at documentfoundation.org
Mon Jan 30 06:12:15 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Please find the patch attached.

Best regards

Olivier

Em 30-01-2012 05:56, Jan Holesovsky escreveu:
> Hi Olivier,
> 
> Olivier Hallot píše v Pá 27. 01. 2012 v 12:14 -0200:
> 
>> How can I write a help file to fix
>>
>> https://bugs.freedesktop.org/show_bug.cgi?id=44792
>>
>> (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
>>
>> /help/helpcontent2/source/text/scalc/01/04060106.xhp
>>
>> 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
> new entries.
> 
> 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!
> 
> Regards,
> Kendy
> 

- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPJqU/AAoJEJp3R7nH3vLxHcYH/i3HVPA2pfGop5l5yDvffq6S
NLOuLIGhl3uml4pLkAPu/tMqUKvnop+Jsl1RB3hS0ZXgiNTv7ARB+Zm1xGVR7s1i
JQ5vEHdk6pT4LYvJh3rJ/ydrrJZ0UZ1YOpNjkIeRLCHBuTHX7+Nakt1UzZhwR2Go
PLh2NUqCvp1oW7Sf4iUTus0VA9DfbjDc5FD4Da/n2ZiB0CxrMykJUsa2gmjVAlOC
yP2dAWixF/YaU+rysRNMqhmJpOmkS2d25dRD76vctq23joJBC8GZXlu+AjxNdPGy
lp6dkaY+zx99FqmEz+YNaO8D5zX8razuuhFtMgMNOcwuMPn1+BS0IM+lPSGkYlE=
=1xkn
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list