mirror of
https://github.com/storytold/indd-utils.git
synced 2026-11-25 03:45:46 +01:00
Story chunk 0x2EE also holds the text orientation (u16 at 0: 0 Horizontal, 1 Vertical) and the frame type (u16 at 14: 0 TextFrameType, 1 FrameGridType). Over the 28,669 stories of all corpus pairs both match the IDML in every story; stories without the chunk are all TextFrameType and Horizontal. The converter writes StoryPreference FrameType and StoryOrientation from it; the orientation of the story's frames is used only for an unknown code. compare.py --exclude own/: - trustworthy coverage 97.55% -> 97.71% (11,986,627 -> 12,006,265); StoryPreference FrameType 0 -> 19,424 of 19,424, StoryOrientation 19,210 -> 19,424 of 19,424 - all pairs 95.72% -> 95.88% - extra values 26,256 (unchanged); all pairs 303,866 -> 304,533: the two attributes on the stories of stale pairs that the reference does not have