format of document from cache is known
| 3933 | |
| 3934 | /// format of document from cache is known |
| 3935 | void 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 | |
| 3947 | void LVDocView::insertBookmarkPercentInfo(int start_page, int end_y, int percent) |
| 3948 | { |
no test coverage detected