[Libreoffice-commits] core.git: sc/res

Jaskaran Singh jvsg1303 at gmail.com
Sun Oct 2 13:53:37 UTC 2016


 sc/res/xml/styles.xml |   94 ++++++++++++++++++++++++++++----------------------
 1 file changed, 54 insertions(+), 40 deletions(-)

New commits:
commit 06f319937187f76ee402d53b3baa78c391c2af19
Author: Jaskaran Singh <jvsg1303 at gmail.com>
Date:   Wed Sep 28 19:36:56 2016 +0530

    tdf#90937 Add a set of cell styles to calc
    
    The styles that are are added by this commit were created
    by the design team. Special thanks to Yousuf Philips and Mattiaz
    Poldaru for taking initiative.
    
    These styles have been taken from the attachment posted on the
    bugzilla thread. A few necessary lines have been added to make it
    work.
    
    Change-Id: I7503ea9114e3908a4007a5e5d6a09486a32a3674
    Reviewed-on: https://gerrit.libreoffice.org/29364
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Jaskaran singh <jvsg1303 at gmail.com>

diff --git a/sc/res/xml/styles.xml b/sc/res/xml/styles.xml
index f6f9183..699f191 100644
--- a/sc/res/xml/styles.xml
+++ b/sc/res/xml/styles.xml
@@ -1,43 +1,57 @@
 <?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="start"/>
-  </style:style>
+<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="Heading1" style:family="table-cell" style:parent-style-name="Heading">
+        <style:text-properties fo:font-size="18pt"/>
+    </style:style>
+    <style:style style:name="Heading2" 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.06pt solid #000000"/>
+        <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="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="Accent1" 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="Accent2" 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="Accent3" style:family="table-cell" style:parent-style-name="Accent">
+        <style:table-cell-properties fo:background-color="#dddddd"/>
+    </style:style>
 </office:styles>


More information about the Libreoffice-commits mailing list