• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/H03-May-2022-4,5062,648

nsis/H03-May-2022-387313

packages/H03-May-2022-4137

po/H03-May-2022-18,99215,633

src/H03-May-2022-11,0107,851

templates/H20-May-2021-4240

tests/H20-May-2021-2313

COPYINGH A D20-May-202134.3 KiB675553

ChangeLogH A D20-May-202123.8 KiB488413

DBUS-bindingsH A D20-May-2021779 2315

FAQH A D20-May-20214.1 KiB6741

FindLibchm.cmakeH A D20-May-2021648 2015

READMEH A D20-May-20214.2 KiB9356

build-release.shH A D20-May-20213 KiB12883

build-win32-mingw.shH A D20-May-2021716 3013

build-windows.batH A D20-May-20211.6 KiB5638

kchmviewer.proH A D03-May-202273 54

README

11. OVERVIEW
2
3KchmViewer is a chm (MS HTML help file format) viewer, written in C++. Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget library, and does not depend on KDE or GNOME. It has full KDE4 support.
4
5The main advantage of KchmViewer is extended support for non-English languages. Unlike others, KchmViewer in most cases correctly detects chm file encoding, correctly shows tables of context of Russian, Korean, Chinese and Japanese help files. It also correctly searches text in non-English help files, including Korean, Chinese and Japanese.
6
7KchmViewer is written by Georgy Yunaev (gyunaev@ulduzsoft.com), and is licensed under GNU GPL license. Please do NOT use this email for bug reporting; see below.
8
9
102. FEATURES
11
12- Standalone viewer, depends on Qt4 only. Does not require KDE, GNOME or wxWidgets toolkit.
13- Could be optionally built with KDE4 support, using KHTML and KDE dialogs.
14- Completely safe and harmless. Does not support JavaScript in any way, optionally warns you before opening an external web page, or switching to another help file.
15- Correctly detects and shows encoding of any valid chm file.
16- Correctly shows non-English chm files, including Cyrillic, Chinese, Japanese and others.
17- Correctly searches in non-English chm files using chm built-in search index.
18- Shows an appropriate image for every TOC entry.
19- Has complete chm index support, including multiple index entries, cross-links and parent/child entries in index.
20- Persistent bookmarks support. Allows to store bookmarks even if "Favorites" window was not enabled for this chm file. Also stores the screen position for every bookmark. You can also edit/delete bookmarks.
21- For any opened chm file, stores the last opened window, search history, bookmark history, font size and so on, so when you open this file again, everything is always on the place.
22- Has easy and powerful search-in-page support.
23- Allows to increase or decrease the font size, so physically handicapped people can read texts easily.
24- Has standard Back/Forward/Home navigation.
25- Can print the opened pages on a standard printer (usually via CUPS).
26- Has complex search query support. You can use search queries like "lazy people" +learn -not.
27
28
293. INSTALLATION
30
31Usually kchmviewer is distributed in source code archive, so you need to compile it first. It requires Qt version 4.4 or higher. Note that you need to install qt4-devel and qt4-tools packages (the last one might be included in qt4-devel in your distribution), not just qt package.
32
33Also make sure you have chmlib-devel (some distros have it as libchm-devel) package installed. KDE build will check for its presence, but qmake does not have necessary functionality to do so. If you are getting errors regarding missing chm_lib.h file this means chmlib-devel is not installed.
34
35
363.1. Qt-only version
37
38To compile Qt-only version of kchmviewer, follow the procedure:
39
40> tar zxf kchmviewer-<version>.tar.gz
41> cd kchmviewer-<version>
42> qmake
43> make
44
45The compiled binary is in bin/kchmviewer. You could copy it somewhere, or use it as-is. It does not require installation.
46
47If QtWebKit module is not found, you will get the following error:
48
49> kchmviewwindow_qtwebkit.h:25:21: error: QWebView: No such file or directory
50
51then you need to install the QtWebKit module.
52
53
543.2 KDE4 version
55
56To compile the version of kchmviewer with KDE4 support, follow the procedure:
57
58> tar zxf kchmviewer-<version>.tar.gz
59> mkdir build
60> cd build
61> cmake ..
62> make
63> sudo make install
64
65For KDE version the installation is required, since the KHTML KIO slave cannot be used in place.
66
67
684. USAGE
69
70Usage of kchmviewer is simple:
71
72 kchmviewer mychmfile.chm
73
74for the rest of command-line options, see kchmviewer --help
75
76
775. BUG REPORTING
78
79Please use kchmviewer@ulduzsoft.com for bug reporting.
80
81
826. THANKS
83
84Thanks to:
85- Jed Wing, the author of chmlib. This library is used by kchmviewer to access chm content.
86- Razvan Cojocaru, the author of xchm. I used some ideas and chm processing code from xchm.
87- Peter Volkov for various bug reports and improvement suggestions.
88- All the users, who report bugs, and suggest features. You help making kchmviewer better.
89
907. LICENSE
91
92kchmviewer is distributed under GNU GPL license version 3.
93