summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extract/test')
-rw-r--r--extract/test/Python2clipped.pdf.mutool-norotate.docx.dir.ref/word/document.xml12
-rw-r--r--extract/test/Python2clipped.pdf.mutool.docx.dir.ref/word/document.xml30
-rw-r--r--extract/test/Python2clipped.pdf.mutool.text.ref12
-rw-r--r--extract/test/agstat.pdf.mutool.html.ref516
-rw-r--r--extract/test/background_lines_1.pdf.mutool.html.ref69
-rw-r--r--extract/test/background_lines_2.pdf.mutool.html.ref60
-rw-r--r--extract/test/column_span_1.pdf.mutool.html.ref646
-rw-r--r--extract/test/column_span_2.pdf.mutool.html.ref57
-rw-r--r--extract/test/electoral_roll.pdf.mutool.html.ref116
-rw-r--r--extract/test/rotated.pdf.mutool.html.ref149
-rw-r--r--extract/test/row_span.pdf.mutool.html.ref136
-rw-r--r--extract/test/table.pdf.mutool.html.ref54
-rw-r--r--extract/test/twotables_1.pdf.mutool.html.ref73
-rw-r--r--extract/test/twotables_2.pdf.mutool.html.ref226
14 files changed, 1726 insertions, 430 deletions
diff --git a/extract/test/Python2clipped.pdf.mutool-norotate.docx.dir.ref/word/document.xml b/extract/test/Python2clipped.pdf.mutool-norotate.docx.dir.ref/word/document.xml
index d1615e1e..a5dad12e 100644
--- a/extract/test/Python2clipped.pdf.mutool-norotate.docx.dir.ref/word/document.xml
+++ b/extract/test/Python2clipped.pdf.mutool-norotate.docx.dir.ref/word/document.xml
@@ -108,19 +108,19 @@
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve"> a young man of </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">young man of </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans-BoldItalic" w:hAnsi="OpenSans-BoldItalic"/><w:b/><w:i/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">Madras</w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">,</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">e balls were </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">balls were </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans-Italic" w:hAnsi="OpenSans-Italic"/><w:i/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">constructed </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">of brass,</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">When jangled together,</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">hen jangled together,</w:t></w:r>
</w:p>
<w:p>
@@ -137,15 +137,15 @@
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">A Python, I sho</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">A Python, I sh</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">For it needs a doctor </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">For it needs a docto</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">And has the Measles yearly.</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">And has the Measles yearly</w:t></w:r>
</w:p>
<w:p>
diff --git a/extract/test/Python2clipped.pdf.mutool.docx.dir.ref/word/document.xml b/extract/test/Python2clipped.pdf.mutool.docx.dir.ref/word/document.xml
index e4a4bc0f..4d404a8b 100644
--- a/extract/test/Python2clipped.pdf.mutool.docx.dir.ref/word/document.xml
+++ b/extract/test/Python2clipped.pdf.mutool.docx.dir.ref/word/document.xml
@@ -419,12 +419,12 @@
<wp:anchor distT="0" distB="0" distL="0" distR="0" simplePos="0" relativeHeight="0" behindDoc="0" locked="0" layoutInCell="1" allowOverlap="1" wp14:anchorId="53A210D1" wp14:editId="2B7E8016">
<wp:simplePos x="0" y="0"/>
<wp:positionH relativeFrom="page">
- <wp:posOffset>4254598</wp:posOffset>
+ <wp:posOffset>4265751</wp:posOffset>
</wp:positionH>
<wp:positionV relativeFrom="page">
- <wp:posOffset>-113601</wp:posOffset>
+ <wp:posOffset>-151012</wp:posOffset>
</wp:positionV>
- <wp:extent cx="1706041" cy="1989200"/>
+ <wp:extent cx="1569389" cy="1989200"/>
<wp:effectExtent l="381000" t="723900" r="371475" b="723900"/>
<wp:wrapNone/>
<wp:docPr id="4" name="Text Box 4"/>
@@ -446,19 +446,19 @@
<w:txbxContent>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve"> a young man of </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">young man of </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans-BoldItalic" w:hAnsi="OpenSans-BoldItalic"/><w:b/><w:i/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">Madras</w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">,</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">e balls were </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">balls were </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans-Italic" w:hAnsi="OpenSans-Italic"/><w:i/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">constructed </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">of brass,</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">When jangled together,</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">hen jangled together,</w:t></w:r>
</w:p>
<w:p>
@@ -498,19 +498,19 @@
<w:txbxContent>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve"> a young man of </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">young man of </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans-BoldItalic" w:hAnsi="OpenSans-BoldItalic"/><w:b/><w:i/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">Madras</w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">,</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">e balls were </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">balls were </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans-Italic" w:hAnsi="OpenSans-Italic"/><w:i/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">constructed </w:t></w:r>
<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">of brass,</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">When jangled together,</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">hen jangled together,</w:t></w:r>
</w:p>
<w:p>
@@ -570,15 +570,15 @@
<w:txbxContent>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">A Python, I sho</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">A Python, I sh</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">For it needs a doctor </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">For it needs a docto</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">And has the Measles yearly.</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">And has the Measles yearly</w:t></w:r>
</w:p>
<w:p>
@@ -661,15 +661,15 @@
<w:txbxContent>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">A Python, I sho</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">A Python, I sh</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">For it needs a doctor </w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">For it needs a docto</w:t></w:r>
</w:p>
<w:p>
-<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">And has the Measles yearly.</w:t></w:r>
+<w:r><w:rPr><w:rFonts w:ascii="OpenSans" w:hAnsi="OpenSans"/><w:sz w:val="20.000000"/><w:szCs w:val="15.000000"/></w:rPr><w:t xml:space="preserve">And has the Measles yearly</w:t></w:r>
</w:p>
<w:p>
diff --git a/extract/test/Python2clipped.pdf.mutool.text.ref b/extract/test/Python2clipped.pdf.mutool.text.ref
index d797070c..7a2fd582 100644
--- a/extract/test/Python2clipped.pdf.mutool.text.ref
+++ b/extract/test/Python2clipped.pdf.mutool.text.ref
@@ -17,14 +17,14 @@ Supporting each man on the top of the tide
That alone should encourage the crew.
Just the place for a Snark! I have said it thrice:
What I tell you three times is true."
- a young man of Madras,
-e balls were constructed of brass,
-When jangled together,
+young man of Madras,
+balls were constructed of brass,
+hen jangled together,
They played “Stormy Weather”,
And lightning shot out of his ass.
-A Python, I sho
-For it needs a doctor
-And has the Measles yearly.
+A Python, I sh
+For it needs a docto
+And has the Measles yearly
However, if you feel inclined
To get one (to improve your mind,
And not from fashion merely),
diff --git a/extract/test/agstat.pdf.mutool.html.ref b/extract/test/agstat.pdf.mutool.html.ref
index 9ca78a94..eb747eb6 100644
--- a/extract/test/agstat.pdf.mutool.html.ref
+++ b/extract/test/agstat.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p><b> DISTRICT WISE ESTIMATES OF MARKETABLE SURPLUS / DEFICIT OF RICE DURING 2012-13
@@ -7,103 +8,423 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td rowspan="2"><p><b>Sl. No.</p></b></td><td rowspan="2"><p><b>District</p></b></td><td rowspan="2"><p><b>(Inlakhs)</p><p>for2012-13</p><p>ProjectedPopulation </p></b></td><td rowspan="2"><p><b>Adult </p><p>(Inlakhs)</p><p>Equivalentto88%</p></b></td><td rowspan="2"><p><b>requirement</p><p>(InLakhtonnes)</p><p>otalConsumption</p><p>T (@400gms/adult/day)</p></b></td><td rowspan="2"><p><b>otalRequirement</p><p>(InLakhtonnes)</p><p>(Includingseeds, </p><p>feeds&amp;wastage)</p><p>T</p></b></td><td colspan="3"><p><b>Production (Rice) (In Lakh tonnes)</p></b></td><td colspan="2"><p><b>Surplus/Defi cit (In Lakh tonnes)</p></b></td>
- </tr>
- <tr>
- <td><p><b>Kharif</p></b></td><td><p><b>Rabi</p></b></td><td><p><b>otal</p><p>T</p></b></td><td><p><b>Rice</p></b></td><td><p><b>Paddy</p></b></td>
- </tr>
- <tr>
- <td><p>1</p></td><td><p>Balasore</p></td><td><p>23.65</p></td><td><p>20.81</p></td><td><p>3.04</p></td><td><p>3.47</p></td><td><p>2.78</p></td><td><p>0.86</p></td><td><p>3.64</p></td><td><p>0.17</p></td><td><p>0.25</p></td>
- </tr>
- <tr>
- <td><p>2</p></td><td><p>Bhadrak</p></td><td><p>15.34</p></td><td><p>13.50</p></td><td><p>1.97</p></td><td><p>2.25</p></td><td><p>3.50</p></td><td><p>0.05</p></td><td><p>3.55</p></td><td><p>1.30</p></td><td><p>1.94</p></td>
- </tr>
- <tr>
- <td><p>3</p></td><td><p>Balangir</p></td><td><p>17.01</p></td><td><p>14.97</p></td><td><p>2.19</p></td><td><p>2.50</p></td><td><p>6.23</p></td><td><p>0.10</p></td><td><p>6.33</p></td><td><p>3.83</p></td><td><p>5.72</p></td>
- </tr>
- <tr>
- <td><p>4</p></td><td><p>Subarnapur</p></td><td><p>6.70</p></td><td><p>5.90</p></td><td><p>0.86</p></td><td><p>0.98</p></td><td><p>4.48</p></td><td><p>1.13</p></td><td><p>5.61</p></td><td><p>4.63</p></td><td><p>6.91</p></td>
- </tr>
- <tr>
- <td><p>5</p></td><td><p>Cuttack</p></td><td><p>26.63</p></td><td><p>23.43</p></td><td><p>3.42</p></td><td><p>3.91</p></td><td><p>3.75</p></td><td><p>0.06</p></td><td><p>3.81</p></td><td><p>-0.10</p></td><td><p>-0.15</p></td>
- </tr>
- <tr>
- <td><p>6</p></td><td><p>Jagatsingpur</p></td><td><p>11.49</p></td><td><p>10.11</p></td><td><p>1.48</p></td><td><p>1.69</p></td><td><p>2.10</p></td><td><p>0.02</p></td><td><p>2.12</p></td><td><p>0.43</p></td><td><p>0.64</p></td>
- </tr>
- <tr>
- <td><p>7</p></td><td><p>Jajpur</p></td><td><p>18.59</p></td><td><p>16.36</p></td><td><p>2.39</p></td><td><p>2.73</p></td><td><p>2.13</p></td><td><p>0.04</p></td><td><p>2.17</p></td><td><p>-0.56</p></td><td><p>-0.84</p></td>
- </tr>
- <tr>
- <td><p>8</p></td><td><p>Kendrapara</p></td><td><p>14.62</p></td><td><p>12.87</p></td><td><p>1.88</p></td><td><p>2.15</p></td><td><p>2.60</p></td><td><p>0.07</p></td><td><p>2.67</p></td><td><p>0.52</p></td><td><p>0.78</p></td>
- </tr>
- <tr>
- <td><p>9</p></td><td><p>Dhenkanal</p></td><td><p>12.13</p></td><td><p>10.67</p></td><td><p>1.56</p></td><td><p>1.78</p></td><td><p>2.26</p></td><td><p>0.02</p></td><td><p>2.28</p></td><td><p>0.50</p></td><td><p>0.75</p></td>
- </tr>
- <tr>
- <td><p>10</p></td><td><p>Angul</p></td><td><p>12.93</p></td><td><p>11.38</p></td><td><p>1.66</p></td><td><p>1.90</p></td><td><p>1.73</p></td><td><p>0.02</p></td><td><p>1.75</p></td><td><p>-0.15</p></td><td><p>-0.22</p></td>
- </tr>
- <tr>
- <td><p>11</p></td><td><p>Ganjam</p></td><td><p>35.77</p></td><td><p>31.48</p></td><td><p>4.60</p></td><td><p>5.26</p></td><td><p>4.57</p></td><td><p>0.00</p></td><td><p>4.57</p></td><td><p>-0.69</p></td><td><p>-1.03</p></td>
- </tr>
- <tr>
- <td><p>12</p></td><td><p>Gajapati</p></td><td><p>5.85</p></td><td><p>5.15</p></td><td><p>0.75</p></td><td><p>0.86</p></td><td><p>0.68</p></td><td><p>0.01</p></td><td><p>0.69</p></td><td><p>-0.17</p></td><td><p>-0.25</p></td>
- </tr>
- <tr>
- <td><p>13</p></td><td><p>Kalahandi</p></td><td><p>16.12</p></td><td><p>14.19</p></td><td><p>2.07</p></td><td><p>2.37</p></td><td><p>5.42</p></td><td><p>1.13</p></td><td><p>6.55</p></td><td><p>4.18</p></td><td><p>6.24</p></td>
- </tr>
- <tr>
- <td><p>14</p></td><td><p>Nuapada</p></td><td><p>6.18</p></td><td><p>5.44</p></td><td><p>0.79</p></td><td><p>0.90</p></td><td><p>1.98</p></td><td><p>0.08</p></td><td><p>2.06</p></td><td><p>1.16</p></td><td><p>1.73</p></td>
- </tr>
- <tr>
- <td><p>15</p></td><td><p>Keonjhar</p></td><td><p>18.42</p></td><td><p>16.21</p></td><td><p>2.37</p></td><td><p>2.71</p></td><td><p>2.76</p></td><td><p>0.08</p></td><td><p>2.84</p></td><td><p>0.13</p></td><td><p>0.19</p></td>
- </tr>
- <tr>
- <td><p>16</p></td><td><p>Koraput</p></td><td><p>14.09</p></td><td><p>12.40</p></td><td><p>1.81</p></td><td><p>2.07</p></td><td><p>2.08</p></td><td><p>0.34</p></td><td><p>2.42</p></td><td><p>0.35</p></td><td><p>0.52</p></td>
- </tr>
- <tr>
- <td><p>17</p></td><td><p>Malkangiri</p></td><td><p>6.31</p></td><td><p>5.55</p></td><td><p>0.81</p></td><td><p>0.93</p></td><td><p>1.78</p></td><td><p>0.04</p></td><td><p>1.82</p></td><td><p>0.89</p></td><td><p>1.33</p></td>
- </tr>
- <tr>
- <td><p>18</p></td><td><p>Nabarangpur</p></td><td><p>12.50</p></td><td><p>11.00</p></td><td><p>1.61</p></td><td><p>1.84</p></td><td><p>3.26</p></td><td><p>0.02</p></td><td><p>3.28</p></td><td><p>1.44</p></td><td><p>2.15</p></td>
- </tr>
- <tr>
- <td><p>19</p></td><td><p>Rayagada</p></td><td><p>9.83</p></td><td><p>8.65</p></td><td><p>1.26</p></td><td><p>1.44</p></td><td><p>1.15</p></td><td><p>0.03</p></td><td><p>1.18</p></td><td><p>-0.26</p></td><td><p>-0.39</p></td>
- </tr>
- <tr>
- <td><p>20</p></td><td><p>Mayurbhanj</p></td><td><p>25.61</p></td><td><p>22.54</p></td><td><p>3.29</p></td><td><p>3.76</p></td><td><p>4.90</p></td><td><p>0.06</p></td><td><p>4.96</p></td><td><p>1.20</p></td><td><p>1.79</p></td>
- </tr>
- <tr>
- <td><p>21</p></td><td><p>Kandhamal</p></td><td><p>7.45</p></td><td><p>6.56</p></td><td><p>0.96</p></td><td><p>1.10</p></td><td><p>0.70</p></td><td><p>0.01</p></td><td><p>0.71</p></td><td><p>-0.39</p></td><td><p>-0.58</p></td>
- </tr>
- <tr>
- <td><p>22</p></td><td><p>Boudh</p></td><td><p>4.51</p></td><td><p>3.97</p></td><td><p>0.58</p></td><td><p>0.66</p></td><td><p>1.73</p></td><td><p>0.03</p></td><td><p>1.76</p></td><td><p>1.10</p></td><td><p>1.64</p></td>
- </tr>
- <tr>
- <td><p>23</p></td><td><p>Puri</p></td><td><p>17.29</p></td><td><p>15.22</p></td><td><p>2.22</p></td><td><p>2.54</p></td><td><p>2.45</p></td><td><p>0.99</p></td><td><p>3.44</p></td><td><p>0.90</p></td><td><p>1.34</p></td>
- </tr>
- <tr>
- <td><p>24</p></td><td><p>Khordha</p></td><td><p>23.08</p></td><td><p>20.31</p></td><td><p>2.97</p></td><td><p>3.39</p></td><td><p>2.02</p></td><td><p>0.03</p></td><td><p>2.05</p></td><td><p>-1.34</p></td><td><p>-2.00</p></td>
- </tr>
- <tr>
- <td><p>25</p></td><td><p>Nayagarh</p></td><td><p>9.78</p></td><td><p>8.61</p></td><td><p>1.26</p></td><td><p>1.44</p></td><td><p>2.10</p></td><td><p>0.00</p></td><td><p>2.10</p></td><td><p>0.66</p></td><td><p>0.99</p></td>
- </tr>
- <tr>
- <td><p>26</p></td><td><p>Sambalpur</p></td><td><p>10.62</p></td><td><p>9.35</p></td><td><p>1.37</p></td><td><p>1.57</p></td><td><p>3.45</p></td><td><p>0.71</p></td><td><p>4.16</p></td><td><p>2.59</p></td><td><p>3.87</p></td>
- </tr>
- <tr>
- <td><p>27</p></td><td><p>Bargarh</p></td><td><p>15.00</p></td><td><p>13.20</p></td><td><p>1.93</p></td><td><p>2.21</p></td><td><p>6.87</p></td><td><p>2.65</p></td><td><p>9.52</p></td><td><p>7.31</p></td><td><p>10.91</p></td>
- </tr>
- <tr>
- <td><p>28</p></td><td><p>Deogarh</p></td><td><p>3.18</p></td><td><p>2.80</p></td><td><p>0.41</p></td><td><p>0.47</p></td><td><p>1.12</p></td><td><p>0.07</p></td><td><p>1.19</p></td><td><p>0.72</p></td><td><p>1.07</p></td>
- </tr>
- <tr>
- <td><p>29</p></td><td><p>Jharsuguda</p></td><td><p>5.91</p></td><td><p>5.20</p></td><td><p>0.76</p></td><td><p>0.87</p></td><td><p>0.99</p></td><td><p>0.01</p></td><td><p>1.00</p></td><td><p>0.13</p></td><td><p>0.19</p></td>
- </tr>
- <tr>
- <td><p>30</p></td><td><p>Sundargarh</p></td><td><p>21.21</p></td><td><p>18.66</p></td><td><p>2.72</p></td><td><p>3.11</p></td><td><p>4.72</p></td><td><p>0.02</p></td><td><p>4.74</p></td><td><p>1.63</p></td><td><p>2.43</p></td>
- </tr>
- <tr>
- <td colspan="2"><p><b>ODISHA</p></b></td><td><p><b>427.80</p></b></td><td><p><b>376.49</p></b></td><td><p><b>54.99</p></b></td><td><p><b>62.86</p></b></td><td><p><b>86.29</p></b></td><td><p><b>8.68</p></b></td><td><p><b>94.97</p></b></td><td><p><b>32.11</p></b></td><td><p><b>47.92</p></b></td>
+ <td rowspan="2"><p><b>Sl. No.</p></b></td>
+ <td rowspan="2"><p><b>District</p></b></td>
+ <td rowspan="2"><p><b>(Inlakhs)</p><p>for2012-13</p><p>ProjectedPopulation </p></b></td>
+ <td rowspan="2"><p><b>Adult </p><p>(Inlakhs)</p><p>Equivalentto88%</p></b></td>
+ <td rowspan="2"><p><b>requirement</p><p>(InLakhtonnes)</p><p>otalConsumption</p><p>T (@400gms/adult/day)</p></b></td>
+ <td rowspan="2"><p><b>otalRequirement</p><p>(InLakhtonnes)</p><p>(Includingseeds, </p><p>feeds&amp;wastage)</p><p>T</p></b></td>
+ <td colspan="3"><p><b>Production (Rice) (In Lakh tonnes)</p></b></td>
+ <td colspan="2"><p><b>Surplus/Defi cit (In Lakh tonnes)</p></b></td>
+ </tr>
+ <tr>
+ <td><p><b>Kharif</p></b></td>
+ <td><p><b>Rabi</p></b></td>
+ <td><p><b>otal</p><p>T</p></b></td>
+ <td><p><b>Rice</p></b></td>
+ <td><p><b>Paddy</p></b></td>
+ </tr>
+ <tr>
+ <td><p>1</p></td>
+ <td><p>Balasore</p></td>
+ <td><p>23.65</p></td>
+ <td><p>20.81</p></td>
+ <td><p>3.04</p></td>
+ <td><p>3.47</p></td>
+ <td><p>2.78</p></td>
+ <td><p>0.86</p></td>
+ <td><p>3.64</p></td>
+ <td><p>0.17</p></td>
+ <td><p>0.25</p></td>
+ </tr>
+ <tr>
+ <td><p>2</p></td>
+ <td><p>Bhadrak</p></td>
+ <td><p>15.34</p></td>
+ <td><p>13.50</p></td>
+ <td><p>1.97</p></td>
+ <td><p>2.25</p></td>
+ <td><p>3.50</p></td>
+ <td><p>0.05</p></td>
+ <td><p>3.55</p></td>
+ <td><p>1.30</p></td>
+ <td><p>1.94</p></td>
+ </tr>
+ <tr>
+ <td><p>3</p></td>
+ <td><p>Balangir</p></td>
+ <td><p>17.01</p></td>
+ <td><p>14.97</p></td>
+ <td><p>2.19</p></td>
+ <td><p>2.50</p></td>
+ <td><p>6.23</p></td>
+ <td><p>0.10</p></td>
+ <td><p>6.33</p></td>
+ <td><p>3.83</p></td>
+ <td><p>5.72</p></td>
+ </tr>
+ <tr>
+ <td><p>4</p></td>
+ <td><p>Subarnapur</p></td>
+ <td><p>6.70</p></td>
+ <td><p>5.90</p></td>
+ <td><p>0.86</p></td>
+ <td><p>0.98</p></td>
+ <td><p>4.48</p></td>
+ <td><p>1.13</p></td>
+ <td><p>5.61</p></td>
+ <td><p>4.63</p></td>
+ <td><p>6.91</p></td>
+ </tr>
+ <tr>
+ <td><p>5</p></td>
+ <td><p>Cuttack</p></td>
+ <td><p>26.63</p></td>
+ <td><p>23.43</p></td>
+ <td><p>3.42</p></td>
+ <td><p>3.91</p></td>
+ <td><p>3.75</p></td>
+ <td><p>0.06</p></td>
+ <td><p>3.81</p></td>
+ <td><p>-0.10</p></td>
+ <td><p>-0.15</p></td>
+ </tr>
+ <tr>
+ <td><p>6</p></td>
+ <td><p>Jagatsingpur</p></td>
+ <td><p>11.49</p></td>
+ <td><p>10.11</p></td>
+ <td><p>1.48</p></td>
+ <td><p>1.69</p></td>
+ <td><p>2.10</p></td>
+ <td><p>0.02</p></td>
+ <td><p>2.12</p></td>
+ <td><p>0.43</p></td>
+ <td><p>0.64</p></td>
+ </tr>
+ <tr>
+ <td><p>7</p></td>
+ <td><p>Jajpur</p></td>
+ <td><p>18.59</p></td>
+ <td><p>16.36</p></td>
+ <td><p>2.39</p></td>
+ <td><p>2.73</p></td>
+ <td><p>2.13</p></td>
+ <td><p>0.04</p></td>
+ <td><p>2.17</p></td>
+ <td><p>-0.56</p></td>
+ <td><p>-0.84</p></td>
+ </tr>
+ <tr>
+ <td><p>8</p></td>
+ <td><p>Kendrapara</p></td>
+ <td><p>14.62</p></td>
+ <td><p>12.87</p></td>
+ <td><p>1.88</p></td>
+ <td><p>2.15</p></td>
+ <td><p>2.60</p></td>
+ <td><p>0.07</p></td>
+ <td><p>2.67</p></td>
+ <td><p>0.52</p></td>
+ <td><p>0.78</p></td>
+ </tr>
+ <tr>
+ <td><p>9</p></td>
+ <td><p>Dhenkanal</p></td>
+ <td><p>12.13</p></td>
+ <td><p>10.67</p></td>
+ <td><p>1.56</p></td>
+ <td><p>1.78</p></td>
+ <td><p>2.26</p></td>
+ <td><p>0.02</p></td>
+ <td><p>2.28</p></td>
+ <td><p>0.50</p></td>
+ <td><p>0.75</p></td>
+ </tr>
+ <tr>
+ <td><p>10</p></td>
+ <td><p>Angul</p></td>
+ <td><p>12.93</p></td>
+ <td><p>11.38</p></td>
+ <td><p>1.66</p></td>
+ <td><p>1.90</p></td>
+ <td><p>1.73</p></td>
+ <td><p>0.02</p></td>
+ <td><p>1.75</p></td>
+ <td><p>-0.15</p></td>
+ <td><p>-0.22</p></td>
+ </tr>
+ <tr>
+ <td><p>11</p></td>
+ <td><p>Ganjam</p></td>
+ <td><p>35.77</p></td>
+ <td><p>31.48</p></td>
+ <td><p>4.60</p></td>
+ <td><p>5.26</p></td>
+ <td><p>4.57</p></td>
+ <td><p>0.00</p></td>
+ <td><p>4.57</p></td>
+ <td><p>-0.69</p></td>
+ <td><p>-1.03</p></td>
+ </tr>
+ <tr>
+ <td><p>12</p></td>
+ <td><p>Gajapati</p></td>
+ <td><p>5.85</p></td>
+ <td><p>5.15</p></td>
+ <td><p>0.75</p></td>
+ <td><p>0.86</p></td>
+ <td><p>0.68</p></td>
+ <td><p>0.01</p></td>
+ <td><p>0.69</p></td>
+ <td><p>-0.17</p></td>
+ <td><p>-0.25</p></td>
+ </tr>
+ <tr>
+ <td><p>13</p></td>
+ <td><p>Kalahandi</p></td>
+ <td><p>16.12</p></td>
+ <td><p>14.19</p></td>
+ <td><p>2.07</p></td>
+ <td><p>2.37</p></td>
+ <td><p>5.42</p></td>
+ <td><p>1.13</p></td>
+ <td><p>6.55</p></td>
+ <td><p>4.18</p></td>
+ <td><p>6.24</p></td>
+ </tr>
+ <tr>
+ <td><p>14</p></td>
+ <td><p>Nuapada</p></td>
+ <td><p>6.18</p></td>
+ <td><p>5.44</p></td>
+ <td><p>0.79</p></td>
+ <td><p>0.90</p></td>
+ <td><p>1.98</p></td>
+ <td><p>0.08</p></td>
+ <td><p>2.06</p></td>
+ <td><p>1.16</p></td>
+ <td><p>1.73</p></td>
+ </tr>
+ <tr>
+ <td><p>15</p></td>
+ <td><p>Keonjhar</p></td>
+ <td><p>18.42</p></td>
+ <td><p>16.21</p></td>
+ <td><p>2.37</p></td>
+ <td><p>2.71</p></td>
+ <td><p>2.76</p></td>
+ <td><p>0.08</p></td>
+ <td><p>2.84</p></td>
+ <td><p>0.13</p></td>
+ <td><p>0.19</p></td>
+ </tr>
+ <tr>
+ <td><p>16</p></td>
+ <td><p>Koraput</p></td>
+ <td><p>14.09</p></td>
+ <td><p>12.40</p></td>
+ <td><p>1.81</p></td>
+ <td><p>2.07</p></td>
+ <td><p>2.08</p></td>
+ <td><p>0.34</p></td>
+ <td><p>2.42</p></td>
+ <td><p>0.35</p></td>
+ <td><p>0.52</p></td>
+ </tr>
+ <tr>
+ <td><p>17</p></td>
+ <td><p>Malkangiri</p></td>
+ <td><p>6.31</p></td>
+ <td><p>5.55</p></td>
+ <td><p>0.81</p></td>
+ <td><p>0.93</p></td>
+ <td><p>1.78</p></td>
+ <td><p>0.04</p></td>
+ <td><p>1.82</p></td>
+ <td><p>0.89</p></td>
+ <td><p>1.33</p></td>
+ </tr>
+ <tr>
+ <td><p>18</p></td>
+ <td><p>Nabarangpur</p></td>
+ <td><p>12.50</p></td>
+ <td><p>11.00</p></td>
+ <td><p>1.61</p></td>
+ <td><p>1.84</p></td>
+ <td><p>3.26</p></td>
+ <td><p>0.02</p></td>
+ <td><p>3.28</p></td>
+ <td><p>1.44</p></td>
+ <td><p>2.15</p></td>
+ </tr>
+ <tr>
+ <td><p>19</p></td>
+ <td><p>Rayagada</p></td>
+ <td><p>9.83</p></td>
+ <td><p>8.65</p></td>
+ <td><p>1.26</p></td>
+ <td><p>1.44</p></td>
+ <td><p>1.15</p></td>
+ <td><p>0.03</p></td>
+ <td><p>1.18</p></td>
+ <td><p>-0.26</p></td>
+ <td><p>-0.39</p></td>
+ </tr>
+ <tr>
+ <td><p>20</p></td>
+ <td><p>Mayurbhanj</p></td>
+ <td><p>25.61</p></td>
+ <td><p>22.54</p></td>
+ <td><p>3.29</p></td>
+ <td><p>3.76</p></td>
+ <td><p>4.90</p></td>
+ <td><p>0.06</p></td>
+ <td><p>4.96</p></td>
+ <td><p>1.20</p></td>
+ <td><p>1.79</p></td>
+ </tr>
+ <tr>
+ <td><p>21</p></td>
+ <td><p>Kandhamal</p></td>
+ <td><p>7.45</p></td>
+ <td><p>6.56</p></td>
+ <td><p>0.96</p></td>
+ <td><p>1.10</p></td>
+ <td><p>0.70</p></td>
+ <td><p>0.01</p></td>
+ <td><p>0.71</p></td>
+ <td><p>-0.39</p></td>
+ <td><p>-0.58</p></td>
+ </tr>
+ <tr>
+ <td><p>22</p></td>
+ <td><p>Boudh</p></td>
+ <td><p>4.51</p></td>
+ <td><p>3.97</p></td>
+ <td><p>0.58</p></td>
+ <td><p>0.66</p></td>
+ <td><p>1.73</p></td>
+ <td><p>0.03</p></td>
+ <td><p>1.76</p></td>
+ <td><p>1.10</p></td>
+ <td><p>1.64</p></td>
+ </tr>
+ <tr>
+ <td><p>23</p></td>
+ <td><p>Puri</p></td>
+ <td><p>17.29</p></td>
+ <td><p>15.22</p></td>
+ <td><p>2.22</p></td>
+ <td><p>2.54</p></td>
+ <td><p>2.45</p></td>
+ <td><p>0.99</p></td>
+ <td><p>3.44</p></td>
+ <td><p>0.90</p></td>
+ <td><p>1.34</p></td>
+ </tr>
+ <tr>
+ <td><p>24</p></td>
+ <td><p>Khordha</p></td>
+ <td><p>23.08</p></td>
+ <td><p>20.31</p></td>
+ <td><p>2.97</p></td>
+ <td><p>3.39</p></td>
+ <td><p>2.02</p></td>
+ <td><p>0.03</p></td>
+ <td><p>2.05</p></td>
+ <td><p>-1.34</p></td>
+ <td><p>-2.00</p></td>
+ </tr>
+ <tr>
+ <td><p>25</p></td>
+ <td><p>Nayagarh</p></td>
+ <td><p>9.78</p></td>
+ <td><p>8.61</p></td>
+ <td><p>1.26</p></td>
+ <td><p>1.44</p></td>
+ <td><p>2.10</p></td>
+ <td><p>0.00</p></td>
+ <td><p>2.10</p></td>
+ <td><p>0.66</p></td>
+ <td><p>0.99</p></td>
+ </tr>
+ <tr>
+ <td><p>26</p></td>
+ <td><p>Sambalpur</p></td>
+ <td><p>10.62</p></td>
+ <td><p>9.35</p></td>
+ <td><p>1.37</p></td>
+ <td><p>1.57</p></td>
+ <td><p>3.45</p></td>
+ <td><p>0.71</p></td>
+ <td><p>4.16</p></td>
+ <td><p>2.59</p></td>
+ <td><p>3.87</p></td>
+ </tr>
+ <tr>
+ <td><p>27</p></td>
+ <td><p>Bargarh</p></td>
+ <td><p>15.00</p></td>
+ <td><p>13.20</p></td>
+ <td><p>1.93</p></td>
+ <td><p>2.21</p></td>
+ <td><p>6.87</p></td>
+ <td><p>2.65</p></td>
+ <td><p>9.52</p></td>
+ <td><p>7.31</p></td>
+ <td><p>10.91</p></td>
+ </tr>
+ <tr>
+ <td><p>28</p></td>
+ <td><p>Deogarh</p></td>
+ <td><p>3.18</p></td>
+ <td><p>2.80</p></td>
+ <td><p>0.41</p></td>
+ <td><p>0.47</p></td>
+ <td><p>1.12</p></td>
+ <td><p>0.07</p></td>
+ <td><p>1.19</p></td>
+ <td><p>0.72</p></td>
+ <td><p>1.07</p></td>
+ </tr>
+ <tr>
+ <td><p>29</p></td>
+ <td><p>Jharsuguda</p></td>
+ <td><p>5.91</p></td>
+ <td><p>5.20</p></td>
+ <td><p>0.76</p></td>
+ <td><p>0.87</p></td>
+ <td><p>0.99</p></td>
+ <td><p>0.01</p></td>
+ <td><p>1.00</p></td>
+ <td><p>0.13</p></td>
+ <td><p>0.19</p></td>
+ </tr>
+ <tr>
+ <td><p>30</p></td>
+ <td><p>Sundargarh</p></td>
+ <td><p>21.21</p></td>
+ <td><p>18.66</p></td>
+ <td><p>2.72</p></td>
+ <td><p>3.11</p></td>
+ <td><p>4.72</p></td>
+ <td><p>0.02</p></td>
+ <td><p>4.74</p></td>
+ <td><p>1.63</p></td>
+ <td><p>2.43</p></td>
+ </tr>
+ <tr>
+ <td colspan="2"><p><b>ODISHA</p></b></td>
+ <td><p><b>427.80</p></b></td>
+ <td><p><b>376.49</p></b></td>
+ <td><p><b>54.99</p></b></td>
+ <td><p><b>62.86</p></b></td>
+ <td><p><b>86.29</p></b></td>
+ <td><p><b>8.68</p></b></td>
+ <td><p><b>94.97</p></b></td>
+ <td><p><b>32.11</p></b></td>
+ <td><p><b>47.92</p></b></td>
</tr>
</table>
@@ -118,5 +439,6 @@
</tr>
</table>
+</div>
</body>
</html>
diff --git a/extract/test/background_lines_1.pdf.mutool.html.ref b/extract/test/background_lines_1.pdf.mutool.html.ref
index 74c4f28f..ffacb552 100644
--- a/extract/test/background_lines_1.pdf.mutool.html.ref
+++ b/extract/test/background_lines_1.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p>Annual Report 2009-10
@@ -13,28 +14,77 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td><p><b>State </p></b></td><td><p><b>Date </p></b></td><td><p><b>Halt stations </p></b></td><td><p><b>Halt days</p></b></td><td><p><b>Persons directly reached (in lakh)</p></b></td><td><p><b>Persons trained</p></b></td><td><p><b>Persons counseled</p></b></td><td><p><b>Persons tested for HIV</p></b></td>
+ <td><p><b>State </p></b></td>
+ <td><p><b>Date </p></b></td>
+ <td><p><b>Halt stations </p></b></td>
+ <td><p><b>Halt days</p></b></td>
+ <td><p><b>Persons directly reached (in lakh)</p></b></td>
+ <td><p><b>Persons trained</p></b></td>
+ <td><p><b>Persons counseled</p></b></td>
+ <td><p><b>Persons tested for HIV</p></b></td>
</tr>
<tr>
- <td><p>Delhi</p></td><td><p>1.12.2009</p></td><td rowspan="2"><p>8</p></td><td rowspan="2"><p>17</p></td><td rowspan="2"><p>1.29</p></td><td rowspan="2"><p>3,665</p></td><td rowspan="2"><p>2,409</p></td><td rowspan="2"><p>1,000</p></td>
+ <td><p>Delhi</p></td>
+ <td><p>1.12.2009</p></td>
+ <td rowspan="2"><p>8</p></td>
+ <td rowspan="2"><p>17</p></td>
+ <td rowspan="2"><p>1.29</p></td>
+ <td rowspan="2"><p>3,665</p></td>
+ <td rowspan="2"><p>2,409</p></td>
+ <td rowspan="2"><p>1,000</p></td>
</tr>
<tr>
- <td><p>Rajasthan</p></td><td><p>2.12.2009 to 19.12.2009</p></td>
+ <td><p>Rajasthan</p></td>
+ <td><p>2.12.2009 to 19.12.2009</p></td>
</tr>
<tr>
- <td><p>Gujarat</p></td><td><p>20.12.2009 to 3.1.2010</p></td><td><p>6</p></td><td><p>13</p></td><td><p>6.03</p></td><td><p>3,810</p></td><td><p>2,317</p></td><td><p>1,453</p></td>
+ <td><p>Gujarat</p></td>
+ <td><p>20.12.2009 to 3.1.2010</p></td>
+ <td><p>6</p></td>
+ <td><p>13</p></td>
+ <td><p>6.03</p></td>
+ <td><p>3,810</p></td>
+ <td><p>2,317</p></td>
+ <td><p>1,453</p></td>
</tr>
<tr>
- <td><p>Maharashtra</p></td><td><p>4.01.2010 to 1.2.2010</p></td><td><p>13</p></td><td><p>26</p></td><td><p>1.27</p></td><td><p>5,680</p></td><td><p>9,027</p></td><td><p>4,153</p></td>
+ <td><p>Maharashtra</p></td>
+ <td><p>4.01.2010 to 1.2.2010</p></td>
+ <td><p>13</p></td>
+ <td><p>26</p></td>
+ <td><p>1.27</p></td>
+ <td><p>5,680</p></td>
+ <td><p>9,027</p></td>
+ <td><p>4,153</p></td>
</tr>
<tr>
- <td><p>Karnataka </p></td><td><p>2.2.2010 to 22.2.2010</p></td><td><p>11</p></td><td><p>19</p></td><td><p>1.80</p></td><td><p>5,741</p></td><td><p>3,658</p></td><td><p>3,183</p></td>
+ <td><p>Karnataka </p></td>
+ <td><p>2.2.2010 to 22.2.2010</p></td>
+ <td><p>11</p></td>
+ <td><p>19</p></td>
+ <td><p>1.80</p></td>
+ <td><p>5,741</p></td>
+ <td><p>3,658</p></td>
+ <td><p>3,183</p></td>
</tr>
<tr>
- <td><p>Kerala</p></td><td><p>23.2.2010 to 11.3.2010</p></td><td><p>9</p></td><td><p>17</p></td><td><p>1.42</p></td><td><p>3,559</p></td><td><p>2,173</p></td><td><p>855</p></td>
+ <td><p>Kerala</p></td>
+ <td><p>23.2.2010 to 11.3.2010</p></td>
+ <td><p>9</p></td>
+ <td><p>17</p></td>
+ <td><p>1.42</p></td>
+ <td><p>3,559</p></td>
+ <td><p>2,173</p></td>
+ <td><p>855</p></td>
</tr>
<tr>
- <td colspan="2"><p><b>Total</p></b></td><td><p><b>47</p></b></td><td><p><b>92</p></b></td><td><p><b>11.81</p></b></td><td><p><b>22,455</p></b></td><td><p><b>19,584</p></b></td><td><p><b>10,644</p></b></td>
+ <td colspan="2"><p><b>Total</p></b></td>
+ <td><p><b>47</p></b></td>
+ <td><p><b>92</p></b></td>
+ <td><p><b>11.81</p></b></td>
+ <td><p><b>22,455</p></b></td>
+ <td><p><b>19,584</p></b></td>
+ <td><p><b>10,644</p></b></td>
</tr>
</table>
@@ -47,5 +97,6 @@
</p>
<p>29
-</p></body>
+</p></div>
+</body>
</html>
diff --git a/extract/test/background_lines_2.pdf.mutool.html.ref b/extract/test/background_lines_2.pdf.mutool.html.ref
index 03ee5855..e0207bf0 100644
--- a/extract/test/background_lines_2.pdf.mutool.html.ref
+++ b/extract/test/background_lines_2.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p><b>INPUT SURVEY, 1996-1997
@@ -16,72 +17,87 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td colspan="2" rowspan="2"><p><b>Sl.No</p></b></td><td colspan="2" rowspan="2"><p><b>SIZE GROUP (HA) </p></b></td><td colspan="2"><p><b>NO. OF HOLDINGS GROWING THE CROP </p></b></td><td colspan="3"><p><b>AREA UNDER THE CROP</p></b></td><td colspan="6"><p><b>AREA UNDER THE CROP TREATED WITH THE MANURE</p></b></td>
+ <td colspan="2" rowspan="2"><p><b>Sl.No</p></b></td>
+ <td colspan="2" rowspan="2"><p><b>SIZE GROUP (HA) </p></b></td>
+ <td colspan="2"><p><b>NO. OF HOLDINGS GROWING THE CROP </p></b></td>
+ <td colspan="3"><p><b>AREA UNDER THE CROP</p></b></td>
+ <td colspan="6"><p><b>AREA UNDER THE CROP TREATED WITH THE MANURE</p></b></td>
</tr>
<tr>
- <td><p><b>TOTAL NO.</p></b></td><td><p><b>NO. TREATED WITH THE MANURE</p></b></td><td><p><b>HYV</p></b></td><td><p><b>OTHERS</p></b></td><td><p><b>TOTAL</p></b></td><td colspan="2"><p><b>HYV</p></b></td><td colspan="2"><p><b>OTHERS</p></b></td><td colspan="2"><p><b>TOTAL</p></b></td>
+ <td><p><b>TOTAL NO.</p></b></td>
+ <td><p><b>NO. TREATED WITH THE MANURE</p></b></td>
+ <td><p><b>HYV</p></b></td>
+ <td><p><b>OTHERS</p></b></td>
+ <td><p><b>TOTAL</p></b></td>
+ <td colspan="2"><p><b>HYV</p></b></td>
+ <td colspan="2"><p><b>OTHERS</p></b></td>
+ <td colspan="2"><p><b>TOTAL</p></b></td>
</tr>
<tr>
- <td colspan="2"><p><b>(1)</p></b></td><td colspan="2"><p><b>(2)</p></b></td><td><p><b>(3)</p></b></td><td><p><b>(4)</p></b></td><td><p><b>(5)</p></b></td><td><p><b>(6)</p></b></td><td><p><b>(7)</p></b></td><td colspan="2"><p><b>(8)</p></b></td><td colspan="2"><p><b>(9)</p></b></td><td colspan="2"><p><b>(10)</p></b></td>
+ <td colspan="2"><p><b>(1)</p></b></td>
+ <td colspan="2"><p><b>(2)</p></b></td>
+ <td><p><b>(3)</p></b></td>
+ <td><p><b>(4)</p></b></td>
+ <td><p><b>(5)</p></b></td>
+ <td><p><b>(6)</p></b></td>
+ <td><p><b>(7)</p></b></td>
+ <td colspan="2"><p><b>(8)</p></b></td>
+ <td colspan="2"><p><b>(9)</p></b></td>
+ <td colspan="2"><p><b>(10)</p></b></td>
</tr>
<tr>
- <td rowspan="3"><p>1</p></td><td colspan="14" rowspan="3"><p>MARGINAL (BELOW 1.0)</p><p><b>I</b> 39053 0 12142 3322 15464 0 0 0</p><p><b>UI</b> 7429 0 2088 1560 3648 0 0 0</p><p><b>T</b> 46484 0 14230 4882 19112 0 0 0</p></td>
+ <td rowspan="3"><p>1</p></td>
+ <td colspan="14" rowspan="3"><p>MARGINAL (BELOW 1.0)</p><p><b>I</b> 39053 0 12142 3322 15464 0 0 0</p><p><b>UI</b> 7429 0 2088 1560 3648 0 0 0</p><p><b>T</b> 46484 0 14230 4882 19112 0 0 0</p></td>
</tr>
<tr>
-
</tr>
<tr>
-
</tr>
<tr>
- <td rowspan="3"><p>2</p></td><td colspan="14" rowspan="3"><p>SMALL (1.0 - 1.99)</p><p><b>I</b> 20341 0 16685 1631 18316 0 0 0</p><p><b>UI</b> 6854 0 4594 1885 6479 0 0 0</p><p><b>T</b> 27197 0 21279 3516 24795 0 0 0</p></td>
+ <td rowspan="3"><p>2</p></td>
+ <td colspan="14" rowspan="3"><p>SMALL (1.0 - 1.99)</p><p><b>I</b> 20341 0 16685 1631 18316 0 0 0</p><p><b>UI</b> 6854 0 4594 1885 6479 0 0 0</p><p><b>T</b> 27197 0 21279 3516 24795 0 0 0</p></td>
</tr>
<tr>
-
</tr>
<tr>
-
</tr>
<tr>
- <td rowspan="3"><p>3</p></td><td colspan="14" rowspan="3"><p>SEMI-MEDIUM (2.0 - 3.99)</p><p><b>I</b> 20800 0 16991 7643 24634 0 0 0</p><p><b>UI</b> 5856 0 1017 4819 5836 0 0 0</p><p><b>T</b> 26555 0 18008 12462 30470 0 0 0</p></td>
+ <td rowspan="3"><p>3</p></td>
+ <td colspan="14" rowspan="3"><p>SEMI-MEDIUM (2.0 - 3.99)</p><p><b>I</b> 20800 0 16991 7643 24634 0 0 0</p><p><b>UI</b> 5856 0 1017 4819 5836 0 0 0</p><p><b>T</b> 26555 0 18008 12462 30470 0 0 0</p></td>
</tr>
<tr>
-
</tr>
<tr>
-
</tr>
<tr>
- <td rowspan="3"><p>4</p></td><td colspan="14" rowspan="3"><p>MEDIUM (4.0 - 9.99)</p><p><b>I</b> 11986 0 17576 4120 21696 0 0 0</p><p><b>UI</b> 4615 0 1446 6227 7673 0 0 0</p><p><b>T</b> 16312 0 19022 10347 29369 0 0 0</p></td>
+ <td rowspan="3"><p>4</p></td>
+ <td colspan="14" rowspan="3"><p>MEDIUM (4.0 - 9.99)</p><p><b>I</b> 11986 0 17576 4120 21696 0 0 0</p><p><b>UI</b> 4615 0 1446 6227 7673 0 0 0</p><p><b>T</b> 16312 0 19022 10347 29369 0 0 0</p></td>
</tr>
<tr>
-
</tr>
<tr>
-
</tr>
<tr>
- <td rowspan="3"><p>5</p></td><td colspan="14" rowspan="3"><p>LARGE (10 AND ABOVE)</p><p><b>I</b> 2005 0 3671 639 4310 0 0 0</p><p><b>UI</b> 521 0 611 831 1442 0 0 0</p><p><b>T</b> 2485 0 4282 1470 5752 0 0 0</p></td>
+ <td rowspan="3"><p>5</p></td>
+ <td colspan="14" rowspan="3"><p>LARGE (10 AND ABOVE)</p><p><b>I</b> 2005 0 3671 639 4310 0 0 0</p><p><b>UI</b> 521 0 611 831 1442 0 0 0</p><p><b>T</b> 2485 0 4282 1470 5752 0 0 0</p></td>
</tr>
<tr>
-
</tr>
<tr>
-
</tr>
<tr>
- <td rowspan="3"><p>6</p></td><td colspan="14" rowspan="3"><p>ALL GROUPS</p><p><b>I</b> 94185 0 67065 17355 84420 0 0 0</p><p><b>UI</b> 25275 0 9756 15322 25078 0 0 0</p><p><b>T</b> 119033 0 76821 32677 109498 0 0 0</p></td>
+ <td rowspan="3"><p>6</p></td>
+ <td colspan="14" rowspan="3"><p>ALL GROUPS</p><p><b>I</b> 94185 0 67065 17355 84420 0 0 0</p><p><b>UI</b> 25275 0 9756 15322 25078 0 0 0</p><p><b>T</b> 119033 0 76821 32677 109498 0 0 0</p></td>
</tr>
<tr>
-
</tr>
<tr>
-
</tr>
</table>
<p><b>NOTE: I-IRRIGATED UI-UNIRRIGATED T = TOTAL OF I &amp; UI IN CASE OF COLUMNS 3 AND 4
-</p></b></body>
+</p></b></div>
+</body>
</html>
diff --git a/extract/test/column_span_1.pdf.mutool.html.ref b/extract/test/column_span_1.pdf.mutool.html.ref
index aebd9b96..79090e9d 100644
--- a/extract/test/column_span_1.pdf.mutool.html.ref
+++ b/extract/test/column_span_1.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p> <b>Rate of Accidental Deaths &amp; Suicides and Population Growth During 1967 to 2013 </b>
@@ -7,159 +8,506 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td rowspan="50"></td><td rowspan="2"><p><b>Sl. No. </p></b></td><td rowspan="2"><p><b>Year </p></b></td><td rowspan="2"><p><b>Population (in Lakh) </p></b></td><td colspan="2"><p><b>Accidental Deaths </p></b></td><td colspan="2"><p><b>Suicides </p></b></td><td rowspan="2"><p><b>Percentage Population growth </p></b></td><td rowspan="50"></td>
- </tr>
- <tr>
- <td><p><b>Incidence </p></b></td><td><p><b>Rate </p></b></td><td><p><b>Incidence </p></b></td><td><p><b>Rate </p></b></td>
- </tr>
- <tr>
- <td><p><b>(1) </p></b></td><td><p><b>(2) </p></b></td><td><p><b>(3) </p></b></td><td><p><b>(4) </p></b></td><td><p><b>(5) </p></b></td><td><p><b>(6) </p></b></td><td><p><b>(7) </p></b></td><td><p><b>(8) </p></b></td>
- </tr>
- <tr>
- <td><p>1. </p></td><td><p>1967 </p></td><td><p>4999 </p></td><td><p>126762 </p></td><td><p>25.4 </p></td><td><p>38829 </p></td><td><p>7.8 </p></td><td><p>2.2 </p></td>
- </tr>
- <tr>
- <td><p>2. </p></td><td><p>1968 </p></td><td><p>5111 </p></td><td><p>126232 </p></td><td><p>24.7 </p></td><td><p>40688 </p></td><td><p>8.0 </p></td><td><p>2.2 </p></td>
- </tr>
- <tr>
- <td><p>3. </p></td><td><p>1969 </p></td><td><p>5225 </p></td><td><p>130755 </p></td><td><p>25.0 </p></td><td><p>43633 </p></td><td><p>8.4 </p></td><td><p>2.2 </p></td>
- </tr>
- <tr>
- <td><p>4. </p></td><td><p>1970 </p></td><td><p>5343 </p></td><td><p>139752 </p></td><td><p>26.2 </p></td><td><p>48428 </p></td><td><p>9.1 </p></td><td><p>2.3 </p></td>
- </tr>
- <tr>
- <td><p>5. </p></td><td><p>1971 </p></td><td><p>5512 </p></td><td><p>105601 </p></td><td><p>19.2 </p></td><td><p>43675 </p></td><td><p>7.9 </p></td><td><p>3.2 </p></td>
- </tr>
- <tr>
- <td><p>6. </p></td><td><p>1972 </p></td><td><p>5635 </p></td><td><p>106184 </p></td><td><p>18.8 </p></td><td><p>43601 </p></td><td><p>7.7 </p></td><td><p>2.2 </p></td>
- </tr>
- <tr>
- <td><p>7. </p></td><td><p>1973 </p></td><td><p>5759 </p></td><td><p>130654 </p></td><td><p>22.7 </p></td><td><p>40807 </p></td><td><p>7.1 </p></td><td><p>2.2 </p></td>
- </tr>
- <tr>
- <td><p>8. </p></td><td><p>1974 </p></td><td><p>5883 </p></td><td><p>110624 </p></td><td><p>18.8 </p></td><td><p>46008 </p></td><td><p>7.8 </p></td><td><p>2.2 </p></td>
- </tr>
- <tr>
- <td><p>9. </p></td><td><p>1975 </p></td><td><p>6008 </p></td><td><p>113016 </p></td><td><p>18.8 </p></td><td><p>42890 </p></td><td><p>7.1 </p></td><td><p>2.1 </p></td>
- </tr>
- <tr>
- <td><p>10. </p></td><td><p>1976 </p></td><td><p>6136 </p></td><td><p>111611 </p></td><td><p>18.2 </p></td><td><p>41415 </p></td><td><p>6.7 </p></td><td><p>2.1 </p></td>
- </tr>
- <tr>
- <td><p>11. </p></td><td><p>1977 </p></td><td><p>6258 </p></td><td><p>117338 </p></td><td><p>18.8 </p></td><td><p>39718 </p></td><td><p>6.3 </p></td><td><p>2.0 </p></td>
- </tr>
- <tr>
- <td><p>12. </p></td><td><p>1978 </p></td><td><p>6384 </p></td><td><p>118594 </p></td><td><p>18.6 </p></td><td><p>40207 </p></td><td><p>6.3 </p></td><td><p>2.0 </p></td>
- </tr>
- <tr>
- <td><p>13. </p></td><td><p>1979 </p></td><td><p>6510 </p></td><td><p>108987 </p></td><td><p>16.7 </p></td><td><p>38217 </p></td><td><p>5.9 </p></td><td><p>2.0 </p></td>
- </tr>
- <tr>
- <td><p>14. </p></td><td><p>1980 </p></td><td><p>6636 </p></td><td><p>116912 </p></td><td><p>17.6 </p></td><td><p>41663 </p></td><td><p>6.3 </p></td><td><p>1.9 </p></td>
- </tr>
- <tr>
- <td><p>15. </p></td><td><p>1981 </p></td><td><p>6840 </p></td><td><p>122221 </p></td><td><p>17.9 </p></td><td><p>40245 </p></td><td><p>5.9 </p></td><td><p>3.1 </p></td>
- </tr>
- <tr>
- <td><p>16. </p></td><td><p>1982 </p></td><td><p>7052 </p></td><td><p>125993 </p></td><td><p>17.9 </p></td><td><p>44732 </p></td><td><p>6.3 </p></td><td><p>3.1 </p></td>
- </tr>
- <tr>
- <td><p>17. </p></td><td><p>1983 </p></td><td><p>7204 </p></td><td><p>128576 </p></td><td><p>17.8 </p></td><td><p>46579 </p></td><td><p>6.5 </p></td><td><p>2.2 </p></td>
- </tr>
- <tr>
- <td><p>18. </p></td><td><p>1984 </p></td><td><p>7356 </p></td><td><p>134628 </p></td><td><p>18.3 </p></td><td><p>50571 </p></td><td><p>6.9 </p></td><td><p>2.1 </p></td>
- </tr>
- <tr>
- <td><p>19. </p></td><td><p>1985 </p></td><td><p>7509 </p></td><td><p>139657 </p></td><td><p>18.6 </p></td><td><p>52811 </p></td><td><p>7.0 </p></td><td><p>2.1 </p></td>
- </tr>
- <tr>
- <td><p>20. </p></td><td><p>1986 </p></td><td><p>7661 </p></td><td><p>147023 </p></td><td><p>19.2 </p></td><td><p>54357 </p></td><td><p>7.1 </p></td><td><p>2.0 </p></td>
- </tr>
- <tr>
- <td><p>21. </p></td><td><p>1987 </p></td><td><p>7814 </p></td><td><p>152314 </p></td><td><p>19.5 </p></td><td><p>58568 </p></td><td><p>7.5 </p></td><td><p>2.0 </p></td>
- </tr>
- <tr>
- <td><p>22. </p></td><td><p>1988 </p></td><td><p>7966 </p></td><td><p>163522 </p></td><td><p>20.5 </p></td><td><p>64270 </p></td><td><p>8.1 </p></td><td><p>1.9 </p></td>
- </tr>
- <tr>
- <td><p>23. </p></td><td><p>1989 </p></td><td><p>8118 </p></td><td><p>169066 </p></td><td><p>20.8 </p></td><td><p>68744 </p></td><td><p>8.5 </p></td><td><p>1.9 </p></td>
- </tr>
- <tr>
- <td><p>24. </p></td><td><p>1990 </p></td><td><p>8270 </p></td><td><p>174401 </p></td><td><p>21.1 </p></td><td><p>73911 </p></td><td><p>8.9 </p></td><td><p>1.9 </p></td>
- </tr>
- <tr>
- <td><p>25. </p></td><td><p>1991 </p></td><td><p>8496 </p></td><td><p>188003 </p></td><td><p>22.1 </p></td><td><p>78450 </p></td><td><p>9.2 </p></td><td><p>2.7 </p></td>
- </tr>
- <tr>
- <td><p>26. </p></td><td><p>1992 </p></td><td><p>8677 </p></td><td><p>194910 </p></td><td><p>22.5 </p></td><td><p>80149 </p></td><td><p>9.2 </p></td><td><p>2.1 </p></td>
- </tr>
- <tr>
- <td><p>27. </p></td><td><p>1993 </p></td><td><p>8838 </p></td><td><p>192357 </p></td><td><p>21.8 </p></td><td><p>84244 </p></td><td><p>9.5 </p></td><td><p>1.9 </p></td>
- </tr>
- <tr>
- <td><p>28. </p></td><td><p>1994 </p></td><td><p>8997 </p></td><td><p>190435 </p></td><td><p>21.2 </p></td><td><p>89195 </p></td><td><p>9.9 </p></td><td><p>1.8 </p></td>
- </tr>
- <tr>
- <td><p>29. </p></td><td><p>1995 </p></td><td><p>9160 </p></td><td><p>222487 </p></td><td><p>24.3 </p></td><td><p>89178 </p></td><td><p>9.7 </p></td><td><p>1.8 </p></td>
- </tr>
- <tr>
- <td><p>30. </p></td><td><p>1996 </p></td><td><p>9319 </p></td><td><p>220094 </p></td><td><p>23.6 </p></td><td><p>88241 </p></td><td><p>9.5 </p></td><td><p>1.7 </p></td>
- </tr>
- <tr>
- <td><p>31. </p></td><td><p>1997 </p></td><td><p>9552 </p></td><td><p>233903 </p></td><td><p>24.5 </p></td><td><p>95829 </p></td><td><p>10.0 </p></td><td><p>2.5 </p></td>
- </tr>
- <tr>
- <td><p>32. </p></td><td><p>1998 </p></td><td><p>9709 </p></td><td><p>258409 </p></td><td><p>26.6 </p></td><td><p>104713 </p></td><td><p>10.8 </p></td><td><p>1.6 </p></td>
- </tr>
- <tr>
- <td><p>33. </p></td><td><p>1999 </p></td><td><p>9866 </p></td><td><p>271918 </p></td><td><p>27.6 </p></td><td><p>110587 </p></td><td><p>11.2 </p></td><td><p>1.6 </p></td>
- </tr>
- <tr>
- <td><p>34. </p></td><td><p>2000 </p></td><td><p>10021 </p></td><td><p>255883 </p></td><td><p>25.5 </p></td><td><p>108593 </p></td><td><p>10.8 </p></td><td><p>1.6 </p></td>
- </tr>
- <tr>
- <td><p>35. </p></td><td><p>2001 </p></td><td><p>10270 </p></td><td><p>271019 </p></td><td><p>26.4 </p></td><td><p>108506 </p></td><td><p>10.6 </p></td><td><p>2.5 </p></td>
- </tr>
- <tr>
- <td><p>36. </p></td><td><p>2002 </p></td><td><p>10506 </p></td><td><p>260122 </p></td><td><p>24.8 </p></td><td><p>110417 </p></td><td><p>10.5 </p></td><td><p>2.3 </p></td>
- </tr>
- <tr>
- <td><p>37. </p></td><td><p>2003 </p></td><td><p>10682 </p></td><td><p>259625 </p></td><td><p>24.3 </p></td><td><p>110851 </p></td><td><p>10.4 </p></td><td><p>1.7 </p></td>
- </tr>
- <tr>
- <td><p>38. </p></td><td><p>2004 </p></td><td><p>10856 </p></td><td><p>277263 </p></td><td><p>25.5 </p></td><td><p>113697 </p></td><td><p>10.5 </p></td><td><p>1.6 </p></td>
- </tr>
- <tr>
- <td><p>39. </p></td><td><p>2005 </p></td><td><p>11028 </p></td><td><p>294175 </p></td><td><p>26.7 </p></td><td><p>113914 </p></td><td><p>10.3 </p></td><td><p>1.6 </p></td>
- </tr>
- <tr>
- <td><p>40. </p></td><td><p>2006 </p></td><td><p>11198 </p></td><td><p>314704 </p></td><td><p>28.1 </p></td><td><p>118112 </p></td><td><p>10.5 </p></td><td><p>1.5 </p></td>
- </tr>
- <tr>
- <td><p>41. </p></td><td><p>2007 </p></td><td><p>11366 </p></td><td><p>340794 </p></td><td><p>30.0 </p></td><td><p>122637 </p></td><td><p>10.8 </p></td><td><p>1.5 </p></td>
- </tr>
- <tr>
- <td><p>42. </p></td><td><p>2008 </p></td><td><p>11531 </p></td><td><p>342309 </p></td><td><p>29.7 </p></td><td><p>125017 </p></td><td><p>10.8 </p></td><td><p>1.4 </p></td>
- </tr>
- <tr>
- <td><p>43. </p></td><td><p>2009 </p></td><td><p>11694 </p></td><td><p>357021 </p></td><td><p>30.5 </p></td><td><p>127151 </p></td><td><p>10.9 </p></td><td><p>1.4 </p></td>
- </tr>
- <tr>
- <td><p>44. </p></td><td><p>2010 </p></td><td><p>11858 </p></td><td><p>384649 </p></td><td><p>32.4 </p></td><td><p>134599 </p></td><td><p>11.4 </p></td><td><p>1.4 </p></td>
- </tr>
- <tr>
- <td><p>45. </p></td><td><p>2011 </p></td><td><p>12102 </p></td><td><p>390884 </p></td><td><p>32.3 </p></td><td><p>135585 </p></td><td><p>11.2 </p></td><td><p>2.1 </p></td>
- </tr>
- <tr>
- <td><p>46. </p></td><td><p>2012 </p></td><td><p>12134 </p></td><td><p>394982 </p></td><td><p>32.6 </p></td><td><p>135445 </p></td><td><p>11.2 </p></td><td><p>1.0 </p></td>
- </tr>
- <tr>
- <td><p>47. </p></td><td><p>2013 </p></td><td><p>12288 </p></td><td><p>400517 </p></td><td><p>32.6 </p></td><td><p>134799 </p></td><td><p>11.0 </p></td><td><p>1.0 </p></td>
+ <td rowspan="50"></td>
+ <td rowspan="2"><p><b>Sl. No. </p></b></td>
+ <td rowspan="2"><p><b>Year </p></b></td>
+ <td rowspan="2"><p><b>Population (in Lakh) </p></b></td>
+ <td colspan="2"><p><b>Accidental Deaths </p></b></td>
+ <td colspan="2"><p><b>Suicides </p></b></td>
+ <td rowspan="2"><p><b>Percentage Population growth </p></b></td>
+ <td rowspan="50"></td>
+ </tr>
+ <tr>
+ <td><p><b>Incidence </p></b></td>
+ <td><p><b>Rate </p></b></td>
+ <td><p><b>Incidence </p></b></td>
+ <td><p><b>Rate </p></b></td>
+ </tr>
+ <tr>
+ <td><p><b>(1) </p></b></td>
+ <td><p><b>(2) </p></b></td>
+ <td><p><b>(3) </p></b></td>
+ <td><p><b>(4) </p></b></td>
+ <td><p><b>(5) </p></b></td>
+ <td><p><b>(6) </p></b></td>
+ <td><p><b>(7) </p></b></td>
+ <td><p><b>(8) </p></b></td>
+ </tr>
+ <tr>
+ <td><p>1. </p></td>
+ <td><p>1967 </p></td>
+ <td><p>4999 </p></td>
+ <td><p>126762 </p></td>
+ <td><p>25.4 </p></td>
+ <td><p>38829 </p></td>
+ <td><p>7.8 </p></td>
+ <td><p>2.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>2. </p></td>
+ <td><p>1968 </p></td>
+ <td><p>5111 </p></td>
+ <td><p>126232 </p></td>
+ <td><p>24.7 </p></td>
+ <td><p>40688 </p></td>
+ <td><p>8.0 </p></td>
+ <td><p>2.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>3. </p></td>
+ <td><p>1969 </p></td>
+ <td><p>5225 </p></td>
+ <td><p>130755 </p></td>
+ <td><p>25.0 </p></td>
+ <td><p>43633 </p></td>
+ <td><p>8.4 </p></td>
+ <td><p>2.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>4. </p></td>
+ <td><p>1970 </p></td>
+ <td><p>5343 </p></td>
+ <td><p>139752 </p></td>
+ <td><p>26.2 </p></td>
+ <td><p>48428 </p></td>
+ <td><p>9.1 </p></td>
+ <td><p>2.3 </p></td>
+ </tr>
+ <tr>
+ <td><p>5. </p></td>
+ <td><p>1971 </p></td>
+ <td><p>5512 </p></td>
+ <td><p>105601 </p></td>
+ <td><p>19.2 </p></td>
+ <td><p>43675 </p></td>
+ <td><p>7.9 </p></td>
+ <td><p>3.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>6. </p></td>
+ <td><p>1972 </p></td>
+ <td><p>5635 </p></td>
+ <td><p>106184 </p></td>
+ <td><p>18.8 </p></td>
+ <td><p>43601 </p></td>
+ <td><p>7.7 </p></td>
+ <td><p>2.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>7. </p></td>
+ <td><p>1973 </p></td>
+ <td><p>5759 </p></td>
+ <td><p>130654 </p></td>
+ <td><p>22.7 </p></td>
+ <td><p>40807 </p></td>
+ <td><p>7.1 </p></td>
+ <td><p>2.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>8. </p></td>
+ <td><p>1974 </p></td>
+ <td><p>5883 </p></td>
+ <td><p>110624 </p></td>
+ <td><p>18.8 </p></td>
+ <td><p>46008 </p></td>
+ <td><p>7.8 </p></td>
+ <td><p>2.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>9. </p></td>
+ <td><p>1975 </p></td>
+ <td><p>6008 </p></td>
+ <td><p>113016 </p></td>
+ <td><p>18.8 </p></td>
+ <td><p>42890 </p></td>
+ <td><p>7.1 </p></td>
+ <td><p>2.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>10. </p></td>
+ <td><p>1976 </p></td>
+ <td><p>6136 </p></td>
+ <td><p>111611 </p></td>
+ <td><p>18.2 </p></td>
+ <td><p>41415 </p></td>
+ <td><p>6.7 </p></td>
+ <td><p>2.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>11. </p></td>
+ <td><p>1977 </p></td>
+ <td><p>6258 </p></td>
+ <td><p>117338 </p></td>
+ <td><p>18.8 </p></td>
+ <td><p>39718 </p></td>
+ <td><p>6.3 </p></td>
+ <td><p>2.0 </p></td>
+ </tr>
+ <tr>
+ <td><p>12. </p></td>
+ <td><p>1978 </p></td>
+ <td><p>6384 </p></td>
+ <td><p>118594 </p></td>
+ <td><p>18.6 </p></td>
+ <td><p>40207 </p></td>
+ <td><p>6.3 </p></td>
+ <td><p>2.0 </p></td>
+ </tr>
+ <tr>
+ <td><p>13. </p></td>
+ <td><p>1979 </p></td>
+ <td><p>6510 </p></td>
+ <td><p>108987 </p></td>
+ <td><p>16.7 </p></td>
+ <td><p>38217 </p></td>
+ <td><p>5.9 </p></td>
+ <td><p>2.0 </p></td>
+ </tr>
+ <tr>
+ <td><p>14. </p></td>
+ <td><p>1980 </p></td>
+ <td><p>6636 </p></td>
+ <td><p>116912 </p></td>
+ <td><p>17.6 </p></td>
+ <td><p>41663 </p></td>
+ <td><p>6.3 </p></td>
+ <td><p>1.9 </p></td>
+ </tr>
+ <tr>
+ <td><p>15. </p></td>
+ <td><p>1981 </p></td>
+ <td><p>6840 </p></td>
+ <td><p>122221 </p></td>
+ <td><p>17.9 </p></td>
+ <td><p>40245 </p></td>
+ <td><p>5.9 </p></td>
+ <td><p>3.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>16. </p></td>
+ <td><p>1982 </p></td>
+ <td><p>7052 </p></td>
+ <td><p>125993 </p></td>
+ <td><p>17.9 </p></td>
+ <td><p>44732 </p></td>
+ <td><p>6.3 </p></td>
+ <td><p>3.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>17. </p></td>
+ <td><p>1983 </p></td>
+ <td><p>7204 </p></td>
+ <td><p>128576 </p></td>
+ <td><p>17.8 </p></td>
+ <td><p>46579 </p></td>
+ <td><p>6.5 </p></td>
+ <td><p>2.2 </p></td>
+ </tr>
+ <tr>
+ <td><p>18. </p></td>
+ <td><p>1984 </p></td>
+ <td><p>7356 </p></td>
+ <td><p>134628 </p></td>
+ <td><p>18.3 </p></td>
+ <td><p>50571 </p></td>
+ <td><p>6.9 </p></td>
+ <td><p>2.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>19. </p></td>
+ <td><p>1985 </p></td>
+ <td><p>7509 </p></td>
+ <td><p>139657 </p></td>
+ <td><p>18.6 </p></td>
+ <td><p>52811 </p></td>
+ <td><p>7.0 </p></td>
+ <td><p>2.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>20. </p></td>
+ <td><p>1986 </p></td>
+ <td><p>7661 </p></td>
+ <td><p>147023 </p></td>
+ <td><p>19.2 </p></td>
+ <td><p>54357 </p></td>
+ <td><p>7.1 </p></td>
+ <td><p>2.0 </p></td>
+ </tr>
+ <tr>
+ <td><p>21. </p></td>
+ <td><p>1987 </p></td>
+ <td><p>7814 </p></td>
+ <td><p>152314 </p></td>
+ <td><p>19.5 </p></td>
+ <td><p>58568 </p></td>
+ <td><p>7.5 </p></td>
+ <td><p>2.0 </p></td>
+ </tr>
+ <tr>
+ <td><p>22. </p></td>
+ <td><p>1988 </p></td>
+ <td><p>7966 </p></td>
+ <td><p>163522 </p></td>
+ <td><p>20.5 </p></td>
+ <td><p>64270 </p></td>
+ <td><p>8.1 </p></td>
+ <td><p>1.9 </p></td>
+ </tr>
+ <tr>
+ <td><p>23. </p></td>
+ <td><p>1989 </p></td>
+ <td><p>8118 </p></td>
+ <td><p>169066 </p></td>
+ <td><p>20.8 </p></td>
+ <td><p>68744 </p></td>
+ <td><p>8.5 </p></td>
+ <td><p>1.9 </p></td>
+ </tr>
+ <tr>
+ <td><p>24. </p></td>
+ <td><p>1990 </p></td>
+ <td><p>8270 </p></td>
+ <td><p>174401 </p></td>
+ <td><p>21.1 </p></td>
+ <td><p>73911 </p></td>
+ <td><p>8.9 </p></td>
+ <td><p>1.9 </p></td>
+ </tr>
+ <tr>
+ <td><p>25. </p></td>
+ <td><p>1991 </p></td>
+ <td><p>8496 </p></td>
+ <td><p>188003 </p></td>
+ <td><p>22.1 </p></td>
+ <td><p>78450 </p></td>
+ <td><p>9.2 </p></td>
+ <td><p>2.7 </p></td>
+ </tr>
+ <tr>
+ <td><p>26. </p></td>
+ <td><p>1992 </p></td>
+ <td><p>8677 </p></td>
+ <td><p>194910 </p></td>
+ <td><p>22.5 </p></td>
+ <td><p>80149 </p></td>
+ <td><p>9.2 </p></td>
+ <td><p>2.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>27. </p></td>
+ <td><p>1993 </p></td>
+ <td><p>8838 </p></td>
+ <td><p>192357 </p></td>
+ <td><p>21.8 </p></td>
+ <td><p>84244 </p></td>
+ <td><p>9.5 </p></td>
+ <td><p>1.9 </p></td>
+ </tr>
+ <tr>
+ <td><p>28. </p></td>
+ <td><p>1994 </p></td>
+ <td><p>8997 </p></td>
+ <td><p>190435 </p></td>
+ <td><p>21.2 </p></td>
+ <td><p>89195 </p></td>
+ <td><p>9.9 </p></td>
+ <td><p>1.8 </p></td>
+ </tr>
+ <tr>
+ <td><p>29. </p></td>
+ <td><p>1995 </p></td>
+ <td><p>9160 </p></td>
+ <td><p>222487 </p></td>
+ <td><p>24.3 </p></td>
+ <td><p>89178 </p></td>
+ <td><p>9.7 </p></td>
+ <td><p>1.8 </p></td>
+ </tr>
+ <tr>
+ <td><p>30. </p></td>
+ <td><p>1996 </p></td>
+ <td><p>9319 </p></td>
+ <td><p>220094 </p></td>
+ <td><p>23.6 </p></td>
+ <td><p>88241 </p></td>
+ <td><p>9.5 </p></td>
+ <td><p>1.7 </p></td>
+ </tr>
+ <tr>
+ <td><p>31. </p></td>
+ <td><p>1997 </p></td>
+ <td><p>9552 </p></td>
+ <td><p>233903 </p></td>
+ <td><p>24.5 </p></td>
+ <td><p>95829 </p></td>
+ <td><p>10.0 </p></td>
+ <td><p>2.5 </p></td>
+ </tr>
+ <tr>
+ <td><p>32. </p></td>
+ <td><p>1998 </p></td>
+ <td><p>9709 </p></td>
+ <td><p>258409 </p></td>
+ <td><p>26.6 </p></td>
+ <td><p>104713 </p></td>
+ <td><p>10.8 </p></td>
+ <td><p>1.6 </p></td>
+ </tr>
+ <tr>
+ <td><p>33. </p></td>
+ <td><p>1999 </p></td>
+ <td><p>9866 </p></td>
+ <td><p>271918 </p></td>
+ <td><p>27.6 </p></td>
+ <td><p>110587 </p></td>
+ <td><p>11.2 </p></td>
+ <td><p>1.6 </p></td>
+ </tr>
+ <tr>
+ <td><p>34. </p></td>
+ <td><p>2000 </p></td>
+ <td><p>10021 </p></td>
+ <td><p>255883 </p></td>
+ <td><p>25.5 </p></td>
+ <td><p>108593 </p></td>
+ <td><p>10.8 </p></td>
+ <td><p>1.6 </p></td>
+ </tr>
+ <tr>
+ <td><p>35. </p></td>
+ <td><p>2001 </p></td>
+ <td><p>10270 </p></td>
+ <td><p>271019 </p></td>
+ <td><p>26.4 </p></td>
+ <td><p>108506 </p></td>
+ <td><p>10.6 </p></td>
+ <td><p>2.5 </p></td>
+ </tr>
+ <tr>
+ <td><p>36. </p></td>
+ <td><p>2002 </p></td>
+ <td><p>10506 </p></td>
+ <td><p>260122 </p></td>
+ <td><p>24.8 </p></td>
+ <td><p>110417 </p></td>
+ <td><p>10.5 </p></td>
+ <td><p>2.3 </p></td>
+ </tr>
+ <tr>
+ <td><p>37. </p></td>
+ <td><p>2003 </p></td>
+ <td><p>10682 </p></td>
+ <td><p>259625 </p></td>
+ <td><p>24.3 </p></td>
+ <td><p>110851 </p></td>
+ <td><p>10.4 </p></td>
+ <td><p>1.7 </p></td>
+ </tr>
+ <tr>
+ <td><p>38. </p></td>
+ <td><p>2004 </p></td>
+ <td><p>10856 </p></td>
+ <td><p>277263 </p></td>
+ <td><p>25.5 </p></td>
+ <td><p>113697 </p></td>
+ <td><p>10.5 </p></td>
+ <td><p>1.6 </p></td>
+ </tr>
+ <tr>
+ <td><p>39. </p></td>
+ <td><p>2005 </p></td>
+ <td><p>11028 </p></td>
+ <td><p>294175 </p></td>
+ <td><p>26.7 </p></td>
+ <td><p>113914 </p></td>
+ <td><p>10.3 </p></td>
+ <td><p>1.6 </p></td>
+ </tr>
+ <tr>
+ <td><p>40. </p></td>
+ <td><p>2006 </p></td>
+ <td><p>11198 </p></td>
+ <td><p>314704 </p></td>
+ <td><p>28.1 </p></td>
+ <td><p>118112 </p></td>
+ <td><p>10.5 </p></td>
+ <td><p>1.5 </p></td>
+ </tr>
+ <tr>
+ <td><p>41. </p></td>
+ <td><p>2007 </p></td>
+ <td><p>11366 </p></td>
+ <td><p>340794 </p></td>
+ <td><p>30.0 </p></td>
+ <td><p>122637 </p></td>
+ <td><p>10.8 </p></td>
+ <td><p>1.5 </p></td>
+ </tr>
+ <tr>
+ <td><p>42. </p></td>
+ <td><p>2008 </p></td>
+ <td><p>11531 </p></td>
+ <td><p>342309 </p></td>
+ <td><p>29.7 </p></td>
+ <td><p>125017 </p></td>
+ <td><p>10.8 </p></td>
+ <td><p>1.4 </p></td>
+ </tr>
+ <tr>
+ <td><p>43. </p></td>
+ <td><p>2009 </p></td>
+ <td><p>11694 </p></td>
+ <td><p>357021 </p></td>
+ <td><p>30.5 </p></td>
+ <td><p>127151 </p></td>
+ <td><p>10.9 </p></td>
+ <td><p>1.4 </p></td>
+ </tr>
+ <tr>
+ <td><p>44. </p></td>
+ <td><p>2010 </p></td>
+ <td><p>11858 </p></td>
+ <td><p>384649 </p></td>
+ <td><p>32.4 </p></td>
+ <td><p>134599 </p></td>
+ <td><p>11.4 </p></td>
+ <td><p>1.4 </p></td>
+ </tr>
+ <tr>
+ <td><p>45. </p></td>
+ <td><p>2011 </p></td>
+ <td><p>12102 </p></td>
+ <td><p>390884 </p></td>
+ <td><p>32.3 </p></td>
+ <td><p>135585 </p></td>
+ <td><p>11.2 </p></td>
+ <td><p>2.1 </p></td>
+ </tr>
+ <tr>
+ <td><p>46. </p></td>
+ <td><p>2012 </p></td>
+ <td><p>12134 </p></td>
+ <td><p>394982 </p></td>
+ <td><p>32.6 </p></td>
+ <td><p>135445 </p></td>
+ <td><p>11.2 </p></td>
+ <td><p>1.0 </p></td>
+ </tr>
+ <tr>
+ <td><p>47. </p></td>
+ <td><p>2013 </p></td>
+ <td><p>12288 </p></td>
+ <td><p>400517 </p></td>
+ <td><p>32.6 </p></td>
+ <td><p>134799 </p></td>
+ <td><p>11.0 </p></td>
+ <td><p>1.0 </p></td>
</tr>
</table>
<p> (xx)
-</p></body>
+</p></div>
+</body>
</html>
diff --git a/extract/test/column_span_2.pdf.mutool.html.ref b/extract/test/column_span_2.pdf.mutool.html.ref
index 7d5a89c3..c00988d5 100644
--- a/extract/test/column_span_2.pdf.mutool.html.ref
+++ b/extract/test/column_span_2.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p><i>The sample size required for each State for various investigations among different target groups of individuals are given below:
@@ -7,10 +8,18 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td><p><b>Investigations</p></b></td><td><p><b>No. of HHs</p></b></td><td><p><b>Age/Sex/ Physiological Group</p></b></td><td><p><b>Preva lence</p></b></td><td><p><b>C.I*</p></b></td><td><p><b>Relative Precision</p></b></td><td><p><b>Sample size per State</p></b></td>
+ <td><p><b>Investigations</p></b></td>
+ <td><p><b>No. of HHs</p></b></td>
+ <td><p><b>Age/Sex/ Physiological Group</p></b></td>
+ <td><p><b>Preva lence</p></b></td>
+ <td><p><b>C.I*</p></b></td>
+ <td><p><b>Relative Precision</p></b></td>
+ <td><p><b>Sample size per State</p></b></td>
</tr>
<tr>
- <td><p><i>Anthropometry</p></i></td><td rowspan="3"><p><i>2400</p></i></td><td colspan="5" rowspan="3"><p><i> All the available individuals</p></i></td>
+ <td><p><i>Anthropometry</p></i></td>
+ <td rowspan="3"><p><i>2400</p></i></td>
+ <td colspan="5" rowspan="3"><p><i> All the available individuals</p></i></td>
</tr>
<tr>
<td><p><i>Clinical Examination</p></i></td>
@@ -19,25 +28,52 @@
<td><p><i>History of morbidity</p></i></td>
</tr>
<tr>
- <td><p><i>Diet survey</p></i></td><td><p><i>1200</p></i></td><td colspan="5"><p><i>All the individuals partaking meals in the HH</p></i></td>
+ <td><p><i>Diet survey</p></i></td>
+ <td><p><i>1200</p></i></td>
+ <td colspan="5"><p><i>All the individuals partaking meals in the HH</p></i></td>
</tr>
<tr>
- <td rowspan="2"><p><i>Blood Pressure #</p></i></td><td rowspan="2"><p><i>2400</p></i></td><td><p><i>Men (</i>&#x2265;<i> 18yrs)</p></i></td><td rowspan="2"><p><i>10%</p></i></td><td rowspan="2"><p><i>95%</p></i></td><td rowspan="2"><p><i>20%</p></i></td><td><p><i>1728</p></i></td>
+ <td rowspan="2"><p><i>Blood Pressure #</p></i></td>
+ <td rowspan="2"><p><i>2400</p></i></td>
+ <td><p><i>Men (</i>&#x2265;<i> 18yrs)</p></i></td>
+ <td rowspan="2"><p><i>10%</p></i></td>
+ <td rowspan="2"><p><i>95%</p></i></td>
+ <td rowspan="2"><p><i>20%</p></i></td>
+ <td><p><i>1728</p></i></td>
</tr>
<tr>
- <td><p><i>Women (</i>&#x2265;<i> 18 yrs)</p></i></td><td><p><i>1728</p></i></td>
+ <td><p><i>Women (</i>&#x2265;<i> 18 yrs)</p></i></td>
+ <td><p><i>1728</p></i></td>
</tr>
<tr>
- <td rowspan="2"><p><i>Fasting blood glucose</p></i></td><td rowspan="2"><p><i>2400</p></i></td><td><p><i>Men (</i>&#x2265;<i> 18 yrs)</p></i></td><td rowspan="2"><p><i>5%</p></i></td><td rowspan="2"><p><i>95%</p></i></td><td rowspan="2"><p><i>20%</p></i></td><td><p><i>1825</p></i></td>
+ <td rowspan="2"><p><i>Fasting blood glucose</p></i></td>
+ <td rowspan="2"><p><i>2400</p></i></td>
+ <td><p><i>Men (</i>&#x2265;<i> 18 yrs)</p></i></td>
+ <td rowspan="2"><p><i>5%</p></i></td>
+ <td rowspan="2"><p><i>95%</p></i></td>
+ <td rowspan="2"><p><i>20%</p></i></td>
+ <td><p><i>1825</p></i></td>
</tr>
<tr>
- <td><p><i>Women (</i>&#x2265;<i> 18 yrs)</p></i></td><td><p><i>1825</p></i></td>
+ <td><p><i>Women (</i>&#x2265;<i> 18 yrs)</p></i></td>
+ <td><p><i>1825</p></i></td>
</tr>
<tr>
- <td rowspan="2"><p><i>Knowledge &amp; Practices on HTN &amp; DM</p></i></td><td><p><i>2400</p></i></td><td><p><i>Men (</i>&#x2265;<i> 18 yrs)</p></i></td><td><p><i>-</p></i></td><td><p><i>-</p></i></td><td><p><i>-</p></i></td><td><p><i>1728</p></i></td>
+ <td rowspan="2"><p><i>Knowledge &amp; Practices on HTN &amp; DM</p></i></td>
+ <td><p><i>2400</p></i></td>
+ <td><p><i>Men (</i>&#x2265;<i> 18 yrs)</p></i></td>
+ <td><p><i>-</p></i></td>
+ <td><p><i>-</p></i></td>
+ <td><p><i>-</p></i></td>
+ <td><p><i>1728</p></i></td>
</tr>
<tr>
- <td><p><i>2400</p></i></td><td><p><i>Women (</i>&#x2265;<i> 18 yrs)</p></i></td><td><p><i>-</p></i></td><td><p><i>-</p></i></td><td><p><i>-</p></i></td><td><p><i>1728</p></i></td>
+ <td><p><i>2400</p></i></td>
+ <td><p><i>Women (</i>&#x2265;<i> 18 yrs)</p></i></td>
+ <td><p><i>-</p></i></td>
+ <td><p><i>-</p></i></td>
+ <td><p><i>-</p></i></td>
+ <td><p><i>1728</p></i></td>
</tr>
</table>
@@ -77,5 +113,6 @@
</p></i>
<p><i>NNMB 3 Rural-Third Repeat Survey 2011-12
-</p></i></body>
+</p></i></div>
+</body>
</html>
diff --git a/extract/test/electoral_roll.pdf.mutool.html.ref b/extract/test/electoral_roll.pdf.mutool.html.ref
index 4d14bf3d..86a12be3 100644
--- a/extract/test/electoral_roll.pdf.mutool.html.ref
+++ b/extract/test/electoral_roll.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p>Electoral Roll, 2016 of Assembly Constituency - VIKASPURI, (GEN) NCT of Delhi <b>Part No - xxx
@@ -13,69 +14,142 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td><p> 1 </p></td><td colspan="2" rowspan="2"><p><i>Sex : Male</p><p></i>NEL0000001</p><p>n Doe</p></td><td rowspan="20"></td><td><p> 2 </p></td><td colspan="2" rowspan="2"><p>5 <i>Sex : Male</p><p></i>NEL0000002</p><p> Doe</p></td><td rowspan="20"></td><td><p> 3 </p></td><td colspan="2" rowspan="2"><p>5 <i>Sex : Male</p><p></i>NEL0000003</p><p> Doe</p></td>
+ <td><p> 1 </p></td>
+ <td colspan="2" rowspan="2"><p><i>Sex : Male</p><p></i>NEL0000001</p><p>n Doe</p></td>
+ <td rowspan="20"></td>
+ <td><p> 2 </p></td>
+ <td colspan="2" rowspan="2"><p>5 <i>Sex : Male</p><p></i>NEL0000002</p><p> Doe</p></td>
+ <td rowspan="20"></td>
+ <td><p> 3 </p></td>
+ <td colspan="2" rowspan="2"><p>5 <i>Sex : Male</p><p></i>NEL0000003</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Father&apos;s </i>: <i>Name </i>0</p><p>Joh</p><p>House No : Age : 55</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No :</p><p></i>John</p><p>Age : 63</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No :</p><p></i>John</p><p>Age : 33</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>0</p><p>Joh</p><p>House No : Age : 55</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No :</p><p></i>John</p><p>Age : 63</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No :</p><p></i>John</p><p>Age : 33</p></td>
</tr>
<tr>
- <td><p> 4 </p></td><td colspan="2" rowspan="2"><p>1</p><p>NEL0000004</p><p> Doe</p><p>Sex : Female</p></td><td><p> 5 </p></td><td colspan="2" rowspan="2"><p>8 <i>Sex : Male</p><p></i>NEL0000005</p><p> Doe</p></td><td><p> 6 </p></td><td colspan="2" rowspan="2"><p>5 <i>Sex : Female</p><p></i>NEL0000006</p><p> Doe</p></td>
+ <td><p> 4 </p></td>
+ <td colspan="2" rowspan="2"><p>1</p><p>NEL0000004</p><p> Doe</p><p>Sex : Female</p></td>
+ <td><p> 5 </p></td>
+ <td colspan="2" rowspan="2"><p>8 <i>Sex : Male</p><p></i>NEL0000005</p><p> Doe</p></td>
+ <td><p> 6 </p></td>
+ <td colspan="2" rowspan="2"><p>5 <i>Sex : Female</p><p></i>NEL0000006</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Father&apos;s </i>: <i>Name </i>3 <i>House No : Age : 23</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>4 <i>Age : 22</p><p></i>John</p><p>House No :</p></td><td><p><i>Name : Husband&apos;s </i>: <i>Name </i>5 <i>House No : Age : 62</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>3 <i>House No : Age : 23</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>4 <i>Age : 22</p><p></i>John</p><p>House No :</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>5 <i>House No : Age : 62</p><p></i>Jane</p></td>
</tr>
<tr>
- <td><p> 7 </p></td><td colspan="2" rowspan="2"><p>2 <i>Sex : Female</p><p></i>NEL0000007</p><p> Doe</p></td><td><p> 8 </p></td><td colspan="2" rowspan="2"><p>3 <i>Sex : Male</p><p></i>NEL0000008</p><p> Doe</p></td><td><p> 9 </p></td><td colspan="2" rowspan="2"><p>3 <i>Sex : Female</p><p></i>NEL0000009</p><p> Doe</p></td>
+ <td><p> 7 </p></td>
+ <td colspan="2" rowspan="2"><p>2 <i>Sex : Female</p><p></i>NEL0000007</p><p> Doe</p></td>
+ <td><p> 8 </p></td>
+ <td colspan="2" rowspan="2"><p>3 <i>Sex : Male</p><p></i>NEL0000008</p><p> Doe</p></td>
+ <td><p> 9 </p></td>
+ <td colspan="2" rowspan="2"><p>3 <i>Sex : Female</p><p></i>NEL0000009</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>6 <i>House No : Age : 80</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>6 <i>House No : Age : 61</p><p></i>John</p></td><td><p><i>Name : Husband&apos;s </i>: <i>Name </i>6 <i>House No : Age : 54</p><p></i>Jane</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>6 <i>House No : Age : 80</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>6 <i>House No : Age : 61</p><p></i>John</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>6 <i>House No : Age : 54</p><p></i>Jane</p></td>
</tr>
<tr>
- <td><p> 10 </p></td><td colspan="2" rowspan="2"><p>3 <i>Sex : Female</p><p></i>NEL0000010</p><p> Doe</p></td><td><p> 11 </p></td><td colspan="2" rowspan="2"><p>5 <i>Sex : Male</p><p></i>NEL0000011</p><p> Doe</p></td><td><p> 12 </p></td><td colspan="2" rowspan="2"><p>8 <i>Sex : Female</p><p></i>LQK0000012</p><p> Doe</p></td>
+ <td><p> 10 </p></td>
+ <td colspan="2" rowspan="2"><p>3 <i>Sex : Female</p><p></i>NEL0000010</p><p> Doe</p></td>
+ <td><p> 11 </p></td>
+ <td colspan="2" rowspan="2"><p>5 <i>Sex : Male</p><p></i>NEL0000011</p><p> Doe</p></td>
+ <td><p> 12 </p></td>
+ <td colspan="2" rowspan="2"><p>8 <i>Sex : Female</p><p></i>LQK0000012</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Father&apos;s </i>: <i>Name </i>7 <i>House No : Age : 20</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>7 <i>House No : Age : 49</p><p></i>John</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>8 <i>House No : Age : 41</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>7 <i>House No : Age : 20</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>7 <i>House No : Age : 49</p><p></i>John</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>8 <i>House No : Age : 41</p><p></i>Jane</p></td>
</tr>
<tr>
- <td><p> 13 </p></td><td colspan="2" rowspan="2"><p>2 <i>Sex : Female</p><p></i>NEL0000013</p><p> Doe</p></td><td><p> 14 </p></td><td colspan="2" rowspan="2"><p>04 <i>Sex : Female</p><p></i>NEL0000014</p><p> Doe</p></td><td><p> 15 </p></td><td colspan="2" rowspan="2"><p>04 <i>Sex : Male</p><p></i>NEL0000015</p><p> Doe</p></td>
+ <td><p> 13 </p></td>
+ <td colspan="2" rowspan="2"><p>2 <i>Sex : Female</p><p></i>NEL0000013</p><p> Doe</p></td>
+ <td><p> 14 </p></td>
+ <td colspan="2" rowspan="2"><p>04 <i>Sex : Female</p><p></i>NEL0000014</p><p> Doe</p></td>
+ <td><p> 15 </p></td>
+ <td colspan="2" rowspan="2"><p>04 <i>Sex : Male</p><p></i>NEL0000015</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>9 <i>House No : Age : 28</p><p></i>Jane</p></td><td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 45</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 43</p><p></i>John</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>9 <i>House No : Age : 28</p><p></i>Jane</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 45</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 43</p><p></i>John</p></td>
</tr>
<tr>
- <td><p> 16 </p></td><td colspan="2" rowspan="2"><p>04 <i>Sex : Female</p><p></i>NEL0000016</p><p> Doe</p></td><td><p> 17 </p></td><td colspan="2" rowspan="2"><p>19-B <i>Sex : Female</p><p></i>NEL0000017</p><p> Doe</p></td><td><p> 18 </p></td><td colspan="2" rowspan="2"><p>26 <i>Sex : Female</p><p></i>NEL0000018</p><p> Doe</p></td>
+ <td><p> 16 </p></td>
+ <td colspan="2" rowspan="2"><p>04 <i>Sex : Female</p><p></i>NEL0000016</p><p> Doe</p></td>
+ <td><p> 17 </p></td>
+ <td colspan="2" rowspan="2"><p>19-B <i>Sex : Female</p><p></i>NEL0000017</p><p> Doe</p></td>
+ <td><p> 18 </p></td>
+ <td colspan="2" rowspan="2"><p>26 <i>Sex : Female</p><p></i>NEL0000018</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 23</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 46</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 22</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 23</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 46</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 22</p><p></i>Jane</p></td>
</tr>
<tr>
- <td><p> 19 </p></td><td colspan="2" rowspan="2"><p>33 <i>Sex : Male</p><p></i>NEL0000019</p><p>n Doe</p></td><td><p> 20 </p></td><td colspan="2" rowspan="2"><p>43 <i>Sex : Male</p><p></i>NEL0000020</p><p> Doe</p></td><td><p> 21 </p></td><td colspan="2" rowspan="2"><p>45 <i>Sex : Male</p><p></i>NEL0000021</p><p> Doe</p></td>
+ <td><p> 19 </p></td>
+ <td colspan="2" rowspan="2"><p>33 <i>Sex : Male</p><p></i>NEL0000019</p><p>n Doe</p></td>
+ <td><p> 20 </p></td>
+ <td colspan="2" rowspan="2"><p>43 <i>Sex : Male</p><p></i>NEL0000020</p><p> Doe</p></td>
+ <td><p> 21 </p></td>
+ <td colspan="2" rowspan="2"><p>45 <i>Sex : Male</p><p></i>NEL0000021</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 29</p><p></i>Joh</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 25</p><p></i>John</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 47</p><p></i>John</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 29</p><p></i>Joh</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 25</p><p></i>John</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 47</p><p></i>John</p></td>
</tr>
<tr>
- <td><p> 22 </p></td><td colspan="2" rowspan="2"><p>47 <i>Sex : Female</p><p></i>NEL0000022</p><p> Doe</p></td><td><p> 23 </p></td><td colspan="2" rowspan="2"><p>51 <i>Sex : Male</p><p></i>NEL0000023</p><p> Doe</p></td><td><p> 24 </p></td><td colspan="2" rowspan="2"><p>55 <i>Sex : Female</p><p></i>NEL0000024</p><p> Doe</p></td>
+ <td><p> 22 </p></td>
+ <td colspan="2" rowspan="2"><p>47 <i>Sex : Female</p><p></i>NEL0000022</p><p> Doe</p></td>
+ <td><p> 23 </p></td>
+ <td colspan="2" rowspan="2"><p>51 <i>Sex : Male</p><p></i>NEL0000023</p><p> Doe</p></td>
+ <td><p> 24 </p></td>
+ <td colspan="2" rowspan="2"><p>55 <i>Sex : Female</p><p></i>NEL0000024</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 20</p><p></i>Jane</p></td><td><p><i>Name : Mother&apos;s </i>: <i>Name </i>1 <i>House No : Age : 24</p><p></i>John</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 21</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 20</p><p></i>Jane</p></td>
+ <td><p><i>Name : Mother&apos;s </i>: <i>Name </i>1 <i>House No : Age : 24</p><p></i>John</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 21</p><p></i>Jane</p></td>
</tr>
<tr>
- <td><p> 25 </p></td><td colspan="2" rowspan="2"><p>78 <i>Sex : Male</p><p></i>NEL0000025</p><p>n Doe</p></td><td><p> 26 </p></td><td colspan="2" rowspan="2"><p>78 <i>Sex : Female</p><p></i>NEL0000026</p><p> Doe</p></td><td><p> 27 </p></td><td colspan="2" rowspan="2"><p>94 <i>Sex : Male</p><p></i>NEL0000027</p><p> Doe</p></td>
+ <td><p> 25 </p></td>
+ <td colspan="2" rowspan="2"><p>78 <i>Sex : Male</p><p></i>NEL0000025</p><p>n Doe</p></td>
+ <td><p> 26 </p></td>
+ <td colspan="2" rowspan="2"><p>78 <i>Sex : Female</p><p></i>NEL0000026</p><p> Doe</p></td>
+ <td><p> 27 </p></td>
+ <td colspan="2" rowspan="2"><p>94 <i>Sex : Male</p><p></i>NEL0000027</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 41</p><p></i>Joh</p></td><td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 35</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 59</p><p></i>John</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 41</p><p></i>Joh</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 35</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>1 <i>House No : Age : 59</p><p></i>John</p></td>
</tr>
<tr>
- <td><p> 28 </p></td><td colspan="2" rowspan="2"><p>95 <i>Sex : Female</p><p></i>NEL0000028</p><p> Doe</p></td><td><p> 29 </p></td><td colspan="2" rowspan="2"><p>95 <i>Sex : Female</p><p></i>NEL0000029</p><p> Doe</p></td><td><p> 30 </p></td><td colspan="2" rowspan="2"><p>01 <i>Sex : Male</p><p></i>NEL0000030</p><p> Doe</p></td>
+ <td><p> 28 </p></td>
+ <td colspan="2" rowspan="2"><p>95 <i>Sex : Female</p><p></i>NEL0000028</p><p> Doe</p></td>
+ <td><p> 29 </p></td>
+ <td colspan="2" rowspan="2"><p>95 <i>Sex : Female</p><p></i>NEL0000029</p><p> Doe</p></td>
+ <td><p> 30 </p></td>
+ <td colspan="2" rowspan="2"><p>01 <i>Sex : Male</p><p></i>NEL0000030</p><p> Doe</p></td>
</tr>
<tr>
- <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 33</p><p></i>Jane</p></td><td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 28</p><p></i>Jane</p></td><td><p><i>Name : Father&apos;s </i>: <i>Name </i>2 <i>House No : Age : 45</p><p></i>John</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 33</p><p></i>Jane</p></td>
+ <td><p><i>Name : Husband&apos;s </i>: <i>Name </i>1 <i>House No : Age : 28</p><p></i>Jane</p></td>
+ <td><p><i>Name : Father&apos;s </i>: <i>Name </i>2 <i>House No : Age : 45</p><p></i>John</p></td>
</tr>
</table>
<p>S-Shifted, E-Expired, M-Missing, Q- Disqualification, R-Duplicate Page 3 of 33 Age as on 01-01-2016 Issued By Electoral Registration Officer
-</p></body>
+</p></div>
+</body>
</html>
diff --git a/extract/test/rotated.pdf.mutool.html.ref b/extract/test/rotated.pdf.mutool.html.ref
index e98ffed6..9d468509 100644
--- a/extract/test/rotated.pdf.mutool.html.ref
+++ b/extract/test/rotated.pdf.mutool.html.ref
@@ -1,37 +1,163 @@
<html>
<body>
+<div>
<table border="1" style="border-collapse:collapse">
<tr>
- <td rowspan="2"><p><b>2011-12)</p><p>(No.ofadults:</p><p>FastingBloodSugar </p></b></td><td><p><b>Women</p></b></td><td><p>2391</p></td><td><p>1739</p></td><td><p>2028</p></td><td><p>1529</p></td><td><p>1599</p></td><td><p>2503</p></td><td><p>1709</p></td><td><p>1628</p></td><td><p>2027</p></td><td><p>1366</p></td><td><p><b>18519</p></b></td><td></td><td rowspan="10"></td><td rowspan="10"><p>*Datanotavailable </p></td>
+ <td rowspan="2"><p><b>2011-12)</p><p>(No.ofadults:</p><p>FastingBloodSugar </p></b></td>
+ <td><p><b>Women</p></b></td>
+ <td><p>2391</p></td>
+ <td><p>1739</p></td>
+ <td><p>2028</p></td>
+ <td><p>1529</p></td>
+ <td><p>1599</p></td>
+ <td><p>2503</p></td>
+ <td><p>1709</p></td>
+ <td><p>1628</p></td>
+ <td><p>2027</p></td>
+ <td><p>1366</p></td>
+ <td><p><b>18519</p></b></td>
+ <td></td>
+ <td rowspan="10"></td>
+ <td rowspan="10"><p>*Datanotavailable </p></td>
</tr>
<tr>
- <td><p><b>Men</p></b></td><td><p>1645</p></td><td><p>1119</p></td><td><p>1628</p></td><td><p>1111</p></td><td><p>1417</p></td><td><p>2122</p></td><td><p>1579</p></td><td><p>1093</p></td><td><p>1413</p></td><td><p>1185</p></td><td><p><b>14312</p></b></td><td></td>
+ <td><p><b>Men</p></b></td>
+ <td><p>1645</p></td>
+ <td><p>1119</p></td>
+ <td><p>1628</p></td>
+ <td><p>1111</p></td>
+ <td><p>1417</p></td>
+ <td><p>2122</p></td>
+ <td><p>1579</p></td>
+ <td><p>1093</p></td>
+ <td><p>1413</p></td>
+ <td><p>1185</p></td>
+ <td><p><b>14312</p></b></td>
+ <td></td>
</tr>
<tr>
- <td rowspan="2"><p><b>2011-12)</p><p>(No.ofadults: </p><p>BloodPressure </p></b></td><td><p><b>Women</p></b></td><td><p>3195</p></td><td><p>2858</p></td><td><p>2894</p></td><td><p>2493</p></td><td><p>2648</p></td><td><p>3021</p></td><td><p>2150</p></td><td><p>2624</p></td><td><p>2743</p></td><td><p>2415</p></td><td><p><b>27041</p></b></td><td></td>
+ <td rowspan="2"><p><b>2011-12)</p><p>(No.ofadults: </p><p>BloodPressure </p></b></td>
+ <td><p><b>Women</p></b></td>
+ <td><p>3195</p></td>
+ <td><p>2858</p></td>
+ <td><p>2894</p></td>
+ <td><p>2493</p></td>
+ <td><p>2648</p></td>
+ <td><p>3021</p></td>
+ <td><p>2150</p></td>
+ <td><p>2624</p></td>
+ <td><p>2743</p></td>
+ <td><p>2415</p></td>
+ <td><p><b>27041</p></b></td>
+ <td></td>
</tr>
<tr>
- <td><p><b>Men</p></b></td><td><p>2161</p></td><td><p>2134</p></td><td><p>2467</p></td><td><p>1899</p></td><td><p>2368</p></td><td><p>2687</p></td><td><p>1965</p></td><td><p>2040</p></td><td><p>2058</p></td><td><p>2139</p></td><td><p><b>21918</p></b></td><td></td>
+ <td><p><b>Men</p></b></td>
+ <td><p>2161</p></td>
+ <td><p>2134</p></td>
+ <td><p>2467</p></td>
+ <td><p>1899</p></td>
+ <td><p>2368</p></td>
+ <td><p>2687</p></td>
+ <td><p>1965</p></td>
+ <td><p>2040</p></td>
+ <td><p>2058</p></td>
+ <td><p>2139</p></td>
+ <td><p><b>21918</p></b></td>
+ <td></td>
</tr>
<tr>
- <td colspan="2"><p><b>2011-12)</p><p>IYCFPractices </p><p>(No.ofmothers: </p></b></td><td><p>245</p></td><td><p>413</p></td><td><p>428</p></td><td><p>557</p></td><td><p>467</p></td><td><p>477</p></td><td><p>470</p></td><td><p>398</p></td><td><p>423</p></td><td><p>581</p></td><td><p><b>4459</p></b></td><td></td>
+ <td colspan="2"><p><b>2011-12)</p><p>IYCFPractices </p><p>(No.ofmothers: </p></b></td>
+ <td><p>245</p></td>
+ <td><p>413</p></td>
+ <td><p>428</p></td>
+ <td><p>557</p></td>
+ <td><p>467</p></td>
+ <td><p>477</p></td>
+ <td><p>470</p></td>
+ <td><p>398</p></td>
+ <td><p>423</p></td>
+ <td><p>581</p></td>
+ <td><p><b>4459</p></b></td>
+ <td></td>
</tr>
<tr>
- <td rowspan="4"><p><b>(No.ofindividuals) </p><p>NutritionalAssessment </p></b></td><td><p><b>2011-12 </p></b></td><td><p>8297</p></td><td><p>7851</p></td><td><p>8958</p></td><td><p>8300</p></td><td><p>9525</p></td><td><p>9645</p></td><td><p>7942</p></td><td><p>8473</p></td><td><p>8047</p></td><td><p>9860</p></td><td><p><b>86898</p></b></td><td></td>
+ <td rowspan="4"><p><b>(No.ofindividuals) </p><p>NutritionalAssessment </p></b></td>
+ <td><p><b>2011-12 </p></b></td>
+ <td><p>8297</p></td>
+ <td><p>7851</p></td>
+ <td><p>8958</p></td>
+ <td><p>8300</p></td>
+ <td><p>9525</p></td>
+ <td><p>9645</p></td>
+ <td><p>7942</p></td>
+ <td><p>8473</p></td>
+ <td><p>8047</p></td>
+ <td><p>9860</p></td>
+ <td><p><b>86898</p></b></td>
+ <td></td>
</tr>
<tr>
- <td><p><b>1996-97</p></b></td><td><p>8864</p></td><td><p>5813</p></td><td><p>12606</p></td><td><p>9545</p></td><td><p>6883</p></td><td><p>4866</p></td><td><p>*</p></td><td><p>12024</p></td><td><p>*</p></td><td><p>*</p></td><td><p><b>60601</p></b></td><td></td>
+ <td><p><b>1996-97</p></b></td>
+ <td><p>8864</p></td>
+ <td><p>5813</p></td>
+ <td><p>12606</p></td>
+ <td><p>9545</p></td>
+ <td><p>6883</p></td>
+ <td><p>4866</p></td>
+ <td><p>*</p></td>
+ <td><p>12024</p></td>
+ <td><p>*</p></td>
+ <td><p>*</p></td>
+ <td><p><b>60601</p></b></td>
+ <td></td>
</tr>
<tr>
- <td><p><b>1988-90</p></b></td><td><p>6633</p></td><td><p>10217</p></td><td><p>8138</p></td><td><p>9920</p></td><td><p>7796</p></td><td><p>5374</p></td><td><p>*</p></td><td><p>5540</p></td><td><p>*</p></td><td><p>*</p></td><td><p><b>53618</p></b></td><td></td>
+ <td><p><b>1988-90</p></b></td>
+ <td><p>6633</p></td>
+ <td><p>10217</p></td>
+ <td><p>8138</p></td>
+ <td><p>9920</p></td>
+ <td><p>7796</p></td>
+ <td><p>5374</p></td>
+ <td><p>*</p></td>
+ <td><p>5540</p></td>
+ <td><p>*</p></td>
+ <td><p>*</p></td>
+ <td><p><b>53618</p></b></td>
+ <td></td>
</tr>
<tr>
- <td><p><b>1975-79</p></b></td><td><p>5738</p></td><td><p>7387</p></td><td><p>6453</p></td><td><p>5844</p></td><td><p>5161</p></td><td><p>4403</p></td><td><p>*</p></td><td><p>3756</p></td><td><p>*</p></td><td><p>*</p></td><td><p><b>38742</p></b></td><td></td>
+ <td><p><b>1975-79</p></b></td>
+ <td><p>5738</p></td>
+ <td><p>7387</p></td>
+ <td><p>6453</p></td>
+ <td><p>5844</p></td>
+ <td><p>5161</p></td>
+ <td><p>4403</p></td>
+ <td><p>*</p></td>
+ <td><p>3756</p></td>
+ <td><p>*</p></td>
+ <td><p>*</p></td>
+ <td><p><b>38742</p></b></td>
+ <td></td>
</tr>
<tr>
- <td colspan="2"><p><b>State</p></b></td><td><p>Kerala</p></td><td><p>TamilNadu</p></td><td><p>Karnataka</p></td><td><p>AndhraPradesh</p></td><td><p>Maharashtra</p></td><td><p>Gujarat</p></td><td><p>MadhyaPradesh</p></td><td><p>Orissa</p></td><td><p>WestBengal</p></td><td><p>UttarPradesh</p></td><td><p><b>Pooled</p></b></td><td></td>
+ <td colspan="2"><p><b>State</p></b></td>
+ <td><p>Kerala</p></td>
+ <td><p>TamilNadu</p></td>
+ <td><p>Karnataka</p></td>
+ <td><p>AndhraPradesh</p></td>
+ <td><p>Maharashtra</p></td>
+ <td><p>Gujarat</p></td>
+ <td><p>MadhyaPradesh</p></td>
+ <td><p>Orissa</p></td>
+ <td><p>WestBengal</p></td>
+ <td><p>UttarPradesh</p></td>
+ <td><p><b>Pooled</p></b></td>
+ <td></td>
</tr>
</table>
@@ -44,5 +170,6 @@
</p></b>
<p>NNMB72Rural-ThirdRepeatSurvey2011-12
-</p></body>
+</p></div>
+</body>
</html>
diff --git a/extract/test/row_span.pdf.mutool.html.ref b/extract/test/row_span.pdf.mutool.html.ref
index 744fc08d..4ec2273b 100644
--- a/extract/test/row_span.pdf.mutool.html.ref
+++ b/extract/test/row_span.pdf.mutool.html.ref
@@ -1,124 +1,179 @@
<html>
<body>
+<div>
<table border="1" style="border-collapse:collapse">
<tr>
- <td><p><b>Plan Type </p></b></td><td><p><b>County </p></b></td><td><p><b>Plan Name </p></b></td><td><p><b>Totals </p></b></td>
+ <td><p><b>Plan Type </p></b></td>
+ <td><p><b>County </p></b></td>
+ <td><p><b>Plan Name </p></b></td>
+ <td><p><b>Totals </p></b></td>
</tr>
<tr>
- <td rowspan="10"><p><b>GMC </p></b></td><td rowspan="4"><p>Sacramento </p></td><td><p>Anthem Blue Cross </p></td><td><p>164,380 </p></td>
+ <td rowspan="10"><p><b>GMC </p></b></td>
+ <td rowspan="4"><p>Sacramento </p></td>
+ <td><p>Anthem Blue Cross </p></td>
+ <td><p>164,380 </p></td>
</tr>
<tr>
- <td><p>Health Net </p></td><td><p>126,547 </p></td>
+ <td><p>Health Net </p></td>
+ <td><p>126,547 </p></td>
</tr>
<tr>
- <td><p>Kaiser Foundation </p></td><td><p>74,620 </p></td>
+ <td><p>Kaiser Foundation </p></td>
+ <td><p>74,620 </p></td>
</tr>
<tr>
- <td><p>Molina Healthcare </p></td><td><p>59,989 </p></td>
+ <td><p>Molina Healthcare </p></td>
+ <td><p>59,989 </p></td>
</tr>
<tr>
- <td rowspan="5"><p>San Diego </p></td><td><p>Care 1st Health Plan </p></td><td><p>71,831 </p></td>
+ <td rowspan="5"><p>San Diego </p></td>
+ <td><p>Care 1st Health Plan </p></td>
+ <td><p>71,831 </p></td>
</tr>
<tr>
- <td><p>Community Health Group </p></td><td><p>264,639 </p></td>
+ <td><p>Community Health Group </p></td>
+ <td><p>264,639 </p></td>
</tr>
<tr>
- <td><p>Health Net </p></td><td><p>72,404 </p></td>
+ <td><p>Health Net </p></td>
+ <td><p>72,404 </p></td>
</tr>
<tr>
- <td><p>Kaiser </p></td><td><p>50,415 </p></td>
+ <td><p>Kaiser </p></td>
+ <td><p>50,415 </p></td>
</tr>
<tr>
- <td><p>Molina Healthcare </p></td><td><p>206,430 </p></td>
+ <td><p>Molina Healthcare </p></td>
+ <td><p>206,430 </p></td>
</tr>
<tr>
- <td colspan="2"><p><b>Total GMC Enrollment </p></b></td><td><p><b>1,091,255 </p></b></td>
+ <td colspan="2"><p><b>Total GMC Enrollment </p></b></td>
+ <td><p><b>1,091,255 </p></b></td>
</tr>
<tr>
- <td rowspan="23"><p><b>COHS </p></b></td><td><p>Marin </p></td><td rowspan="14"><p>Partnership Health Plan of CA </p></td><td><p>36,006 </p></td>
+ <td rowspan="23"><p><b>COHS </p></b></td>
+ <td><p>Marin </p></td>
+ <td rowspan="14"><p>Partnership Health Plan of CA </p></td>
+ <td><p>36,006 </p></td>
</tr>
<tr>
- <td><p>Mendocino</p></td><td><p> 37,243 </p></td>
+ <td><p>Mendocino</p></td>
+ <td><p> 37,243 </p></td>
</tr>
<tr>
- <td><p>Napa </p></td><td><p>28,398 </p></td>
+ <td><p>Napa </p></td>
+ <td><p>28,398 </p></td>
</tr>
<tr>
- <td><p>Solano </p></td><td><p>113,220 </p></td>
+ <td><p>Solano </p></td>
+ <td><p>113,220 </p></td>
</tr>
<tr>
- <td><p>Sonoma </p></td><td><p>112,271 </p></td>
+ <td><p>Sonoma </p></td>
+ <td><p>112,271 </p></td>
</tr>
<tr>
- <td><p>Yolo </p></td><td><p>52,674 </p></td>
+ <td><p>Yolo </p></td>
+ <td><p>52,674 </p></td>
</tr>
<tr>
- <td><p>Del Norte </p></td><td><p>11,242 </p></td>
+ <td><p>Del Norte </p></td>
+ <td><p>11,242 </p></td>
</tr>
<tr>
- <td><p>Humboldt </p></td><td><p>49,911 </p></td>
+ <td><p>Humboldt </p></td>
+ <td><p>49,911 </p></td>
</tr>
<tr>
- <td><p>Lake </p></td><td><p>29,149 </p></td>
+ <td><p>Lake </p></td>
+ <td><p>29,149 </p></td>
</tr>
<tr>
- <td><p>Lassen </p></td><td><p>7,360 </p></td>
+ <td><p>Lassen </p></td>
+ <td><p>7,360 </p></td>
</tr>
<tr>
- <td><p>Modoc </p></td><td><p>2,940 </p></td>
+ <td><p>Modoc </p></td>
+ <td><p>2,940 </p></td>
</tr>
<tr>
- <td><p>Shasta </p></td><td><p>61,763 </p></td>
+ <td><p>Shasta </p></td>
+ <td><p>61,763 </p></td>
</tr>
<tr>
- <td><p>Siskiyou </p></td><td><p>16,715 </p></td>
+ <td><p>Siskiyou </p></td>
+ <td><p>16,715 </p></td>
</tr>
<tr>
- <td><p>Trinity </p></td><td><p>4,542 </p></td>
+ <td><p>Trinity </p></td>
+ <td><p>4,542 </p></td>
</tr>
<tr>
- <td><p>Merced</p></td><td rowspan="3"><p>Central California Alliance for Health</p></td><td><p> 123,907 </p></td>
+ <td><p>Merced</p></td>
+ <td rowspan="3"><p>Central California Alliance for Health</p></td>
+ <td><p> 123,907 </p></td>
</tr>
<tr>
- <td><p>Monterey </p></td><td><p> 147,397 </p></td>
+ <td><p>Monterey </p></td>
+ <td><p> 147,397 </p></td>
</tr>
<tr>
- <td><p>Santa Cruz</p></td><td><p> 69,458 </p></td>
+ <td><p>Santa Cruz</p></td>
+ <td><p> 69,458 </p></td>
</tr>
<tr>
- <td><p>Santa Barbara </p></td><td rowspan="2"><p>CenCal </p></td><td><p>117,609 </p></td>
+ <td><p>Santa Barbara </p></td>
+ <td rowspan="2"><p>CenCal </p></td>
+ <td><p>117,609 </p></td>
</tr>
<tr>
- <td><p>San Luis Obispo </p></td><td><p>55,761 </p></td>
+ <td><p>San Luis Obispo </p></td>
+ <td><p>55,761 </p></td>
</tr>
<tr>
- <td><p>Orange </p></td><td><p>CalOptima </p></td><td><p>783,079 </p></td>
+ <td><p>Orange </p></td>
+ <td><p>CalOptima </p></td>
+ <td><p>783,079 </p></td>
</tr>
<tr>
- <td><p>San Mateo </p></td><td><p>Health Plan of San Mateo </p></td><td><p>113,202 </p></td>
+ <td><p>San Mateo </p></td>
+ <td><p>Health Plan of San Mateo </p></td>
+ <td><p>113,202 </p></td>
</tr>
<tr>
- <td><p>Ventura </p></td><td><p>Gold Coast Health Plan </p></td><td><p>202,217 </p></td>
+ <td><p>Ventura </p></td>
+ <td><p>Gold Coast Health Plan </p></td>
+ <td><p>202,217 </p></td>
</tr>
<tr>
- <td colspan="2"><p><b>Total COHS Enrollment </p></b></td><td><p><b>2,176,064 </p></b></td>
+ <td colspan="2"><p><b>Total COHS Enrollment </p></b></td>
+ <td><p><b>2,176,064 </p></b></td>
</tr>
<tr>
- <td colspan="3"><p><b>Subtotal for Two-Plan, Regional Model, GMC and COHS </p></b></td><td><p><b>10,132,022 </p></b></td>
+ <td colspan="3"><p><b>Subtotal for Two-Plan, Regional Model, GMC and COHS </p></b></td>
+ <td><p><b>10,132,022 </p></b></td>
</tr>
<tr>
- <td rowspan="3"><p><b>PCCM </p></b></td><td><p>Los Angeles </p></td><td><p>AIDS Healthcare Foundation </p></td><td><p>828 </p></td>
+ <td rowspan="3"><p><b>PCCM </p></b></td>
+ <td><p>Los Angeles </p></td>
+ <td><p>AIDS Healthcare Foundation </p></td>
+ <td><p>828 </p></td>
</tr>
<tr>
- <td><p>San Francisco </p></td><td><p>Family Mosaic </p></td><td><p>25 </p></td>
+ <td><p>San Francisco </p></td>
+ <td><p>Family Mosaic </p></td>
+ <td><p>25 </p></td>
</tr>
<tr>
- <td colspan="2"><p><b>Total PHP Enrollment </p></b></td><td><p><b>853 </p></b></td>
+ <td colspan="2"><p><b>Total PHP Enrollment </p></b></td>
+ <td><p><b>853 </p></b></td>
</tr>
<tr>
- <td colspan="3"><p><b>All Models Total Enrollments </p></b></td><td><p><b>10,132,875 </p></b></td>
+ <td colspan="3"><p><b>All Models Total Enrollments </p></b></td>
+ <td><p><b>10,132,875 </p></b></td>
</tr>
<tr>
<td colspan="4"><p>Source: Data Warehouse 12/14/15 </p></td>
@@ -128,5 +183,6 @@
<p>.
-</p></body>
+</p></div>
+</body>
</html>
diff --git a/extract/test/table.pdf.mutool.html.ref b/extract/test/table.pdf.mutool.html.ref
index a1945c06..4e34d3b6 100644
--- a/extract/test/table.pdf.mutool.html.ref
+++ b/extract/test/table.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p><b>2 Quantifying Fuel-Saving Opportunities from Specific Driving Behavior Changes
@@ -40,25 +41,61 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td rowspan="2"><p><b>Cycle Name </p></b></td><td rowspan="2"><p><b>KI (1/km) </p></b></td><td rowspan="2"><p><b>Distance (mi) </p></b></td><td colspan="4"><p><b>Percent Fuel Savings </p></b></td>
+ <td rowspan="2"><p><b>Cycle Name </p></b></td>
+ <td rowspan="2"><p><b>KI (1/km) </p></b></td>
+ <td rowspan="2"><p><b>Distance (mi) </p></b></td>
+ <td colspan="4"><p><b>Percent Fuel Savings </p></b></td>
</tr>
<tr>
- <td><p><b>Improved Speed </p></b></td><td><p><b>Decreased Accel </p></b></td><td><p><b>Eliminate Stops </p></b></td><td><p><b>Decreased Idle </p></b></td>
+ <td><p><b>Improved Speed </p></b></td>
+ <td><p><b>Decreased Accel </p></b></td>
+ <td><p><b>Eliminate Stops </p></b></td>
+ <td><p><b>Decreased Idle </p></b></td>
</tr>
<tr>
- <td><p>2012_2 </p></td><td><p>3.30 </p></td><td><p>1.3 </p></td><td><p>5.9% </p></td><td><p>9.5% </p></td><td><p>29.2% </p></td><td><p>17.4% </p></td>
+ <td><p>2012_2 </p></td>
+ <td><p>3.30 </p></td>
+ <td><p>1.3 </p></td>
+ <td><p>5.9% </p></td>
+ <td><p>9.5% </p></td>
+ <td><p>29.2% </p></td>
+ <td><p>17.4% </p></td>
</tr>
<tr>
- <td><p>2145_1 </p></td><td><p>0.68 </p></td><td><p>11.2 </p></td><td><p>2.4% </p></td><td><p>0.1% </p></td><td><p>9.5% </p></td><td><p>2.7% </p></td>
+ <td><p>2145_1 </p></td>
+ <td><p>0.68 </p></td>
+ <td><p>11.2 </p></td>
+ <td><p>2.4% </p></td>
+ <td><p>0.1% </p></td>
+ <td><p>9.5% </p></td>
+ <td><p>2.7% </p></td>
</tr>
<tr>
- <td><p>4234_1 </p></td><td><p>0.59 </p></td><td><p>58.7 </p></td><td><p>8.5% </p></td><td><p>1.3% </p></td><td><p>8.5% </p></td><td><p>3.3% </p></td>
+ <td><p>4234_1 </p></td>
+ <td><p>0.59 </p></td>
+ <td><p>58.7 </p></td>
+ <td><p>8.5% </p></td>
+ <td><p>1.3% </p></td>
+ <td><p>8.5% </p></td>
+ <td><p>3.3% </p></td>
</tr>
<tr>
- <td><p>2032_2 </p></td><td><p>0.17 </p></td><td><p>57.8 </p></td><td><p>21.7% </p></td><td><p>0.3% </p></td><td><p>2.7% </p></td><td><p>1.2% </p></td>
+ <td><p>2032_2 </p></td>
+ <td><p>0.17 </p></td>
+ <td><p>57.8 </p></td>
+ <td><p>21.7% </p></td>
+ <td><p>0.3% </p></td>
+ <td><p>2.7% </p></td>
+ <td><p>1.2% </p></td>
</tr>
<tr>
- <td><p>4171_1 </p></td><td><p>0.07 </p></td><td><p>173.9 </p></td><td><p>58.1% </p></td><td><p>1.6% </p></td><td><p>2.1% </p></td><td><p>0.5% </p></td>
+ <td><p>4171_1 </p></td>
+ <td><p>0.07 </p></td>
+ <td><p>173.9 </p></td>
+ <td><p>58.1% </p></td>
+ <td><p>1.6% </p></td>
+ <td><p>2.1% </p></td>
+ <td><p>0.5% </p></td>
</tr>
</table>
@@ -68,5 +105,6 @@
</p>
<p>3
-</p></body>
+</p></div>
+</body>
</html>
diff --git a/extract/test/twotables_1.pdf.mutool.html.ref b/extract/test/twotables_1.pdf.mutool.html.ref
index 1b66afc5..f13a82e0 100644
--- a/extract/test/twotables_1.pdf.mutool.html.ref
+++ b/extract/test/twotables_1.pdf.mutool.html.ref
@@ -1,25 +1,51 @@
<html>
<body>
+<div>
<table border="1" style="border-collapse:collapse">
<tr>
- <td rowspan="3"><p><b>Sl. No. </p></b></td><td><p><b>Name of </p></b></td><td rowspan="3"><p><b>Name of District </p></b></td><td rowspan="3"><p><b>Disease/ Illness </p></b></td><td rowspan="3"><p><b>No. of Cases </p></b></td><td rowspan="3"><p><b>No. of Deaths </p></b></td><td rowspan="3"><p><b>Date of start of outbreak </p></b></td><td rowspan="3"><p><b>Date of reporting </p></b></td><td rowspan="3"><p><b>Current Status </p></b></td><td><p><b>Comments/ Action taken </p></b></td>
+ <td rowspan="3"><p><b>Sl. No. </p></b></td>
+ <td><p><b>Name of </p></b></td>
+ <td rowspan="3"><p><b>Name of District </p></b></td>
+ <td rowspan="3"><p><b>Disease/ Illness </p></b></td>
+ <td rowspan="3"><p><b>No. of Cases </p></b></td>
+ <td rowspan="3"><p><b>No. of Deaths </p></b></td>
+ <td rowspan="3"><p><b>Date of start of outbreak </p></b></td>
+ <td rowspan="3"><p><b>Date of reporting </p></b></td>
+ <td rowspan="3"><p><b>Current Status </p></b></td>
+ <td><p><b>Comments/ Action taken </p></b></td>
</tr>
<tr>
- <td rowspan="2"><p><b>State/UT </p></b></td><td><p><b> </p></b></td>
+ <td rowspan="2"><p><b>State/UT </p></b></td>
+ <td><p><b> </p></b></td>
</tr>
<tr>
<td><p><b> </p></b></td>
</tr>
<tr>
- <td rowspan="4"><p><b> </p></b></td><td rowspan="4"><p><b> </p><p> </p><p> </p><p>West Bengal </p><p> </p></b></td><td rowspan="4"><p><b>Bankura </p><p> </p></b></td><td><p><b>xix. Acute </p></b></td><td rowspan="2"><p>46 </p></td><td rowspan="2"><p>0 </p></td><td rowspan="2"><p>10/11/13 </p></td><td rowspan="2"><p>15/11/13 </p></td><td rowspan="2"><p>Under Control </p></td><td rowspan="2"><p>Cases of loose motion and vomiting reported from Village Daldali, SC Binodnagar, Block Onda, District Bankura. District RRT and Block health team investigated the outbreak. Active search for cases done. Cases treated at local health centre. 2 stool samples collected were negative for cholera culture. Out of 3 water samples collected 1 sample was non potable. Chlorination of water sources done. Health education given regarding safe drinking water and sanitation. </p></td>
+ <td rowspan="4"><p><b> </p></b></td>
+ <td rowspan="4"><p><b> </p><p> </p><p> </p><p>West Bengal </p><p> </p></b></td>
+ <td rowspan="4"><p><b>Bankura </p><p> </p></b></td>
+ <td><p><b>xix. Acute </p></b></td>
+ <td rowspan="2"><p>46 </p></td>
+ <td rowspan="2"><p>0 </p></td>
+ <td rowspan="2"><p>10/11/13 </p></td>
+ <td rowspan="2"><p>15/11/13 </p></td>
+ <td rowspan="2"><p>Under Control </p></td>
+ <td rowspan="2"><p>Cases of loose motion and vomiting reported from Village Daldali, SC Binodnagar, Block Onda, District Bankura. District RRT and Block health team investigated the outbreak. Active search for cases done. Cases treated at local health centre. 2 stool samples collected were negative for cholera culture. Out of 3 water samples collected 1 sample was non potable. Chlorination of water sources done. Health education given regarding safe drinking water and sanitation. </p></td>
</tr>
<tr>
<td><p><b>Diarrhoeal Disease </p></b></td>
</tr>
<tr>
- <td><p><b>xx. Acute </p></b></td><td rowspan="2"><p>34 </p></td><td rowspan="2"><p>0 </p></td><td rowspan="2"><p>10/11/13 </p></td><td rowspan="2"><p>14/11/13 </p></td><td rowspan="2"><p>Under Control </p></td><td rowspan="2"><p>Cases of loose motion and vomiting reported from Village Icharia, SC Mankhamar, Block Onda, District Bankura. District RRT and Block health team investigated the outbreak. House to house survey done. All cases treated locally. 4 stool samples collected were negative for cholera culture. Out of 34 water samples collected, 8 samples were non potable. Chlorination of water sources done. Health education given regarding safe drinking water and sanitation. </p></td>
+ <td><p><b>xx. Acute </p></b></td>
+ <td rowspan="2"><p>34 </p></td>
+ <td rowspan="2"><p>0 </p></td>
+ <td rowspan="2"><p>10/11/13 </p></td>
+ <td rowspan="2"><p>14/11/13 </p></td>
+ <td rowspan="2"><p>Under Control </p></td>
+ <td rowspan="2"><p>Cases of loose motion and vomiting reported from Village Icharia, SC Mankhamar, Block Onda, District Bankura. District RRT and Block health team investigated the outbreak. House to house survey done. All cases treated locally. 4 stool samples collected were negative for cholera culture. Out of 34 water samples collected, 8 samples were non potable. Chlorination of water sources done. Health education given regarding safe drinking water and sanitation. </p></td>
</tr>
<tr>
<td><p><b>Diarrhoeal Disease </p></b></td>
@@ -36,13 +62,29 @@
<td colspan="9"><p> <b>DISEASE OUTBREAKS OF PREVIOUS WEEKS REPORTED LATE </p></b></td>
</tr>
<tr>
- <td rowspan="2"><p><b>Sl. No </p></b></td><td><p><b>Name of </p></b></td><td rowspan="2"><p><b>Name of District </p></b></td><td rowspan="2"><p><b>Disease/ Illness </p></b></td><td rowspan="2"><p><b>Cases </p></b></td><td rowspan="2"><p><b>Deaths </p></b></td><td rowspan="2"><p><b>Date of start of outbreak </p></b></td><td rowspan="2"><p><b>Current Status </p></b></td><td rowspan="2"><p><b>Comments/ Action taken </p></b></td>
+ <td rowspan="2"><p><b>Sl. No </p></b></td>
+ <td><p><b>Name of </p></b></td>
+ <td rowspan="2"><p><b>Name of District </p></b></td>
+ <td rowspan="2"><p><b>Disease/ Illness </p></b></td>
+ <td rowspan="2"><p><b>Cases </p></b></td>
+ <td rowspan="2"><p><b>Deaths </p></b></td>
+ <td rowspan="2"><p><b>Date of start of outbreak </p></b></td>
+ <td rowspan="2"><p><b>Current Status </p></b></td>
+ <td rowspan="2"><p><b>Comments/ Action taken </p></b></td>
</tr>
<tr>
<td><p><b>State/UT </p></b></td>
</tr>
<tr>
- <td rowspan="10"><p><b>1 </p></b></td><td rowspan="10"><p><b> </p><p>Bihar </p><p> </p></b></td><td rowspan="4"><p><b>Madhubani </p></b></td><td></td><td rowspan="4"><p>69 </p></td><td rowspan="4"><p>0 </p></td><td rowspan="4"><p>30/09/13 </p></td><td rowspan="4"><p>Under Control </p></td><td rowspan="4"><p>Cases of diarrhoea and vomiting reported from Village Indra Mandal tola, SC Sugapatti, PHC Phulparas, District Madhubani. District RRT investigated the outbreak. House to house survey done. Medical camp organized. Symptomatic treatement given to cases. ORS packets and halogen tablets distributed in the community. Chlorination of water sources done. IEC done regarding safe drinking water and sanitation. </p></td>
+ <td rowspan="10"><p><b>1 </p></b></td>
+ <td rowspan="10"><p><b> </p><p>Bihar </p><p> </p></b></td>
+ <td rowspan="4"><p><b>Madhubani </p></b></td>
+ <td></td>
+ <td rowspan="4"><p>69 </p></td>
+ <td rowspan="4"><p>0 </p></td>
+ <td rowspan="4"><p>30/09/13 </p></td>
+ <td rowspan="4"><p>Under Control </p></td>
+ <td rowspan="4"><p>Cases of diarrhoea and vomiting reported from Village Indra Mandal tola, SC Sugapatti, PHC Phulparas, District Madhubani. District RRT investigated the outbreak. House to house survey done. Medical camp organized. Symptomatic treatement given to cases. ORS packets and halogen tablets distributed in the community. Chlorination of water sources done. IEC done regarding safe drinking water and sanitation. </p></td>
</tr>
<tr>
<td><p><b>xxi. Acute </p></b></td>
@@ -54,7 +96,13 @@
<td><p><b>Disease </p></b></td>
</tr>
<tr>
- <td rowspan="4"><p><b>Madhubani </p></b></td><td></td><td rowspan="4"><p>30 </p></td><td rowspan="4"><p>1 </p></td><td rowspan="4"><p>28/10/13 </p></td><td rowspan="4"><p>Under Control </p></td><td rowspan="4"><p>Cases of diarrhoea and vomiting reported from Village/SC Rupauli, PHC Jhanjharpur, District Madhubani. District RRT and Block health team investigated the outbreak. Active search for cases done. Medical camp organized. All cases treated. One death occurred in 14yr old female child. ORS packets and halogen tablets distributed. Chlorination of water sources done. IEC activity regarding safe drinking water done. </p></td>
+ <td rowspan="4"><p><b>Madhubani </p></b></td>
+ <td></td>
+ <td rowspan="4"><p>30 </p></td>
+ <td rowspan="4"><p>1 </p></td>
+ <td rowspan="4"><p>28/10/13 </p></td>
+ <td rowspan="4"><p>Under Control </p></td>
+ <td rowspan="4"><p>Cases of diarrhoea and vomiting reported from Village/SC Rupauli, PHC Jhanjharpur, District Madhubani. District RRT and Block health team investigated the outbreak. Active search for cases done. Medical camp organized. All cases treated. One death occurred in 14yr old female child. ORS packets and halogen tablets distributed. Chlorination of water sources done. IEC activity regarding safe drinking water done. </p></td>
</tr>
<tr>
<td><p><b>xxii. Acute </p></b></td>
@@ -66,7 +114,13 @@
<td><p><b>Disease </p></b></td>
</tr>
<tr>
- <td rowspan="2"><p><b>Katihar </p></b></td><td><p><b>xxiii. Acute </p></b></td><td rowspan="2"><p>13 </p></td><td rowspan="2"><p>3 </p></td><td rowspan="2"><p>24/10/13 </p></td><td rowspan="2"><p>Under control </p></td><td rowspan="2"><p>Cases of diarrhoea reported from Village Ahuta, Alipur, SC Lachhor, PHC/Block Balrampur, District Katihar. District RRT investigated the outbreak. House to house survey done. Cases occurred in a Adiwasi community. 3 deaths occurred in 45yr, 35yr and 5yr old male. Temporary medical camps organized. All cases treated symptomatically. Chlorination of water sources done. Health education given. </p></td>
+ <td rowspan="2"><p><b>Katihar </p></b></td>
+ <td><p><b>xxiii. Acute </p></b></td>
+ <td rowspan="2"><p>13 </p></td>
+ <td rowspan="2"><p>3 </p></td>
+ <td rowspan="2"><p>24/10/13 </p></td>
+ <td rowspan="2"><p>Under control </p></td>
+ <td rowspan="2"><p>Cases of diarrhoea reported from Village Ahuta, Alipur, SC Lachhor, PHC/Block Balrampur, District Katihar. District RRT investigated the outbreak. House to house survey done. Cases occurred in a Adiwasi community. 3 deaths occurred in 45yr, 35yr and 5yr old male. Temporary medical camps organized. All cases treated symptomatically. Chlorination of water sources done. Health education given. </p></td>
</tr>
<tr>
<td><p><b>Diarrhoeal Disease </p></b></td>
@@ -79,5 +133,6 @@
</p>
<p>
-</p></body>
+</p></div>
+</body>
</html>
diff --git a/extract/test/twotables_2.pdf.mutool.html.ref b/extract/test/twotables_2.pdf.mutool.html.ref
index 84d1e69d..d51cba7e 100644
--- a/extract/test/twotables_2.pdf.mutool.html.ref
+++ b/extract/test/twotables_2.pdf.mutool.html.ref
@@ -1,5 +1,6 @@
<html>
<body>
+<div>
<p><b>Table 6 : DISTRIBUTION (%) OF HOUSEHOLDS BY LITERACY STATUS OF MALE HEAD OF THE HOUSEHOLD
@@ -7,43 +8,128 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td></td><td rowspan="2"><p><b>n </p></b></td><td colspan="6"><p><b>Literacy Status </p></b></td>
+ <td></td>
+ <td rowspan="2"><p><b>n </p></b></td>
+ <td colspan="6"><p><b>Literacy Status </p></b></td>
</tr>
<tr>
- <td><p><b>State</p></b></td><td><p><b>Illiterate</p></b></td><td><p><b>Read &amp; Write</p></b></td><td><p><b>1-4 std.</p></b></td><td><p><b>5-8 std.</p></b></td><td><p><b>9-12 std.</p></b></td><td><p><b>College</p></b></td>
+ <td><p><b>State</p></b></td>
+ <td><p><b>Illiterate</p></b></td>
+ <td><p><b>Read &amp; Write</p></b></td>
+ <td><p><b>1-4 std.</p></b></td>
+ <td><p><b>5-8 std.</p></b></td>
+ <td><p><b>9-12 std.</p></b></td>
+ <td><p><b>College</p></b></td>
</tr>
<tr>
- <td><p>Kerala</p></td><td><p>2400</p></td><td><p>7.2</p></td><td><p>0.5</p></td><td><p>25.3</p></td><td><p>20.1</p></td><td><p>41.5</p></td><td><p>5.5</p></td>
+ <td><p>Kerala</p></td>
+ <td><p>2400</p></td>
+ <td><p>7.2</p></td>
+ <td><p>0.5</p></td>
+ <td><p>25.3</p></td>
+ <td><p>20.1</p></td>
+ <td><p>41.5</p></td>
+ <td><p>5.5</p></td>
</tr>
<tr>
- <td><p>Tamil Nadu</p></td><td><p>2400</p></td><td><p>21.4</p></td><td><p>2.3</p></td><td><p>8.8</p></td><td><p>35.5</p></td><td><p>25.8</p></td><td><p>6.2</p></td>
+ <td><p>Tamil Nadu</p></td>
+ <td><p>2400</p></td>
+ <td><p>21.4</p></td>
+ <td><p>2.3</p></td>
+ <td><p>8.8</p></td>
+ <td><p>35.5</p></td>
+ <td><p>25.8</p></td>
+ <td><p>6.2</p></td>
</tr>
<tr>
- <td><p>Karnataka</p></td><td><p>2399</p></td><td><p>37.4</p></td><td><p>2.8</p></td><td><p>12.5</p></td><td><p>18.3</p></td><td><p>23.1</p></td><td><p>5.8</p></td>
+ <td><p>Karnataka</p></td>
+ <td><p>2399</p></td>
+ <td><p>37.4</p></td>
+ <td><p>2.8</p></td>
+ <td><p>12.5</p></td>
+ <td><p>18.3</p></td>
+ <td><p>23.1</p></td>
+ <td><p>5.8</p></td>
</tr>
<tr>
- <td><p>Andhra Pradesh</p></td><td><p>2400</p></td><td><p>54.0</p></td><td><p>1.7</p></td><td><p>8.4</p></td><td><p>13.2</p></td><td><p>18.8</p></td><td><p>3.9</p></td>
+ <td><p>Andhra Pradesh</p></td>
+ <td><p>2400</p></td>
+ <td><p>54.0</p></td>
+ <td><p>1.7</p></td>
+ <td><p>8.4</p></td>
+ <td><p>13.2</p></td>
+ <td><p>18.8</p></td>
+ <td><p>3.9</p></td>
</tr>
<tr>
- <td><p>Maharashtra</p></td><td><p>2400</p></td><td><p>22.0</p></td><td><p>0.9</p></td><td><p>17.3</p></td><td><p>20.3</p></td><td><p>32.6</p></td><td><p>7.0</p></td>
+ <td><p>Maharashtra</p></td>
+ <td><p>2400</p></td>
+ <td><p>22.0</p></td>
+ <td><p>0.9</p></td>
+ <td><p>17.3</p></td>
+ <td><p>20.3</p></td>
+ <td><p>32.6</p></td>
+ <td><p>7.0</p></td>
</tr>
<tr>
- <td><p>Gujarat</p></td><td><p>2390</p></td><td><p>28.6</p></td><td><p>0.1</p></td><td><p>14.4</p></td><td><p>23.1</p></td><td><p>26.9</p></td><td><p>6.8</p></td>
+ <td><p>Gujarat</p></td>
+ <td><p>2390</p></td>
+ <td><p>28.6</p></td>
+ <td><p>0.1</p></td>
+ <td><p>14.4</p></td>
+ <td><p>23.1</p></td>
+ <td><p>26.9</p></td>
+ <td><p>6.8</p></td>
</tr>
<tr>
- <td><p>Madhya Pradesh</p></td><td><p>2402</p></td><td><p>29.1</p></td><td><p>3.4</p></td><td><p>8.5</p></td><td><p>35.1</p></td><td><p>13.3</p></td><td><p>10.6</p></td>
+ <td><p>Madhya Pradesh</p></td>
+ <td><p>2402</p></td>
+ <td><p>29.1</p></td>
+ <td><p>3.4</p></td>
+ <td><p>8.5</p></td>
+ <td><p>35.1</p></td>
+ <td><p>13.3</p></td>
+ <td><p>10.6</p></td>
</tr>
<tr>
- <td><p>Orissa</p></td><td><p>2405</p></td><td><p>33.2</p></td><td><p>1.0</p></td><td><p>10.4</p></td><td><p>25.7</p></td><td><p>21.2</p></td><td><p>8.5</p></td>
+ <td><p>Orissa</p></td>
+ <td><p>2405</p></td>
+ <td><p>33.2</p></td>
+ <td><p>1.0</p></td>
+ <td><p>10.4</p></td>
+ <td><p>25.7</p></td>
+ <td><p>21.2</p></td>
+ <td><p>8.5</p></td>
</tr>
<tr>
- <td><p>West Bengal</p></td><td><p>2293</p></td><td><p>41.7</p></td><td><p>4.4</p></td><td><p>13.2</p></td><td><p>17.1</p></td><td><p>21.2</p></td><td><p>2.4</p></td>
+ <td><p>West Bengal</p></td>
+ <td><p>2293</p></td>
+ <td><p>41.7</p></td>
+ <td><p>4.4</p></td>
+ <td><p>13.2</p></td>
+ <td><p>17.1</p></td>
+ <td><p>21.2</p></td>
+ <td><p>2.4</p></td>
</tr>
<tr>
- <td><p>Uttar Pradesh</p></td><td><p>2400</p></td><td><p>35.3</p></td><td><p>2.1</p></td><td><p>4.5</p></td><td><p>23.3</p></td><td><p>27.1</p></td><td><p>7.6</p></td>
+ <td><p>Uttar Pradesh</p></td>
+ <td><p>2400</p></td>
+ <td><p>35.3</p></td>
+ <td><p>2.1</p></td>
+ <td><p>4.5</p></td>
+ <td><p>23.3</p></td>
+ <td><p>27.1</p></td>
+ <td><p>7.6</p></td>
</tr>
<tr>
- <td><p><b>Pooled</p></b></td><td><p><b>23889</p></b></td><td><p><b>30.9</p></b></td><td><p><b>1.9</p></b></td><td><p><b>12.3</p></b></td><td><p><b>23.2</p></b></td><td><p><b>25.2</p></b></td><td><p><b>6.4</p></b></td>
+ <td><p><b>Pooled</p></b></td>
+ <td><p><b>23889</p></b></td>
+ <td><p><b>30.9</p></b></td>
+ <td><p><b>1.9</p></b></td>
+ <td><p><b>12.3</p></b></td>
+ <td><p><b>23.2</p></b></td>
+ <td><p><b>25.2</p></b></td>
+ <td><p><b>6.4</p></b></td>
</tr>
</table>
@@ -54,48 +140,134 @@
<table border="1" style="border-collapse:collapse">
<tr>
- <td></td><td rowspan="2"><p><b>n</p></b></td><td colspan="6"><p><b>Literacy Status</p></b></td>
+ <td></td>
+ <td rowspan="2"><p><b>n</p></b></td>
+ <td colspan="6"><p><b>Literacy Status</p></b></td>
</tr>
<tr>
- <td><p><b>State</p></b></td><td><p><b>Illiterate</p></b></td><td><p><b>Read &amp; Write</p></b></td><td><p><b>1-4 std.</p></b></td><td><p><b>5-8 std.</p></b></td><td><p><b>9-12 std.</p></b></td><td><p><b>College</p></b></td>
+ <td><p><b>State</p></b></td>
+ <td><p><b>Illiterate</p></b></td>
+ <td><p><b>Read &amp; Write</p></b></td>
+ <td><p><b>1-4 std.</p></b></td>
+ <td><p><b>5-8 std.</p></b></td>
+ <td><p><b>9-12 std.</p></b></td>
+ <td><p><b>College</p></b></td>
</tr>
<tr>
- <td><p>Kerala</p></td><td><p>2400</p></td><td><p>8.8</p></td><td><p>0.3</p></td><td><p>20.1</p></td><td><p>17.0</p></td><td><p>45.6</p></td><td><p>8.2</p></td>
+ <td><p>Kerala</p></td>
+ <td><p>2400</p></td>
+ <td><p>8.8</p></td>
+ <td><p>0.3</p></td>
+ <td><p>20.1</p></td>
+ <td><p>17.0</p></td>
+ <td><p>45.6</p></td>
+ <td><p>8.2</p></td>
</tr>
<tr>
- <td><p>Tamil Nadu</p></td><td><p>2400</p></td><td><p>29.9</p></td><td><p>1.5</p></td><td><p>8.5</p></td><td><p>33.1</p></td><td><p>22.3</p></td><td><p>4.8</p></td>
+ <td><p>Tamil Nadu</p></td>
+ <td><p>2400</p></td>
+ <td><p>29.9</p></td>
+ <td><p>1.5</p></td>
+ <td><p>8.5</p></td>
+ <td><p>33.1</p></td>
+ <td><p>22.3</p></td>
+ <td><p>4.8</p></td>
</tr>
<tr>
- <td><p>Karnataka</p></td><td><p>2399</p></td><td><p>47.9</p></td><td><p>2.5</p></td><td><p>10.2</p></td><td><p>18.8</p></td><td><p>18.4</p></td><td><p>2.3</p></td>
+ <td><p>Karnataka</p></td>
+ <td><p>2399</p></td>
+ <td><p>47.9</p></td>
+ <td><p>2.5</p></td>
+ <td><p>10.2</p></td>
+ <td><p>18.8</p></td>
+ <td><p>18.4</p></td>
+ <td><p>2.3</p></td>
</tr>
<tr>
- <td><p>Andhra Pradesh</p></td><td><p>2400</p></td><td><p>66.4</p></td><td><p>0.7</p></td><td><p>6.8</p></td><td><p>12.9</p></td><td><p>11.4</p></td><td><p>1.8</p></td>
+ <td><p>Andhra Pradesh</p></td>
+ <td><p>2400</p></td>
+ <td><p>66.4</p></td>
+ <td><p>0.7</p></td>
+ <td><p>6.8</p></td>
+ <td><p>12.9</p></td>
+ <td><p>11.4</p></td>
+ <td><p>1.8</p></td>
</tr>
<tr>
- <td><p>Maharashtra</p></td><td><p>2400</p></td><td><p>41.3</p></td><td><p>0.6</p></td><td><p>14.1</p></td><td><p>20.1</p></td><td><p>21.6</p></td><td><p>2.2</p></td>
+ <td><p>Maharashtra</p></td>
+ <td><p>2400</p></td>
+ <td><p>41.3</p></td>
+ <td><p>0.6</p></td>
+ <td><p>14.1</p></td>
+ <td><p>20.1</p></td>
+ <td><p>21.6</p></td>
+ <td><p>2.2</p></td>
</tr>
<tr>
- <td><p>Gujarat</p></td><td><p>2390</p></td><td><p>57.6</p></td><td><p>0.1</p></td><td><p>10.3</p></td><td><p>16.5</p></td><td><p>12.9</p></td><td><p>2.7</p></td>
+ <td><p>Gujarat</p></td>
+ <td><p>2390</p></td>
+ <td><p>57.6</p></td>
+ <td><p>0.1</p></td>
+ <td><p>10.3</p></td>
+ <td><p>16.5</p></td>
+ <td><p>12.9</p></td>
+ <td><p>2.7</p></td>
</tr>
<tr>
- <td><p>Madhya Pradesh</p></td><td><p>2402</p></td><td><p>58.7</p></td><td><p>2.2</p></td><td><p>6.6</p></td><td><p>24.1</p></td><td><p>5.3</p></td><td><p>3.0</p></td>
+ <td><p>Madhya Pradesh</p></td>
+ <td><p>2402</p></td>
+ <td><p>58.7</p></td>
+ <td><p>2.2</p></td>
+ <td><p>6.6</p></td>
+ <td><p>24.1</p></td>
+ <td><p>5.3</p></td>
+ <td><p>3.0</p></td>
</tr>
<tr>
- <td><p>Orissa</p></td><td><p>2405</p></td><td><p>50.0</p></td><td><p>0.9</p></td><td><p>8.1</p></td><td><p>21.9</p></td><td><p>15.1</p></td><td><p>4.0</p></td>
+ <td><p>Orissa</p></td>
+ <td><p>2405</p></td>
+ <td><p>50.0</p></td>
+ <td><p>0.9</p></td>
+ <td><p>8.1</p></td>
+ <td><p>21.9</p></td>
+ <td><p>15.1</p></td>
+ <td><p>4.0</p></td>
</tr>
<tr>
- <td><p>West Bengal</p></td><td><p>2293</p></td><td><p>49.1</p></td><td><p>4.8</p></td><td><p>11.2</p></td><td><p>16.8</p></td><td><p>17.1</p></td><td><p>1.1</p></td>
+ <td><p>West Bengal</p></td>
+ <td><p>2293</p></td>
+ <td><p>49.1</p></td>
+ <td><p>4.8</p></td>
+ <td><p>11.2</p></td>
+ <td><p>16.8</p></td>
+ <td><p>17.1</p></td>
+ <td><p>1.1</p></td>
</tr>
<tr>
- <td><p>Uttar Pradesh</p></td><td><p>2400</p></td><td><p>67.3</p></td><td><p>2.0</p></td><td><p>3.1</p></td><td><p>17.2</p></td><td><p>7.7</p></td><td><p>2.7</p></td>
+ <td><p>Uttar Pradesh</p></td>
+ <td><p>2400</p></td>
+ <td><p>67.3</p></td>
+ <td><p>2.0</p></td>
+ <td><p>3.1</p></td>
+ <td><p>17.2</p></td>
+ <td><p>7.7</p></td>
+ <td><p>2.7</p></td>
</tr>
<tr>
- <td><p><b>Pooled</p></b></td><td><p><b>23889</p></b></td><td><p><b>47.7</p></b></td><td><p><b>1.5</p></b></td><td><p><b>9.9</p></b></td><td><p><b>19.9</p></b></td><td><p><b>17.8</p></b></td><td><p><b>3.3</p></b></td>
+ <td><p><b>Pooled</p></b></td>
+ <td><p><b>23889</p></b></td>
+ <td><p><b>47.7</p></b></td>
+ <td><p><b>1.5</p></b></td>
+ <td><p><b>9.9</p></b></td>
+ <td><p><b>19.9</p></b></td>
+ <td><p><b>17.8</p></b></td>
+ <td><p><b>3.3</p></b></td>
</tr>
</table>
<p>NNMB 75 Rural-Third Repeat Survey 2011-12
-</p></body>
+</p></div>
+</body>
</html>