text Namespace Reference

Data Structures

struct  ViewPosition
struct  Rect
class  Position
 Position type for text plugin. More...
struct  Range
 Information about one page, used for pagination. More...
struct  SearchContext
class  SafeDeque
class  TextController
class  TextModel
class  InitializationTask
 This is the first task for text plugin. It is executed by worker thread once text view is initialized. More...
class  DeinitializationTask
 This is the last task for text plugin. It is executed by worker thread once text view is deinitialized. More...
class  PaginationTask
 Pagination task definition for text plugin. The pagination task is responsible for calculating start position and end position for a specified page, and calculating total pages. More...
class  PaginationAbortTask
 Pagination abort tasks. More...
class  RenderTask
 Render task definition for text plugin. The render task is responsible for rendering a specified page. More...
class  SearchTask
 Search task definition for text plugin. The search task is responsible for find the previous/next/all occurrence of specified pattern. More...
class  TextView
class  DataContainerBase
class  DataContainer
class  DataContainer< T * >
class  PluginCollectionImpl
struct  RangeImpl
class  PluginDocImpl
 Implement all necessary interfaces for document object. If the interface is not supported, the impl can remove them from parent class list. More...
class  PluginLibraryImpl
 Implement Plugin Library object for text plugin. More...
class  PluginRenderResultImpl
class  PluginRenderSettingsImpl
class  PluginSearchCriteria
class  StringImpl
class  PluginViewImpl
 Implement all interfaces of view object. If view object provider does not want to support optional interface, it may remove the interface from parent class list. More...

Typedefs

typedef Range PageInfo

Enumerations

enum  SearchType { SEARCH_ALL, SEARCH_NEXT }

Variables

static const std::string g_ext_table []
 Internal file extension table.
static const int EXT_TABLE_SIZE
static const int SAMPLE_LEN = 1024 * 4
static const int BLOCK_SIZE = 4096
static const std::string TARGET_CODESET = "utf-8"

Detailed Description

Copyright (C) 2008 iRex Technologies B.V. All rights reserved.


Typedef Documentation

Definition at line 151 of file text_base_types.h.


Enumeration Type Documentation

Enumerator:
SEARCH_ALL 
SEARCH_NEXT 

Definition at line 153 of file text_base_types.h.

00154 {
00155     SEARCH_ALL,
00156     SEARCH_NEXT
00157 };


Variable Documentation

const int text::BLOCK_SIZE = 4096 [static]

Definition at line 41 of file text_model.cpp.

const int text::EXT_TABLE_SIZE [static]
Initial value:
 
                 sizeof(g_ext_table) / sizeof(g_ext_table[0])

Definition at line 40 of file plaintext/plugin_impl/library_impl.cpp.

const std::string text::g_ext_table[] [static]
Initial value:
 
{
    ".text",
    ".txt"
}

Internal file extension table.

Definition at line 35 of file plaintext/plugin_impl/library_impl.cpp.

const int text::SAMPLE_LEN = 1024 * 4 [static]

You must feed enca with some text to get the possible encoding. If the sample text is too short, you will get "Unknown" encoding.

Definition at line 40 of file text_model.cpp.

const std::string text::TARGET_CODESET = "utf-8" [static]

Definition at line 42 of file text_model.cpp.

Generated by  doxygen 1.6.2-20100208