okular
#include <textpage_p.h>
Public Member Functions | |
TextPagePrivate () | |
~TextPagePrivate () | |
void | correctTextOrder () |
RegularAreaRect * | findTextInternalBackward (int searchID, const QString &query, TextComparisonFunction comparer, const TextList::ConstIterator &start, int start_offset, const TextList::ConstIterator &end) |
RegularAreaRect * | findTextInternalForward (int searchID, const QString &query, TextComparisonFunction comparer, const TextList::ConstIterator &start, int start_offset, const TextList::ConstIterator &end) |
void | setWordList (const TextList &list) |
Public Attributes | |
PagePrivate * | m_page |
QMap< int, SearchPoint * > | m_searchPoints |
TextList | m_words |
Detailed Description
Definition at line 40 of file textpage_p.h.
Constructor & Destructor Documentation
TextPagePrivate::TextPagePrivate | ( | ) |
Definition at line 216 of file textpage.cpp.
TextPagePrivate::~TextPagePrivate | ( | ) |
Definition at line 221 of file textpage.cpp.
Member Function Documentation
void TextPagePrivate::correctTextOrder | ( | ) |
Make necessary modifications in the TextList to make the text order correct, so that textselection works fine.
Correct the textOrder, all layout recognition works here.
Remove spaces from the text
Construct words from characters
Make a XY Cut tree for segmentation of the texts
Add spaces to the word
Break the words into characters
Definition at line 1876 of file textpage.cpp.
RegularAreaRect * TextPagePrivate::findTextInternalBackward | ( | int | searchID, |
const QString & | query, | ||
TextComparisonFunction | comparer, | ||
const TextList::ConstIterator & | start, | ||
int | start_offset, | ||
const TextList::ConstIterator & | end | ||
) |
Definition at line 949 of file textpage.cpp.
RegularAreaRect * TextPagePrivate::findTextInternalForward | ( | int | searchID, |
const QString & | query, | ||
TextComparisonFunction | comparer, | ||
const TextList::ConstIterator & | start, | ||
int | start_offset, | ||
const TextList::ConstIterator & | end | ||
) |
Definition at line 840 of file textpage.cpp.
void TextPagePrivate::setWordList | ( | const TextList & | list | ) |
Copy a TextList to m_words, the pointers of list are adopted.
Sets a new world list.
Deleting the contents of the old one
Definition at line 1128 of file textpage.cpp.
Member Data Documentation
PagePrivate* Okular::TextPagePrivate::m_page |
Definition at line 71 of file textpage_p.h.
QMap< int, SearchPoint* > Okular::TextPagePrivate::m_searchPoints |
Definition at line 70 of file textpage_p.h.
TextList Okular::TextPagePrivate::m_words |
Definition at line 69 of file textpage_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.