Switch to unified view

a/src/qtgui/plaintorich.h b/src/qtgui/plaintorich.h
...
...
14
 *   Free Software Foundation, Inc.,
14
 *   Free Software Foundation, Inc.,
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
15
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
16
 */
16
 */
17
#ifndef _PLAINTORICH_H_INCLUDED_
17
#ifndef _PLAINTORICH_H_INCLUDED_
18
#define _PLAINTORICH_H_INCLUDED_
18
#define _PLAINTORICH_H_INCLUDED_
19
/* @(#$Id: plaintorich.h,v 1.13 2007-05-23 09:19:48 dockes Exp $  (C) 2004 J.F.Dockes */
19
/* @(#$Id: plaintorich.h,v 1.14 2007-06-25 10:13:40 dockes Exp $  (C) 2004 J.F.Dockes */
20
20
21
#include <string>
21
#include <string>
22
22
23
// A data struct to hold words and groups of words to be highlighted
23
// A data struct to hold words and groups of words to be highlighted
24
struct HiliteData {
24
struct HiliteData {
...
...
37
 * @param in          raw text out of internfile.
37
 * @param in          raw text out of internfile.
38
 * @param out         rich text output
38
 * @param out         rich text output
39
 * @param hdata       terms and groups to be highlighted. These are
39
 * @param hdata       terms and groups to be highlighted. These are
40
 *                     lowercase and unaccented.
40
 *                     lowercase and unaccented.
41
 * @param noHeader    if true don't output header (<qt><title>...)
41
 * @param noHeader    if true don't output header (<qt><title>...)
42
 * @param fft         If true mark the first term position in the text
42
 * @param needBeacons Need to navigate highlighted terms, mark them.
43
 */
43
 */
44
extern bool plaintorich(const string &in, string &out,
44
extern bool plaintorich(const string &in, string &out,
45
            const HiliteData& hdata,
45
            const HiliteData& hdata,
46
            bool noHeader = false,
46
            bool noHeader = false,
47
          bool fft = false);
47
          bool needBeacons = true);
48
48
49
extern string termAnchorName(int i);
49
extern string termAnchorName(int i);
50
50
51
#define QT_SCROLL_TO_ANCHOR_BUG
51
#define QT_SCROLL_TO_ANCHOR_BUG
52
#ifdef QT_SCROLL_TO_ANCHOR_BUG
52
#ifdef QT_SCROLL_TO_ANCHOR_BUG