1cdf0e10cSrcweir<xsl:stylesheet version="1.0" encoding="UTF-8"
2cdf0e10cSrcweir	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3cdf0e10cSrcweir	xmlns:office="http://openoffice.org/2000/office"
4cdf0e10cSrcweir	xmlns:style="http://openoffice.org/2000/style"
5cdf0e10cSrcweir	xmlns:table="http://openoffice.org/2000/table"
6cdf0e10cSrcweir	xmlns:draw="http://openoffice.org/2000/drawing"
7cdf0e10cSrcweir	xmlns:fo="http://www.w3.org/1999/XSL/Format"
8cdf0e10cSrcweir	xmlns:xlink="http://www.w3.org/1999/xlink"
9cdf0e10cSrcweir	xmlns:dc="http://purl.org/dc/elements/1.1/"
10cdf0e10cSrcweir	xmlns:meta="http://openoffice.org/2000/meta"
11cdf0e10cSrcweir	xmlns:number="http://openoffice.org/2000/datastyle"
12cdf0e10cSrcweir	xmlns:svg="http://www.w3.org/2000/svg"
13cdf0e10cSrcweir	xmlns:chart="http://openoffice.org/2000/chart"
14cdf0e10cSrcweir	xmlns:help="http://openoffice.org/2000/help"
15cdf0e10cSrcweir	xmlns:index="http://sun.com/2000/XMLSearch"
16cdf0e10cSrcweir	xmlns:text="http://openoffice.org/2000/text">
17*8eb6fccdSAndrew Rist<!--***********************************************************
18*8eb6fccdSAndrew Rist *
19*8eb6fccdSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
20*8eb6fccdSAndrew Rist * or more contributor license agreements.  See the NOTICE file
21*8eb6fccdSAndrew Rist * distributed with this work for additional information
22*8eb6fccdSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
23*8eb6fccdSAndrew Rist * to you under the Apache License, Version 2.0 (the
24*8eb6fccdSAndrew Rist * "License"); you may not use this file except in compliance
25*8eb6fccdSAndrew Rist * with the License.  You may obtain a copy of the License at
26*8eb6fccdSAndrew Rist *
27*8eb6fccdSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
28*8eb6fccdSAndrew Rist *
29*8eb6fccdSAndrew Rist * Unless required by applicable law or agreed to in writing,
30*8eb6fccdSAndrew Rist * software distributed under the License is distributed on an
31*8eb6fccdSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
32*8eb6fccdSAndrew Rist * KIND, either express or implied.  See the License for the
33*8eb6fccdSAndrew Rist * specific language governing permissions and limitations
34*8eb6fccdSAndrew Rist * under the License.
35*8eb6fccdSAndrew Rist *
36*8eb6fccdSAndrew Rist ***********************************************************-->
37cdf0e10cSrcweir
38cdf0e10cSrcweir<xsl:param name="Language" select="'en-US'"/>
39cdf0e10cSrcweir
40cdf0e10cSrcweir<xsl:template match="helpdocument|body">
41cdf0e10cSrcweir  <xsl:choose>
42cdf0e10cSrcweir    <xsl:when test="meta/topic[@indexer='exclude']"/>
43cdf0e10cSrcweir    <xsl:otherwise>
44cdf0e10cSrcweir      <xsl:apply-templates/>
45cdf0e10cSrcweir    </xsl:otherwise>
46cdf0e10cSrcweir  </xsl:choose>
47cdf0e10cSrcweir</xsl:template>
48cdf0e10cSrcweir
49cdf0e10cSrcweir<xsl:template match="title">
50cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
51cdf0e10cSrcweir      <xsl:apply-templates/>
52cdf0e10cSrcweir  </index:element>
53cdf0e10cSrcweir</xsl:template>
54cdf0e10cSrcweir
55cdf0e10cSrcweir<xsl:template match="table">
56cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
57cdf0e10cSrcweir      <xsl:apply-templates/>
58cdf0e10cSrcweir  </index:element>
59cdf0e10cSrcweir</xsl:template>
60cdf0e10cSrcweir
61cdf0e10cSrcweir<xsl:template match="tablecell">
62cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
63cdf0e10cSrcweir      <xsl:apply-templates/>
64cdf0e10cSrcweir  </index:element>
65cdf0e10cSrcweir</xsl:template>
66cdf0e10cSrcweir
67cdf0e10cSrcweir<xsl:template match="tablerow">
68cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
69cdf0e10cSrcweir      <xsl:apply-templates/>
70cdf0e10cSrcweir  </index:element>
71cdf0e10cSrcweir</xsl:template>
72cdf0e10cSrcweir
73cdf0e10cSrcweir<xsl:template match="list">
74cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
75cdf0e10cSrcweir      <xsl:apply-templates/>
76cdf0e10cSrcweir  </index:element>
77cdf0e10cSrcweir</xsl:template>
78cdf0e10cSrcweir
79cdf0e10cSrcweir<xsl:template match="listitem">
80cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
81cdf0e10cSrcweir      <xsl:apply-templates/>
82cdf0e10cSrcweir  </index:element>
83cdf0e10cSrcweir</xsl:template>
84cdf0e10cSrcweir
85cdf0e10cSrcweir<xsl:template match="item">
86cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
87cdf0e10cSrcweir      <xsl:apply-templates/>
88cdf0e10cSrcweir  </index:element>
89cdf0e10cSrcweir</xsl:template>
90cdf0e10cSrcweir
91cdf0e10cSrcweir<xsl:template match="emph">
92cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
93cdf0e10cSrcweir      <xsl:apply-templates/>
94cdf0e10cSrcweir  </index:element>
95cdf0e10cSrcweir</xsl:template>
96cdf0e10cSrcweir
97cdf0e10cSrcweir<xsl:template match="paragraph">
98cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
99cdf0e10cSrcweir      <xsl:apply-templates/>
100cdf0e10cSrcweir  </index:element>
101cdf0e10cSrcweir</xsl:template>
102cdf0e10cSrcweir
103cdf0e10cSrcweir<xsl:template match="section">
104cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
105cdf0e10cSrcweir      <xsl:apply-templates/>
106cdf0e10cSrcweir  </index:element>
107cdf0e10cSrcweir</xsl:template>
108cdf0e10cSrcweir
109cdf0e10cSrcweir<xsl:template match="bookmark">
110cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
111cdf0e10cSrcweir      <xsl:apply-templates/>
112cdf0e10cSrcweir  </index:element>
113cdf0e10cSrcweir</xsl:template>
114cdf0e10cSrcweir
115cdf0e10cSrcweir<xsl:template match="bookmark_value">
116cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
117cdf0e10cSrcweir      <xsl:apply-templates/>
118cdf0e10cSrcweir  </index:element>
119cdf0e10cSrcweir</xsl:template>
120cdf0e10cSrcweir
121cdf0e10cSrcweir<xsl:template match="link">
122cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
123cdf0e10cSrcweir      <xsl:apply-templates/>
124cdf0e10cSrcweir  </index:element>
125cdf0e10cSrcweir</xsl:template>
126cdf0e10cSrcweir
127cdf0e10cSrcweir<xsl:template match="ahelp[@visibility='visible']">
128cdf0e10cSrcweir  <index:element index:tokenizer="com.sun.xmlsearch.util.SimpleTokenizer">
129cdf0e10cSrcweir      <xsl:apply-templates/>
130cdf0e10cSrcweir  </index:element>
131cdf0e10cSrcweir</xsl:template>
132cdf0e10cSrcweir
133cdf0e10cSrcweir<xsl:template match="text()">
134cdf0e10cSrcweir  <index:text index:nodeID="{generate-id(current())}">
135cdf0e10cSrcweir    <xsl:value-of select="."/>
136cdf0e10cSrcweir  </index:text>
137cdf0e10cSrcweir</xsl:template>
138cdf0e10cSrcweir
139cdf0e10cSrcweir<xsl:template match="*"/>
140cdf0e10cSrcweir
141cdf0e10cSrcweir</xsl:stylesheet>
142cdf0e10cSrcweir
143cdf0e10cSrcweir
144