tdf#99967 Drop Web Wizard

Change-Id: Ibc0f45a03e16f3fe4ee54b24de30ba88e43a4aab
Reviewed-on: https://gerrit.libreoffice.org/26381
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Samuel Mehrbrodt 2016-06-16 17:09:32 +02:00 committed by Julien Nabet
parent 9bc537b794
commit 5b3022860a
146 changed files with 3 additions and 14181 deletions

View file

@ -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 \

View file

@ -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

View file

@ -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:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,120 +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"/>
<!-- =============================
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>

View file

@ -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="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>

View file

@ -1,7 +0,0 @@
<html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body></body>
</html>

View file

@ -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>

View file

@ -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>

View file

@ -1,7 +0,0 @@
<html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body></body>
</html>

View file

@ -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>

View file

@ -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>

View file

@ -1,7 +0,0 @@
<html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body></body>
</html>

View file

@ -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>

View file

@ -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>

View file

@ -1,7 +0,0 @@
<html>
<head>
<title></title>
<link href="style.css" rel="stylesheet" type="text/css"/>
</head>
<body></body>
</html>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -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>

View file

@ -1,41 +0,0 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled document</title>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body background="images/background.gif">
<table width="177" height="100" border="0" align="center">
<tbody>
<tr>
<td width="12" height="20" class="ccolor">&nbsp;</td>
<td width="12" class="ccolor">&nbsp;</td>
<td width="149" class="toctitle">Site title</td>
<td width="12" class="ccolor">&nbsp;</td>
<td width="12" class="ccolor">&nbsp;</td>
</tr>
<tr>
<td height="80" class="ccolor">&nbsp;</td>
<td class="tcolor">&nbsp;</td>
<td class="tcolor">
<span class="doctitle">Document</span><br>
<span class="doccreationdate">Creation Date</span><br>
<span class="doclastchangeddate">Last Change Date</span><br>
<span class="docfilename">Filename</span></td>
<td class="tcolor">&nbsp;</td>
<td class="ccolor">&nbsp;</td>
</tr>
<tr>
<td width="12" height="20" class="ccolor">&nbsp;</td>
<td width="12" class="ccolor">&nbsp;</td>
<td width="149" class="ccolor">&nbsp;</td>
<td width="12" class="ccolor">&nbsp;</td>
<td width="12" class="ccolor">&nbsp;</td>
</tr>
</tbody>
</table>
</body>
</html>

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #FFCC99;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #FFCC99;
}
.tcolor {
background-color: #FF9933;
}
.ccolor {
background-color: #FFCC99;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #003399;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #0099FF;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #660033;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #006699;
}
.tcolor {
background-color: #FFFF99;
}
.ccolor {
background-color: #006699;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #0033CC;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099CC;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #660033;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #006699;
}
.tcolor {
background-color: #FFFF99;
}
.ccolor {
background-color: #0066CC;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #0033CC;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0066FF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFCC00;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #000000;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #555555;
}
.tcolor {
background-color: #333333;
}
.ccolor {
background-color: #555555;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #CCCC00;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #CCCC99;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFF00;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF0000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #999999;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #003399;
}
.tcolor {
background-color: #000066;
}
.ccolor {
background-color: #003399;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #CCCCCC;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFF00;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF0000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #666666;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #CC6600;
}
.tcolor {
background-color: #003366;
}
.ccolor {
background-color: #CC6600;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099FF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFCC00;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #000000;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #333366;
}
.tcolor {
background-color: #333300;
}
.ccolor {
background-color: #333366;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #EEEEEE;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #CCCCCC;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #FFCC00;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFCC00;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #000000;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #333366;
}
.tcolor {
background-color: #660033;
}
.ccolor {
background-color: #333333;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #EEEEEE;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #CCCCCC;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #FFCC00;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FF0000;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #999999;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #663300;
}
.tcolor {
background-color: #006633;
}
.ccolor {
background-color: #003300;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #EEEEEE;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #CCCCCC;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFF00;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF0000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #003333;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #CCCCCC;
background-color: #003333;
}
.tcolor {
background-color: #006666;
}
.ccolor {
background-color: #003333;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099FF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #CCFF00;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFF00;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #CCCCCC;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #003333;
}
.tcolor {
background-color: #990000;
}
.ccolor {
background-color: #003333;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099FF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #99FF00;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #CCCCCC;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #CCCCCC;
}
.tcolor {
background-color: #EEEEEE;
}
.ccolor {
background-color: #BBBBBB;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #0033CC;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099FF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #999999;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #99CCCC;
}
.tcolor {
background-color: #DDDDDD;
}
.ccolor {
background-color: #99CCFF;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #003399;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #0066CC;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #FF9900;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #999999;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #EEEEEE;
}
.tcolor {
background-color: #00CCFF;
}
.ccolor {
background-color: #CCCCCC;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #0033CC;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #0066FF;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #CC0000;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #999999;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #000033;
}
.tcolor {
background-color: #000066;
}
.ccolor {
background-color: #000033;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #EEEEEE;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #CCCCCC;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Times New Roman", Times, serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #660000;
}
.docfilename {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #999999;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Times New Roman", Times, serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #FF9900;
}
.tcolor {
background-color: #FF6600;
}
.ccolor {
background-color: #660033;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #000099;
}
a:visited {
font-family: "Times New Roman", Times, serif;
color: #0066CC;
}
a:active {
font-family: "Times New Roman", Times, serif;
color: #CC0000;
}

View file

@ -1,109 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: "Courier New", Courier, mono;
font-size: 14px;
color: #00CC00;
font-weight: bold;
}
.docdescription {
font-family: "Courier New", Courier, mono;
font-size: 12px;
font-style: italic;
color: #00CC00;
}
.docauthor {
font-family: "Courier New", Courier, mono;
font-size: 12px;
font-style: italic;
color: #00CC00;
}
.doccreationdate {
font-family: "Courier New", Courier, mono;
font-size: 12px;
color: #99CC00;
}
.doclastchangeddate {
font-family: "Courier New", Courier, mono;
font-size: 12px;
color: #FF0000;
}
.docfilename {
font-family: "Courier New", Courier, mono;
font-size: 12px;
color: #00CC00;
}
.docfileformatinfo {
font-family: "Courier New", Courier, mono;
font-size: 12px;
font-style: italic;
color: #00CC00;
}
.docnumberofpages {
font-family: "Courier New", Courier, mono;
font-size: 12px;
color: #00CC00;
}
.docsizeinkb {
font-family: "Courier New", Courier, mono;
font-size: 12px;
color: #00CC00;
}
body {
background-color: #000000;
background-image: url(images/background.gif);
}
.toctitle {
font-family: "Courier New", Courier, mono;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #00CC00;
background-color: #222222;
}
.tcolor {
background-color: #000000;
border-top-width: mittel;
border-right-width: mittel;
border-bottom-width: mittel;
border-left-width: mittel;
border-top-style: doppelt;
border-right-style: doppelt;
border-bottom-style: doppelt;
border-left-style: doppelt;
border-top-color: #333333;
border-right-color: #000000;
border-bottom-color: #000000;
border-left-color: #999999;
}
.ccolor {
background-color: #222222;
}
a:link {
font-family: "Courier New", Courier, mono;
color: #00FF33;
}
a:visited {
font-family: "Courier New", Courier, mono;
color: #00CC33;
}
a:active {
font-family: "Courier New", Courier, mono;
color: #CC0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFF00;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF0000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #999999;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #660033;
}
.tcolor {
background-color: #330000;
}
.ccolor {
background-color: #660033;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #00CCFF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,109 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #660000;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #CCCCCC;
}
.tcolor {
background-color: #FFCC00;
border-top-width: mittel;
border-right-width: mittel;
border-bottom-width: mittel;
border-left-width: mittel;
border-top-style: doppelt;
border-right-style: doppelt;
border-bottom-style: doppelt;
border-left-style: doppelt;
border-top-color: #003399;
border-right-color: #CC3300;
border-bottom-color: #003399;
border-left-color: #666666;
}
.ccolor {
background-color: #000066;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #003399;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099CC;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #CC0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #660000;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #000000;
background-color: #CCCCCC;
}
.tcolor {
background-color: #33CC66;
}
.ccolor {
background-color: #330099;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #0033CC;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099FF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFF00;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FF0000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #FFFFFF;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #FFFFFF;
}
body {
background-color: #CCCCCC;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #330033;
}
.tcolor {
background-color: #330066;
}
.ccolor {
background-color: #330033;
}
a:link {
font-family: Arial, Helvetica, sans-serif;
color: #FFFF00;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0099FF;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #FF0000;
}

View file

@ -1,97 +0,0 @@
/*
* 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 .
*/
.doctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
color: #000000;
font-weight: bold;
}
.docdescription {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docauthor {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.doccreationdate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.doclastchangeddate {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #990000;
}
.docfilename {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000066;
}
.docfileformatinfo {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: italic;
color: #000000;
}
.docnumberofpages {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
.docsizeinkb {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
}
body {
background-color: #CCCCCC;
background-image: url(images/background.gif);
}
.toctitle {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-style: normal;
font-weight: bold;
color: #FFFFFF;
background-color: #006699;
}
.tcolor {
background-color: #EEEEEE;
}
.ccolor {
background-color: #0066CC;
}
a:link {
font-family: "Times New Roman", Times, serif;
color: #0033CC;
}
a:visited {
font-family: Arial, Helvetica, sans-serif;
color: #0066CC;
}
a:active {
font-family: Arial, Helvetica, sans-serif;
color: #CC0000;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 474 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 420 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 400 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 417 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 481 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 447 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 365 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 449 B

View file

@ -665,7 +665,7 @@ ${MYCMD} --base officecfg/registry/data/org/openoffice/Office/UI --files BaseWin
${MYCMD} --files officecfg/registry/data/org/openoffice/Office/UI.xcu
${MYCMD} --base officecfg/registry/data/org/openoffice/Office --files Views.xcu WebWizard.xcu Writer.xcu
${MYCMD} --base officecfg/registry/data/org/openoffice/Office --files Views.xcu Writer.xcu
${MYCMD} --base officecfg/registry/data/org/openoffice --files Setup.xcu System.xcu

View file

@ -137,7 +137,6 @@ $(eval $(call gb_Configuration_add_localized_datas,registry,officecfg/registry/d
org/openoffice/Office/UI.xcu \
org/openoffice/Office/Embedding.xcu \
org/openoffice/Office/ExtendedColorScheme.xcu \
org/openoffice/Office/WebWizard.xcu \
org/openoffice/Office/FormWizard.xcu \
org/openoffice/Office/Writer.xcu \
org/openoffice/Office/UI/BasicIDECommands.xcu \

View file

@ -96,7 +96,6 @@ officecfg_XCSFILES := \
Office/UI/WriterWindowState \
Office/UI/XFormsWindowState \
Office/Views \
Office/WebWizard \
Office/Writer \
Office/WriterWeb \
Setup \

View file

@ -323,28 +323,6 @@
<value>private:image/3216</value>
</prop>
</node>
<node oor:name="m6" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>private:separator</value>
</prop>
<prop oor:name="TargetName" oor:type="xs:string">
<value>_self</value>
</prop>
</node>
<node oor:name="m7" oor:op="replace" install:module="writer">
<prop oor:name="URL" oor:type="xs:string">
<value>service:com.sun.star.wizards.web.CallWizard?start</value>
</prop>
<prop oor:name="Title">
<value xml:lang="en-US">~Web Page...</value>
</prop>
<prop oor:name="TargetName" oor:type="xs:string">
<value>_self</value>
</prop>
<prop oor:name="ImageIdentifier" oor:type="xs:string">
<value>private:image/3216</value>
</prop>
</node>
<node oor:name="m10" oor:op="replace">
<prop oor:name="URL" oor:type="xs:string">
<value>private:separator</value>

File diff suppressed because it is too large Load diff

View file

@ -1,536 +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 .
-->
<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="WebWizard" oor:package="org.openoffice.Office" xml:lang="en-US">
<info>
<desc>Contains the configuration schema for the web wizard</desc>
</info>
<templates>
<group oor:name="WWizLayout">
<info>
<desc>Information on a web-wizard layout</desc>
</info>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>the index of the layout (start at 0, must be exporter-unique)</desc>
</info>
</prop>
<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
<info>
<desc>The UI name of the layout</desc>
</info>
</prop>
<prop oor:name="FSName" oor:type="xs:string">
<info>
<desc>the directory name of the layout.</desc>
</info>
</prop>
</group>
<group oor:name="WWizExporter">
<info>
<desc>Information on a web wizard exporter</desc>
</info>
<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
<info>
<desc>the UI name of the exporter</desc>
</info>
</prop>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>a general index of the exporter, starts with 0, must be exporter-unique</desc>
</info>
</prop>
<prop oor:name="ExporterClass" oor:type="xs:string">
<info>
<desc>A full qualified class name of the exporter class</desc>
</info>
</prop>
<prop oor:name="OwnDirectory" oor:type="xs:boolean">
<info>
<desc>does this exporter needs an own directory to export to.</desc>
</info>
</prop>
<prop oor:name="SupportsFilename" oor:type="xs:boolean">
<info>
<desc>does this exporter support a given filename, or export to a self-generated filename</desc>
</info>
</prop>
<prop oor:name="DefaultFilename" oor:type="xs:string">
<info>
<desc>if does not support filename, what name does it use?</desc>
</info>
</prop>
<prop oor:name="Extension" oor:type="xs:string">
<info>
<desc>the extension that should be used, if the exporter supports filename</desc>
</info>
</prop>
<prop oor:name="SupportedMimeTypes" oor:type="xs:string">
<info>
<desc>one of : writer/calc/impress/draw/graphics/other/(empty for all)</desc>
</info>
</prop>
<prop oor:name="Icon" oor:type="xs:string">
<info>
<desc>the icon to use as preview</desc>
</info>
</prop>
<prop oor:name="TargetType" oor:type="xs:string">
<info>
<desc>A type name out of TypeDetection (like graphic_HTML)</desc>
</info>
</prop>
<prop oor:name="PageType" oor:type="xs:int">
<info>
<desc>Page type of the target document; 0 = no page, 1 = pages, 2 = slides</desc>
</info>
</prop>
<prop oor:name="Binary" oor:type="xs:boolean">
<info>
<desc>if the target format is binary (like pdf) - html is NOT binary.</desc>
</info>
</prop>
<set oor:name="Arguments" oor:node-type="WWizArgument">
<info>
<desc>additional arguments given to the exporter class by initialisation</desc>
</info>
</set>
</group>
<group oor:name="WWizArgument">
<info>
<desc>An argument used by exporters and other configuration groups/sets</desc>
</info>
<prop oor:name="Value" oor:type="xs:string">
<info>
<desc>the value of the argument</desc>
</info>
</prop>
</group>
<group oor:name="WWizStyle">
<info>
<desc>Specifies style information (css)</desc>
</info>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>the index of the style (used by the ui) - starts with 0, must by - style-unique</desc>
</info>
</prop>
<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
<info>
<desc>UI name of the style</desc>
</info>
</prop>
<prop oor:name="CssHref" oor:type="xs:string">
<info>
<desc>the name of the css file</desc>
</info>
</prop>
<prop oor:name="BackgroundImage" oor:type="xs:string">
<info>
<desc>default background image. not implemented.</desc>
</info>
</prop>
<prop oor:name="IconSet" oor:type="xs:string">
<info>
<desc>default iconset. not implemented</desc>
</info>
</prop>
</group>
<group oor:name="WWizImage">
<info>
<desc>locates images for the background images of the webwizard</desc>
</info>
<prop oor:name="Href" oor:type="xs:string">
<info>
<desc>either a directory or a full qualified filename. Office-path variables can be used.</desc>
</info>
</prop>
</group>
<group oor:name="WWizIconSet">
<info>
<desc>describes an icon set, used in export of draw and impress documents.</desc>
</info>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>index of the icon set</desc>
</info>
</prop>
<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
<info>
<desc>UI name of the icon set</desc>
</info>
</prop>
<prop oor:name="FNPrefix" oor:type="xs:string">
<info>
<desc>prefix of the filename. see impress/draw html export</desc>
</info>
</prop>
<prop oor:name="FNPostfix" oor:type="xs:string">
<info>
<desc>postfix of the filename. see impress/draw html export</desc>
</info>
</prop>
</group>
<group oor:name="WWizDocument">
<info>
<desc>describes a document to be exported</desc>
</info>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>the index of the document in the "content"</desc>
</info>
</prop>
<prop oor:name="Title" oor:type="xs:string">
<info>
<desc>Title of the document</desc>
</info>
</prop>
<prop oor:name="Description" oor:type="xs:string">
<info>
<desc>description of the document</desc>
</info>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<info>
<desc>a full url of the document</desc>
</info>
</prop>
<prop oor:name="Author" oor:type="xs:string">
<info>
<desc>the author of the document</desc>
</info>
</prop>
<prop oor:name="Exporter" oor:type="xs:string">
<info>
<desc>the name of the exporter used for this document</desc>
</info>
</prop>
<prop oor:name="ApplyWebStyle" oor:type="xs:boolean">
<info>
<desc>not implemented</desc>
</info>
</prop>
</group>
<group oor:name="WWizContent">
<info>
<desc>describes a web-wizard content, which contains
recursively documents and other contents.
At the moment, contents contain only documents. Implementation of
sub-contents is a future issue
</desc>
</info>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>the index of the content in its parent content.</desc>
</info>
</prop>
<prop oor:name="Name" oor:type="xs:string">
<info>
<desc>The content's name</desc>
</info>
</prop>
<prop oor:name="Description" oor:type="xs:string">
<info>
<desc>The contents description</desc>
</info>
</prop>
<set oor:name="Contents" oor:node-type="WWizContent">
<info>
<desc>sub contents of this content. not implemented.</desc>
</info>
</set>
<set oor:name="Documents" oor:node-type="WWizDocument">
<info>
<desc>documents contained in this content</desc>
</info>
</set>
</group>
<group oor:name="WWizSession">
<info>
<desc>A web wizard session. contains all the user's input.</desc>
</info>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>the index of the session in the list of saved session.</desc>
</info>
</prop>
<prop oor:name="Name" oor:type="xs:string">
<info>
<desc>a user given name of the session</desc>
</info>
</prop>
<prop oor:name="InDirectory" oor:type="xs:string">
<info>
<desc>the last used directory from which the user added documents
to the wizard.
</desc>
</info>
</prop>
<prop oor:name="OutDirectory" oor:type="xs:string">
<info>
<desc>The last directory the user used as output.</desc>
</info>
</prop>
<node-ref oor:name="Content" oor:node-type="WWizContent">
<info>
<desc>the content (documents) of the session</desc>
</info>
</node-ref>
<group oor:name="Design">
<info>
<desc>design specifications of the session.</desc>
</info>
<prop oor:name="Layout" oor:type="xs:string">
<info>
<desc>layout name chosen by the user</desc>
</info>
</prop>
<prop oor:name="Style" oor:type="xs:string">
<info>
<desc>Style name chosen by the user.</desc>
</info>
</prop>
<prop oor:name="BackgroundImage" oor:type="xs:string">
<info>
<desc>background image chosen by the user.</desc>
</info>
</prop>
<prop oor:name="IconSet" oor:type="xs:string">
<info>
<desc>Icon set chosen by the user.</desc>
</info>
</prop>
<prop oor:name="OptimizeDisplaySize" oor:type="xs:int">
<info>
<desc>0 = 640x..., 1 = 800x..., 2 = 1024x...</desc>
</info>
</prop>
<prop oor:name="DisplayTitle" oor:type="xs:boolean">
<info>
<desc>ignored</desc>
</info>
</prop>
<prop oor:name="DisplayDescription" oor:type="xs:boolean">
<info>
<desc>should the description of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplayAuthor" oor:type="xs:boolean">
<info>
<desc>should the author of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplayCreateDate" oor:type="xs:boolean">
<info>
<desc>should the creation date of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplayUpdateDate" oor:type="xs:boolean">
<info>
<desc>should the "last changed date" of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplayFilename" oor:type="xs:boolean">
<info>
<desc>should the filename of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplayFileFormat" oor:type="xs:boolean">
<info>
<desc>should the file format of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplayFormatIcon" oor:type="xs:boolean">
<info>
<desc>should the file format icon of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplayPages" oor:type="xs:boolean">
<info>
<desc>should the number of pages/slides of each document be listed in the TOC</desc>
</info>
</prop>
<prop oor:name="DisplaySize" oor:type="xs:boolean">
<info>
<desc>should the size of binary files be listed in the TOC</desc>
</info>
</prop>
</group>
<group oor:name="GeneralInfo">
<info>
<desc>the general web site information of the session</desc>
</info>
<prop oor:name="Title" oor:type="xs:string">
<info>
<desc>web site title</desc>
</info>
</prop>
<prop oor:name="Description" oor:type="xs:string">
<info>
<desc>web site description </desc>
</info>
</prop>
<prop oor:name="Icon" oor:type="xs:string">
<info>
<desc>web site favIcon (local URL)</desc>
</info>
</prop>
<prop oor:name="Author" oor:type="xs:string">
<info>
<desc>Web Site author</desc>
</info>
</prop>
<prop oor:name="Keywords" oor:type="xs:string">
<info>
<desc>web site keywords</desc>
</info>
</prop>
<prop oor:name="CreationDate" oor:type="xs:int">
<info>
<desc>web site creation date</desc>
</info>
</prop>
<prop oor:name="UpdateDate" oor:type="xs:int">
<info>
<desc>web site last update date</desc>
</info>
</prop>
<prop oor:name="RevisitAfter" oor:type="xs:int">
<info>
<desc>web site rvisit after meta info</desc>
</info>
</prop>
<prop oor:name="Email" oor:type="xs:string">
<info>
<desc>email for contact in web site</desc>
</info>
</prop>
<prop oor:name="Copyright" oor:type="xs:string">
<info>
<desc>copyright notice of web site</desc>
</info>
</prop>
</group>
<set oor:name="Publishing" oor:node-type="WWizPublish">
<info>
<desc>publishing information of the web site.
always contains always 3 members with the names local, ftp and zip.
</desc>
</info>
</set>
</group>
<group oor:name="WWizPublish">
<info>
<desc>specifies information of a single target to publish to</desc>
</info>
<prop oor:name="Publish" oor:type="xs:boolean">
<info>
<desc>should this target be used?</desc>
</info>
</prop>
<prop oor:name="URL" oor:type="xs:string">
<info>
<desc>full url to publish to</desc>
</info>
</prop>
<prop oor:name="Username" oor:type="xs:string">
<info>
<desc>used by ftp targets</desc>
</info>
</prop>
</group>
<group oor:name="WWizFilter">
<info>
<desc>specifies information of a filter for the add dialog</desc>
</info>
<prop oor:name="Index" oor:type="xs:int">
<info>
<desc>the index of the filter </desc>
</info>
</prop>
<prop oor:localized="true" oor:name="Name" oor:type="xs:string">
<info>
<desc>UI Name of the filter</desc>
</info>
</prop>
<prop oor:name="Filter" oor:type="xs:string">
<info>
<desc>Semicolon separated list of file types this filter will show</desc>
</info>
</prop>
</group>
</templates>
<component>
<group oor:name="WebWizard">
<info>
<desc>the web wizard configuration</desc>
</info>
<prop oor:name="WorkDir" oor:type="xs:string">
<info>
<desc>the sub dir under template/(language)/ of the web wizard files</desc>
</info>
</prop>
<prop oor:name="LastSavedSession" oor:type="xs:string">
<info>
<desc>The name of the last saved session. empty if last session was not saved.</desc>
</info>
</prop>
<set oor:name="Exporters" oor:node-type="WWizExporter">
<info>
<desc>the set of available exporters</desc>
</info>
</set>
<set oor:name="Layouts" oor:node-type="WWizLayout">
<info>
<desc>the set of available layouts</desc>
</info>
</set>
<set oor:name="Styles" oor:node-type="WWizStyle">
<info>
<desc>the set of available styles</desc>
</info>
</set>
<set oor:name="BackgroundImages" oor:node-type="WWizImage">
<info>
<desc>the set of available background images</desc>
</info>
</set>
<set oor:name="IconSets" oor:node-type="WWizIconSet">
<info>
<desc>the set of available icon sets (at the moment, hard programmed 4)</desc>
</info>
</set>
<set oor:name="SavedSessions" oor:node-type="WWizSession">
<info>
<desc>the set of saved sessions.</desc>
</info>
</set>
<set oor:name="Filters" oor:node-type="WWizFilter">
<info>
<desc>the set filters in the "add" dialog.</desc>
</info>
</set>
<node-ref oor:name="DefaultSession" oor:node-type="WWizSession">
<info>
<desc>the default settings are loaded from this session.</desc>
</info>
</node-ref>
</group>
</component>
</oor:component-schema>

View file

@ -192,7 +192,6 @@ postprocess_FILES_main := \
$(postprocess_XCS)/Office/UI/WindowState.xcs \
$(postprocess_XCS)/Office/UI.xcs \
$(postprocess_XCS)/Office/Views.xcs \
$(postprocess_XCS)/Office/WebWizard.xcs \
$(postprocess_XCS)/Office/Writer.xcs \
$(postprocess_XCS)/Office/WriterWeb.xcs \
$(postprocess_XCS)/Setup.xcs \
@ -255,7 +254,6 @@ postprocess_FILES_main := \
$(postprocess_XCU)/Office/UI/ToolbarMode.xcu \
$(postprocess_XCU)/Office/UI.xcu \
$(postprocess_XCU)/Office/Views.xcu \
$(postprocess_XCU)/Office/WebWizard.xcu \
$(postprocess_XCU)/Office/Writer.xcu \
$(postprocess_XCU)/Setup.xcu \
$(postprocess_XCU)/System.xcu \

View file

@ -181,7 +181,6 @@ $(eval $(call gb_Rdb_add_components,services,\
wizards/com/sun/star/wizards/agenda/agenda \
wizards/com/sun/star/wizards/fax/fax \
wizards/com/sun/star/wizards/letter/letter \
wizards/com/sun/star/wizards/web/web \
) \
) \
$(if $(ENABLE_CAIRO_CANVAS), \

View file

@ -36,7 +36,6 @@ $(eval $(call gb_Module_add_targets,wizards,\
Pyuno_fax \
Pyuno_letter \
Pyuno_agenda \
Pyuno_web \
Pyuno_commonwizards \
))

View file

@ -1,63 +0,0 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# 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/.
#
$(eval $(call gb_Pyuno_Pyuno,web,$(SRCDIR)/wizards/com/sun/star/wizards/web))
$(eval $(call gb_Pyuno_add_files,web,wizards/web,\
CallWizard.py \
BackgroundsDialog.py \
ErrorHandler.py \
AbstractErrorHandler.py \
FTPDialog.py \
FTPDialogResources.py \
IconsDialog.py \
ImageListDialog.py \
Process.py \
ProcessErrorHandler.py \
ProcessErrors.py \
ProcessStatusRenderer.py \
StatusDialog.py \
StylePreview.py \
TOCPreview.py \
WWD_Events.py \
WWD_General.py \
WWD_Startup.py \
WWHID.py \
WebWizardConst.py \
WebWizardDialog.py \
WebWizardDialogResources.py \
TypeDetection.py \
ExtensionVerifier.py\
WebConfigSet.py\
__init__.py \
data/CGArgument.py \
data/CGContent.py \
data/CGDesign.py \
data/CGDocument.py \
data/CGExporter.py \
data/CGFilter.py \
data/CGGeneralInfo.py \
data/CGIconSet.py \
data/CGImage.py \
data/CGLayout.py \
data/CGPublish.py \
data/CGSession.py \
data/CGSessionName.py \
data/CGSettings.py \
data/CGStyle.py\
data/__init__.py \
export/Exporter.py \
export/AbstractExporter.py \
export/CopyExporter.py \
export/FilterExporter.py \
export/ConfiguredExporter.py \
export/ImpressHTMLExporter.py \
export/__init__.py \
))
$(eval $(call gb_Pyuno_set_componentfile_full,web,wizards/com/sun/star/wizards/web/web,vnd.openoffice.pymodule:wizards.web,.CallWizard))

View file

@ -1,181 +0,0 @@
#
# 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 .
#
from abc import abstractmethod
from .ErrorHandler import ErrorHandler
from ..common.SystemDialog import SystemDialog
from com.sun.star.awt.VclWindowPeerAttribute import OK, DEF_OK, OK_CANCEL, DEF_CANCEL
from com.sun.star.awt.VclWindowPeerAttribute import YES_NO, DEF_NO, DEF_YES
#import com.sun.star.awt.VclWindowPeerAttribute
# An abstract implementation of ErrorHandler, which
# uses a renderer method geMessageFor(Exception, Object, int, int)
# (in this class still abstract...)
# to render the errors, and displays
# error messages.
class AbstractErrorHandler(ErrorHandler):
xmsf = None
peer = None
def __init__(self, xmsf, peer_):
self.xmsf = xmsf
self.peer = peer_
# Implementation of ErrorHandler:
# shows a message box with the rendered error.
# @param arg identifies the error. This object is passed to the render method
# which returns the right error message.
# @return true/false for continue/abort.
def error(self, ex, arg, ix, errorType):
if (errorType == ErrorHandler.ERROR_FATAL):
return not self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_PROCESS_FATAL):
return not self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_NORMAL_ABORT):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_NORMAL_IGNORE):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_QUESTION_CANCEL):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_QUESTION_OK):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_QUESTION_NO):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_QUESTION_YES):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_WARNING):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
elif (errorType == ErrorHandler.ERROR_MESSAGE):
return self.showMessage(self.getMessageFor(ex, arg, ix, errorType), errorType)
raise ValueError("unknown error type")
# @deprecated
# @param message
# @param errorType
# @return true if the ok/yes button is clicked, false otherwise.
def showMessage(self, message, errorType):
return self.showMessage1(self.xmsf, self.peer, message, errorType)
# display a message
# @deprecated
# @param xmsf
# @param message the message to display
# @param errorType an int constant from the ErrorHandler interface.
# @return
@classmethod
def showMessage1(self, xmsf, peer, message, errorType):
serviceName = self.getServiceNameFor(errorType)
attribute = self.getAttributeFor(errorType)
b = SystemDialog.showMessageBox(xmsf, serviceName, attribute, message, peer)
return b == self.getTrueFor(errorType)
@classmethod
def showMessage2(self, xmsf, peer, message, dialogType, buttons, defaultButton, returnTrueOn):
b = SystemDialog.showMessageBox(xmsf, dialogType, defaultButton + buttons, message, peer, )
return b == returnTrueOn
# normally ok(1) is the value for true.
# but a question dialog may use yes. so i use this method
# for each error type to get its type of "true" value.
# @param errorType
# @return
@classmethod
def getTrueFor(self, errorType):
if (errorType in (ErrorHandler.ERROR_FATAL, ErrorHandler.ERROR_PROCESS_FATAL,
ErrorHandler.ERROR_NORMAL_ABORT, ErrorHandler.ERROR_NORMAL_IGNORE,
ErrorHandler.ERROR_QUESTION_CANCEL, ErrorHandler.ERROR_QUESTION_OK)):
return 1
elif (errorType in (ErrorHandler.ERROR_QUESTION_NO, ErrorHandler.ERROR_QUESTION_YES)):
return 2
elif (errorType in (ErrorHandler.ERROR_WARNING, ErrorHandler.ERROR_MESSAGE)):
return 1
raise ValueError("unknown error type")
# @param errorType
# @return the Uno attributes for each error type.
@classmethod
def getAttributeFor(self, errorType):
if (errorType == ErrorHandler.ERROR_FATAL):
return OK
elif (errorType == ErrorHandler.ERROR_PROCESS_FATAL):
return OK
elif (errorType == ErrorHandler.ERROR_NORMAL_ABORT):
return OK_CANCEL + DEF_CANCEL
elif (errorType == ErrorHandler.ERROR_NORMAL_IGNORE):
return OK_CANCEL + DEF_OK
elif (errorType == ErrorHandler.ERROR_QUESTION_CANCEL):
return OK_CANCEL + DEF_CANCEL
elif (errorType == ErrorHandler.ERROR_QUESTION_OK):
return OK_CANCEL + DEF_OK
elif (errorType == ErrorHandler.ERROR_QUESTION_NO):
return YES_NO + DEF_NO
elif (errorType == ErrorHandler.ERROR_QUESTION_YES):
return YES_NO + DEF_YES
elif (errorType == ErrorHandler.ERROR_WARNING):
return OK
elif (errorType == ErrorHandler.ERROR_MESSAGE):
return OK
raise ValueError("unknown error type")
# @deprecated
# @param errorType
# @return the uno service name for each error type
@classmethod
def getServiceNameFor(self, errorType):
if (errorType == ErrorHandler.ERROR_FATAL):
return "errorbox"
elif (errorType == ErrorHandler.ERROR_PROCESS_FATAL):
return "errorbox"
elif (errorType == ErrorHandler.ERROR_NORMAL_ABORT):
return "errorbox"
elif (errorType == ErrorHandler.ERROR_NORMAL_IGNORE):
return "warningbox"
elif (errorType == ErrorHandler.ERROR_QUESTION_CANCEL):
return "querybox"
elif (errorType == ErrorHandler.ERROR_QUESTION_OK):
return "querybox"
elif (errorType == ErrorHandler.ERROR_QUESTION_NO):
return "querybox"
elif (errorType == ErrorHandler.ERROR_QUESTION_YES):
return "querybox"
elif (errorType == ErrorHandler.ERROR_WARNING):
return "warningbox"
elif (errorType == ErrorHandler.ERROR_MESSAGE):
return "infobox"
raise ValueError("unknown error type")
# renders the error
# @param ex the exception
# @param arg a free argument
# @param ix a free argument
# @param type the error type (from the int constants
# in ErrorHandler interface)
# @return a Strings which will be displayed in the message box,
# and which describes the error, and the needed action from the user.
@abstractmethod
def getMessageFor(self, ex, arg, ix, errorType):
pass

View file

@ -1,225 +0,0 @@
#
# 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 .
#
import traceback
from .ImageListDialog import ImageListDialog
from .WWHID import HID_BG
from .WebWizardConst import *
from ..common.SystemDialog import SystemDialog
from ..common.FileAccess import FileAccess
from ..common.Configuration import Configuration
from ..common.ListModel import ListModel
from ..ui.ImageList import ImageList
from com.sun.star.awt import Size
class BackgroundsDialog(ImageListDialog):
def __init__(self, xmsf, set_, resources):
super(BackgroundsDialog, self).__init__(xmsf, HID_BG,
(resources.resBackgroundsDialog,
resources.resBackgroundsDialogCaption,
resources.resOK,
resources.resCancel,
resources.resHelp,
resources.resDeselect,
resources.resOther,
resources.resCounter))
self.sd = SystemDialog.createOpenDialog(xmsf)
self.sd.addFilter(
resources.resImages, "*.jpg;*.jpeg;*.jpe;*.gif", True)
self.sd.addFilter(resources.resAllFiles, "*.*", False)
self.settings = set_.root
self.fileAccess = FileAccess(xmsf)
#COMMENTED
#self.il.setListModel(Model(set_))
self.il.listModel = self.Model(set_, self)
self.il.imageSize = Size (40, 40)
self.il.renderer = self.BGRenderer(0, self)
self.build()
'''
triggered when the user clicks the "other" button.
opens a "file open" dialog, adds the selected
image to the list and to the web wizard configuration,
and then jumps to the new image, selecting it in the list.
@see add(String)
'''
def other(self):
filename = self.sd.callOpenDialog(
False, self.settings.cp_DefaultSession.cp_InDirectory)
if filename is not None and len(filename) > 0 and filename[0] is not None:
self.settings.cp_DefaultSession.cp_InDirectory = \
FileAccess.getParentDir(filename[0])
i = self.add(filename[0])
self.il.setSelected(i)
self.il.display(i)
'''
adds the given image to the image list (to the model)
and to the web wizard configuration.
@param s
@return
'''
def add(self, s):
#first i check the item does not already exists in the list...
i = 0
while i < self.il.listModel.getSize():
if self.il.listModel.getElementAt(i) == s:
return i
i += 1
self.il.listModel.add1(s)
try:
configView = Configuration.getConfigurationRoot(
self.xMSF, FileAccess.connectURLs(
CONFIG_PATH, "BackgroundImages"), True)
i = len(Configuration.getChildrenNames(configView)) + 1
o = Configuration.addConfigNode(configView, "" + str(i))
Configuration.set(s, "Href", o)
Configuration.commit(configView)
except Exception:
traceback.print_exc()
return self.il.listModel.getSize() - 1
'''
an ImageList Imagerenderer implemtation.
The image URL is the object given from the list model.
the image name, got from the "render" method is
the filename portion of the url.
@author rpiterman
'''
class BGRenderer(ImageList.IImageRenderer):
cut = 0
def __init__(self, cut_, parent):
self.cut = cut_
self.parent = parent
def getImageUrl(self, listItem):
if (listItem is not None):
return listItem
return None
def render(self, obj):
return "" if (obj is None) else FileAccess.getFilename(self.parent.fileAccess.getPath(obj, None))
'''
This is a list model for the image list of the
backgrounds dialog.
It takes the Backgrounds config set as an argument,
and "parses" it to a list of files:
It goes through each image in the set, and checks it:
if it is a directory it lists all image files in this directory.
if it is a file, it adds the file to the list.
@author rpiterman
'''
class Model(ListModel):
parent = None
listModel = []
'''
constructor. </br>
see class description for a description of
the handling of the given model
@param model the configuration set of the background images.
'''
def __init__(self, model, parent):
self.parent = parent
try:
i = 0
while i < model.getSize():
image = model.getElementAt(i)
path = parent.sd.xStringSubstitution.substituteVariables(
image.cp_Href, False)
if parent.fileAccess.exists(path, False):
self.addDir(path)
else:
self.remove(model.getKey(image))
i += 1
except Exception:
traceback.print_exc()
'''
when instanciating the model, it checks if each image
exists. If it doesn't, it will be removed from
the configuration.
This is what this method does...
@param imageName
'''
def remove(self, imageName):
try:
conf = Configuration.getConfigurationRoot(
self.parent.xMSF, CONFIG_PATH + "/BackgroundImages",
True)
Configuration.removeNode(conf, imageName)
except Exception:
traceback.print_exc()
'''
if the given url is a directory
adds the images in the given directory,
otherwise (if it is a file) adds the file to the list.
@param url
'''
def addDir(self, url):
if self.parent.fileAccess.isDirectory(url):
self.add(self.parent.fileAccess.listFiles(url, False))
else:
self.add1(url)
'''
adds the given filenames (urls) to
the list
@param filenames
'''
def add(self, filenames):
i = 0
while i < len(filenames):
self.add1(filenames[i])
i += 1
'''
adds the given image url to the list.
if and only if it ends with jpg, jpeg or gif
(case insensitive)
@param filename image url.
'''
def add1(self, filename):
lcase = filename.lower()
if lcase.endswith("jpg") or lcase.endswith("jpeg") or \
lcase.endswith("gif"):
self.listModel.append(filename)
def getSize(self):
return len(self.listModel)
def getElementAt(self, arg0):
return self.listModel[arg0]

View file

@ -1,75 +0,0 @@
#
# 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 .
#
import unohelper
import traceback
from .WWD_Events import WWD_Events
from ..common.Desktop import Desktop
from com.sun.star.lang import XServiceInfo
from com.sun.star.task import XJobExecutor
# pythonloader looks for a static g_ImplementationHelper variable
g_ImplementationHelper = unohelper.ImplementationHelper()
g_implName = "com.sun.star.wizards.web.CallWizard"
# implement a UNO component by deriving from the standard unohelper.Base class
# and from the interface(s) you want to implement.
class CallWizard(unohelper.Base, XJobExecutor, XServiceInfo):
def __init__(self, ctx):
# store the component context for later use
self.ctx = ctx
def trigger(self, args):
try:
ww = WWD_Events(self.ctx.ServiceManager)
ww.show()
ww.cleanup()
except Exception as e:
print ("Wizard failure exception " + str(type(e)) +
" message " + str(e) + " args " + str(e.args) +
traceback.format_exc())
@classmethod
def callRemote(self):
ConnectStr = \
"uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext"
try:
xmsf = Desktop.connect(ConnectStr)
ww = WWD_Events(xmsf)
ww.show()
ww.cleanup()
except Exception:
traceback.print_exc()
def getImplementationName(self):
return g_implName
def supportsService(self, ServiceName):
return g_ImplementationHelper.supportsService(g_implName, ServiceName)
def getSupportedServiceNames(self):
return g_ImplementationHelper.getSupportedServiceNames(g_implName)
g_ImplementationHelper.addImplementation( \
CallWizard, # UNO object class
g_implName, # implementation name
("com.sun.star.task.Job",),) # list of implemented services
# (the only service)
# vim:set shiftwidth=4 softtabstop=4 expandtab:

View file

@ -1,79 +0,0 @@
#
# 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 .
from com.sun.star.awt.VclWindowPeerAttribute import OK, DEF_OK, OK_CANCEL, DEF_CANCEL
from com.sun.star.awt.VclWindowPeerAttribute import YES_NO, DEF_NO
class ErrorHandler:
MESSAGE_INFO = "infobox"
MESSAGE_QUESTION = "querybox"
MESSAGE_ERROR = "errorbox"
MESSAGE_WARNING = "warningbox"
BUTTONS_OK = OK
BUTTONS_OK_CANCEL = OK_CANCEL
BUTTONS_YES_NO = YES_NO
RESULT_CANCEL = 0
RESULT_OK = 1
RESULT_YES = 2
DEF_OK = DEF_OK
DEF_NO = DEF_NO
DEF_CANCEL = DEF_CANCEL
#Error type for fatal errors which should abort application
# execution. Should actually never be used :-)
ERROR_FATAL = 0
# An Error type for errors which should stop the current process.
ERROR_PROCESS_FATAL = 1
# An Error type for errors to which the user can choose, whether
# to continue or to abort the current process.
# default is abort.
ERROR_NORMAL_ABORT = 2
# An Error type for errors to which the user can choose, whether
# to continue or to abort the current process.
# default is continue.
ERROR_NORMAL_IGNORE = 3
# An error type for warnings which requires user interaction.
# (a question :-) )
# Default is abort (cancel).
ERROR_QUESTION_CANCEL = 4
# An error type for warnings which requires user interaction
# (a question :-) )
# Default is to continue (ok).
ERROR_QUESTION_OK = 5
# An error type for warnings which requires user interaction.
# (a question :-) )
# Default is abort (No).
ERROR_QUESTION_NO = 6
# An error type for warnings which requires user interaction
# (a question :-) )
# Default is to continue (Yes).
ERROR_QUESTION_YES = 7
# An error type which is just a warning...
ERROR_WARNING = 8
# An error type which just tells the user something
# ( like "you look tired! you should take a bath! and so on)
ERROR_MESSAGE = 9
# @param ex the exception that accured
# @param arg an object as help for recognizing the exception
# @param ix an integer which helps for detailed recognizing of the exception
# @param errorType one of the int constants defined by this Interface
# @return true if the execution should continue, false if it should stop.
def error(self, ex, arg, ix, errorType):
pass

View file

@ -1,38 +0,0 @@
#
# 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 .
from ..common.UCB import UCB
# Verifies all String that do not end with
# the given extension.
# This is used to exclude from a copy all the
# xsl files, so I copy from a layout directory
# all the files that do *not* end with xsl.
class ExtensionVerifier(UCB.Verifier):
extension = ""
def __init__(self, extension_):
self.extension = "." + extension_
# @return true if the given object is
# a String which does not end with the
# given extension.
def verify(self, obj):
if (isinstance(obj, str)):
return not obj.endswith(self.extension)
return False

View file

@ -1,412 +0,0 @@
#
# 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 .
import traceback
import uno
from .WWHID import *
from .FTPDialogResources import FTPDialogResources
from ..ui.WizardDialog import WizardDialog
from ..ui.UIConsts import UIConsts
from ..ui.event.DataAware import DataAware
from ..ui.event.UnoDataAware import UnoDataAware
from ..common.PropertyNames import PropertyNames
from ..common.SystemDialog import SystemDialog
from ..common.FileAccess import FileAccess
from ..common.HelpIds import HelpIds
from ..common.UCB import UCB
from com.sun.star.ucb import AuthenticationRequest
from com.sun.star.ucb import InteractiveAugmentedIOException
from com.sun.star.ucb import InteractiveNetworkConnectException
from com.sun.star.ucb import InteractiveNetworkResolveNameException
from com.sun.star.ucb import OpenCommandArgument2
from com.sun.star.ucb.OpenMode import FOLDERS
# This is the FTP Dialog. <br/>
# The Dialog enables the user:
# (*) entering FTP server and user information.
# (*) testing the connection.
# (*) choosing a directory on the server.
# If a connection was established successfully, the user may
# press OK, which will change
# the CGPublish object properties according the user's input.
# If no connection was established. the OK and Choose-Dir button are disabled.
# See the method "disconnect()" which disables them.
#
# I use here the DataAware concept to automatically update
# the members ip, username, and password (via the methods setXXX(...))
# for details see the ui.events.DataAware classes. <br/>
class FTPDialog(WizardDialog):
RES_OK = 1
RES_CANCEL = 2
RES_HELP = 3
# A Constant used for the setLabel(int) method to change the
# status-display. "unknown" is the status when the user first
# opens the dialog, or changes the servername/username/password.
STATUS_UNKNOWN = 0
# A Constant used for the setLabel(int) method to change the
# status-display. (connection established)
STATUS_OK = 1
# A Constant used for the setLabel(int) method to change the
# status-display.
STATUS_USER_PWD_WRONG = 2
# A Constant used for the setLabel(int) method to change the
# status-display.
STATUS_SERVER_NOT_FOUND = 3
# A Constant used for the setLabel(int) method to change the
# status-display.
STATUS_NO_RIGHTS = 4
# A Constant used for the setLabel(int) method to change the
# status-display.
STATUS_HOST_UNREACHABLE = 5
# A Constant used for the setLabel(int) method to change the
# status-display.
STATUS_CONNECTING = 6
# The icon url for error
ICON_ERROR = "ftperror.gif"
# The icon url for ok (connection ok)
ICON_OK = "ftpconnected.gif"
# The icon url for unknown - this is the status when
# the user first opens the dialog
ICON_UNKNOWN = "ftpunknown.gif"
# The icon url for an icon representing the "connecting" state.
ICON_CONNECTING = "ftpconnecting.gif" # GUI Components as Class members.
# constructor.
# constructs the UI.
# @param xmsf
# @param p the publishert object that contains the data
# for this dialog
# @throws Exception
def __init__(self, xmsf, p, oWizardResource):
super(FTPDialog, self).__init__(xmsf, HID_FTP)
self.publish = p
templateDir = p.root.soTemplateDir
self.imagesDirectory = FileAccess.connectURLs(templateDir, "../wizard/bitmap/")
self.dataAware = []
self.host = ""
self.username = ""
self.password = ""
# Load Resources
self.resources = FTPDialogResources(oWizardResource)
self.ucb = UCB(xmsf)
# set dialog properties...
self.setDialogProperties(True, 210, True, 104, 52, 1, 1,
self.resources.resFTPDialog_title, 310)
# add controls to dialog
self.build()
#make the hostname, username and password textfield data-aware.
self.configure()
#make sure we display a disconnected status.
self.disconnect()
# Add controls to dialog.
def build(self):
PROPNAMES_LABEL = (PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH)
PROPNAMES_BUTTON = (PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH)
PROPNAMES_BUTTON2 = (PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_LABEL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "PushButtonType", PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH)
self.ln1 = self.insertFixedLine("ln1",
PROPNAMES_LABEL,
(8, self.resources.resln1_value, "ln1", 6, 6, 0, 210))
self.lblFTPAddress = self.insertLabel("lblFTPAddress",
PROPNAMES_LABEL,
(8, self.resources.reslblFTPAddress_value, "lblFTPAddress", 12, 20, 1, 95))
self.txtHost = self.insertTextField("txtHost", "disconnect",
(PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH),
(12, HelpIds.getHelpIdString(HID_FTP_SERVER), "txtIP", 110, 18, 2, 106), self)
self.lblUsername = self.insertLabel("lblUsername",
PROPNAMES_LABEL,
(8, self.resources.reslblUsername_value, "lblUsername", 12, 36, 3, 85))
self.txtUsername = self.insertTextField("txtUsername", "disconnect",
(PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH),
(12, HelpIds.getHelpIdString(HID_FTP_USERNAME), "txtUsername", 110, 34, 4, 106), self)
self.lblPassword = self.insertLabel("lblPassword",
PROPNAMES_LABEL,
(8, self.resources.reslblPassword_value, "lblPassword", 12, 52, 5, 85))
self.txtPassword = self.insertTextField("txtPassword", "disconnect",
("EchoChar", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_TABINDEX, PropertyNames.PROPERTY_WIDTH),
(42, 12, HelpIds.getHelpIdString(HID_FTP_PASS), "txtPassword", 110, 50, 6, 106), self)
self.ln2 = self.insertFixedLine("ln2",
PROPNAMES_LABEL,
(8, self.resources.resln2_value, "ln2", 6, 68, 7, 210))
self.btnTestConnection = self.insertButton("btnConnect", "connect",
PROPNAMES_BUTTON,
(14, HelpIds.getHelpIdString(HID_FTP_TEST), self.resources.resbtnConnect_value, "btnConnect", 12, 80, 8, 50), self)
self.imgStatus = self.insertImage("imgStatus",
("Border", PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, "ScaleImage", "Tabstop", PropertyNames.PROPERTY_WIDTH),
(0, 14, 68, 80, False, False, 14))
self.lblStatus = self.insertLabel("lblStatus",
PROPNAMES_LABEL,
(8, self.resources.resFTPDisconnected, "lblStatus", 86, 82, 9, 130))
self.ln3 = self.insertFixedLine("ln3",
PROPNAMES_LABEL,
(8, self.resources.resln3_value, "ln3", 6, 100, 10, 210))
self.txtDir = self.insertTextField("txtDir", None,
(PropertyNames.PROPERTY_ENABLED, PropertyNames.PROPERTY_HEIGHT, PropertyNames.PROPERTY_HELPURL, PropertyNames.PROPERTY_NAME, PropertyNames.PROPERTY_POSITION_X, PropertyNames.PROPERTY_POSITION_Y, PropertyNames.PROPERTY_TABINDEX, "Text", PropertyNames.PROPERTY_WIDTH),
(False, 12, HelpIds.getHelpIdString(HID_FTP_TXT_PATH), "txtDir", 12, 113, 11, self.resources.restxtDir_value, 184), self)
self.btnDir = self.insertButton("btnDir", "chooseDirectory",
PROPNAMES_BUTTON,
(14, HelpIds.getHelpIdString(HID_FTP_BTN_PATH), self.resources.resbtnDir_value, "btnDir", 199, 112, 12, 16), self)
self.btnOK = self.insertButton("btnOK", None,
PROPNAMES_BUTTON2,
(14, HelpIds.getHelpIdString(HID_FTP_OK), self.resources.resbtnOK_value, "btnOK", 165, 142, self.RES_OK, 13, 50), self)
self.btnCancel = self.insertButton("btnCancel",
None, PROPNAMES_BUTTON2,
(14, HelpIds.getHelpIdString(HID_FTP_CANCEL), self.resources.resbtnCancel_value, "btnCancel", 113, 142, self.RES_CANCEL, 14, 50), self)
self.btnHelp = self.insertButton("btnHelp", None,
PROPNAMES_BUTTON2,
(14, "", self.resources.resbtnHelp_value, "btnHelp", 57, 142, self.RES_HELP, 15, 50), self)
# Make hostname, username and password text fields data aware.
def configure(self):
self.dataAware.append(UnoDataAware.attachEditControl(self, "host", self.txtHost, True))
self.dataAware.append(UnoDataAware.attachEditControl(self, "username", self.txtUsername, True))
self.dataAware.append(UnoDataAware.attachEditControl(self, "password", self.txtPassword, True))
# Shows the dialog.
# If the user clicks ok, changes the given CGPublish properties to the
# user input.
# @param parent a dialog to center this dialog to.
# @return 0 for cancel, 1 for ok.
# @throws Exception - well, if something goes wrong...
def execute(self, parent):
self.host = self.extractHost(self.publish.cp_URL)
self.username = "" if (self.publish.cp_Username == None) else self.publish.cp_Username
self.password = "" if (self.publish.password == None) else self.publish.password
self.folder = self.extractDir(self.publish.cp_URL)
self.setLabel(self.STATUS_UNKNOWN)
self.enableTestButton()
self.updateUI()
result = self.executeDialogFromParent(parent)
# change the CGPublish properties
if (result == 1):
self.publish.cp_URL = "ftp://" + self.getHost() + self.getDir()
self.publish.cp_Username = self.username
self.publish.password = self.password
return result
# updates the hostname, username, password and
# directory text fields.
# It's called upon initialization.
def updateUI(self):
DataAware.updateUIs(self.dataAware)
self.setDir(self.folder)
# extract the hostname out of the url used by the
# publisher. This url does not include the username:password string.
# @param ftpUrl
# @return
def extractHost(self, ftpUrl):
if (ftpUrl is None or len(ftpUrl) < 6):
return ""
url = ftpUrl[6:]
i = url.find("/")
if (i == -1):
return url
else:
return url[:i]
# used to get data from the CGPublish object.
# @param ftpUrl
# @return the directory portion of the ftp-url
def extractDir(self, ftpUrl):
if (ftpUrl is None or len(ftpUrl) < 6):
return "/"
url = ftpUrl[6:]
i = url.find("/")
if (i == -1):
return "/"
else:
return url[i:]
# enables/disables the "test" button
# according to the status of the hostname, username, password text fields.
# If one of these fields is empty, the button is disabled.
def enableTestButton(self):
self.setEnabled(self.btnTestConnection, not (self.isEmpty(self.host) or self.isEmpty(self.username) or self.isEmpty(self.password)))
# @param s
# @return True if the string is None or "".
def isEmpty(self, s):
return (s is None) or (s == "")
# @return the ftp url with username and password,
# but without the directory portion.
def getAccountUrl(self):
return "ftp://" + self.username + ":" + self.password + "@" + self.getHost()
# return the host name without the "ftp://"
# @return
def getHost(self):
return self.getHost1(self.host)
@classmethod
def getHost1(self, s):
return s[6:] if s.startswith("ftp://") else s
# @return the full ftp url including username, password and directory portion.
def getFullUrl(self):
return self.getAccountUrl() + self.folder
# First I try to connect to the full url, including directory.
# If an InteractiveAugmentedIOException accures, I try again,
# this time without the dir spec. If this works, I change the dir
# to "/", if not I say to the user its his problem...
def connect(self):
self.setEnabled(self.btnTestConnection, False)
self.setLabel(self.STATUS_CONNECTING)
success = False
try:
self.connect1(self.getFullUrl())
success = True
except InteractiveAugmentedIOException:
try:
self.connect1(self.getAccountUrl())
self.setDir("/")
success = True
except Exception:
self.setLabel(self.STATUS_NO_RIGHTS)
except InteractiveNetworkResolveNameException:
self.setLabel(self.STATUS_SERVER_NOT_FOUND)
except AuthenticationRequest:
self.setLabel(self.STATUS_USER_PWD_WRONG)
except InteractiveNetworkConnectException:
self.setLabel(self.STATUS_HOST_UNREACHABLE)
except Exception:
self.setLabel(-1)
traceback.print_exc()
if (success):
self.setLabel(self.STATUS_OK)
self.setEnabled(self.btnDir, True)
self.setEnabled(self.btnOK, True)
self.setEnabled(self.btnTestConnection, True)
# To try the connection I do some actions that
# seem logical to me: <br/>
# I get a ucb content.
# I list the files in this content.
# I call the ucb "open" command.
# I get the PropertyNames.PROPERTY_TITLE property of this content.
# @param acountUrl
# @throws Exception
def connect1(self, acountUrl):
content = self.ucb.getContent(self.getAccountUrl())
# open the content
aArg = OpenCommandArgument2()
aArg.Mode = FOLDERS # FOLDER, DOCUMENTS -> simple filter
aArg.Priority = 32768 # Ignored by most implementations
self.ucb.executeCommand(content, "open", aArg)
# changes the ftp subdirectory, in both
# the UI and the data.
# @param s the directory.
def setDir(self, s):
self.folder = s
self.txtDir.Model.Text = self.folder
# @return the ftp subdirecrtory.
def getDir(self):
return self.folder
# changes the status label to disconnected status, and
# disables the ok and choose-dir buttons.
# This method is called also when the hostname, username
# and passwordtext fields change.
def disconnect(self):
self.enableTestButton()
self.setEnabled(self.btnOK, False)
self.setEnabled(self.btnDir, False)
self.setLabel(self.STATUS_UNKNOWN)
# changes the status label and icon, according to the
# given status
# @param status one of the private status-constants.
# if this param is not one of them, an "unknown error" status is displayed.
def setLabel(self, status):
if status == self.STATUS_UNKNOWN:
# not connected yet
self.setLabel1(self.resources.resFTPDisconnected, self.ICON_UNKNOWN)
elif status == self.STATUS_OK:
# connected!
self.setLabel1(self.resources.resFTPConnected, self.ICON_OK)
elif status == self.STATUS_USER_PWD_WRONG:
# wrong password
self.setLabel1(self.resources.resFTPUserPwdWrong, self.ICON_ERROR)
elif status == self.STATUS_SERVER_NOT_FOUND:
# problem resolving server name
self.setLabel1(self.resources.resFTPServerNotFound, self.ICON_ERROR)
elif status == self.STATUS_NO_RIGHTS:
# rights problem
self.setLabel1(self.resources.resFTPRights, self.ICON_ERROR)
elif status == self.STATUS_HOST_UNREACHABLE:
# host unreachable (firewall?)
self.setLabel1(self.resources.resFTPHostUnreachable, self.ICON_ERROR)
elif status == self.STATUS_CONNECTING:
self.setLabel1(self.resources.resConnecting, self.ICON_CONNECTING)
else:
self.setLabel1(self.resources.resFTPUnknownError, self.ICON_ERROR)
# changes the text of the status label and
# (TODO) the status image.
# @param label
# @param image
def setLabel1(self, label, image):
setattr(self.lblStatus.Model, PropertyNames.PROPERTY_LABEL, label)
setattr(self.imgStatus.Model, PropertyNames.PROPERTY_IMAGEURL, self.imageUrl(image))
def imageUrl(self, s):
return self.imagesDirectory + s
# called when the user clicks
# the choose-dir button. ("...")
# Opens the pickFolder dialog.
# checks if the returned folder is an ftp folder.
# sets the textbox and the data to the new selected dir.
def chooseDirectory(self):
sd = SystemDialog.createOfficeFolderDialog(self.xMSF)
newUrl = sd.callFolderDialog(self.resources.resFTPDirectory, "", self.getFullUrl())
if (newUrl is not None):
# if the user chose a local directory,
# sI do not accept it.
if (newUrl.startswith("ftp://")):
self.setDir(self.extractDir(newUrl))
else:
AbstractErrorHandler.showMessage(self.xMSF, self.xUnoDialog.getPeer(), self.resources.resIllegalFolder, ErrorHandler.ERROR_PROCESS_FATAL)
# practical to have such a method...
# @param p the publisher object that contains the ftp connection info.
# @return the full ftp url with username password and everything one needs.
@classmethod
def getFullURL1(self, p):
return "ftp://" + p.cp_Username + ":" + p.password + "@" + self.getHost1(p.cp_URL)

Some files were not shown because too many files have changed in this diff Show more