summaryrefslogtreecommitdiffstats
path: root/test/ods/import-styles
diff options
context:
space:
mode:
Diffstat (limited to 'test/ods/import-styles')
-rw-r--r--test/ods/import-styles/cell-protection.xml17
-rw-r--r--test/ods/import-styles/cell-styles.xml43
-rw-r--r--test/ods/import-styles/standard-styles.xml64
3 files changed, 124 insertions, 0 deletions
diff --git a/test/ods/import-styles/cell-protection.xml b/test/ods/import-styles/cell-protection.xml
new file mode 100644
index 0000000..0bea938
--- /dev/null
+++ b/test/ods/import-styles/cell-protection.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
+ <style:style style:name="Default" style:family="table-cell"/>
+ <style:style style:name="Protected" style:family="table-cell" style:parent-style-name="Default"/>
+ <style:style style:name="Hide_20_Formula" style:display-name="Hide Formula" style:family="table-cell" style:parent-style-name="Protected">
+ <style:table-cell-properties style:cell-protect="protected formula-hidden" style:print-content="true"/>
+ </style:style>
+ <style:style style:name="Hide_20_When_20_Printing" style:display-name="Hide When Printing" style:family="table-cell" style:parent-style-name="Protected">
+ <style:table-cell-properties style:cell-protect="protected" style:print-content="false"/>
+ </style:style>
+ <style:style style:name="Hide_20_All" style:display-name="Hide All" style:family="table-cell" style:parent-style-name="Protected">
+ <style:table-cell-properties style:cell-protect="hidden-and-protected" style:print-content="true"/>
+ </style:style>
+ <style:style style:name="Not_20_Protected" style:display-name="Not Protected" style:family="table-cell" style:parent-style-name="Default">
+ <style:table-cell-properties style:cell-protect="none" style:print-content="true"/>
+ </style:style>
+</office:styles>
diff --git a/test/ods/import-styles/cell-styles.xml b/test/ods/import-styles/cell-styles.xml
new file mode 100644
index 0000000..f3e94ff
--- /dev/null
+++ b/test/ods/import-styles/cell-styles.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<office:styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
+ <style:style style:name="Name1" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties fo:background-color="#feffcc" fo:border="0.06pt dotted #ffcc12"/>
+ </style:style>
+ <style:style style:name="Name2" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties fo:border-top="0.74pt fine-dashed #ffee11" fo:border-bottom="1.74pt double-thin #aeee11" fo:border-left="0.74pt none #11ee11" fo:border-right="0.22pt dash-dot-dot #05ee11"/>
+ </style:style>
+ <style:style style:name="Name3" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties fo:diagonal-bl-tr="1.74pt dashed #ffccee" fo:diagonal-tl-br="0.74pt dash-dot #120000" fo:border-left="none" fo:border-right="0.74pt dotted #000000"/>
+ </style:style>
+ <style:style style:name="Name4" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties fo:border-top="0.74pt double-border #000000" fo:border-bottom="none" fo:border-left="0.74pt solid #000000" fo:border-right="0.74pt dotted #000000"/>
+ </style:style>
+ <style:style style:name="Name5" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties style:cell-protect="hidden-and-protected" style:print-content="true"/>
+ </style:style>
+ <style:style style:name="Name6" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties style:cell-protect="protected formula-hidden" style:print-content="false"/>
+ </style:style>
+ <style:style style:name="Name7" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties style:cell-protect="none" style:print-content="true"/>
+ </style:style>
+ <style:style style:name="Name8" style:family="table-cell" style:parent-style-name="Text">
+ <style:text-properties style:font-name="Liberation Sans" style:text-underline-style="solid" fo:font-size="24pt" fo:color="#808080" fo:font-style="italic" style:text-underline-color="font-color" fo:font-weight="bold" style:text-underline-width="thick"/>
+ </style:style>
+ <style:style style:name="Name9" style:family="table-cell" style:parent-style-name="Text">
+ <style:text-properties style:font-name="Tahoma" style:text-underline-style="dash" fo:font-size="00pt" style:text-underline-color="#1856ff" fo:font-weight="bold" style:text-underline-width="bold"/>
+ </style:style>
+ <style:style style:name="Name20" style:family="table-cell" style:parent-style-name="Default">
+ <style:text-properties style:text-line-through-style="solid" style:text-line-through-type="single"/>
+ </style:style>
+ <style:style style:name="Name21" style:family="table-cell" style:parent-style-name="Default">
+ <style:text-properties style:text-line-through-style="solid" style:text-line-through-type="single" style:text-line-through-width="bold"/>
+ </style:style>
+ <style:style style:name="Name22" style:family="table-cell" style:parent-style-name="Default">
+ <style:text-properties style:text-line-through-style="solid" style:text-line-through-type="single" style:text-line-through-text="/"/>
+ </style:style>
+ <style:style style:name="Name23" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties style:vertical-align="middle"/>
+ <style:paragraph-properties fo:text-align="end"/>
+ </style:style>
+</office:styles>
diff --git a/test/ods/import-styles/standard-styles.xml b/test/ods/import-styles/standard-styles.xml
new file mode 100644
index 0000000..d1d1a75
--- /dev/null
+++ b/test/ods/import-styles/standard-styles.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<office:styles xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0">
+ <style:style style:name="Heading" style:family="table-cell" style:parent-style-name="Default">
+ <style:text-properties fo:color="#000000" fo:font-size="24pt" fo:font-style="normal" fo:font-weight="bold"/>
+ </style:style>
+ <style:style style:name="Heading 1" style:family="table-cell" style:parent-style-name="Heading">
+ <style:text-properties fo:font-size="18pt"/>
+ </style:style>
+ <style:style style:name="Heading 2" style:family="table-cell" style:parent-style-name="Heading">
+ <style:text-properties fo:font-size="12pt"/>
+ </style:style>
+
+ <style:style style:name="Text" style:family="table-cell" style:parent-style-name="Default"/>
+ <style:style style:name="Note" style:family="table-cell" style:parent-style-name="Text">
+ <style:table-cell-properties fo:background-color="#ffffcc" fo:border="0.75pt solid #808080"/>
+ <style:text-properties fo:color="#333333"/>
+ </style:style>
+ <style:style style:name="Footnote" style:family="table-cell" style:parent-style-name="Text">
+ <style:text-properties fo:color="#808080" fo:font-style="italic"/>
+ </style:style>
+ <style:style style:name="Hyperlink" style:family="table-cell" style:parent-style-name="Text">
+ <style:text-properties fo:color="#0000ee" style:text-underline-style="solid" style:text-underline-width="auto" style:text-underline-color="font-color"/>
+ </style:style>
+
+ <style:style style:name="Status" style:family="table-cell" style:parent-style-name="Default"/>
+ <style:style style:name="Good" style:family="table-cell" style:parent-style-name="Status">
+ <style:table-cell-properties fo:background-color="#ccffcc"/>
+ <style:text-properties fo:color="#006600"/>
+ </style:style>
+ <style:style style:name="Neutral" style:family="table-cell" style:parent-style-name="Status">
+ <style:table-cell-properties fo:background-color="#ffffcc"/>
+ <style:text-properties fo:color="#996600"/>
+ </style:style>
+ <style:style style:name="Bad" style:family="table-cell" style:parent-style-name="Status">
+ <style:table-cell-properties fo:background-color="#ffcccc"/>
+ <style:text-properties fo:color="#cc0000"/>
+ </style:style>
+ <style:style style:name="Warning" style:family="table-cell" style:parent-style-name="Status">
+ <style:text-properties fo:color="#cc0000"/>
+ </style:style>
+ <style:style style:name="Error" style:family="table-cell" style:parent-style-name="Status">
+ <style:table-cell-properties fo:background-color="#cc0000"/>
+ <style:text-properties fo:color="#ffffff" fo:font-weight="bold"/>
+ </style:style>
+
+ <style:style style:name="Accent" style:family="table-cell" style:parent-style-name="Default">
+ <style:text-properties fo:font-weight="bold"/>
+ </style:style>
+ <style:style style:name="Accent 1" style:family="table-cell" style:parent-style-name="Accent">
+ <style:table-cell-properties fo:background-color="#000000"/>
+ <style:text-properties fo:color="#ffffff"/>
+ </style:style>
+ <style:style style:name="Accent 2" style:family="table-cell" style:parent-style-name="Accent">
+ <style:table-cell-properties fo:background-color="#808080"/>
+ <style:text-properties fo:color="#ffffff"/>
+ </style:style>
+ <style:style style:name="Accent 3" style:family="table-cell" style:parent-style-name="Accent">
+ <style:table-cell-properties fo:background-color="#dddddd"/>
+ </style:style>
+
+ <style:style style:name="Result" style:family="table-cell" style:parent-style-name="Default">
+ <style:text-properties fo:font-weight="bold" fo:font-style="italic" style:text-underline-style="solid"/>
+ </style:style>
+</office:styles>