|
a/src/qtgui/plaintorich.cpp |
|
b/src/qtgui/plaintorich.cpp |
1 |
#ifndef lint
|
1 |
#ifndef lint
|
2 |
static char rcsid[] = "@(#$Id: plaintorich.cpp,v 1.4 2005-10-20 08:34:51 dockes Exp $ (C) 2005 J.F.Dockes";
|
2 |
static char rcsid[] = "@(#$Id: plaintorich.cpp,v 1.5 2005-11-16 11:22:51 dockes Exp $ (C) 2005 J.F.Dockes";
|
3 |
#endif
|
3 |
#endif
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
#include <string>
|
6 |
#include <string>
|
7 |
#include <utility>
|
7 |
#include <utility>
|
|
... |
|
... |
85 |
TextSplit splitter(&cb, true);
|
85 |
TextSplit splitter(&cb, true);
|
86 |
// Note that splitter returns the term locations in byte, not
|
86 |
// Note that splitter returns the term locations in byte, not
|
87 |
// character offset
|
87 |
// character offset
|
88 |
splitter.text_to_words(in);
|
88 |
splitter.text_to_words(in);
|
89 |
|
89 |
|
|
|
90 |
LOGDEB(("Split done\n"));
|
90 |
|
91 |
|
91 |
|
92 |
|
92 |
// Rich text output
|
93 |
// Rich text output
|
93 |
string out = "<qt><head><title></title></head><body><p>";
|
94 |
string out = "<qt><head><title></title></head><body><p>";
|
94 |
|
95 |
|