Kaydet (Commit) 5b302286 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt Kaydeden (comit) Julien Nabet

tdf#99967 Drop Web Wizard

Change-Id: Ibc0f45a03e16f3fe4ee54b24de30ba88e43a4aab
Reviewed-on: https://gerrit.libreoffice.org/26381Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 9bc537b7
......@@ -941,7 +941,6 @@ $(eval $(call gb_Helper_register_packages_for_install,ooo,\
Pyuno/fax \
Pyuno/letter \
Pyuno/agenda \
Pyuno/web \
Pyuno/mailmerge \
)) \
sfx2_classification \
......
......@@ -19,7 +19,6 @@ import xml.etree.ElementTree as ET
main_xcd_discard = [
'org.openoffice.Office/TableWizard', # huge
'org.openoffice.Office/WebWizard',
'org.openoffice.Office.DataAccess/Drivers', # no database
'org.openoffice.Office/Addons', # no addons
......
......@@ -20,60 +20,6 @@ $(eval $(call gb_Package_add_files_with_dir,extras_cfgsrvnolang,$(LIBO_SHARE_FOL
wizard/form/styles/red.css \
wizard/form/styles/violet.css \
wizard/form/styles/water.css \
wizard/web/images/calc.gif \
wizard/web/images/draw.gif \
wizard/web/images/fls.gif \
wizard/web/images/graphics.gif \
wizard/web/images/html.gif \
wizard/web/images/impress.gif \
wizard/web/images/media.gif \
wizard/web/images/other.gif \
wizard/web/images/pdf.gif \
wizard/web/images/writer.gif \
wizard/web/layouts/diagonal/index.html.xsl \
wizard/web/layouts/frame_bottom/index.html.xsl \
wizard/web/layouts/frame_bottom/mainframe.html \
wizard/web/layouts/frame_bottom/tocframe.html.xsl \
wizard/web/layouts/frame_left/index.html.xsl \
wizard/web/layouts/frame_left/mainframe.html \
wizard/web/layouts/frame_left/tocframe.html.xsl \
wizard/web/layouts/frame_right/index.html.xsl \
wizard/web/layouts/frame_right/mainframe.html \
wizard/web/layouts/frame_right/tocframe.html.xsl \
wizard/web/layouts/frame_top/index.html.xsl \
wizard/web/layouts/frame_top/mainframe.html \
wizard/web/layouts/frame_top/tocframe.html.xsl \
wizard/web/layouts/layoutF.xsl \
wizard/web/layouts/layout.xsl \
wizard/web/layouts/layoutX.xsl \
wizard/web/layouts/simple/index.html.xsl \
wizard/web/layouts/source.xml.xsl \
wizard/web/layouts/table_2/index.html.xsl \
wizard/web/layouts/table_3/index.html.xsl \
wizard/web/layouts/zigzag/index.html.xsl \
wizard/web/preview.html \
wizard/web/styles/beige.css \
wizard/web/styles/bg.css \
wizard/web/styles/bgr.css \
wizard/web/styles/bgrey.css \
wizard/web/styles/bwb.css \
wizard/web/styles/bwo.css \
wizard/web/styles/dark.css \
wizard/web/styles/dp.css \
wizard/web/styles/forest.css \
wizard/web/styles/green.css \
wizard/web/styles/greenred.css \
wizard/web/styles/grey.css \
wizard/web/styles/ibg.css \
wizard/web/styles/ice.css \
wizard/web/styles/marine.css \
wizard/web/styles/orange.css \
wizard/web/styles/pc_old.css \
wizard/web/styles/red.css \
wizard/web/styles/rgb.css \
wizard/web/styles/strange.css \
wizard/web/styles/violet.css \
wizard/web/styles/water.css \
))
# vim: set noet sw=4 ts=4:
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method = "html"
media-type = "text/html"
indent = "yes"
doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN"
omit-xml-declaration = "yes"
standalone = "yes" />
<xsl:include href="../layout.xsl"/>
<!-- =============================
HTML BODY
================================== -->
<xsl:template name="body">
<xsl:call-template name="title"/>
<xsl:call-template name="toc"/>
</xsl:template>
<xsl:template name="toc">
<!--
@ pre toc html here
-->
<xsl:apply-templates select="/session/content/document"/>
<!--
@ post toc html here
-->
</xsl:template>
<!-- also when using groups, in the end it comes
to this template, which is called for each document -->
<xsl:template match="document">
<xsl:variable name="i" select="position() - 1"/>
<xsl:variable name="x" select="( $i mod 3 ) * 250 + 50"/>
<xsl:variable name="y" select="( $i mod 3 ) * 50 + (floor( $i div 3 )) * 300 + 80"/>
<div style="position:absolute; padding:15px; left:{$x}px; top:{$y}px; width:170px; height:220px; z-index:1" class="tcolor">
<div align="center">
<xsl:apply-templates select="@icon"/>
<p>
<xsl:apply-templates select="@title"/>
<xsl:apply-templates select="@description"/>
<xsl:apply-templates select="@author"/>
<xsl:apply-templates select="@create-date"/>
<xsl:apply-templates select="@update-date"/>
<xsl:apply-templates select="@filename"/>
<xsl:apply-templates select="@format"/>
<xsl:apply-templates select="@pages"/>
<xsl:apply-templates select="@size"/>
</p>
</div>
</div>
</xsl:template>
<xsl:template name="document-group">
<xsl:param name="group"/>
<!-- @ pre group code here -->
<!-- - - -->
<xsl:variable name="count" select="(position() - 1) * $group + 1"/>
<xsl:for-each select="/session/content/document[$count &lt;= position() and position() &lt; ($count + $group)]">
<xsl:apply-templates select="."/>
</xsl:for-each>
<!-- @ post group code here -->
<!-- - - -->
</xsl:template>
<xsl:template name="title">
<!--
@ Pre title html code here
-->
<div style="position:absolute; left:280px; top:8px; width:220px; z-index:2; padding:10px" class="ccolor">
<div align="center" class="toctitle">
<xsl:value-of select="/session/general-info/@title"/>
<!--
@ Post title html code here
-->
</div>
</div>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method = "html"
media-type = "text/html"
indent = "yes"
doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN"
omit-xml-declaration = "yes"
standalone = "yes" />
<!-- =============================
ROOT
================================== -->
<xsl:template match="/">
<html>
<xsl:call-template name="head"/>
<xsl:call-template name="frameset"/>
</html>
</xsl:template>
<!-- =============================
HTML FRAMES
================================== -->
<xsl:template name="frameset">
<frameset rows="*,281" cols="*" framespacing="0" frameborder="NO" border="0">
<frame src="mainframe.html" name="mainframe"/>
<frame src="tocframe.html" name="tocframe" scrolling="Auto" noresize=""/>
</frameset>
<noframes/>
<body>
</body>
</xsl:template>
<!-- =============================
HTML HEAD
this section should not be changed
================================== -->
<xsl:template name="head">
<head>
<title>
<xsl:value-of select="/session/general-info/@title"/>
</title>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -->
<meta name="description" content="{/session/general-info/@description}"/>
<meta name="keywords" content="{/session/general-info/@keywords}"/>
<meta name="author" content="{/session/general-info/@author}"/>
<meta name="email" content="{/session/general-info/@email}"/>
<meta name="copyright" content="{/session/general-info/@copyright}"/>
<!-- create date?
update date?
fav icon?
-->
<link REL="shortcut icon" href="images/favicon.ico" type="image/ico"/>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
</xsl:template>
</xsl:stylesheet>
<html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body></body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!-- =================================================
This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
====================================================== -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method = "html"
media-type = "text/html"
indent = "yes"
doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN"
omit-xml-declaration = "yes"
standalone = "yes" />
<xsl:include href="../layout.xsl"/>
<!-- =============================
HTML BODY
================================== -->
<xsl:template name="body">
<xsl:call-template name="toc"/>
</xsl:template>
<xsl:template name="toc">
<xsl:variable name="doc-count" select="count(/session/content/document)"/>
<table width="{$doc-count * 250}" height="250" border="0" cellpadding="0" cellspacing="0" class="tcolor">
<tr>
<td height="50" colspan="{$doc-count * 2 + 2}" class="toctitle">
<xsl:value-of select="/session/general-info/@title"/>
</td>
</tr>
<!-- use this alternative if you do not need to use groups
(uncomment to use - and do not forget to comment the group
option above...)-->
<tr>
<xsl:apply-templates select="/session/content/document"/>
<td colspan="2"></td>
</tr>
</table>
<!--
@ post toc html here
-->
<p class="colback"> </p>
</xsl:template>
<!-- also when using groups, in the end it comes
to this template, which is called for each document -->
<xsl:template match="document">
<!-- image cell -->
<td width="50" height="200" align="center">
<p>
<xsl:apply-templates select="@icon"/>
</p>
</td>
<td width="200"><p>
<xsl:apply-templates select="@title">
<xsl:with-param name="target" select="'mainframe'"/>
</xsl:apply-templates>
<xsl:apply-templates select="@description"/>
<xsl:apply-templates select="@author"/>
<xsl:apply-templates select="@create-date"/>
<xsl:apply-templates select="@update-date"/>
<xsl:apply-templates select="@filename"/>
<xsl:apply-templates select="@format"/>
<xsl:apply-templates select="@pages"/>
<xsl:apply-templates select="@size"/>
</p> </td>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method = "html"
media-type = "text/html"
indent = "yes"
doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN"
omit-xml-declaration = "yes"
standalone = "yes" />
<!-- =============================
ROOT
================================== -->
<xsl:template match="/">
<html>
<xsl:call-template name="head"/>
<xsl:call-template name="frameset"/>
</html>
</xsl:template>
<!-- =============================
HTML FRAMES
================================== -->
<xsl:template name="frameset">
<frameset rows="*" cols="284,*" framespacing="0" frameborder="NO" border="0">
<frame src="tocframe.html" name="tocframe" scrolling="Auto" noresize=""/>
<frame src="mainframe.html" name="mainframe"/>
</frameset>
<noframes/>
<body>
</body>
</xsl:template>
<!-- =============================
HTML HEAD
this section should not be changed
================================== -->
<xsl:template name="head">
<head>
<title>
<xsl:value-of select="/session/general-info/@title"/>
</title>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -->
<meta name="description" content="{/session/general-info/@description}"/>
<meta name="keywords" content="{/session/general-info/@keywords}"/>
<meta name="author" content="{/session/general-info/@author}"/>
<meta name="email" content="{/session/general-info/@email}"/>
<meta name="copyright" content="{/session/general-info/@copyright}"/>
<!-- create date?
update date?
fav icon?
-->
<link REL="shortcut icon" href="images/favicon.ico" type="image/ico"/>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
</xsl:template>
</xsl:stylesheet>
<html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body></body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<!-- =================================================
This template is a skeleton for single level TOC pages
Do not overwrite this ! copy it and complete the missing
code.
I use the @ character wherever there is a missing code, so
you can use a simple find to navigate and find the
places...
====================================================== -->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:output method = "html"
media-type = "text/html"
indent = "yes"
doctype-public = "-//W3C//DTD HTML 4.0 Transitional//EN"
omit-xml-declaration = "yes"
standalone = "yes" />
<xsl:include href="../layout.xsl"/>
<!-- =============================
HTML BODY
================================== -->
<xsl:template name="body">
<xsl:call-template name="toc"/>
</xsl:template>
<xsl:template name="toc">
<table width="100%" height="654" border="0" cellpadding="0" cellspacing="0" class="tcolor">
<tr>
<td height="80" colspan="2" class="toctitle">
<xsl:value-of select="/session/general-info/@title"/>
</td>
</tr>
<!-- use this alternative if you do not need to use groups
(uncomment to use - and do not forget to comment the group
option above...)-->
<xsl:apply-templates select="/session/content/document"/>
</table>
<!--
@ post toc html here
-->
<p class="colback"> </p>
</xsl:template>
<!-- also when using groups, in the end it comes
to this template, which is called for each document -->
<xsl:template match="document">
<tr>
<!-- image cell -->
<td width="40" height="200" align="center" class="ccolor">
<p>
<xsl:apply-templates select="@icon"/>
</p>
</td>
<td><p>
<xsl:apply-templates select="@title">
<xsl:with-param name="target" select="'mainframe'"/>
</xsl:apply-templates>
<xsl:apply-templates select="@description"/>
<xsl:apply-templates select="@author"/>
<xsl:apply-templates select="@create-date"/>
<xsl:apply-templates select="@update-date"/>
<xsl:apply-templates select="@filename"/>
<xsl:apply-templates select="@format"/>
<xsl:apply-templates select="@pages"/>
<xsl:apply-templates select="@size"/>
</p> </td>
</tr>
</xsl:template>
</xsl:stylesheet>