Created first test
This commit is contained in:
parent
80441c4ad9
commit
da9326a19e
4 changed files with 49 additions and 8 deletions
BIN
testdocuments/input/heading_with_page_break_before.odt
Normal file
BIN
testdocuments/input/heading_with_page_break_before.odt
Normal file
Binary file not shown.
24
testdocuments/model/heading_with_page_break_before.html
Normal file
24
testdocuments/model/heading_with_page_break_before.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!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;">
|
||||
<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;">BEFORE HEADING</p>
|
||||
</div>
|
||||
</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;">
|
||||
<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;page-break-before:always;margin-bottom:0.5007874rem;margin-right:0;text-align:center;">Heading</h1>
|
||||
<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;"><span style="font-size:8.0rem;font-family:'IPH Astra Serif',serif;">Tex</span></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue