|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
One titled entry in the table of contents. More...
#include <epub.h>
Data Fields | |
| char | title [k_epub_meta_len] |
| Navigation label text ("" if none). | |
| char | href [k_epub_max_path_len] |
| Target href (rel. | |
| uint8_t | depth |
| Nesting level; 0 == top level. | |
One titled entry in the table of contents.
href is stored exactly as the navigation document wrote it, relative to the OPF directory (the same convention as epub_book_t::chapter_paths), and may carry a #fragment that points at an anchor inside a chapter. depth is the nesting level: a top-level entry is 0, a sub-entry 1, and so on, so a renderer can indent a hierarchical TOC.
| uint8_t epub_toc_entry_t::depth |
Nesting level; 0 == top level.
Definition at line 145 of file epub.h.
Referenced by internal_toc_reserve().
| char epub_toc_entry_t::href[k_epub_max_path_len] |
Target href (rel.
to OPF dir).
Definition at line 144 of file epub.h.
Referenced by epub_toc_entry_to_chapter(), internal_nav_event_start(), and internal_ncx_event().
| char epub_toc_entry_t::title[k_epub_meta_len] |
Navigation label text ("" if none).
Definition at line 143 of file epub.h.
Referenced by etoc_read_toc(), internal_chapter_title(), internal_nav_event(), internal_nav_event_start(), internal_ncx_event(), and sh_epub_label().