summaryrefslogtreecommitdiff
path: root/help3xsl
AgeCommit message (Collapse)Author
2017-09-24Add hungarian to helponline uiOlivier Hallot
Change-Id: Icc1abd566c32f6b873fd979cba2190a9ce959a69 Reviewed-on: https://gerrit.libreoffice.org/42685 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2017-09-21Helponline: Override the “normalizer” rule messing with line heightAdolfo Jayme Barrientos
Otherwise, the body text looks cramped. Change-Id: I4bf6a8b714a243c5de333f46c4249e1c51060f50 Reviewed-on: https://gerrit.libreoffice.org/42222 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-20Some better coding practiceOlivier Hallot
use $() in bash script Change-Id: Ia46e529bf2059a378b0f311ec2b6d5fc03e86f66 Reviewed-on: https://gerrit.libreoffice.org/42566 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-19Helponline: more language supportOlivier Hallot
Change-Id: I138ff9551f7d8c99c92a32bdcf91d261168ba5bb Reviewed-on: https://gerrit.libreoffice.org/42482 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-19Add more lang in helponline custom searchOlivier Hallot
add zh-*, ru, tr, de, da, cs Change-Id: Ib1853d13de6321e300b24820dd01efddb1205ff2 Reviewed-on: https://gerrit.libreoffice.org/42340 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-13TDF#97745 Add support custom search in helponlineOlivier Hallot
Added some language support for the helponline global search Each custom search engine of google has a unique token, which configuration is handled by CSE owner. The CSE attempt to seach in helponline in the page language. If a page is already indexed, it shows what it has. If not, pages indexed from the *.libreoffice.org domain and wiki.tdf.org are shown. The CSE prevents display of indexed pages of other suites. Change-Id: I133e1a7af867c2380ccb1f20c483af63337a58b9 Reviewed-on: https://gerrit.libreoffice.org/42218 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-09Add better support for <bascode> in helponlineOlivier Hallot
Insert a div around a code snippet and categorize for schema.org Change-Id: I7d4c9e15fccbf7e48af3c2faca9ed61ae5279c79 Reviewed-on: https://gerrit.libreoffice.org/42105 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-07Helponline: add support for japanese in UIOlivier Hallot
* add japanese * correct Chinese Change-Id: I1d3b8929b44de75f0dca805c5d0cab319842ed64 Reviewed-on: https://gerrit.libreoffice.org/42053 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-06Fix Vietnamese endonymAdolfo Jayme Barrientos
Change-Id: I83e4eb35c9cf362e206c006974be417981b1c0b9
2017-09-06 Add cs and da to helponline localizationOlivier Hallot
Change-Id: I63291915ac06642d9f7ba6db9c2470b38951eff3 Reviewed-on: https://gerrit.libreoffice.org/41970 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-05More localization WIP for helponlineOlivier Hallot
* Added more languages in page UI * Language names in their own language in language dropdown * Attempt of switch to browser language by default Change-Id: Iea133b24e6121bb5da7af21fe5ca4ce9cde8c14d Reviewed-on: https://gerrit.libreoffice.org/41911 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-09-04Add es and ast for helponline localizationOlivier Hallot
Change-Id: Ie93eb6af531b882afe573d03e93f8f428afd1def Reviewed-on: https://gerrit.libreoffice.org/41872 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2017-09-02Add localization to helponline UIOlivier Hallot
* Add support for localization in helponline UI. + translate 4 words + prepare for focused google search * Tweak the index search, open search index for all modules. Change-Id: Id7ad4fd63fe1f9d1334fb65febdee6f60c24361a Reviewed-on: https://gerrit.libreoffice.org/41839 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-09-01Add language detector when landing in helponlineOlivier Hallot
Change-Id: I3481024a7503ea12d9bf8075e3045ab2b8801d20 Reviewed-on: https://gerrit.libreoffice.org/41773 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-08-30Some tweaks in online XSLT transformOlivier Hallot
* move lang attribute from <body> to <html> * remove role attribute in <label> (not W3C compliant) * Fix license of help contents in page footer Change-Id: Ia8e116588ff3a3ce41d146eea06385a420a5b0f7 Reviewed-on: https://gerrit.libreoffice.org/41716 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-08-12tdf#97745 Enable page debug for 6.0Olivier Hallot
Fix url detection in help.html Connect xhp file displayed to opengrok Hide momentarily debug control Change-Id: Icab467ee797d3ec94082a7b3b722bfd2485b5b2e Reviewed-on: https://gerrit.libreoffice.org/41100 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-08-06tdf#97745 use lowercase for file namesOlivier Hallot
synch with https://gerrit.libreoffice.org/#/c/40698/3 Change-Id: I7cc72312a729fcd6468198fd3cb9b4686e588832 Reviewed-on: https://gerrit.libreoffice.org/40812 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-08-02tdf#97745 Handle offline browser helpOlivier Hallot
* Rename index.html to LOHelp.html. index.html is a bad name, too generic. LOHelp.html is invoked by LibreOffice and is not a popular file name. * Clean the XSLT transform, add suport for local help. * reposition bookmark2file.js in the target tree. * remove obsolete files * page tree now capable to be opened by file:// protocol, passing 'online' parameter and folder address to the bash script. Change-Id: I2cf9f69de7896bd74074745993ef033bef5c3503 Reviewed-on: https://gerrit.libreoffice.org/40661 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-29tdf#97745 housekeepingOlivier Hallot
Fix links in bookmarks.js Better font size for Index and Contents Fix CSS file Change-Id: I42966be1d88b12393b6dd95adb2719baf76a025c Reviewed-on: https://gerrit.libreoffice.org/40549 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-26tdf#97745 Fix width on wide screensBuovjaga
Change-Id: I91a84a0d3460ab7ccacd1ec1f14ef7b97db3b767 Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/40427 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-25tdf#97745 Enhance help page layoutBuovjaga
* Horizontal (stackable) navigation * Work in progress Change-Id: I16a9816b2465e995dd63e36fda0f0d89ea6053e4 Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/40421 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-23tdf#97745 code cleanupOlivier Hallot
* Add debug param, to display page info in the bottom &Debug={0|1} Change-Id: I809548e5d59d0a55b258ca0ec69811efec51df67 Reviewed-on: https://gerrit.libreoffice.org/40341 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-23tdf#97745 Use system browser to display help pagesBuovjaga
Some improvements (WIP) * Use CSS grids * Better language selector * Better svg icons * reorder some scripts, clean code * favicon * fix index Change-Id: Idd55f41724cc3972c8b461ede5f1e975716c5290 Signed-off-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/40316 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-19Code cleanup in XSLTOlivier Hallot
remove unecessary template Change-Id: Ie7b615d75c33702e79dc052b87c2a392038964c6 Reviewed-on: https://gerrit.libreoffice.org/40186 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-19Fix a $title variable in XSLT transformOlivier Hallot
Change-Id: I7463572330e2338e73266f487d88b3d1beeff741 Reviewed-on: https://gerrit.libreoffice.org/40184 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-17tdf#97745 Help-in-browser (x) refactor contentsOlivier Hallot
Tree files now loaded as javascript More fixes Change-Id: Ifa353e717eec63e2369fbeabab7463f4ccd72392 Reviewed-on: https://gerrit.libreoffice.org/40069 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-16Help-in-browser (ix) Add contents treeviewOlivier Hallot
Add Contents tree transforming *.tree files Reposition <meta> tag for UTF-8 Fork bash script for faster processing Change-Id: I6c74aa1e855b7f4bb152e2c632f6ab7d683e5462 Reviewed-on: https://gerrit.libreoffice.org/40007 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-11Help-in-browser (viii) more...Olivier Hallot
* Correct schema * current set of built languages. * https://helponline.libreoffice.org Change-Id: I887214b080e6200ac840b74d175292649f8e4298 Reviewed-on: https://gerrit.libreoffice.org/39836 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-11Help-in-browser (vii) more improvementsOlivier Hallot
see it in http://helponline.libreoffice.org Added mos keywords from schema.org New, responsive page design Change-Id: I9df963c1a962c0fbb5c2926d8066b31cd20d485b Reviewed-on: https://gerrit.libreoffice.org/39822 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-07-02Help-in-browser (vi): more improvementsOlivier Hallot
Improvement: * image search & screeshots * inserted TechArticle schema elements from http://schema.org * new script for usage of helpex in a build * results in https://helponline.libreoffice.org Change-Id: I62d1c46f260c8bd5e287df382e8db086112c4d2a Reviewed-on: https://gerrit.libreoffice.org/39452 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-06-26Help-in-browser (v)Olivier Hallot
* Add piwik analysis * handle SHARED module in search Change-Id: I7c3c653d5e1211eed6c45b521fc35a9dc52ed21e Reviewed-on: https://gerrit.libreoffice.org/39251 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2017-06-25Help-in-browser: several improvementsOlivier Hallot
* tabs for Contents/Index/Search * product version (6.0, 5.3, 5.2, etc...) * capable to receive URL from LibreOffice help call (need to change help url in sfx2/: protocol://<host>/index.html?<params> Change-Id: I2244336ea47cdb923884ae97b9f4a586d85ec706 Reviewed-on: https://gerrit.libreoffice.org/39227 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-07Move the JavaScript pieces directly to 'source'.Jan Holesovsky
This avoids problems with tryint to access stuff via '..'.
2016-11-07Reformat for readability + add modelines.Jan Holesovsky
2016-11-07Another correction to online_transform.xslOlivier Hallot
Change-Id: I4c59259fd3034d5c84ecade84d5908fc125e656a Reviewed-on: https://gerrit.libreoffice.org/30618 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-07Correction to width and height pixel calculationOlivier Hallot
Change-Id: I6b4eb642e7e45785a7377fc79c6f7c90f8aea9ec Reviewed-on: https://gerrit.libreoffice.org/30617 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-11-06Honor width and height in images for help3Olivier Hallot
Modern browsers renders width and height expressed in inches and centimeters, as well as pixels. Change-Id: I337de791e7e894b0c84f1bd9848e15edc861707f Reviewed-on: https://gerrit.libreoffice.org/30616 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-25Mozilla Public License added in edited filesFabio Biocchetti
Mozilla Public License added in headers Change-Id: I803d84fbff43913198929a56b57c668d14b6a9eb Reviewed-on: https://gerrit.libreoffice.org/30269 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-24Fix comments in script and JavaScript refactor.Fabio Biocchetti
Comments correction in shell script Introduced js debouncer for search bar xml-stylesheet tag removed Introduced parameter passing through pages Links in XHP pages now work with js Minor adjustments Change-Id: Ibf5f7a74c3249fa6f1ff4d3037fe821797e88d1d Reviewed-on: https://gerrit.libreoffice.org/30231 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-24tdf#80439 Help pages for (NET)WORKDAYS.INTLChandanathil P. Geevan
removed useless file replaced commas with semicolons in function expression Change-Id: I76ce8945d7f5d51f7b356dc8063db1b4623e905b Reviewed-on: https://gerrit.libreoffice.org/30217 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-10-21tdf#97745 Help pages in browser (WIP)Fabio Bioccetti
Work in progress: Search index Javascript xhp server patch2: rename jj.js to help.js updated index.html accordingly Change-Id: Idece5ea25b0906b3fbdfd1f401e8dcfdfa4bd947 Reviewed-on: https://gerrit.libreoffice.org/30143 Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br> Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
2016-05-08HC3: XSL to extract bookmarks from XHP filesOlivier Hallot
Change-Id: Idaf6e4e890a1be1a44d96a5a36786fd480dc01f9 Reviewed-on: https://gerrit.libreoffice.org/24756 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-03-28Improve help3xsl/ online a bitOlivier Hallot
Change-Id: Ie514d8ba70b4620bdfc22ab989b2f45ec45c1d0e Reviewed-on: https://gerrit.libreoffice.org/23566 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-03-26New help system with browser and XSL transformOlivier Hallot
See README.txt for initial information Change-Id: Iccb36975207db55c49bbfc8385bf78b948b77c2e Reviewed-on: https://gerrit.libreoffice.org/23343 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>