incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Regina Henschel <rb.hensc...@t-online.de>
Subject Sorting sections in the help
Date Wed, 30 May 2012 19:29:11 GMT
Hi all,

if you look for function IMSIN in the help, you get a page from source 
helpcontent2/sourc/text/scalc/01/04060116.xhp.

1.
When you look at that page in the help viewer you will notice, that the 
functions are not alphabetically sorted. This is because sorting has 
been disabled in https://issues.apache.org/ooo/show_bug.cgi?id=70462
But I do not notice any problem, if I enable it again. You can try it 
too. You need not to compile the source, but can edit the file 
main_transform.xsl directly. It is located in <instdir>/Basis/help
The section should read
<!-- SORT -->
<xsl:template match="sort" >
	<xsl:apply-templates><xsl:sort 
select="descendant::paragraph"/></xsl:apply-templates>
</xsl:template>
<xsl:template match="sort" mode="embedded">
	<xsl:apply-templates><xsl:sort 
select="descendant::paragraph"/></xsl:apply-templates>
</xsl:template>

So my question is, whether there still exists a reason not to enable 
sorting.

Are there problems in special languages?

2.
When sorting is enabled, you will notice, that the section containing 
the function IMABS is not on the correct place. The reason for this is 
an empty paragraph element at the start of that section in 04060116.xhp 
in line 49,50. Does anyone know, if I can simple delete it. Or does this 
element has a special purpose?

Kind regards
Regina


Mime
View raw message