Skip to content

Commit

Permalink
row height / col width samples
Browse files Browse the repository at this point in the history
  • Loading branch information
SheetJSDev committed Mar 20, 2017
1 parent 664ad78 commit 7fe887f
Show file tree
Hide file tree
Showing 22 changed files with 539 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Expand Up @@ -112,6 +112,12 @@ output in various plaintext formats as generated by Excel 2011.

`phonetic_text` uses phonetic text (h/t @tgfjt, <http://git.io/phonetic-text>)

`row_height` includes rows of varying heights.

`column_width` includes columns of varying widths.

`sized_boxen` combines row heights and column widths.

# Getting External Test Files

All external test files are pulled using the Makefile and fall under separate
Expand Down
Binary file added column_width.biff5
Binary file not shown.
113 changes: 113 additions & 0 deletions column_width.htm
@@ -0,0 +1,113 @@
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=macintosh">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 15">
<link rel=File-List href="column_width_test.fld/filelist.xml">
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{margin:.75in .7in .75in .7in;
mso-header-margin:.3in;
mso-footer-margin:.3in;}
.style0
{mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
mso-rotate:0;
mso-background-source:auto;
mso-pattern:auto;
color:black;
font-size:12.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:Calibri, sans-serif;
mso-font-charset:0;
border:none;
mso-protection:locked visible;
mso-style-name:Normal;
mso-style-id:0;}
td
{mso-style-parent:style0;
padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:12.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:Calibri, sans-serif;
mso-font-charset:0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
border:none;
mso-background-source:auto;
mso-pattern:auto;
mso-protection:locked visible;
white-space:nowrap;
mso-rotate:0;}
-->
</style>
</head>

<body link="#0563C1" vlink="#954F72">

<table border=0 cellpadding=0 cellspacing=0 width=582 style='border-collapse:
collapse;table-layout:fixed;width:436pt'>
<col width=87 style='width:65pt'>
<col width=1 style='mso-width-source:userset;mso-width-alt:42;width:1pt'>
<col width=133 style='mso-width-source:userset;mso-width-alt:4266;width:100pt'>
<col width=13 style='mso-width-source:userset;mso-width-alt:426;width:10pt'>
<col width=39 style='mso-width-source:userset;mso-width-alt:1237;width:29pt'>
<col width=71 style='mso-width-source:userset;mso-width-alt:2261;width:53pt'>
<col width=103 style='mso-width-source:userset;mso-width-alt:3285;width:77pt'>
<col width=135 style='mso-width-source:userset;mso-width-alt:4309;width:101pt'>
<tr height=21 style='height:16.0pt'>
<td height=21 width=87 style='height:16.0pt;width:65pt'>default</td>
<td colspan=2 width=134 style='mso-ignore:colspan;width:101pt'>W .09</td>
<td width=13 style='width:10pt'></td>
<td width=39 style='width:29pt'>W 4</td>
<td width=71 style='width:53pt'></td>
<td width=103 style='width:77pt'>W 12</td>
<td width=135 style='width:101pt'></td>
</tr>
<tr height=21 style='height:16.0pt'>
<td height=21 style='height:16.0pt'>W 10</td>
<td colspan=2 style='mso-ignore:colspan'>1 px</td>
<td colspan=2 style='mso-ignore:colspan'>10 px</td>
<td>W 8</td>
<td></td>
<td>W 16</td>
</tr>
<tr height=21 style='height:16.0pt'>
<td height=21 style='height:16.0pt'>65 px</td>
<td></td>
<td>W 15.83</td>
<td></td>
<td colspan=2 style='mso-ignore:colspan'>29 px</td>
<td>77 px</td>
<td></td>
</tr>
<tr height=21 style='height:16.0pt'>
<td height=21 colspan=2 style='height:16.0pt;mso-ignore:colspan'></td>
<td>100 px</td>
<td colspan=2 style='mso-ignore:colspan'>W .9</td>
<td>53 px</td>
<td></td>
<td>101 px</td>
</tr>
</table>

</body>

</html>
1 change: 1 addition & 0 deletions column_width.slk
@@ -0,0 +1 @@
ID;PWXL;N;EP;PGeneralP;P0P;P0.00P;P#,##0P;P#,##0.00P;P#,##0_);;\(#,##0\)P;P#,##0_);;[Red]\(#,##0\)P;P#,##0.00_);;\(#,##0.00\)P;P#,##0.00_);;[Red]\(#,##0.00\)P;P"$"#,##0_);;\("$"#,##0\)P;P"$"#,##0_);;[Red]\("$"#,##0\)P;P"$"#,##0.00_);;\("$"#,##0.00\)P;P"$"#,##0.00_);;[Red]\("$"#,##0.00\)P;P0%P;P0.00%P;P0.00E+00P;P##0.0E+0P;P#\ ?/?P;P#\ ??/??P;Pm/d/yyP;Pd\-mmm\-yyP;Pd\-mmmP;Pmmm\-yyP;Ph:mm\ AM/PMP;Ph:mm:ss\ AM/PMP;Phh:mmP;Phh:mm:ssP;Pm/d/yy\ hh:mmP;Pmm:ssP;Pmm:ss.0P;P@P;P[h]:mm:ssP;P_("$"* #,##0_);;_("$"* \(#,##0\);;_("$"* "-"_);;_(@_)P;P_(* #,##0_);;_(* \(#,##0\);;_(* "-"_);;_(@_)P;P_("$"* #,##0.00_);;_("$"* \(#,##0.00\);;_("$"* "-"??_);;_(@_)P;P_(* #,##0.00_);;_(* \(#,##0.00\);;_(* "-"??_);;_(@_)P;FCalibri;M240;L9P;FCalibri;M240;L9P;FCalibri;M240;L9P;FCalibri;M240;L9P;ECalibri;M240;L9P;ECalibri Light;M360;SB;L55P;ECalibri;M300;SB;L55P;ECalibri;M260;SB;L55P;ECalibri;M220;SB;L55P;ECalibri;M240;L18P;ECalibri;M240;L15P;ECalibri;M240;L61P;ECalibri;M240;L63P;ECalibri;M240;SB;L64P;ECalibri;M240;SB;L53P;ECalibri;M240;L53P;ECalibri;M240;SB;L10P;ECalibri;M240;L11P;ECalibri;M240;SI;L24P;ECalibri;M240;SB;L9P;ECalibri;M240;L10F;P0;DG0G10;M320B;Y4;X8;D0 0 3 7O;L;D;V0;K47;G100 0.001F;W2 2 0F;W3 3 16F;W4 4 1F;W5 5 4F;W6 6 8F;W7 7 12F;W8 8 16C;Y1;X1;K"default"C;X2;K"W .09"C;X5;K"W 4"C;X7;K"W 12"C;Y2;X1;K"W 10"C;X2;K"1 px"C;X4;K"10 px"C;X6;K"W 8"C;X8;K"W 16"C;Y3;X1;K"65 px"C;X3;K"W 15.83"C;X5;K"29 px"C;X7;K"77 px"C;Y4;X3;K"100 px"C;X4;K"W .9"C;X6;K"53 px"C;X8;K"101 px"E
Expand Down
Binary file added column_width.xls
Binary file not shown.
Binary file added column_width.xlsb
Binary file not shown.
Binary file added column_width.xlsx
Binary file not shown.
86 changes: 86 additions & 0 deletions column_width.xml
@@ -0,0 +1,86 @@
<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
<Author>Microsoft Office User</Author>
<LastAuthor>Microsoft Office User</LastAuthor>
<Created>2017-03-20T00:26:03Z</Created>
<LastSaved>2017-03-20T00:33:00Z</LastSaved>
<Version>15.0</Version>
</DocumentProperties>
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
<AllowPNG/>
<PixelsPerInch>96</PixelsPerInch>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>16880</WindowHeight>
<WindowWidth>28160</WindowWidth>
<WindowTopX>3640</WindowTopX>
<WindowTopY>940</WindowTopY>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
</ExcelWorkbook>
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="12" ss:Color="#000000"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
</Styles>
<Worksheet ss:Name="Sheet1">
<Table ss:ExpandedColumnCount="8" ss:ExpandedRowCount="4" x:FullColumns="1"
x:FullRows="1" ss:DefaultColumnWidth="65" ss:DefaultRowHeight="16">
<Column ss:Index="2" ss:AutoFitWidth="0" ss:Width="1"/>
<Column ss:AutoFitWidth="0" ss:Width="100"/>
<Column ss:AutoFitWidth="0" ss:Width="10"/>
<Column ss:AutoFitWidth="0" ss:Width="29"/>
<Column ss:AutoFitWidth="0" ss:Width="53"/>
<Column ss:AutoFitWidth="0" ss:Width="77"/>
<Column ss:AutoFitWidth="0" ss:Width="101"/>
<Row>
<Cell><Data ss:Type="String">default</Data></Cell>
<Cell><Data ss:Type="String">W .09</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">W 4</Data></Cell>
<Cell ss:Index="7"><Data ss:Type="String">W 12</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="String">W 10</Data></Cell>
<Cell><Data ss:Type="String">1 px</Data></Cell>
<Cell ss:Index="4"><Data ss:Type="String">10 px</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">W 8</Data></Cell>
<Cell ss:Index="8"><Data ss:Type="String">W 16</Data></Cell>
</Row>
<Row>
<Cell><Data ss:Type="String">65 px</Data></Cell>
<Cell ss:Index="3"><Data ss:Type="String">W 15.83</Data></Cell>
<Cell ss:Index="5"><Data ss:Type="String">29 px</Data></Cell>
<Cell ss:Index="7"><Data ss:Type="String">77 px</Data></Cell>
</Row>
<Row>
<Cell ss:Index="3"><Data ss:Type="String">100 px</Data></Cell>
<Cell><Data ss:Type="String">W .9</Data></Cell>
<Cell ss:Index="6"><Data ss:Type="String">53 px</Data></Cell>
<Cell ss:Index="8"><Data ss:Type="String">101 px</Data></Cell>
</Row>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
<PageSetup>
<Header x:Margin="0.3"/>
<Footer x:Margin="0.3"/>
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
</PageSetup>
<Print>
</Print>
<PageLayoutZoom>0</PageLayoutZoom>
<Selected/>
<ProtectObjects>False</ProtectObjects>
<ProtectScenarios>False</ProtectScenarios>
</WorksheetOptions>
</Worksheet>
</Workbook>
Binary file added row_height.biff5
Binary file not shown.
90 changes: 90 additions & 0 deletions row_height.htm
@@ -0,0 +1,90 @@
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=macintosh">
<meta name=ProgId content=Excel.Sheet>
<meta name=Generator content="Microsoft Excel 15">
<link rel=File-List href="row_height.fld/filelist.xml">
<style>
<!--table
{mso-displayed-decimal-separator:"\.";
mso-displayed-thousand-separator:"\,";}
@page
{margin:.75in .7in .75in .7in;
mso-header-margin:.3in;
mso-footer-margin:.3in;}
.style0
{mso-number-format:General;
text-align:general;
vertical-align:bottom;
white-space:nowrap;
mso-rotate:0;
mso-background-source:auto;
mso-pattern:auto;
color:black;
font-size:12.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:Calibri, sans-serif;
mso-font-charset:0;
border:none;
mso-protection:locked visible;
mso-style-name:Normal;
mso-style-id:0;}
td
{mso-style-parent:style0;
padding-top:1px;
padding-right:1px;
padding-left:1px;
mso-ignore:padding;
color:black;
font-size:12.0pt;
font-weight:400;
font-style:normal;
text-decoration:none;
font-family:Calibri, sans-serif;
mso-font-charset:0;
mso-number-format:General;
text-align:general;
vertical-align:bottom;
border:none;
mso-background-source:auto;
mso-pattern:auto;
mso-protection:locked visible;
white-space:nowrap;
mso-rotate:0;}
-->
</style>
</head>

<body link="#0563C1" vlink="#954F72">

<table border=0 cellpadding=0 cellspacing=0 width=261 style='border-collapse:
collapse;table-layout:fixed;width:195pt'>
<col width=87 span=3 style='width:65pt'>
<tr height=21 style='height:16.0pt'>
<td height=21 width=87 style='height:16.0pt;width:65pt'>default</td>
<td width=87 style='width:65pt'>16 px</td>
<td width=87 style='width:65pt'></td>
</tr>
<tr height=1 style='mso-height-source:userset;height:1.0pt'>
<td height=1 colspan=2 style='height:1.0pt;mso-ignore:colspan'></td>
<td>1 px</td>
</tr>
<tr height=13 style='mso-height-source:userset;height:10.0pt'>
<td height=13 style='height:10.0pt'>10px</td>
<td colspan=2 style='mso-ignore:colspan'></td>
</tr>
<tr height=133 style='mso-height-source:userset;height:100.0pt'>
<td height=133 style='height:100.0pt'></td>
<td>100 px</td>
<td></td>
</tr>
</table>

</body>

</html>
1 change: 1 addition & 0 deletions row_height.slk
@@ -0,0 +1 @@
ID;PWXL;N;EP;PGeneralP;P0P;P0.00P;P#,##0P;P#,##0.00P;P#,##0_);;\(#,##0\)P;P#,##0_);;[Red]\(#,##0\)P;P#,##0.00_);;\(#,##0.00\)P;P#,##0.00_);;[Red]\(#,##0.00\)P;P"$"#,##0_);;\("$"#,##0\)P;P"$"#,##0_);;[Red]\("$"#,##0\)P;P"$"#,##0.00_);;\("$"#,##0.00\)P;P"$"#,##0.00_);;[Red]\("$"#,##0.00\)P;P0%P;P0.00%P;P0.00E+00P;P##0.0E+0P;P#\ ?/?P;P#\ ??/??P;Pm/d/yyP;Pd\-mmm\-yyP;Pd\-mmmP;Pmmm\-yyP;Ph:mm\ AM/PMP;Ph:mm:ss\ AM/PMP;Phh:mmP;Phh:mm:ssP;Pm/d/yy\ hh:mmP;Pmm:ssP;Pmm:ss.0P;P@P;P[h]:mm:ssP;P_("$"* #,##0_);;_("$"* \(#,##0\);;_("$"* "-"_);;_(@_)P;P_(* #,##0_);;_(* \(#,##0\);;_(* "-"_);;_(@_)P;P_("$"* #,##0.00_);;_("$"* \(#,##0.00\);;_("$"* "-"??_);;_(@_)P;P_(* #,##0.00_);;_(* \(#,##0.00\);;_(* "-"??_);;_(@_)P;FCalibri;M240;L9P;FCalibri;M240;L9P;FCalibri;M240;L9P;FCalibri;M240;L9P;ECalibri;M240;L9P;ECalibri Light;M360;SB;L55P;ECalibri;M300;SB;L55P;ECalibri;M260;SB;L55P;ECalibri;M220;SB;L55P;ECalibri;M240;L18P;ECalibri;M240;L15P;ECalibri;M240;L61P;ECalibri;M240;L63P;ECalibri;M240;SB;L64P;ECalibri;M240;SB;L53P;ECalibri;M240;L53P;ECalibri;M240;SB;L10P;ECalibri;M240;L11P;ECalibri;M240;SI;L24P;ECalibri;M240;SB;L9P;ECalibri;M240;L10F;P0;DG0G10;M320B;Y4;X3;D0 0 3 2O;L;D;V0;K47;G100 0.001F;M20;R2F;M200;R3F;M2000;R4C;Y1;X1;K"default"C;X2;K"16 px"F;Y2;X1F;X2F;X3C;K"1 px"F;Y3;X1C;K"10px"F;X2F;X3F;Y4;X1F;X2C;K"100 px"F;X3E
Expand Down
Binary file added row_height.xls
Binary file not shown.
Binary file added row_height.xlsb
Binary file not shown.
Binary file added row_height.xlsx
Binary file not shown.
71 changes: 71 additions & 0 deletions row_height.xml
@@ -0,0 +1,71 @@
<?xml version="1.0"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
<Author>Microsoft Office User</Author>
<LastAuthor>Microsoft Office User</LastAuthor>
<Created>2017-03-20T00:50:57Z</Created>
<LastSaved>2017-03-20T00:52:13Z</LastSaved>
<Version>15.0</Version>
</DocumentProperties>
<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
<AllowPNG/>
<PixelsPerInch>96</PixelsPerInch>
</OfficeDocumentSettings>
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
<WindowHeight>16880</WindowHeight>
<WindowWidth>28160</WindowWidth>
<WindowTopX>660</WindowTopX>
<WindowTopY>1740</WindowTopY>
<ProtectStructure>False</ProtectStructure>
<ProtectWindows>False</ProtectWindows>
</ExcelWorkbook>
<Styles>
<Style ss:ID="Default" ss:Name="Normal">
<Alignment ss:Vertical="Bottom"/>
<Borders/>
<Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="12" ss:Color="#000000"/>
<Interior/>
<NumberFormat/>
<Protection/>
</Style>
</Styles>
<Worksheet ss:Name="Sheet1">
<Table ss:ExpandedColumnCount="3" ss:ExpandedRowCount="4" x:FullColumns="1"
x:FullRows="1" ss:DefaultColumnWidth="65" ss:DefaultRowHeight="16">
<Row>
<Cell><Data ss:Type="String">default</Data></Cell>
<Cell><Data ss:Type="String">16 px</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0" ss:Height="1">
<Cell ss:Index="3"><Data ss:Type="String">1 px</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0" ss:Height="10">
<Cell><Data ss:Type="String">10px</Data></Cell>
</Row>
<Row ss:AutoFitHeight="0" ss:Height="100">
<Cell ss:Index="2"><Data ss:Type="String">100 px</Data></Cell>
</Row>
</Table>
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
<PageSetup>
<Header x:Margin="0.3"/>
<Footer x:Margin="0.3"/>
<PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
</PageSetup>
<PageLayoutZoom>0</PageLayoutZoom>
<Selected/>
<Panes>
<Pane>
<Number>3</Number>
<ActiveRow>4</ActiveRow>
</Pane>
</Panes>
<ProtectObjects>False</ProtectObjects>
<ProtectScenarios>False</ProtectScenarios>
</WorksheetOptions>
</Worksheet>
</Workbook>
Binary file added sized_boxen.biff5
Binary file not shown.

0 comments on commit 7fe887f

Please sign in to comment.