mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 22:57:50 +03:00
Add saveToCache() and loadFromCache() methods to CssParser for persisting parsed CSS rules to disk. The cache format includes: - Version byte for cache invalidation - Rule count - For each rule: length-prefixed selector string + CssStyle fields This allows skipping CSS file parsing on subsequent book opens by loading pre-parsed rules from cache. |
||
|---|---|---|
| .. | ||
| blocks | ||
| css | ||
| hyphenation | ||
| parsers | ||
| BookMetadataCache.cpp | ||
| BookMetadataCache.h | ||
| Page.cpp | ||
| Page.h | ||
| ParsedText.cpp | ||
| ParsedText.h | ||
| Section.cpp | ||
| Section.h | ||