forked from mtmse/dotify.formatter.impl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da3bb59
commit b490696
Showing
5 changed files
with
63 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...aisy/dotify/formatter/test/resource-files/sequence-break/break-before-page-1-expected.pef
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<pef version="2008-1" xmlns="http://www.daisy.org/ns/2008/pef"> | ||
<head> | ||
<meta xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
<dc:format>application/x-pef+xml</dc:format> | ||
<dc:identifier>identifier?</dc:identifier> | ||
<dc:date>2020-08-10</dc:date> | ||
<dc:title>break-before="page" (1)</dc:title> | ||
<dc:description>Tests a scenario with two content sequences and the second one has break-before="page"</dc:description> | ||
</meta> | ||
</head> | ||
<body> | ||
<volume cols="10" rows="6" rowgap="0" duplex="false"> | ||
<section> | ||
<page> | ||
<row>⠤⠤⠤</row> | ||
</page> | ||
<page> | ||
<row>⠤⠤⠤</row> | ||
</page> | ||
</section> | ||
</volume> | ||
</body> | ||
</pef> |
19 changes: 19 additions & 0 deletions
19
.../daisy/dotify/formatter/test/resource-files/sequence-break/break-before-page-1-input.obfl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<obfl xmlns="http://www.daisy.org/ns/2011/obfl" version="2011-1" xml:lang="en"> | ||
<meta xmlns:dc="http://purl.org/dc/elements/1.1/"> | ||
<dc:title>break-before="page" (1)</dc:title> | ||
<dc:description>Tests a scenario with two content sequences and the | ||
second one has break-before="page"</dc:description> | ||
</meta> | ||
<layout-master name="main" page-width="10" page-height="6" duplex="false"> | ||
<default-template> | ||
<header/> | ||
<footer/> | ||
</default-template> | ||
</layout-master> | ||
<sequence master="main"> | ||
<block>⠤⠤⠤</block> | ||
</sequence> | ||
<sequence master="main" break-before="page"> | ||
<block>⠤⠤⠤</block> | ||
</sequence> | ||
</obfl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters