This commit is contained in:
parent
55fdcbcb6d
commit
84654f2110
2
.gitignore
vendored
2
.gitignore
vendored
@ -40,7 +40,7 @@ test_output/
|
||||
examples/output/
|
||||
|
||||
# Generated data
|
||||
ereader_bookmarks/
|
||||
|
||||
positions/
|
||||
|
||||
# Debug scripts output
|
||||
|
||||
22
ereader_bookmarks/test_bookmarks.json
Normal file
22
ereader_bookmarks/test_bookmarks.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"demo_bookmark": {
|
||||
"chapter_index": 0,
|
||||
"block_index": 499,
|
||||
"word_index": 0,
|
||||
"table_row": 0,
|
||||
"table_col": 0,
|
||||
"list_item_index": 0,
|
||||
"remaining_pretext": null,
|
||||
"page_y_offset": 0
|
||||
},
|
||||
"stopped_at_page_10": {
|
||||
"chapter_index": 0,
|
||||
"block_index": 375,
|
||||
"word_index": 0,
|
||||
"table_row": 0,
|
||||
"table_col": 0,
|
||||
"list_item_index": 0,
|
||||
"remaining_pretext": null,
|
||||
"page_y_offset": 0
|
||||
}
|
||||
}
|
||||
10
ereader_bookmarks/test_position.json
Normal file
10
ereader_bookmarks/test_position.json
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"chapter_index": 0,
|
||||
"block_index": 499,
|
||||
"word_index": 0,
|
||||
"table_row": 0,
|
||||
"table_col": 0,
|
||||
"list_item_index": 0,
|
||||
"remaining_pretext": null,
|
||||
"page_y_offset": 0
|
||||
}
|
||||
@ -1,42 +0,0 @@
|
||||
{
|
||||
"path": [
|
||||
{
|
||||
"content_type": "document",
|
||||
"index": 0,
|
||||
"offset": 0,
|
||||
"metadata": {}
|
||||
},
|
||||
{
|
||||
"content_type": "chapter",
|
||||
"index": 3,
|
||||
"offset": 0,
|
||||
"metadata": {}
|
||||
},
|
||||
{
|
||||
"content_type": "block",
|
||||
"index": 8,
|
||||
"offset": 0,
|
||||
"metadata": {}
|
||||
},
|
||||
{
|
||||
"content_type": "paragraph",
|
||||
"index": 0,
|
||||
"offset": 0,
|
||||
"metadata": {}
|
||||
},
|
||||
{
|
||||
"content_type": "word",
|
||||
"index": 15,
|
||||
"offset": 5,
|
||||
"metadata": {}
|
||||
}
|
||||
],
|
||||
"rendering_metadata": {
|
||||
"font_scale": 1.2,
|
||||
"page_size": [
|
||||
600,
|
||||
800
|
||||
],
|
||||
"theme": "dark"
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user