summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-07-28 00:44:51 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-07-28 00:44:51 -0400
commit498ec557d8d67129e5f526e9f7f9e66c32655af4 (patch)
tree3456fb066826658d41a913253cacf9720894e104
parentb060d1fabc652986c5dde806eabb6f474d56f5b4 (diff)
Simple, hand-crafted CSS import test document.
Also contains the mso-number-format custom properties for importing number format codes for cells.
-rw-r--r--calc/html-import/css-simple.html24
1 files changed, 24 insertions, 0 deletions
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>