Skip to content

add page progression direction and cache parsed root XML#6

Open
mskubenich wants to merge 1 commit into
SofieTorch:masterfrom
mskubenich:feature/page-progression-direction
Open

add page progression direction and cache parsed root XML#6
mskubenich wants to merge 1 commit into
SofieTorch:masterfrom
mskubenich:feature/page-progression-direction

Conversation

@mskubenich

Copy link
Copy Markdown

Hi Sofie,

The new getter returns a PageProgressionDirection? (ltr, rtl, or default), or null when the attribute is not available.

I also noticed that getting metadata, then items, then sections causes the same OPF/root XML document to be parsed three times independently. With pageProgressionDirection, it would become four times, so I thought it might be worth caching the parsed document.

Thank you in advance for your time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant