kohyphen.h
The KoHyphenator class provides an interface to the libhnj hyphenation library.
Definition kohyphen.h:56
bool checkHyphenPos(const TQString &str, int pos, const TQString &lang) const
Checks if the letter in position pos is placed before the hyphen.
Definition kohyphen.cpp:153
static KoHyphenator * self()
Returns the single KoHyphenator instance (singleton pattern) Beware that this might throw an exceptio...
Definition kohyphen.cpp:41
char * hyphens(const TQString &str, const TQString &lang) const
Returns the pointer to the string in hnj_hyphen_hyphenate() format (that is hyphenation function from...
Definition kohyphen.cpp:98
TQString hyphenate(const TQString &str, const TQString &lang) const
Hyphenates the string str and returns the string with hyphenation marks in it.
Definition kohyphen.cpp:118
