Initial import

git-svn-id: svn://svn.code.sf.net/p/writer2latex/code/trunk@5 f0f2a975-2e09-46c8-9428-3b39399b9f3c
This commit is contained in:
henrikjust 2009-02-20 09:37:06 +00:00
parent 75e32b1e8f
commit b0b66fcae9
252 changed files with 49000 additions and 0 deletions

View file

@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is a sample configuration file for Writer2xhtml
Except for a few changes it's identical to cleanxhtml.xml
-->
<config>
<!-- options -->
<option name="xhtml_no_doctype" value="false" />
<option name="xhtml_formatting" value="ignore_all" />
<option name="xhtml_frame_formatting" value="ignore_all" />
<option name="xhtml_section_formatting" value="convert_all" />
<option name="xhtml_table_formatting" value="convert_all" />
<option name="xhtml_ignore_table_dimensions" value="false" />
<option name="xhtml_uplink" value="http://www.hj-gym.dk/~hj/writer2latex" />
<!-- options usually set in the dialog -->
<option name="xhtml_notes" value="false" />
<option name="xhtml_split_level" value="2" />
<option name="xhtml_repeat_levels" value="1" />
<!-- map special OOo paragraph style to xhtml elements -->
<xhtml-style-map name="My Special Style" class="paragraph" element="p" css="special" />
<!-- map standard OOo paragraph styles to xhtml elements -->
<xhtml-style-map name="Text body" class="paragraph" element="p" css="(none)" />
<xhtml-style-map name="Sender" class="paragraph" element="address" css="(none)" />
<xhtml-style-map name="Preformatted Text" class="paragraph" element="pre" css="(none)" />
<xhtml-style-map name="Quotations" class="paragraph"
block-element="blockquote" block-css="(none)" element="p" css="(none)" />
<xhtml-style-map name="List Heading" class="paragraph" block-element="dl" block-css="(none)" element="dt" css="(none)" />
<xhtml-style-map name="List Contents" class="paragraph" block-element="dl" block-css="(none)" element="dd" css="(none)" />
<xhtml-style-map name="Horizontal Line" class="paragraph" element="hr" css="(none)" />
<!-- map standard OOo text styles to xhtml elements -->
<xhtml-style-map name="Citation" class="text" element="cite" css="(none)" />
<xhtml-style-map name="Definition" class="text" element="dfn" css="(none)" />
<xhtml-style-map name="Emphasis" class="text" element="em" css="(none)" />
<xhtml-style-map name="Example" class="text" element="samp" css="(none)" />
<xhtml-style-map name="Source Text" class="text" element="code" css="(none)" />
<xhtml-style-map name="Strong Emphasis" class="text" element="strong" css="(none)" />
<xhtml-style-map name="Teletype" class="text" element="tt" css="(none)" />
<xhtml-style-map name="User entry" class="text" element="kbd" css="(none)" />
<xhtml-style-map name="Variable" class="text" element="var" css="(none)" />
<!-- map OOo hard formatting attributes to xhtml elements -->
<xhtml-style-map name="bold" class="attribute" element="b" css="(none)" />
<xhtml-style-map name="italics" class="attribute" element="i" css="(none)" />
<xhtml-style-map name="fixed" class="attribute" element="tt" css="(none)" />
<xhtml-style-map name="superscript" class="attribute" element="sup" css="(none)" />
<xhtml-style-map name="subscript" class="attribute" element="sub" css="(none)" />
</config>

View file

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" ?>
<html xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<!-- This is a sample target template for use with Writer2xhtml -->
<head>
<!-- Writer2xhtml will extend the title with the document title -->
<title>Writer2xhtml sample - </title>
<link rel="stylesheet" type="text/css" media="all" href="http://www.w3.org/StyleSheets/Core/Oldstyle" />
<style type="text/css">
#panel {
width:250px; padding:10px; margin:10px;
border-left:2px solid black; border-bottom:2px solid black;
float:right;
}
#header,#footer {
left:0; right:0; top:0; bottom:0; height: 30px; padding:10px;
vertical-align: middle; background-color:black; color:gray; font-weight:bold;
clear:right;
}
#content {
left:0; right:0; top:0; bottom:0;
}
#header a,#footer a {
text-decoration: none; background-color: black; color: white;
}
#header a:before,#footer a:before, #header span.nolink:before, #footer span.nolink:before {
content:'[';
}
#header a:after,#footer a:after, #header span.nolink:after, #footer span.nolink:after {
content:']';
}
#header a:hover,#footer a:hover {
text-decoration: none; background-color: white; color: black;
}
pre { clear:right; }
#panel p.level1 { margin-top:1px; margin-bottom:1px; margin-left:0px; margin-right:0px; font-size: 14px;}
#panel p.level2 { margin-top:1px; margin-bottom:1px; margin-left:10px; margin-right:0px; font-size: 12px;}
#panel p.level3 { margin-top:1px; margin-bottom:1px; margin-left:20px; margin-right:0px; font-size: 10px;}
p.special { font-size:20pt; margin-top:20px; margin-bottom:20px; color:green; }
</style>
</head>
<body>
<!-- Writer2xhtml will add content after existing content in the div's -->
<div id="header">Writer2xhtml </div>
<div id="content">
<div id="panel"/>
</div>
<div id="footer">Writer2xhtml </div>
</body>
</html>