From 4a1008b6ee7043031e9b050adcf836c2f0c88a47 Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Tue, 20 Mar 2018 19:38:21 -0300 Subject: Deploy videos in New Help (WIP) Add YouTube videos in New help. add makefile NOTE: is not rendered in old help. NOTE2: Removed online objects from offline help Change-Id: I829fe1858002a454417d36d0651fe49097e008d4 Reviewed-on: https://gerrit.libreoffice.org/51679 Reviewed-by: Olivier Hallot Tested-by: Olivier Hallot --- AllLangHelp_shared.mk | 1 + help3xsl/default.css | 6 +++++ help3xsl/online_transform.xsl | 48 ++++++++++++++++++--------------- source/text/scalc/main0000.xhp | 1 + source/text/sdraw/main0000.xhp | 5 ++-- source/text/shared/06/youtubevideos.xhp | 23 ++++++++++++++++ source/text/simpress/main0000.xhp | 3 ++- source/text/smath/main0000.xhp | 1 + source/text/swriter/main0000.xhp | 3 ++- 9 files changed, 66 insertions(+), 25 deletions(-) create mode 100644 source/text/shared/06/youtubevideos.xhp diff --git a/AllLangHelp_shared.mk b/AllLangHelp_shared.mk index bf76d916b0..dabc98dbe4 100644 --- a/AllLangHelp_shared.mk +++ b/AllLangHelp_shared.mk @@ -513,6 +513,7 @@ $(eval $(call gb_AllLangHelp_add_helpfiles,shared,\ helpcontent2/source/text/shared/05/00000150 \ helpcontent2/source/text/shared/05/00000160 \ helpcontent2/source/text/shared/05/err_html \ + helpcontent2/source/text/shared/06/youtubevideos \ helpcontent2/source/text/shared/07/09000000 \ helpcontent2/source/text/shared/3dsettings_toolbar \ helpcontent2/source/text/shared/autokorr/01000000 \ diff --git a/help3xsl/default.css b/help3xsl/default.css index bf5bac86f6..1ae99162b6 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -255,6 +255,12 @@ h6 { .mediabutton { background-color: cyan; } +.mediadiv{ + padding-bottom:5%; + height:0; + display:inline-block; + border:none; +} .tintro { color: white; background-color: green; diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 0e3a64950b..467f093a9b 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -571,7 +571,7 @@ - + @@ -1071,32 +1071,38 @@ - - - -

Object:

- - + + + + + - - + + - - - -
- -
+
+ + + +
+ +
+
- -
- -
+ +
+ +
+
+ +
+ +
- + -
+
diff --git a/source/text/scalc/main0000.xhp b/source/text/scalc/main0000.xhp index eda9ccda3f..c84f614d0e 100644 --- a/source/text/scalc/main0000.xhp +++ b/source/text/scalc/main0000.xhp @@ -31,6 +31,7 @@ Welcome to the $[officename] Calc Help + How to Work With $[officename] Calc diff --git a/source/text/sdraw/main0000.xhp b/source/text/sdraw/main0000.xhp index 7405e92e8f..0606d82351 100644 --- a/source/text/sdraw/main0000.xhp +++ b/source/text/sdraw/main0000.xhp @@ -30,9 +30,10 @@ - - + + Welcome to the $[officename] Draw Help + How to Work With $[officename] Draw diff --git a/source/text/shared/06/youtubevideos.xhp b/source/text/shared/06/youtubevideos.xhp new file mode 100644 index 0000000000..4418e95662 --- /dev/null +++ b/source/text/shared/06/youtubevideos.xhp @@ -0,0 +1,23 @@ + + + + + + + YouTube Videos + /text/shared/06/youtubevideos.xhp + + + +
+ + + + diff --git a/source/text/simpress/main0000.xhp b/source/text/simpress/main0000.xhp index ba61543b87..62ccefd7b7 100644 --- a/source/text/simpress/main0000.xhp +++ b/source/text/simpress/main0000.xhp @@ -18,7 +18,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + @@ -33,6 +33,7 @@ Welcome to the $[officename] Impress Help + How to Work With $[officename] Impress diff --git a/source/text/smath/main0000.xhp b/source/text/smath/main0000.xhp index 621fdcb8db..1d5b939687 100644 --- a/source/text/smath/main0000.xhp +++ b/source/text/smath/main0000.xhp @@ -30,6 +30,7 @@ Welcome to the $[officename] Math Help + How to Work With $[officename] Math diff --git a/source/text/swriter/main0000.xhp b/source/text/swriter/main0000.xhp index d5f21323c1..2208f6172e 100644 --- a/source/text/swriter/main0000.xhp +++ b/source/text/swriter/main0000.xhp @@ -18,7 +18,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . --> - + @@ -33,6 +33,7 @@ %PRODUCTNAME Writer Help + Working With %PRODUCTNAME Writer -- cgit