More regression tests
This commit is contained in:
parent
8b4103a8f5
commit
50313e5f64
7 changed files with 348 additions and 13 deletions
BIN
testdocuments/input/list_in_section.odt
Normal file
BIN
testdocuments/input/list_in_section.odt
Normal file
Binary file not shown.
213
testdocuments/input/list_in_table_in_section.html
Normal file
213
testdocuments/input/list_in_table_in_section.html
Normal file
|
@ -0,0 +1,213 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ru-RU" xml:lang="ru-RU" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Default</title>
|
||||
<meta charset="UTF-8" />
|
||||
<style media="all" type="text/css">
|
||||
body {margin-left:auto;max-width:800px;font-size:1.0rem;font-family:'IPH Lib Serif';margin-right:auto;}
|
||||
</style>
|
||||
</head>
|
||||
<body dir="ltr">
|
||||
<div class="pageNum" page="1">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<table id="1table" style="border-spacing:0;table-layout:fixed;width:100%;margin-top:0;margin-bottom:0;border-collapse:separate;">
|
||||
<colgroup>
|
||||
<col style="width:49.999237%" />
|
||||
<col style="width:50.000763%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;">
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">2text text text text text text text text text text text text2 </p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="1">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 1</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:#f6f6f6;"> </div>
|
||||
<div class="pageNum" page="2">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<table id="1table" style="border-spacing:0;table-layout:fixed;width:100%;margin-top:0;margin-bottom:0;border-collapse:separate;">
|
||||
<colgroup>
|
||||
<col style="width:49.999237%" />
|
||||
<col style="width:50.000763%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;">
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">3text text text text text text text text text text text text3 </p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="2">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 2</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:#f6f6f6;"> </div>
|
||||
<div class="pageNum" page="3">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<table id="1table" style="border-spacing:0;table-layout:fixed;width:100%;margin-top:0;margin-bottom:0;border-collapse:separate;">
|
||||
<colgroup>
|
||||
<col style="width:49.999237%" />
|
||||
<col style="width:50.000763%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;">
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">4text text text text text text text text</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="3">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 3</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:#f6f6f6;"> </div>
|
||||
<div class="pageNum" page="4">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<table id="1table" style="border-spacing:0;table-layout:fixed;width:100%;margin-top:0;margin-bottom:0;border-collapse:separate;">
|
||||
<colgroup>
|
||||
<col style="width:49.999237%" />
|
||||
<col style="width:50.000763%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;"><ul style="list-style-type:disc;clear:left;margin-top:0;font-family:OpenSymbol;margin-bottom:0;"><li><p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">List first line</p></li><li><p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">text text text text text text text tex1 </p></li></ul></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="4">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 4</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:#f6f6f6;"> </div>
|
||||
<div class="pageNum" page="5">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<table id="1table" style="border-spacing:0;table-layout:fixed;width:100%;margin-top:0;margin-bottom:0;border-collapse:separate;">
|
||||
<colgroup>
|
||||
<col style="width:49.999237%" />
|
||||
<col style="width:50.000763%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;">
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">5text text 5</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="5">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 5</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:#f6f6f6;"> </div>
|
||||
<div class="pageNum" page="6">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<table id="1table" style="border-spacing:0;table-layout:fixed;width:100%;margin-top:0;margin-bottom:0;border-collapse:separate;">
|
||||
<colgroup>
|
||||
<col style="width:49.999237%" />
|
||||
<col style="width:50.000763%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;"><ul start="3" style="list-style-type:disc;clear:left;margin-top:0;font-family:OpenSymbol;margin-bottom:0;"><li><p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;"> text text text text4 </p></li></ul></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="6">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 6</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:#f6f6f6;"> </div>
|
||||
<div class="pageNum" page="7">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<table id="1table" style="border-spacing:0;table-layout:fixed;width:100%;margin-top:0;margin-bottom:0;border-collapse:separate;">
|
||||
<colgroup>
|
||||
<col style="width:49.999237%" />
|
||||
<col style="width:50.000763%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
<td style="vertical-align:top;">
|
||||
<p style="margin:0;font-size:1px"> </p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<ul start="4" style="list-style-type:disc;clear:left;margin-top:0;font-family:OpenSymbol;margin-bottom:0;">
|
||||
<li>
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">Numbering list 2</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="7">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<h1 id="toc0" style="margin-left:0;border:none;padding:0;font-weight:bold;clear:left;font-size:1.5166668rem;margin-top:0.9992126rem;font-family:'IPH Astra Serif',serif;margin-bottom:0.5007874rem;margin-right:0;text-align:center;">Heading 1</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="7">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 7</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
BIN
testdocuments/input/list_in_table_in_section.odt
Normal file
BIN
testdocuments/input/list_in_table_in_section.odt
Normal file
Binary file not shown.
64
testdocuments/model/list_in_section.html
Normal file
64
testdocuments/model/list_in_section.html
Normal file
|
@ -0,0 +1,64 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="ru-RU" xml:lang="ru-RU" xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Default</title>
|
||||
<meta charset="UTF-8" />
|
||||
<style media="all" type="text/css">
|
||||
body {margin-left:auto;max-width:800px;font-size:1.0rem;font-family:'IPH Lib Serif';margin-right:auto;}
|
||||
</style>
|
||||
</head>
|
||||
<body dir="ltr">
|
||||
<div class="pageNum" page="1">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<ul style="list-style-type:disc;clear:left;margin-top:0;font-family:OpenSymbol;margin-bottom:0;">
|
||||
<li>
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">List first </p>
|
||||
</li>
|
||||
<li>
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text 1tex </p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="1">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 1</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:red;"> </div>
|
||||
<div class="pageNum" page="2">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">2ext text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text </p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="2">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 2</p>
|
||||
</footer>
|
||||
</div>
|
||||
<div class="pageBreak" style="height:3em;margin-top:1em;margin-bottom:1em;background-color:red;"> </div>
|
||||
<div class="pageNum" page="3">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">3ext text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text </p>
|
||||
<ul start="3" style="list-style-type:disc;clear:left;margin-top:0;font-family:OpenSymbol;margin-bottom:0;">
|
||||
<li>
|
||||
<p class="Textbody" style="margin-left:0;border:none;padding:0;text-indent:2.1259842rem;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0.58346456rem;margin-right:0;">text</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="3">
|
||||
<div class="pageContainer" style="column-count: 1;">
|
||||
<h1 id="toc0" style="margin-left:0;border:none;padding:0;font-weight:bold;clear:left;font-size:1.5166668rem;margin-top:0.9992126rem;font-family:'IPH Astra Serif',serif;margin-bottom:0.5007874rem;margin-right:0;text-align:center;">Heading 1</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="pageNum" page="3">
|
||||
<div class="pageContainer" style="column-count: 1;"></div>
|
||||
<footer style="margin-top:1.1787401rem; height:auto; width:auto;">
|
||||
<p class="Footer" style="margin-left:0;border:none;padding:0;font-size:1.0rem;margin-top:0;font-family:'IPH Astra Serif',serif;margin-bottom:0;margin-right:0;">PAGE 3</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue