-
Notifications
You must be signed in to change notification settings - Fork 6
#106: Added element <toc-text> as child element of <toc-entry>. #112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
PaulRambags
wants to merge
7
commits into
master
Choose a base branch
from
issues/106
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
178f95c
#106: Added element <toc-text> as child element of <toc-entry>.
PaulRambags 4eee8ae
#106: Do not keep temporary test file
PaulRambags b023222
#106: Added developer "Paul Rambags" to build.gradle
PaulRambags 6493bfc
#106: Fix for QName TOC_TEXT_RESUMED.
PaulRambags 4a48895
#106: Added @Deprecate annotations, removed unused ATTR_USE_TOC_TEXT_…
PaulRambags f94d4dd
#106: Removed line of comment
PaulRambags 4ff3feb
#106: Issue a warning message when inline content is used in a toc-en…
PaulRambags File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
47 changes: 47 additions & 0 deletions
47
integrationtest/org/daisy/dotify/formatter/test/resource-files/dp2/toc-text-expected.pef
This file contains hidden or 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,47 @@ | ||
| <?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/">toc-text</dc:title> | ||
| <dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">Tests toc-text with mixed content.</dc:description> | ||
| <dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">application/x-pef+xml</dc:format> | ||
| </meta> | ||
| </head> | ||
| <body> | ||
| <volume cols="15" rows="6" rowgap="0" duplex="false"> | ||
| <section> | ||
| <page> | ||
| <row>⠼⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠼⠃</row> | ||
| <row>⠿⠿⠿⠿⠀⠼⠚⠀⠼⠁</row> | ||
| <row>⠿⠿</row> | ||
| <row>⠿⠿⠀⠀⠀⠀⠀⠼⠃</row> | ||
| <row>⠿⠿⠿⠿</row> | ||
| </page> | ||
| </section> | ||
| <section> | ||
| <page> | ||
| <row>⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀</row> | ||
| <row>⠿⠿</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| </page> | ||
| <page> | ||
| <row>⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀</row> | ||
| <row>⠿⠿</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| </page> | ||
| <page> | ||
| <row>⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀</row> | ||
| <row>⠿⠿⠿</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| <row>⠤⠤⠤⠤⠤⠀⠤⠤⠤⠤⠤</row> | ||
| </page> | ||
| </section> | ||
| </volume> | ||
| </body> | ||
| </pef> |
52 changes: 52 additions & 0 deletions
52
...iontest/org/daisy/dotify/formatter/test/resource-files/dp2/toc-text-input-deprecated.obfl
This file contains hidden or 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,52 @@ | ||
| <?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/">toc-text-input-deprecated</dc:title> | ||
| <dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">Tests toc-entry elements without a toc-text child element (deprecated, #106).</dc:description> | ||
| </meta> | ||
| <layout-master name="main" duplex="false" page-width="15" page-height="6"> | ||
| <default-template> | ||
| <header> | ||
| <field> | ||
| <marker-reference marker="marker" direction="forward" scope="sequence"/> | ||
| </field> | ||
| <field> | ||
| <marker-reference marker="marker" direction="backward" scope="sequence"/> | ||
| </field> | ||
| </header> | ||
| <footer/> | ||
| </default-template> | ||
| </layout-master> | ||
| <table-of-contents name="toc"> | ||
| <toc-entry ref-id="ch_1"> | ||
| ⠿⠿⠿⠿ <evaluate expression="(- 1 1)"/> | ||
| <page-number ref-id="ch_1" number-format="default"/> | ||
| <marker class="marker" value="1"/> | ||
| </toc-entry> | ||
| <toc-entry ref-id="ch_2"> | ||
| ⠿⠿<br/>⠿⠿ <leader position="7"/><page-number ref-id="ch_2" number-format="default"/> | ||
| <marker class="marker" value="2"/> | ||
| <toc-entry ref-id="ch_2_2"> | ||
| ⠿⠿⠿⠿ | ||
| </toc-entry> | ||
| </toc-entry> | ||
| </table-of-contents> | ||
| <volume-template sheets-in-volume-max="100"> | ||
| <pre-content> | ||
| <toc-sequence toc="toc" master="main" range="volume"/> | ||
| </pre-content> | ||
| </volume-template> | ||
| <sequence master="main"> | ||
| <block id="ch_1" translate="">⠿⠿ </block> | ||
| <block>⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| </block> | ||
| <block id="ch_2" translate="">⠿⠿ </block> | ||
| <block>⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| <block id="ch_2_2" translate="">⠿⠿⠿ </block> | ||
| <block>⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| </block> | ||
| </block> | ||
| </sequence> | ||
| </obfl> |
58 changes: 58 additions & 0 deletions
58
integrationtest/org/daisy/dotify/formatter/test/resource-files/dp2/toc-text-input.obfl
This file contains hidden or 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,58 @@ | ||
| <?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/">toc-text</dc:title> | ||
| <dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">Tests toc-text with mixed content.</dc:description> | ||
| </meta> | ||
| <layout-master name="main" duplex="false" page-width="15" page-height="6"> | ||
| <default-template> | ||
| <header> | ||
| <field> | ||
| <marker-reference marker="marker" direction="forward" scope="sequence"/> | ||
| </field> | ||
| <field> | ||
| <marker-reference marker="marker" direction="backward" scope="sequence"/> | ||
| </field> | ||
| </header> | ||
| <footer/> | ||
| </default-template> | ||
| </layout-master> | ||
| <table-of-contents name="toc"> | ||
| <toc-entry ref-id="ch_1"> | ||
| <toc-text> | ||
| ⠿⠿⠿⠿ <evaluate expression="(- 1 1)"/> | ||
| <page-number ref-id="ch_1" number-format="default"/> | ||
| <marker class="marker" value="1"/> | ||
| </toc-text> | ||
| </toc-entry> | ||
| <toc-entry ref-id="ch_2"> | ||
| <toc-text> | ||
| ⠿⠿<br/>⠿⠿ <leader position="7"/><page-number ref-id="ch_2" number-format="default"/> | ||
| <marker class="marker" value="2"/> | ||
| </toc-text> | ||
| <toc-entry ref-id="ch_2_2"> | ||
| <toc-text> | ||
| ⠿⠿⠿⠿ | ||
| </toc-text> | ||
| </toc-entry> | ||
| </toc-entry> | ||
| </table-of-contents> | ||
| <volume-template sheets-in-volume-max="100"> | ||
| <pre-content> | ||
| <toc-sequence toc="toc" master="main" range="volume"/> | ||
| </pre-content> | ||
| </volume-template> | ||
| <sequence master="main"> | ||
| <block id="ch_1" translate="">⠿⠿ </block> | ||
| <block>⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| </block> | ||
| <block id="ch_2" translate="">⠿⠿ </block> | ||
| <block>⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| <block id="ch_2_2" translate="">⠿⠿⠿ </block> | ||
| <block>⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ ⠤⠤⠤⠤⠤ | ||
| </block> | ||
| </block> | ||
| </sequence> | ||
| </obfl> |
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.