Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TextOutputDev Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/TextOutputDev.h>

Inheritance diagram for TextOutputDev:

Inheritance graph
[legend]
Collaboration diagram for TextOutputDev:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TextOutputDev (char *fileName, GBool rawOrderA, GBool append)
 TextOutputDev (TextOutputFunc func, void *stream, GBool rawOrderA)
virtual ~TextOutputDev ()
virtual GBool isOk ()
virtual GBool upsideDown ()
virtual GBool useDrawChar ()
virtual GBool interpretType3Chars ()
virtual GBool needNonText ()
virtual void startPage (int pageNum, GfxState *state)
virtual void endPage ()
virtual void updateFont (GfxState *state)
virtual void beginString (GfxState *state, GString *s)
virtual void endString (GfxState *state)
virtual void drawChar (GfxState *state, fouble x, fouble y, fouble dx, fouble dy, fouble originX, fouble originY, CharCode c, Unicode *u, int uLen)
GBool findText (Unicode *s, int len, GBool top, GBool bottom, fouble *xMin, fouble *yMin, fouble *xMax, fouble *yMax)

Private Attributes

TextOutputFunc outputFunc
void * outputStream
GBool needClose
TextPagetext
GBool rawOrder
GBool ok

Constructor & Destructor Documentation

TextOutputDev::TextOutputDev char *  fileName,
GBool  rawOrderA,
GBool  append
 

Definition at line 630 of file TextOutputDev.cc.

References error(), gFalse, gTrue, needClose, NULL, ok, outputFunc, outputStream, outputToFile(), rawOrder, and text.

TextOutputDev::TextOutputDev TextOutputFunc  func,
void *  stream,
GBool  rawOrderA
 

Definition at line 656 of file TextOutputDev.cc.

References gFalse, gTrue, needClose, ok, outputFunc, outputStream, rawOrder, and text.

TextOutputDev::~TextOutputDev  )  [virtual]
 

Definition at line 666 of file TextOutputDev.cc.

References needClose, outputStream, and text.


Member Function Documentation

void TextOutputDev::beginString GfxState state,
GString s
[virtual]
 

Reimplemented from OutputDev.

Definition at line 693 of file TextOutputDev.cc.

References TextPage::beginString(), and text.

void TextOutputDev::drawChar GfxState state,
fouble  x,
fouble  y,
fouble  dx,
fouble  dy,
fouble  originX,
fouble  originY,
CharCode  c,
Unicode *  u,
int  uLen
[virtual]
 

Reimplemented from OutputDev.

Definition at line 701 of file TextOutputDev.cc.

References TextPage::addChar(), and text.

void TextOutputDev::endPage  )  [virtual]
 

Reimplemented from OutputDev.

Definition at line 682 of file TextOutputDev.cc.

References TextPage::coalesce(), TextPage::dump(), outputFunc, outputStream, and text.

void TextOutputDev::endString GfxState state  )  [virtual]
 

Reimplemented from OutputDev.

Definition at line 697 of file TextOutputDev.cc.

References TextPage::endString(), and text.

GBool TextOutputDev::findText Unicode *  s,
int  len,
GBool  top,
GBool  bottom,
fouble xMin,
fouble yMin,
fouble xMax,
fouble yMax
 

Definition at line 708 of file TextOutputDev.cc.

References TextPage::findText(), and text.

virtual GBool TextOutputDev::interpretType3Chars  )  [inline, virtual]
 

Implements OutputDev.

Definition at line 156 of file TextOutputDev.h.

References gFalse.

virtual GBool TextOutputDev::isOk  )  [inline, virtual]
 

Definition at line 143 of file TextOutputDev.h.

References ok.

virtual GBool TextOutputDev::needNonText  )  [inline, virtual]
 

Reimplemented from OutputDev.

Definition at line 159 of file TextOutputDev.h.

References gFalse.

void TextOutputDev::startPage int  pageNum,
GfxState state
[virtual]
 

Reimplemented from OutputDev.

Definition at line 678 of file TextOutputDev.cc.

References TextPage::clear(), and text.

void TextOutputDev::updateFont GfxState state  )  [virtual]
 

Reimplemented from OutputDev.

Definition at line 689 of file TextOutputDev.cc.

References text, and TextPage::updateFont().

virtual GBool TextOutputDev::upsideDown  )  [inline, virtual]
 

Implements OutputDev.

Definition at line 149 of file TextOutputDev.h.

References gTrue.

virtual GBool TextOutputDev::useDrawChar  )  [inline, virtual]
 

Implements OutputDev.

Definition at line 152 of file TextOutputDev.h.

References gTrue.


Member Data Documentation

GBool TextOutputDev::needClose [private]
 

Definition at line 196 of file TextOutputDev.h.

Referenced by TextOutputDev(), and ~TextOutputDev().

GBool TextOutputDev::ok [private]
 

Definition at line 200 of file TextOutputDev.h.

Referenced by isOk(), and TextOutputDev().

TextOutputFunc TextOutputDev::outputFunc [private]
 

Definition at line 194 of file TextOutputDev.h.

Referenced by endPage(), and TextOutputDev().

void* TextOutputDev::outputStream [private]
 

Definition at line 195 of file TextOutputDev.h.

Referenced by endPage(), TextOutputDev(), and ~TextOutputDev().

GBool TextOutputDev::rawOrder [private]
 

Definition at line 199 of file TextOutputDev.h.

Referenced by TextOutputDev().

TextPage* TextOutputDev::text [private]
 

Definition at line 198 of file TextOutputDev.h.

Referenced by beginString(), drawChar(), endPage(), endString(), findText(), startPage(), TextOutputDev(), updateFont(), and ~TextOutputDev().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:53:45 2005 for OPIE by  doxygen 1.4.2