• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

DjVuText Class Reference

#include <DjVuText.h>

Inheritance diagram for DjVuText:

Inheritance graph
[legend]

List of all members.


Public Member Functions

GP< DjVuText > copy (void) const
void decode (const GP< ByteStream > &bs)
void encode (const GP< ByteStream > &bs)
unsigned int get_memory_usage () const
GUTF8String get_xmlText (const int height) const
void writeText (ByteStream &bs, const int height) const

Static Public Member Functions

static GP< DjVuText > create (void)

Public Attributes

GP< DjVuTXT > txt

Protected Member Functions

 DjVuText (void)

Detailed Description

Definition at line 225 of file DjVuText.h.


Constructor & Destructor Documentation

DjVuText::DjVuText ( void   )  [inline, protected]

Definition at line 228 of file DjVuText.h.


Member Function Documentation

GP< DjVuText > DjVuText::copy ( void   )  const

Returns a copy of this object.

Definition at line 732 of file DjVuText.cpp.

static GP<DjVuText> DjVuText::create ( void   )  [inline, static]

Default creator.

Definition at line 231 of file DjVuText.h.

void DjVuText::decode ( const GP< ByteStream > &  bs  ) 

Decodes a sequence of annotation chunks and merges contents of every chunk with previously decoded information.

This function should be called right after applying {IFFByteStream::get_chunk}() to data from FORM:TEXT#.

Definition at line 686 of file DjVuText.cpp.

void DjVuText::encode ( const GP< ByteStream > &  bs  ) 

Encodes all annotations back into a sequence of chunks to be put inside a FORM:TEXT#.

Definition at line 714 of file DjVuText.cpp.

unsigned int DjVuText::get_memory_usage ( void   )  const [inline]

Returns the number of bytes needed by this data structure.

It's used by caching routines to estimate the size of a {DjVuImage}.

Definition at line 265 of file DjVuText.h.

GUTF8String DjVuText::get_xmlText ( const int  height  )  const

Get XML formatted text.

Definition at line 951 of file DjVuText.cpp.

void DjVuText::writeText ( ByteStream &  bs,
const int  height 
) const

Write XML formated text.

Definition at line 929 of file DjVuText.cpp.


Member Data Documentation

GP<DjVuTXT> DjVuText::txt

Definition at line 256 of file DjVuText.h.


The documentation for this class was generated from the following files:
  • DjVuText.h
  • DjVuText.cpp

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal