Provide visual progress feedback during indexing

This commit is contained in:
jpirnay
2026-03-23 11:29:33 +01:00
parent 5458155e79
commit 2d1f635f10
5 changed files with 32 additions and 11 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class Section {
bool clearCache() const;
bool createSectionFile(int fontId, float lineCompression, bool extraParagraphSpacing, uint8_t paragraphAlignment,
uint16_t viewportWidth, uint16_t viewportHeight, bool hyphenationEnabled, bool embeddedStyle,
uint8_t imageRendering, const std::function<void()>& popupFn = nullptr);
uint8_t imageRendering, const std::function<void(int)>& progressFn = nullptr);
std::unique_ptr<Page> loadPageFromSectionFile();
// Look up the page number for an anchor id from the section cache file.