/[pkgs]/rpms/openoffice.org/devel/openoffice.org-3.1.0.ooo101355.filter.no-variables-in-keys.patch
ViewVC logotype

Contents of /rpms/openoffice.org/devel/openoffice.org-3.1.0.ooo101355.filter.no-variables-in-keys.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Apr 27 10:49:28 2009 UTC (6 months, 3 weeks ago) by dtardon
Branch: MAIN
CVS Tags: openoffice_org-3_1_1-18_1_fc12, F-12-split, openoffice_org-3_1_1-16_1_fc12, openoffice_org-3_1_1-19_7_fc12, openoffice_org-3_1_1-19_9_fc12, openoffice_org-3_2_0-2_2_fc13, openoffice_org-3_1_1-19_6_fc12, openoffice_org-3_1_1-19_4_fc12, openoffice_org-3_1_1-19_5_fc12, openoffice_org-3_1_1-18_2_fc12, openoffice_org-3_1_1-14_1_fc12, openoffice_org-3_2_0-2_1_fc13, openoffice_org-3_2_0-4_2_fc13, openoffice_org-3_2_0-2_4_fc13, openoffice_org-3_1_1-12_1_fc12, openoffice_org-3_2_0-1_2_fc13, openoffice_org-3_2_0-4_1_fc13, openoffice_org-3_1_1-12_2_fc12, openoffice_org-3_1_1-13_1_fc12, openoffice_org-3_1_1-15_2_fc12, openoffice_org-3_1_1-19_1_fc12, openoffice_org-3_1_1-15_1_fc12, openoffice_org-3_1_0-11_3_fc12, openoffice_org-3_1_1-19_1_fc12_1, openoffice_org-3_1_1-17_1_fc12, openoffice_org-3_1_1-19_8_fc12, openoffice_org-3_2_0-2_3_fc13, openoffice_org-3_2_0-5_1_fc13, openoffice_org-3_2_0-3_1_fc13, openoffice_org-3_1_1-13_2_fc12, openoffice_org-3_2_0-3_2_fc13, openoffice_org-3_1_1-19_2_fc12, openoffice_org-3_2_0-1_1_fc13, openoffice_org-3_1_1-16_2_fc12, openoffice_org-3_1_1-13_3_fc12, openoffice_org-3_2_0-2_5_fc13, openoffice_org-3_2_0-3_4_fc13, HEAD
File MIME type: text/x-patch
add openoffice.org-3.1.0.ooo101355.filter.no-variables-in-keys.patch
1 Index: filter/source/docbook/sofftodocbookheadings.xsl
2 ===================================================================
3 --- filter/source/docbook/sofftodocbookheadings.xsl (revision 270724)
4 +++ filter/source/docbook/sofftodocbookheadings.xsl (working copy)
5 @@ -73,11 +73,6 @@
6 match="text:h"
7 use="generate-id(preceding::text:h[@text:level < current()/@text:level][1])"/>
8
9 - <!-- All those headings have not the lowest outline level (mapped to section1), but come before the first heading mapped to section1 -->
10 - <xsl:key name="preludingHeadings"
11 - match="text:h"
12 - use="generate-id(following::text:h[@text:level = $section1_OutlineLevel][1])"/>
13 -
14 <!-- The key function "getHeadingsByOutline" returns all headings of a certain outline level -->
15 <xsl:key name="getHeadingsByOutline"
16 match="text:h"
17 @@ -175,7 +170,7 @@
18 <xsl:text disable-output-escaping="yes">&lt;sect1&gt;</xsl:text>
19 <title></title>
20 <!-- create sections for all the first section1 preluding headings -->
21 - <xsl:for-each select="key('preludingHeadings', generate-id())">
22 + <xsl:for-each select="key('getHeadingsByOutline', $section1_OutlineLevel)[1]/preceding::text:h">
23 <xsl:call-template name="make-section">
24 <xsl:with-param name="previousSectionLevel" select="$section1_OutlineLevel"/>
25 <xsl:with-param name="currentSectionLevel">
26 @@ -1186,4 +1181,4 @@
27 <xsl:with-param name="whitespaces" select="8"/>
28 </xsl:call-template>
29 </xsl:template>
30 -</xsl:stylesheet>
31 \ No newline at end of file
32 +</xsl:stylesheet>

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2