From 5b3022860abfe7eefd2e25b60b5b2a563b42b3c0 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 16 Jun 2016 17:09:32 +0200 Subject: tdf#99967 Drop Web Wizard Change-Id: Ibc0f45a03e16f3fe4ee54b24de30ba88e43a4aab Reviewed-on: https://gerrit.libreoffice.org/26381 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- .../wizard/web/layouts/diagonal/index.html.xsl | 120 --------- .../wizard/web/layouts/frame_bottom/index.html.xsl | 87 ------- .../wizard/web/layouts/frame_bottom/mainframe.html | 7 - .../web/layouts/frame_bottom/tocframe.html.xsl | 117 --------- .../wizard/web/layouts/frame_left/index.html.xsl | 87 ------- .../wizard/web/layouts/frame_left/mainframe.html | 7 - .../web/layouts/frame_left/tocframe.html.xsl | 113 --------- .../wizard/web/layouts/frame_right/index.html.xsl | 87 ------- .../wizard/web/layouts/frame_right/mainframe.html | 7 - .../web/layouts/frame_right/tocframe.html.xsl | 116 --------- .../wizard/web/layouts/frame_top/index.html.xsl | 87 ------- .../wizard/web/layouts/frame_top/mainframe.html | 7 - .../wizard/web/layouts/frame_top/tocframe.html.xsl | 116 --------- .../misc_config/wizard/web/layouts/layout.xsl | 195 -------------- .../misc_config/wizard/web/layouts/layoutF.xsl | 113 --------- .../misc_config/wizard/web/layouts/layoutX.xsl | 281 --------------------- .../wizard/web/layouts/simple/index.html.xsl | 148 ----------- .../misc_config/wizard/web/layouts/source.xml.xsl | 44 ---- .../wizard/web/layouts/table_2/index.html.xsl | 202 --------------- .../wizard/web/layouts/table_3/index.html.xsl | 208 --------------- .../wizard/web/layouts/zigzag/index.html.xsl | 207 --------------- 21 files changed, 2356 deletions(-) delete mode 100644 extras/source/misc_config/wizard/web/layouts/diagonal/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_bottom/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_bottom/mainframe.html delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_left/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_left/mainframe.html delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_right/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_right/mainframe.html delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_top/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_top/mainframe.html delete mode 100644 extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/layout.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/layoutF.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/layoutX.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/source.xml.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl delete mode 100644 extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl (limited to 'extras/source/misc_config/wizard/web/layouts') diff --git a/extras/source/misc_config/wizard/web/layouts/diagonal/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/diagonal/index.html.xsl deleted file mode 100644 index c785f773f971..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/diagonal/index.html.xsl +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -

- - - - - - - - - -

-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- - -
-
-
- - -
diff --git a/extras/source/misc_config/wizard/web/layouts/frame_bottom/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_bottom/index.html.xsl deleted file mode 100644 index c0920ea4fd53..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_bottom/index.html.xsl +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - <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> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_bottom/mainframe.html b/extras/source/misc_config/wizard/web/layouts/frame_bottom/mainframe.html deleted file mode 100644 index ab1613b6d1dc..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_bottom/mainframe.html +++ /dev/null @@ -1,7 +0,0 @@ -<html> - <head> - <title></title> - <link href="style.css" rel="stylesheet" type="text/css"/> - </head> - <body></body> -</html> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl deleted file mode 100644 index 015e1a69e09f..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_bottom/tocframe.html.xsl +++ /dev/null @@ -1,117 +0,0 @@ -<?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> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_left/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_left/index.html.xsl deleted file mode 100644 index abbfe484b49b..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_left/index.html.xsl +++ /dev/null @@ -1,87 +0,0 @@ -<?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> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_left/mainframe.html b/extras/source/misc_config/wizard/web/layouts/frame_left/mainframe.html deleted file mode 100644 index ab1613b6d1dc..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_left/mainframe.html +++ /dev/null @@ -1,7 +0,0 @@ -<html> - <head> - <title></title> - <link href="style.css" rel="stylesheet" type="text/css"/> - </head> - <body></body> -</html> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl deleted file mode 100644 index 4353ad59502a..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_left/tocframe.html.xsl +++ /dev/null @@ -1,113 +0,0 @@ -<?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> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_right/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_right/index.html.xsl deleted file mode 100644 index 5c6f115478f5..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_right/index.html.xsl +++ /dev/null @@ -1,87 +0,0 @@ -<?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="*,273" 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> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_right/mainframe.html b/extras/source/misc_config/wizard/web/layouts/frame_right/mainframe.html deleted file mode 100644 index ab1613b6d1dc..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_right/mainframe.html +++ /dev/null @@ -1,7 +0,0 @@ -<html> - <head> - <title></title> - <link href="style.css" rel="stylesheet" type="text/css"/> - </head> - <body></body> -</html> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl deleted file mode 100644 index cbb376b3f6f9..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_right/tocframe.html.xsl +++ /dev/null @@ -1,116 +0,0 @@ -<?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 height="200" align="center" class="ccolor"> - <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> - </tr> - - </xsl:template> - - - - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_top/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_top/index.html.xsl deleted file mode 100644 index 4d9e77b3e19c..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_top/index.html.xsl +++ /dev/null @@ -1,87 +0,0 @@ -<?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="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> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_top/mainframe.html b/extras/source/misc_config/wizard/web/layouts/frame_top/mainframe.html deleted file mode 100644 index ab1613b6d1dc..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_top/mainframe.html +++ /dev/null @@ -1,7 +0,0 @@ -<html> - <head> - <title></title> - <link href="style.css" rel="stylesheet" type="text/css"/> - </head> - <body></body> -</html> diff --git a/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl b/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl deleted file mode 100644 index 2ac3d00511c2..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/frame_top/tocframe.html.xsl +++ /dev/null @@ -1,116 +0,0 @@ -<?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> diff --git a/extras/source/misc_config/wizard/web/layouts/layout.xsl b/extras/source/misc_config/wizard/web/layouts/layout.xsl deleted file mode 100644 index 6cda1be13042..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/layout.xsl +++ /dev/null @@ -1,195 +0,0 @@ -<?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" /> - - <!-- ============================= - ROOT - ================================== --> - - - <xsl:template match="/"> - <html> - <xsl:call-template name="head"/> - <xsl:call-template name="body"/> - </html> - </xsl:template> - - - <!-- ============================= - Document properties - - This section contains templates which - give the document properties... - - ================================== --> - - <!-- this templates gives the - relative href of the document. To use - with the <a href="..."> attribute--> - - - <xsl:template match="document" mode="href"> - <xsl:value-of select="concat(../@directory,'/')"/> - <xsl:if test="@dir"> - <xsl:value-of select="concat(@dir,'/')"/> - </xsl:if> - <xsl:value-of select="@fn"/> - </xsl:template> - - - <xsl:template match="document/@title"> - <xsl:param name="target" select="''"/> - - <span class="doctitle"> - <a> - <xsl:attribute name="href"> - <xsl:apply-templates select=".." mode="href"/> - </xsl:attribute> - - <xsl:if test=" $target != ''"> - <xsl:attribute name="target"> - <xsl:value-of select="$target"/> - </xsl:attribute> - </xsl:if> - - <xsl:value-of select="."/> - </a> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@description"> - <span class="docdescription"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@author"> - <span class="docauthor"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@create-date"> - <span class="doccreationdate"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@update-date"> - <span class="doclastchangeddate"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@filename"> - <span class="docfilename"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@format"> - <span class="docfileformatinfo"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@pages"> - <span class="docnumberofpages"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@size"> - <span class="docsizeinkb"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - <xsl:template match="document/@icon"> - <img src="images/{.}"/> - <br/> - </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 HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"/> - <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 href="style.css" rel="stylesheet" type="text/css"/> - - </head> - </xsl:template> - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/layoutF.xsl b/extras/source/misc_config/wizard/web/layouts/layoutF.xsl deleted file mode 100644 index 997e06e5a262..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/layoutF.xsl +++ /dev/null @@ -1,113 +0,0 @@ -<?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 -with Frames : it generates the main index.html which contains -the frameset. - -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"/> - - - <!-- ============================= - ROOT - ================================== --> - - - <xsl:template match="/"> - <html> - <xsl:call-template name="head"/> - <xsl:call-template name="frameset"/> - </html> - </xsl:template> - - - <!-- ============================= - HTML FRAMES - ================================== --> - - - <xsl:template name="frameset"> - - <!-- - @ Add frameset here... - - the following noframes tag is - naturally optional. - --> - - <noframes/> - - <!-- the body tag has no influence here, - we add it for good style. - --> - - <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 HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"/> - <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 href="style.css" rel="stylesheet" type="text/css"/> - - </head> - </xsl:template> - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl b/extras/source/misc_config/wizard/web/layouts/layoutX.xsl deleted file mode 100644 index abf13fcc124b..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/layoutX.xsl +++ /dev/null @@ -1,281 +0,0 @@ -<?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"/> - - - <!-- ============================= - ROOT - ================================== --> - - - <xsl:template match="/"> - <html> - <xsl:call-template name="head"/> - <xsl:call-template name="body"/> - </html> - </xsl:template> - - - <!-- ============================= - HTML BODY - ================================== --> - - <xsl:template name="body"> - <body> - <xsl:call-template name="title"/> - <xsl:call-template name="toc"/> - </body> - </xsl:template> - - - <xsl:template name="toc"> - <!-- - @ pre toc html here - --> - - <!-- use this to group documents, it - is for example useful when generating tables --> - - <xsl:variable name="group" select="3"/> - - <xsl:for-each select="/session/content/document[ ( ( position() - 1 ) mod $group ) = 0 ]"> - - <!-- - @ pre group html here - --> - - <xsl:call-template name="document-group"> - <xsl:with-param name="group" select="$group"/> - </xsl:call-template> - - <!-- - @ post group html here - --> - - </xsl:for-each> - - - <!-- 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"/> - --> - - <!-- - @ 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: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="@format-icon"/> - <xsl:apply-templates select="@format-icon"/> - </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 - --> - - <xsl:value-of select="/session/general-info/@title"/> - - <!-- - @ Post title html code here - --> - </xsl:template> - - <!-- ============================= - Document properties - - This section contains templates which - give the document properties... - - ================================== --> - - <!-- this templates gives the - relative href of the document. To use - with the <a href="..."> attribute--> - - - <xsl:template match="document" mode="href"> - <xsl:value-of select="concat(../@directory,'/')"/> - <xsl:if test="@dir"> - <xsl:value-of select="concat(@dir,'/')"/> - </xsl:if> - <xsl:value-of select="@fn"/> - </xsl:template> - - - <xsl:template match="document/@title"> - <span class="doctitle"> - <a> - <xsl:attribute name="href"> - <xsl:apply-templates select=".." mode="href"/> - </xsl:attribute> - - <xsl:value-of select="."/> - </a> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@description"> - <span class="docdescription"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@author"> - <span class="docauthor"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@create-date"> - <span class="doccreationdate"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@update-date"> - <span class="doclastchangeddate"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@filename"> - <span class="docfilename"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@format"> - <span class="docfileformatinfo"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@pages"> - <span class="docnumberofpages"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - - <xsl:template match="document/@size"> - <span class="docsizeinkb"> - <xsl:value-of select="."/> - </span> - <br/> - </xsl:template> - - <xsl:template match="document/@icon"> - <img src="images/{.}"/> - <br/> - </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 HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=UTF-8"/> - <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 href="style.css" rel="stylesheet" type="text/css"/> - - </head> - </xsl:template> - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl deleted file mode 100644 index d188b2d29682..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/simple/index.html.xsl +++ /dev/null @@ -1,148 +0,0 @@ -<?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"> - <body> - - <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tcolor"> - - <xsl:call-template name="title"/> - <xsl:call-template name="toc"/> - - </table> - - </body> - </xsl:template> - - - <xsl:template name="toc"> - <!-- - @ pre toc html here - --> - <tr> - <td width="30" class="ccolor">&#160; - </td> - <td> - - <!-- 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"/> - - <!-- - @ post toc html here - --> - </td> - </tr> - - </xsl:template> - - <!-- also when using groups, in the end it comes - to this template, which is called for each document --> - <xsl:template match="document"> - <p> - <xsl:apply-templates select="@icon"/> - - <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="@format-icon"/> - <xsl:apply-templates select="@format-icon"/> - </p> - - <xsl:if test="position() &lt; last()"> - <hr/> - </xsl:if> - - </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 - --> - <tr> - <td height="80" colspan="2" class="toctitle"> - - <xsl:value-of select="/session/general-info/@title"/> - - <!-- - @ Post title html code here - --> - </td> - </tr> - </xsl:template> - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/source.xml.xsl b/extras/source/misc_config/wizard/web/layouts/source.xml.xsl deleted file mode 100644 index 9a2af015075d..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/source.xml.xsl +++ /dev/null @@ -1,44 +0,0 @@ -<?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 templates creates a source.xml file which is identical to the source xml tree - used for the transformation. This is may be useful for deveopement/debuging - of layouts. - - ==================================== --> - -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:redirect="http://xml.apache.org/xalan/redirect" - extension-element-prefixes="redirect"> - - <xsl:output method="xml"/> - - - <xsl:template match="/"> - <xsl:apply-templates mode="copy"/> - </xsl:template> - - <xsl:template match="@*|node()" mode="copy"> - <xsl:copy> - <xsl:apply-templates select="@*|node()" mode="copy"/> - </xsl:copy> - </xsl:template> - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl deleted file mode 100644 index 5b81b3b0baba..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/table_2/index.html.xsl +++ /dev/null @@ -1,202 +0,0 @@ -<?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"> - - <body> - - <!-- - @ pre code here - --> - - <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tcolor"> - - <xsl:call-template name="title"/> - - <!-- - @ inter code here - --> - - <xsl:call-template name="toc"/> - - <!-- - @ post code here - --> - - </table> - - </body> - - </xsl:template> - - - - - <xsl:template name="title"> - <!-- - @ Pre title html code here - --> - <tr> - <td height="200%" colspan="7" class="toctitle"> - - <xsl:value-of select="/session/general-info/@title"/> - - <!-- - @ Post title html code here - --> - - </td> - </tr> - - </xsl:template> - - - <xsl:template name="toc"> - - <!-- @ pre toc html here --> - - <!-- - - --> - - <!-- use this to group documents, it - is for example useful when generating tables --> - - - - <xsl:call-template name="toc-with-group"> - <xsl:with-param name="group" select="2"/> - </xsl:call-template> - - - <!-- 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"/> --> - - <!-- @ post toc html here --> - - <!-- - - --> - - </xsl:template> - - - <xsl:template name="toc-with-group"> - <xsl:param name="group"/> - - <xsl:for-each select="/session/content/document[ ( ( position() - 1 ) mod $group ) = 0 ]"> - - <xsl:call-template name="document-group"> - <xsl:with-param name="group" select="$group"/> - </xsl:call-template> - - </xsl:for-each> - - </xsl:template> - - <xsl:template name="document-group"> - <xsl:param name="group"/> - - <!-- @ pre group code here --> - - <tr> - <td width="30" height="200" class="ccolor"></td> - - <!-- - - --> - - <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:if test="last()=1 and position()=last()"> - <xsl:call-template name="empty-doc"/> - </xsl:if> - - </xsl:for-each> - - <!-- @ post group code here --> - - <td colspan="2" class="ccolor"></td> - </tr> - - <!-- - - --> - - </xsl:template> - - <xsl:template name="empty-doc"> - <td width="50"> <p> </p></td> - <td width="200"> <p> </p></td> - </xsl:template> - - - <!-- also when using groups, in the end it comes - to this template, which is called for each document --> - - <xsl:template match="document"> - <!-- file format icon --> - - <td width="50"> <p> - <xsl:apply-templates select="@icon"/> - </p></td> - - <td width="200"> <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> </td> - - </xsl:template> - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl deleted file mode 100644 index 7d806b70650f..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/table_3/index.html.xsl +++ /dev/null @@ -1,208 +0,0 @@ -<?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"> - - <body> - - <!-- - @ pre code here - --> - - <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tcolor"> - - <xsl:call-template name="title"/> - - <!-- - @ inter code here - --> - - <xsl:call-template name="toc"/> - - <!-- - @ post code here - --> - - </table> - - </body> - - </xsl:template> - - - - - <xsl:template name="title"> - <!-- - @ Pre title html code here - --> - <tr> - <td height="200%" colspan="9" class="toctitle"> - - <xsl:value-of select="/session/general-info/@title"/> - - <!-- - @ Post title html code here - --> - - </td> - </tr> - - </xsl:template> - - - <xsl:template name="toc"> - - <!-- @ pre toc html here --> - - <!-- - - --> - - <!-- use this to group documents, it - is for example useful when generating tables --> - - - - <xsl:call-template name="toc-with-group"> - <xsl:with-param name="group" select="3"/> - </xsl:call-template> - - - <!-- 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"/> --> - - <!-- @ post toc html here --> - - <!-- - - --> - - </xsl:template> - - - <xsl:template name="toc-with-group"> - <xsl:param name="group"/> - - <xsl:for-each select="/session/content/document[ ( ( position() - 1 ) mod $group ) = 0 ]"> - - <xsl:call-template name="document-group"> - <xsl:with-param name="group" select="$group"/> - </xsl:call-template> - - </xsl:for-each> - - </xsl:template> - - <xsl:template name="document-group"> - <xsl:param name="group"/> - - <!-- @ pre group code here --> - - <tr> - <td width="30" height="200" class="ccolor"></td> - - <!-- - - --> - - <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:choose> - <xsl:when test="last()=1 and position()=last()"> - <xsl:call-template name="empty-doc"/> - <xsl:call-template name="empty-doc"/> - </xsl:when> - <xsl:when test="last()=2 and position()=last()"> - <xsl:call-template name="empty-doc"/> - </xsl:when> - </xsl:choose> - - </xsl:for-each> - - <!-- @ post group code here --> - - <td colspan="2" class="ccolor"></td> - </tr> - - <!-- - - --> - - </xsl:template> - - <xsl:template name="empty-doc"> - <td width="50"> <p> </p></td> - <td width="200"> <p> </p></td> - </xsl:template> - - - <!-- also when using groups, in the end it comes - to this template, which is called for each document --> - - <xsl:template match="document"> - <!-- file format icon --> - - <td width="50"> <p> - <xsl:apply-templates select="@icon"/> - </p></td> - - <td width="200"> <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> </td> - - </xsl:template> - -</xsl:stylesheet> diff --git a/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl b/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl deleted file mode 100644 index 90ea959570a0..000000000000 --- a/extras/source/misc_config/wizard/web/layouts/zigzag/index.html.xsl +++ /dev/null @@ -1,207 +0,0 @@ -<?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... - -====================================================== --> -<!DOCTYPE xsl:stylesheet [ - -<!ENTITY x1 "0"> -<!ENTITY x2 "250"> -<!ENTITY x3 "500"> - -<!ENTITY y1 "0"> -<!ENTITY y2 "150"> -<!ENTITY y3 "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"> - <body> - <xsl:call-template name="title"/> - <xsl:call-template name="toc"/> - </body> - </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="x1"> - <xsl:call-template name="x"/> - </xsl:variable> - - <xsl:variable name="x" select="number($x1) + 50 "/> - - <xsl:variable name="y1"> - <xsl:call-template name="y"/> - </xsl:variable> - - <xsl:variable name="y" select="(floor($i div 3)) * 300 + number($y1) + 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="x"> - <xsl:variable name="i" select="position()"/> - <xsl:choose> - <xsl:when test="$i = 2"> - &x2; - </xsl:when> - <xsl:when test="$i = 3"> - &x3; - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="($i mod 3) = 1"> - &x1; - </xsl:when> - <xsl:when test="($i mod 3) = 2"> - &x3; - </xsl:when> - <xsl:when test="($i mod 3) = 0"> - &x2; - </xsl:when> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </xsl:template> - - <xsl:template name="y"> - <xsl:variable name="i" select="position()"/> - <xsl:choose> - <xsl:when test="$i = 2"> - &y2; - </xsl:when> - <xsl:when test="$i = 3"> - &y3; - </xsl:when> - <xsl:otherwise> - <xsl:choose> - <xsl:when test="($i mod 3) = 1"> - &y1; - </xsl:when> - <xsl:when test="($i mod 3) = 2"> - &y3; - </xsl:when> - <xsl:when test="($i mod 3) = 0"> - &y2; - </xsl:when> - </xsl:choose> - </xsl:otherwise> - </xsl:choose> - </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"/> - &#160; - <!-- - @ Post title html code here - --> - </div> - </div> - </xsl:template> - -</xsl:stylesheet> -- cgit