-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supports BreakBefore.SHEET, added to dotify.api v4.3.0 (closes #54)
- Loading branch information
Showing
6 changed files
with
73 additions
and
3 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
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
27 changes: 27 additions & 0 deletions
27
...ontest/org/daisy/dotify/formatter/test/resource-files/dp2/break-before-sheet-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,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<pef xmlns="http://www.daisy.org/ns/2008/pef" version="2008-1"> | ||
<head> | ||
<meta> | ||
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">break-before-sheet</dc:title> | ||
<dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">Tests break-before="sheet".</dc:description> | ||
<dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/x-pef+xml</dc:format> | ||
</meta> | ||
</head> | ||
<body> | ||
<volume cols="10" rows="10" rowgap="0" duplex="true"> | ||
<section> | ||
<page> | ||
<row>⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀</row> | ||
<row>⠛⠛⠛</row> | ||
</page> | ||
<page> | ||
<row>⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀</row> | ||
</page> | ||
<page> | ||
<row>⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀</row> | ||
<row>⠤⠤⠤</row> | ||
</page> | ||
</section> | ||
</volume> | ||
</body> | ||
</pef> |
24 changes: 24 additions & 0 deletions
24
...tiontest/org/daisy/dotify/formatter/test/resource-files/dp2/break-before-sheet-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,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<obfl xmlns="http://www.daisy.org/ns/2011/obfl" version="2011-1" xml:lang="und" hyphenate="false"> | ||
<meta> | ||
<dc:title xmlns:dc="http://purl.org/dc/elements/1.1/">break-before-sheet</dc:title> | ||
<dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">Tests break-before="sheet".</dc:description> | ||
</meta> | ||
<layout-master name="a" duplex="true" page-width="10" page-height="10"> | ||
<default-template> | ||
<header> | ||
<field> | ||
<string value="⠇"/> | ||
</field> | ||
<field> | ||
<string value=""/> | ||
</field> | ||
</header> | ||
<footer/> | ||
</default-template> | ||
</layout-master> | ||
<sequence master="a"> | ||
<block>⠛⠛⠛</block> | ||
<block break-before="sheet">⠤⠤⠤</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