Commit 32d023d3 authored by Tomas Mecir's avatar Tomas Mecir
Browse files

fix autoformat

parent 02225e47
Pipeline #195725 passed with stage
in 24 minutes and 10 seconds
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE spreadsheet-snippet>
<spreadsheet-snippet>
<cell row="1" column="1" >
<format bgcolor="#dcfffd">
<format brushcolor="#dcfffd">
<left-border>
<pen width="2" style="1" color="#000000" />
</left-border>
......@@ -11,7 +11,7 @@
</format>
</cell>
<cell row="2" column="1" >
<format bgcolor="#dcfffd">
<format brushcolor="#dcfffd">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<left-border>
<pen width="2" style="1" color="#000000" />
......@@ -22,7 +22,7 @@
</format>
</cell>
<cell row="3" column="1" >
<format bgcolor="#dcfffd">
<format brushcolor="#dcfffd">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<left-border>
<pen width="2" style="1" color="#000000" />
......@@ -44,7 +44,7 @@
</cell>
<cell row="1" column="2" >
<format bgcolor="#dcfffd">
<format brushcolor="#dcfffd">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<left-border>
<pen width="2" style="1" color="#000000" />
......@@ -55,7 +55,7 @@
</format>
</cell>
<cell row="2" column="2" >
<format bgcolor="#fcffec">
<format brushcolor="#fcffec">
<left-border>
<pen width="2" style="1" color="#000000" />
</left-border>
......@@ -65,7 +65,7 @@
</format>
</cell>
<cell row="3" column="2" >
<format bgcolor="#fcffec">
<format brushcolor="#fcffec">
<left-border>
<pen width="2" style="1" color="#000000" />
</left-border>
......@@ -86,7 +86,7 @@
</cell>
<cell row="1" column="3" >
<format bgcolor="#dcfffd">
<format brushcolor="#dcfffd">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<left-border>
<pen width="1" style="1" color="#000000" />
......@@ -97,7 +97,7 @@
</format>
</cell>
<cell row="2" column="3" >
<format bgcolor="#fcffec">
<format brushcolor="#fcffec">
<left-border>
<pen width="1" style="1" color="#000000" />
</left-border>
......@@ -107,7 +107,7 @@
</format>
</cell>
<cell row="3" column="3" >
<format bgcolor="#fcffec">
<format brushcolor="#fcffec">
<left-border>
<pen width="1" style="1" color="#000000" />
</left-border>
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE spreadsheet-snippet>
<spreadsheet-snippet>
<cell row="1" column="1" >
<format bgcolor="#0000c0">
<format brushcolor="#0000c0">
<font size="12" family="Times" weight="50" />
<pen width="0" style="1" color="#ffffff" />
<left-border>
......@@ -13,7 +13,7 @@
</format>
</cell>
<cell row="2" column="1" >
<format bgcolor="#ffffff">
<format brushcolor="#ffffff">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<left-border>
<pen width="2" style="1" color="#000000" />
......@@ -26,7 +26,7 @@
a</text>
</cell>
<cell row="1" column="2" >
<format bgcolor="#0000c0">
<format brushcolor="#0000c0">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<pen width="0" style="1" color="#ffffff" />
<left-border>
......@@ -40,7 +40,7 @@ a</text>
x</text>
</cell>
<cell row="2" column="2" >
<format bgcolor="#ffffff">
<format brushcolor="#ffffff">
<font size="12" family="Times" weight="50" />
<left-border>
<pen width="2" style="1" color="#000000" />
......@@ -53,7 +53,7 @@ x</text>
1</text>
</cell>
<cell row="3" column="1" >
<format bgcolor="#ffff00">
<format brushcolor="#ffff00">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<left-border>
<pen width="2" style="1" color="#000000" />
......@@ -66,7 +66,7 @@ x</text>
b</text>
</cell>
<cell row="1" column="3" >
<format bgcolor="#0000c0">
<format brushcolor="#0000c0">
<font size="12" family="Times" bold="yes" weight="75" italic="yes" />
<pen width="0" style="1" color="#ffffff" />
<left-border>
......@@ -90,7 +90,7 @@ y</text>
</format>
</cell>
<cell row="2" column="3" >
<format bgcolor="#ffffff">
<format brushcolor="#ffffff">
<font size="12" family="Times" weight="50" />
<left-border>
<pen width="1" style="1" color="#000000" />
......@@ -103,7 +103,7 @@ y</text>
2</text>
</cell>
<cell row="3" column="2" >
<format bgcolor="#ffff00">
<format brushcolor="#ffff00">
<font size="12" family="Times" weight="50" />
<left-border>
<pen width="2" style="1" color="#000000" />
......@@ -146,7 +146,7 @@ y</text>
</format>
</cell>
<cell row="3" column="3" >
<format bgcolor="#ffff00">
<format brushcolor="#ffff00">
<font size="12" family="Times" weight="50" />
<left-border>
<pen width="1" style="1" color="#000000" />
......
......@@ -163,8 +163,8 @@ bool AutoFormatDialog::Private::parseXML(const KoXmlDocument& doc)
for (int i = 0; i < 16; ++i)
styles.append(Style());
KoXmlElement e = doc.documentElement().firstChild().toElement();
for (; !e.isNull(); e = e.nextSibling().toElement()) {
for (KoXmlNode node = doc.documentElement().firstChild(); !node.isNull(); node = node.nextSibling()) {
KoXmlElement e = node.toElement();
if (e.tagName() == "cell") {
Style style;
KoXmlElement tmpElement(e.namedItem("format").toElement());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment