Giter Site home page Giter Site logo

anu-prakash-dev / kchmviewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gyunaev/kchmviewer

0.0 0.0 0.0 1.84 MB

kchmviewer is a CHM (Winhelp) files viewer written on Qt/KDE. It can be build as a standalone Qt-based application, or a KDE application. The main point of kchmviewer is compatibility with non-English chm files, including most international charsets.

Home Page: http://www.ulduzsoft.com/linux/kchmviewer/

License: GNU General Public License v3.0

CMake 1.11% Shell 1.56% Batchfile 0.65% QMake 1.19% C 1.21% C++ 94.30%

kchmviewer's Introduction

1. OVERVIEW

KchmViewer 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.

The 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. 

KchmViewer is written by Georgy Yunaev ([email protected]), and is licensed under GNU GPL license. Please do NOT use this email for bug reporting; see below.


2. FEATURES

- Standalone viewer, depends on Qt4 only. Does not require KDE, GNOME or wxWidgets toolkit.
- Could be optionally built with KDE4 support, using KHTML and KDE dialogs.
- 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. 
- Correctly detects and shows encoding of any valid chm file. 
- Correctly shows non-English chm files, including Cyrillic, Chinese, Japanese and others. 
- Correctly searches in non-English chm files using chm built-in search index. 
- Shows an appropriate image for every TOC entry. 
- Has complete chm index support, including multiple index entries, cross-links and parent/child entries in index. 
- 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. 
- 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. 
- Has easy and powerful search-in-page support. 
- Allows to increase or decrease the font size, so physically handicapped people can read texts easily. 
- Has standard Back/Forward/Home navigation. 
- Can print the opened pages on a standard printer (usually via CUPS). 
- Has complex search query support. You can use search queries like "lazy people" +learn -not.


3. INSTALLATION

Usually 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.

Also 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.


3.1. Qt-only version

To compile Qt-only version of kchmviewer, follow the procedure:

> tar zxf kchmviewer-<version>.tar.gz
> cd kchmviewer-<version>
> qmake
> make
  
The compiled binary is in bin/kchmviewer. You could copy it somewhere, or use it as-is. It does not require installation.

If QtWebKit module is not found, you will get the following error:

> kchmviewwindow_qtwebkit.h:25:21: error: QWebView: No such file or directory

then you need to install the QtWebKit module.

  
3.2 KDE4 version

To compile the version of kchmviewer with KDE4 support, follow the procedure:

> tar zxf kchmviewer-<version>.tar.gz
> mkdir build
> cd build
> cmake ..
> make
> sudo make install

For KDE version the installation is required, since the KHTML KIO slave cannot be used in place.


4. USAGE
 
Usage of kchmviewer is simple:

 kchmviewer mychmfile.chm

for the rest of command-line options, see kchmviewer --help


5. BUG REPORTING

Please use [email protected] for bug reporting. 


6. THANKS

Thanks to:
- Jed Wing, the author of chmlib. This library is used by kchmviewer to access chm content.
- Razvan Cojocaru, the author of xchm. I used some ideas and chm processing code from xchm.
- Peter Volkov for various bug reports and improvement suggestions. 
- All the users, who report bugs, and suggest features. You help making kchmviewer better.

7. LICENSE

kchmviewer is distributed under GNU GPL license version 3.

kchmviewer's People

Contributors

gyunaev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.