office-gobmx/readlicense_oo/docs
Thorsten Behrens f51c3f66b1 Merge commit 'ooo/DEV300_m106' into integration/dev300_m106
Conflicts:
	avmedia/source/gstreamer/gstframegrabber.cxx
	avmedia/source/gstreamer/gstplayer.cxx
	avmedia/source/gstreamer/gstplayer.hxx
	basic/inc/basic/sbxdef.hxx
	basic/source/classes/sbxmod.cxx
	basic/source/comp/makefile.mk
	basic/source/comp/sbcomp.cxx
	basic/source/inc/namecont.hxx
	basic/source/inc/scriptcont.hxx
	basic/source/runtime/methods.cxx
	basic/source/runtime/runtime.cxx
	basic/source/runtime/stdobj.cxx
	basic/source/runtime/step1.cxx
	basic/source/uno/namecont.cxx
	basic/util/makefile.mk
	connectivity/source/commontools/predicateinput.cxx
	connectivity/source/drivers/dbase/DNoException.cxx
	connectivity/source/drivers/dbase/DTable.cxx
	connectivity/source/drivers/file/fcomp.cxx
	connectivity/source/drivers/jdbc/JConnection.cxx
	connectivity/source/drivers/odbcbase/OResultSet.cxx
	connectivity/source/drivers/odbcbase/OStatement.cxx
	connectivity/source/parse/sqlnode.cxx
	desktop/source/app/app.cxx
	drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx
	drawinglayer/source/processor2d/vclprocessor2d.cxx
	formula/inc/formula/token.hxx
	formula/source/core/api/token.cxx
	fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx
	fpicker/source/win32/filepicker/platform_vista.h
	framework/source/helper/persistentwindowstate.cxx
	framework/source/uielement/menubarmanager.cxx
	oovbaapi/ooo/vba/XFoundFiles.idl
	oovbaapi/ooo/vba/excel/XApplication.idl
	oovbaapi/ooo/vba/msforms/XCheckBox.idl
	oovbaapi/ooo/vba/msforms/XComboBox.idl
	oovbaapi/ooo/vba/msforms/XControl.idl
	oovbaapi/ooo/vba/msforms/XGroupBox.idl
	oovbaapi/ooo/vba/msforms/XLabel.idl
	oovbaapi/ooo/vba/msforms/XListBox.idl
	oovbaapi/ooo/vba/msforms/XNewFont.idl
	oovbaapi/ooo/vba/msforms/XRadioButton.idl
	oovbaapi/ooo/vba/msforms/XTextBox.idl
	oovbaapi/ooo/vba/msforms/XToggleButton.idl
	scripting/source/dlgprov/dlgevtatt.cxx
	sfx2/source/control/unoctitm.cxx
	sfx2/source/doc/objstor.cxx
	sfx2/source/doc/objxtor.cxx
	svx/inc/svx/svdograf.hxx
	svx/source/form/fmpage.cxx
	svx/source/form/fmpgeimp.cxx
	svx/source/svdraw/svdedtv.cxx
	svx/source/svdraw/svdfmtf.cxx
	svx/source/svdraw/svdograf.cxx
	svx/source/svdraw/svdouno.cxx
	svx/source/xml/xmlgrhlp.cxx
	uui/source/iahndl-ssl.cxx
	vbahelper/Library_msforms.mk
	vbahelper/Library_vbahelper.mk
	vbahelper/inc/vbahelper/vbahelper.hxx
	vbahelper/prj/build.lst
	vbahelper/source/msforms/vbacombobox.cxx
	vbahelper/source/msforms/vbacontrol.cxx
	vbahelper/source/msforms/vbacontrols.cxx
	vbahelper/source/msforms/vbaframe.cxx
	vbahelper/source/msforms/vbaframe.hxx
	vbahelper/source/msforms/vbalabel.cxx
	vbahelper/source/msforms/vbalabel.hxx
	vbahelper/source/msforms/vbalistbox.cxx
	vbahelper/source/msforms/vbalistbox.hxx
	vbahelper/source/msforms/vbamultipage.cxx
	vbahelper/source/msforms/vbatogglebutton.cxx
	vbahelper/source/msforms/vbauserform.cxx
	vbahelper/source/vbahelper/vbacommandbar.cxx
	vbahelper/source/vbahelper/vbacommandbarcontrol.cxx
	vbahelper/source/vbahelper/vbacommandbarcontrols.hxx
	vbahelper/source/vbahelper/vbahelper.cxx
	vbahelper/source/vbahelper/vbawindowbase.cxx
	xmloff/source/meta/xmlmetai.cxx
	xmloff/source/style/PageMasterExportPropMapper.cxx
	xmloff/source/style/PageMasterStyleMap.cxx
	xmloff/source/text/txtexppr.cxx
	xmloff/source/text/txtprmap.cxx
2011-04-28 00:12:58 +02:00
..
readme Merge commit 'ooo/DEV300_m106' into integration/dev300_m106 2011-04-28 00:12:58 +02:00
readme.dtd
readme.xsl

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

<!-- <xsl:output method="text" doctype-public="-//W3C//DTD HTML 3.2//EN" omit-xml-declaration="yes"/> --> 
  	
  <!-- inputvariable declaration -->
	<xsl:param name="os1"/>
	<xsl:param name="gui1"/>
	<xsl:param name="cp1"/>
	<xsl:param name="com1"/>
	<xsl:param name="lang1"/>
	<xsl:param name="type"/>
	<xsl:param name="file"/>
	<xsl:strip-space elements="*"/>
	
	<xsl:param name="platform">
		<xsl:if test="$os1='LINUX'">
			<xsl:value-of select="'LINUX'"/>
		</xsl:if>
		<xsl:if test="$os1='WNT'">
			<xsl:value-of select="'WIN'"/>
		</xsl:if>
		<xsl:if test="$os1='SOLARIS'">
			<xsl:if test="$cp1='SPARC'">
				<xsl:value-of select="'SOLSPARC'"/>
			</xsl:if>
			<xsl:if test="$cp1='INTEL'">
				<xsl:value-of select="'SOLX86'"/>
			</xsl:if>
		</xsl:if>
		<xsl:if test="$os1='MACOSX'">
			<xsl:value-of select="'MAC'"/>
		</xsl:if>
	</xsl:param>
	
	<xsl:param name="lf">
		<xsl:choose>
			<xsl:when test="$platform='WIN'"><xsl:text>&#xD;&#xA;</xsl:text></xsl:when>
			<xsl:otherwise><xsl:text>&#xA;</xsl:text></xsl:otherwise>
		</xsl:choose>
	</xsl:param>
	
	<xsl:template match="/">
		<xsl:choose>
			<xsl:when test="$type='html'">
			
				<xsl:document method="html" href="{$file}" doctype-public="-//W3C//DTD HTML 3.2//EN">
					<xsl:apply-templates mode="html"/>
				</xsl:document>
			
			</xsl:when>
			<xsl:when test="$type='text'">
				
				<xsl:document method="text" href="{$file}">
					<xsl:call-template name="textout" />
				</xsl:document>
			
			</xsl:when>
		</xsl:choose>
	</xsl:template>
	
	<xsl:template match="*" mode="html">
		<xsl:choose>
			<xsl:when test="(contains(@class,$platform) or not(@class) or (name(.)='p'))">
				<xsl:if test="(@xml:lang=$lang1 or not(@xml:lang))"> <!-- check for correct language -->
					<xsl:element name="{name(.)}">
						<xsl:if test="(name(.)='a')">
							<xsl:attribute name="href">
								<xsl:value-of select="@href"/>
							</xsl:attribute>
						</xsl:if>
						<xsl:if test="(name(.)='p') and (@class)">
							<xsl:attribute name="class">
								<xsl:value-of select="@class"/>
							</xsl:attribute>
						</xsl:if>
						<xsl:if test="name(.)='div'">
							<xsl:attribute name="id">
								<xsl:value-of select="@id"/>
							</xsl:attribute>
						</xsl:if>
						<xsl:apply-templates mode="html"/>
					</xsl:element>
				</xsl:if>
			</xsl:when>
			<xsl:otherwise>
			
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
	
	<xsl:template name="textout">
		<xsl:apply-templates />
	</xsl:template>
	
	<xsl:template match="*">
		<xsl:if test="(@xml:lang=$lang1 or not(@xml:lang))"> <!-- check for correct language -->
		<xsl:choose>
			<xsl:when test="name(.)='html'">
				<xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='body'">
				<xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='hr'">
				<xsl:text>
			
----------------------------------------------------------------------------------------------------------

</xsl:text>
			</xsl:when>
			<xsl:when test="name(.)='div'">
				<xsl:if test="(contains(@class,$platform) or not(@class))">
					<xsl:apply-templates/>
				</xsl:if>
			</xsl:when>
			<xsl:when test="name(.)='a'">
				<xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='tt'">
				<xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='li'">
				<xsl:value-of select="$lf"/>* <xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='ul'">
				<xsl:value-of select="$lf"/>
				<xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='ol'">
				<xsl:value-of select="$lf"/>
				<xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='p'">
				<xsl:if test="(not(name(..)='li') and (count(a) = 0))">
					<xsl:value-of select="$lf"/>
					<xsl:value-of select="$lf"/>
				</xsl:if>
				<xsl:apply-templates/>
			</xsl:when>
			<xsl:when test="name(.)='h1'">
				<xsl:value-of select="$lf"/>
				<xsl:text>======================================================================</xsl:text>
				<xsl:value-of select="$lf"/>
				<xsl:apply-templates/>
				<xsl:value-of select="$lf"/>
				<xsl:text>======================================================================</xsl:text>
				<xsl:value-of select="$lf"/>
			</xsl:when>
			<xsl:when test="name(.)='h2'">
				<xsl:value-of select="$lf"/>
				<xsl:value-of select="$lf"/>
				<xsl:text>----------------------------------------------------------------------</xsl:text>
				<xsl:value-of select="$lf"/>
				<xsl:apply-templates/>
				<xsl:value-of select="$lf"/>
				<xsl:text>----------------------------------------------------------------------</xsl:text>
			</xsl:when>
			<xsl:when test="name(.)='h3'">
				<xsl:value-of select="$lf"/>
				<xsl:value-of select="$lf"/>
				<xsl:apply-templates/>
				<xsl:value-of select="$lf"/>
				<xsl:text>----------------------------------------------------------------------</xsl:text>
			</xsl:when>
		</xsl:choose>
	</xsl:if>
	</xsl:template>

</xsl:stylesheet>