1.1 KiB
1.1 KiB
03-01 Summary
Outcome
Wave 1 landed the page metadata contract without breaking the existing offset-based book model.
- Added
RDEPUBTextPageBreakReason,RDEPUBTextAttachmentKind, andRDEPUBTextPageMetadatainRDEPUBReadingModels.swift - Added attributed-string keys in
RDEPUBTextRenderer.swiftfor block range/index, fragment id, and attachment kind - Extended
RDEPUBTextPagewithmetadata - Extended
RDEPUBTextChapterwithpageBreakReasons - Tagged normalized attributed content in
RDEPUBTextRendererSupport.normalizeReadingAttributesso later pagination can inspect block and attachment semantics
Compatibility
pageStartOffset,pageEndOffset,contentRange,fragmentOffsets, and chapter text continuity remain intact- Existing
RDEPUBTextBookpage lookup and location mapping continue to operate on absolute chapter offsets
Notes
This wave deliberately extended the current book contract instead of replacing it. That kept highlight/search/navigation consumers stable while creating a place to land richer pagination semantics in Wave 2.