MCPcopy Create free account
hub / github.com/buggins/coolreader / OnCacheFileFormatDetected

Method OnCacheFileFormatDetected

crengine/src/lvdocview.cpp:3935–3945  ·  view source on GitHub ↗

format of document from cache is known

Source from the content-addressed store, hash-verified

3933
3934/// format of document from cache is known
3935void LVDocView::OnCacheFileFormatDetected( doc_format_t fmt )
3936{
3937 // update document format id
3938 m_doc_format = fmt;
3939 // notify about format detection, to allow setting format-specific CSS
3940 if (m_callback) {
3941 m_callback->OnLoadFileFormatDetected(getDocFormat());
3942 }
3943 // set stylesheet
3944 updateDocStyleSheet();
3945}
3946
3947void LVDocView::insertBookmarkPercentInfo(int start_page, int end_y, int percent)
3948{

Callers 1

loadCacheFileContentMethod · 0.80

Calls 1

Tested by

no test coverage detected