diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2018-02-08 13:18:55 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-02-08 20:19:39 +0100 |
commit | b6bc8c1cfecc55bebff8dc64fddb63e3edc109b5 (patch) | |
tree | c5fbe8eaf4829983126dc01571f00e3ddbb63257 /help3xsl/get_bookmark.xsl | |
parent | fd1e80bca4d05e1dac45fb226dff318e87b81ead (diff) |
tdf#115255 and auto-expand contents per subitem
JavaScript stuff moved from online_transform.xsl to help.js.
Simplified bookmarks markup.
Span elements with class "input" and length more than 3 characters
can be copied to clipboard by mouse click.
Bubli's feature request for auto-expanding contents per subitem
is also implemented.
Logic for adding headings to index list was reimplemented.
Change-Id: I87b6f189a040a73a1ab9dda1ec9cd790b06da202
Reviewed-on: https://gerrit.libreoffice.org/49421
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/get_bookmark.xsl')
-rw-r--r-- | help3xsl/get_bookmark.xsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/help3xsl/get_bookmark.xsl b/help3xsl/get_bookmark.xsl index 10f1e69e92..3614d4cbed 100644 --- a/help3xsl/get_bookmark.xsl +++ b/help3xsl/get_bookmark.xsl @@ -55,13 +55,13 @@ xsltproc get_bookmark.xsl <file.xhp> <xsl:variable name="hrefhtml" select="substring-before($filename,'xhp')"/> <xsl:variable name="href" select="concat($productversion,'/',$Language,'/',$hrefhtml,'html?DbPAR=',$app,'#',@id)"/> <xsl:for-each select="bookmark_value"> - <xsl:text disable-output-escaping="yes"><![CDATA[<li class="fuseshown"><a target="_top" href="]]></xsl:text> + <xsl:text disable-output-escaping="yes"><![CDATA[<a target="_top" href="]]></xsl:text> <xsl:value-of select="$href"/> - <xsl:text disable-output-escaping="yes"><![CDATA[" class="]]></xsl:text> + <xsl:text disable-output-escaping="yes"><![CDATA[" class="fuseshown ]]></xsl:text> <xsl:value-of select="$app"/> <xsl:text disable-output-escaping="yes"><![CDATA[">]]></xsl:text> <xsl:call-template name="replace"><xsl:with-param name="text" select="."/></xsl:call-template> - <xsl:text disable-output-escaping="yes"><![CDATA[</a></li>\]]>
</xsl:text> + <xsl:text disable-output-escaping="yes"><![CDATA[</a>\]]>
</xsl:text> </xsl:for-each> </xsl:for-each> </xsl:template> |