[Libreoffice-commits] calc/html-import
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Jul 27 21:45:40 PDT 2011
calc/html-import/css-simple.html | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
New commits:
commit 498ec557d8d67129e5f526e9f7f9e66c32655af4
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Thu Jul 28 00:44:51 2011 -0400
Simple, hand-crafted CSS import test document.
Also contains the mso-number-format custom properties for importing
number format codes for cells.
diff --git a/calc/html-import/css-simple.html b/calc/html-import/css-simple.html
new file mode 100644
index 0000000..03edcf8
--- /dev/null
+++ b/calc/html-import/css-simple.html
@@ -0,0 +1,24 @@
+<html>
+<head>
+<style>
+<!--
+.test {
+ font-weight: bold;
+ font-size: 34px;
+}
+h1, h2 { color: blue; }
+
+td.text { mso-number-format:"@"; color: red; }
+-->
+</style>
+</head>
+<body>
+<h1>Header 1</h1>
+<h2>Header 2</h2>
+<p class="test">This paragraph should be bold and large.</p>
+<table>
+ <tr><td class="text">cell 1</td><td>cell 2</td><td class="text">cell 3</td></tr>
+ <tr><td class="text">cell 4</td><td>cell 5</td><td class="text">cell 6</td></tr>
+</table>
+</body>
+</html>
More information about the Libreoffice-commits
mailing list