compile
[kdegraphics.git] / okular / core / textpage_p.h
blob73b0a2c7af37cd1fb0737cceaadaa5ac59390b5f
1 /***************************************************************************
2 * Copyright (C) 2006 by Tobias Koenig <tokoe@kde.org> *
3 * Copyright (C) 2007 by Pino Toscano <pino@kde.org> *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 ***************************************************************************/
11 #ifndef _OKULAR_TEXTPAGE_P_H_
12 #define _OKULAR_TEXTPAGE_P_H_
14 #include <QtCore/QList>
15 #include <QtCore/QMap>
16 #include <QtGui/QMatrix>
18 class SearchPoint;
19 class TinyTextEntity;
21 namespace Okular
24 class PagePrivate;
25 typedef QList< TinyTextEntity* > TextList;
27 class TextPagePrivate
29 public:
30 TextPagePrivate();
31 ~TextPagePrivate();
33 RegularAreaRect * findTextInternalForward( int searchID, const QString &query,
34 Qt::CaseSensitivity caseSensitivity,
35 const TextList::ConstIterator &start,
36 const TextList::ConstIterator &end );
37 RegularAreaRect * findTextInternalBackward( int searchID, const QString &query,
38 Qt::CaseSensitivity caseSensitivity,
39 const TextList::ConstIterator &start,
40 const TextList::ConstIterator &end );
42 TextList m_words;
43 QMap< int, SearchPoint* > m_searchPoints;
44 PagePrivate *m_page;
49 #endif