• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdegraphics API Reference
  • KDE Home
  • Contact Us
 

okular

  • Okular
  • TextPagePrivate
Public Member Functions | Public Attributes | List of all members
Okular::TextPagePrivate Class Reference

#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 204 of file textpage.cpp.

TextPagePrivate::~TextPagePrivate ( )

Definition at line 209 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 1867 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 940 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 831 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 1119 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:
  • textpage_p.h
  • textpage.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:45:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

okular

Skip menu "okular"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdegraphics API Reference

Skip menu "kdegraphics API Reference"
  •     libkdcraw
  •     libkexiv2
  •     libkipi
  •     libksane
  • okular

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal