lib/xlsx_writer/generators/styles.erb in xlsx_writer-0.1.1 vs lib/xlsx_writer/generators/styles.erb in xlsx_writer-0.1.2

- old
+ new

@@ -1,30 +1,34 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"> + <numFmts count="1"> + <numFmt numFmtId="164" formatCode="0.00" /> + </numFmts> + <fonts count="1"> <font> <sz val="10"/> <name val="Arial"/> </font> </fonts> - + <fills count="1"> <fill /> </fills> - + <borders count="1"> <border /> </borders> - + <cellStyleXfs count="2"> <!-- general --> <xf /> <!-- currency --> <xf builtinId="4" /> </cellStyleXfs> - - <cellXfs count="4"> + + <cellXfs count="5"> <!-- general --> <xf numFmtId="0" fontId="0"> <alignment vertical="top" horizontal="left" /> </xf> <!-- currency (really accounting) --> @@ -33,11 +37,15 @@ </xf> <!-- date --> <xf numFmtId="14" fontId="0"> <alignment vertical="top" horizontal="left" /> </xf> - <!-- number --> + <!-- integer --> <xf numFmtId="0" fontId="0"> + <alignment vertical="top" horizontal="right" /> + </xf> + <!-- float/decimal/etc. --> + <xf numFmtId="164" fontId="0"> <alignment vertical="top" horizontal="right" /> </xf> </cellXfs> </styleSheet>