pdfedit  0.4.5
About: PDFedit is a free and open source library for manipulating PDF documents.
  Fossies Dox: pdfedit-0.4.5.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CharCodeToUnicode Class Reference

#include <CharCodeToUnicode.h>

Public Member Functions

void mergeCMap (const GString *buf, int nBits)
 
 ~CharCodeToUnicode ()
 
void incRefCnt ()
 
void decRefCnt ()
 
GBool match (const GString *tagA) const
 
void setMapping (CharCode c, const Unicode *u, int len)
 
int mapToUnicode (CharCode c, Unicode *u, int size) const
 
CharCode getLength () const
 

Static Public Member Functions

static CharCodeToUnicodeparseCIDToUnicode (const GString *fileName, const GString *collection)
 
static CharCodeToUnicodeparseUnicodeToUnicode (const GString *fileName)
 
static CharCodeToUnicodemake8BitToUnicode (Unicode *toUnicode)
 
static CharCodeToUnicodeparseCMap (const GString *buf, int nBits)
 

Detailed Description

Definition at line 30 of file CharCodeToUnicode.h.

Constructor & Destructor Documentation

CharCodeToUnicode::~CharCodeToUnicode ( )

Definition at line 393 of file CharCodeToUnicode.cc.

References gDestroyMutex, gfree(), and gfree().

Member Function Documentation

CharCode CharCodeToUnicode::getLength ( ) const
inline

Definition at line 72 of file CharCodeToUnicode.h.

Referenced by GfxCIDFont::GfxCIDFont().

CharCodeToUnicode * CharCodeToUnicode::make8BitToUnicode ( Unicode toUnicode)
static

Definition at line 186 of file CharCodeToUnicode.cc.

References gTrue, NULL, and NULL.

Referenced by Gfx8BitFont::Gfx8BitFont(), and Gfx8BitFont::Gfx8BitFont().

int CharCodeToUnicode::mapToUnicode ( CharCode  c,
Unicode u,
int  size 
) const
GBool CharCodeToUnicode::match ( const GString tagA) const

Definition at line 431 of file CharCodeToUnicode.cc.

References GString::cmp().

void CharCodeToUnicode::mergeCMap ( const GString buf,
int  nBits 
)

Definition at line 200 of file CharCodeToUnicode.cc.

References GString::getCString().

Referenced by GfxFont::readToUnicodeCMap().

CharCodeToUnicode * CharCodeToUnicode::parseCIDToUnicode ( const GString fileName,
const GString collection 
)
static
CharCodeToUnicode * CharCodeToUnicode::parseCMap ( const GString buf,
int  nBits 
)
static

Definition at line 190 of file CharCodeToUnicode.cc.

References GString::getCString(), and NULL.

Referenced by GfxFont::readToUnicodeCMap().

void CharCodeToUnicode::setMapping ( CharCode  c,
const Unicode u,
int  len 
)

Definition at line 435 of file CharCodeToUnicode.cc.

References greallocn(), i, i, i, i, i, and maxUnicodeString.

Referenced by Gfx8BitFont::Gfx8BitFont(), and GfxCIDFont::GfxCIDFont().


The documentation for this class was generated from the following files: