From 49baef5df55850a72b9385f7ec2b9eb98486e48a Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Fri, 16 Nov 2018 10:00:39 -0200 Subject: tdf#121797 XHP extensions (Help part) WIP. This is the Help part. Extend the XML parser to include new incantations of the tag, namely

to

, and Extension to the tag: , , , and * removed test files Change-Id: I2a473ee8772606f5e84bb02e651bccc6749598f4 Reviewed-on: https://gerrit.libreoffice.org/63954 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/default.css | 17 +++++++++++-- help3xsl/online_transform.xsl | 59 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 2 deletions(-) (limited to 'help3xsl') diff --git a/help3xsl/default.css b/help3xsl/default.css index e6a59ad8b8..285d1e9002 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -124,10 +124,23 @@ pre, border-top: 1px solid black; } .emph, -.menuitem, -.keycode { +.menuitem { font-weight: bold; } +.keycode { + /*font-weight: bold;*/ + font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; +} +.widget{ + padding: 1px 10px; + background: #f0f0f0; + background: linear-gradient(to bottom,#f0f0f0,#fcfcfc); + border-radius: 3px; + color: #303030; + border: 1px solid #a0a0a0; + border-bottom-width: 2px; + white-space: nowrap; +} /* div's for warning, tip and note */ .note, .tip, diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 95892bdd4c..59eb5120a8 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -800,6 +800,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
{local-name()}
+

+
+
+
+ + + + + + + + +
+
{local-name()}
+

+
+
+
+ -- cgit