summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-20 17:13:12 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-09-26 08:32:34 +0200
commita8306cd14aa3c94db34799abe7c3a322a6fb03c5 (patch)
treea99b20ae672babf5e094842d8ab7bbc3af74670e /help3xsl/online_transform.xsl
parent62663ccf7345309232e37fdb6d08f0f0b6f595c4 (diff)
Add debug info for HID in new help
To enable Help page debug, add '&Debug=1' to the page URL. This patch pass the HID in the URL of the help page and displays it in the debug div in the bottom of the page. It should help to locate missing pages for a given HID. Change-Id: I671feb2dc34baaef5230028ba918a407d4cfea76 Reviewed-on: https://gerrit.libreoffice.org/60843 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl5
1 files changed, 5 insertions, 0 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 90b8a44a25..a7c3fd1e4a 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -236,6 +236,7 @@
<p>Title is: <xsl:value-of select="$title"/></p>
<p id="bm_module"></p>
<p id="bm_system"></p>
+ <p id="bm_HID"></p>
</div>
</footer>
</div>
@@ -248,12 +249,14 @@
<![CDATA[
var module = getParameterByName("DbPAR");
var system = getParameterByName("System");
+ var helpID = getParameterByName("HID");
fixURL(module,system);
var dbg = getParameterByName("Debug");
if (dbg == null){dbg=0}
document.getElementById("DEBUG").style.display = (dbg == 0) ? "none":"block";
document.getElementById("bm_module").innerHTML ="Module is: "+module;
document.getElementById("bm_system").innerHTML ="System is: "+system;
+ document.getElementById("bm_HID").innerHTML ="HID is: "+helpID;
]]>
</script>
</xsl:when>
@@ -261,6 +264,7 @@
<script type="text/javascript">
<![CDATA[
var module = getParameterByName("DbPAR");
+ var helpID = getParameterByName("HID");
var system = getSystem();
fixURL(module,system);
var dbg = getParameterByName("Debug");
@@ -268,6 +272,7 @@
document.getElementById("DEBUG").style.display = (dbg == 0) ? "none":"block";
document.getElementById("bm_module").innerHTML ="Module is: "+module;
document.getElementById("bm_system").innerHTML ="System is: "+system;
+ document.getElementById("bm_HID").innerHTML ="HID is: "+helpID;
]]>
</script>
</xsl:otherwise>
LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/svtools/prnsetup.hxx
AgeCommit message (Expand)Author
2020-11-19tdf#124176 use pragma once instead of include guardsRoman Kuznetsov
2020-04-29weld SfxTemplatePanelControlCaolán McNamara
2019-10-30loplugin:finalclasses svtoolsNoel Grandin
2019-07-16tdf#42949 Fix IWYU warnings in include/Gabor Kelemen
2018-10-24weld AdvancedSettingsDialogCaolán McNamara
2018-09-17rename to weld::ComboBox are they are not text only nowCaolán McNamara
2018-04-23weld SfxPrintOptionsDialogCaolán McNamara
2017-07-19loplugin:constparams in svtoolsNoel Grandin
2016-11-24vcl: rename Window::Notify to EventNotifyMichael Stahl
2016-10-05convert the last two lonely FixedInfos to FixedTextCaolán McNamara
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
2016-02-09Formatting changes across all modulesChris Sherlock
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-10-12convert Link<> to typedNoel Grandin
2015-08-26Convert vcl Button Link<> click handler to typed Link<Button*,void>Noel Grandin
2015-07-14loplugin:unusedmethods svtoolsNoel Grandin
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
2015-04-30Gradually typed LinkStephan Bergmann
2015-04-10start wrapping OutputDevice in VclPtrNoel Grandin
2015-04-10vclwidget: change all vcl::window fields to be wrapped in VclPtrNoel Grandin
2015-04-09svtools: apply vcl::window refcounting changesNoel Grandin