LibreOffice Module vcl (master)  1
Public Member Functions | Public Attributes | Private Attributes | List of all members
Type1Emitter Class Reference

Public Member Functions

 Type1Emitter (FILE *pOutFile, bool bPfbSubset)
 
 ~Type1Emitter ()
 
void setSubsetName (const char *)
 
size_t emitRawData (const char *pData, size_t nLength) const
 
void emitAllRaw ()
 
void emitAllHex ()
 
void emitAllCrypted ()
 
int tellPos () const
 
void updateLen (int nTellPos, size_t nLength)
 
void emitValVector (const char *pLineHead, const char *pLineTail, const std::vector< ValType > &)
 

Public Attributes

char * mpPtr
 
char maSubsetName [256]
 
bool const mbPfbSubset
 
int mnHexLineCol
 

Private Attributes

FILE * mpFileOut
 
char maBuffer [MAX_T1OPS_SIZE]
 
unsigned mnEECryptR
 

Detailed Description

Definition at line 1578 of file cff.cxx.

Constructor & Destructor Documentation

Type1Emitter::Type1Emitter ( FILE *  pOutFile,
bool  bPfbSubset 
)
explicit

Definition at line 1604 of file cff.cxx.

Type1Emitter::~Type1Emitter ( )

Definition at line 1615 of file cff.cxx.

References mpFileOut.

Member Function Documentation

void Type1Emitter::emitAllCrypted ( )

Definition at line 1693 of file cff.cxx.

References emitAllHex(), emitAllRaw(), maBuffer, mbPfbSubset, mnEECryptR, and mpPtr.

Referenced by CffSubsetterContext::emitAsType1().

void Type1Emitter::emitAllHex ( )
inline

Definition at line 1667 of file cff.cxx.

References emitRawData(), maBuffer, mnHexLineCol, and mpPtr.

Referenced by emitAllCrypted().

void Type1Emitter::emitAllRaw ( )
inline

Definition at line 1658 of file cff.cxx.

References emitRawData(), maBuffer, and mpPtr.

Referenced by emitAllCrypted(), and CffSubsetterContext::emitAsType1().

size_t Type1Emitter::emitRawData ( const char *  pData,
size_t  nLength 
) const
inline

Definition at line 1653 of file cff.cxx.

References mpFileOut.

Referenced by emitAllHex(), emitAllRaw(), and CffSubsetterContext::emitAsType1().

void Type1Emitter::emitValVector ( const char *  pLineHead,
const char *  pLineTail,
const std::vector< ValType > &  rVector 
)

Definition at line 1717 of file cff.cxx.

References dbl2str(), and mpPtr.

Referenced by CffSubsetterContext::emitAsType1().

void Type1Emitter::setSubsetName ( const char *  pSubsetName)

Definition at line 1622 of file cff.cxx.

References maSubsetName.

Referenced by FontSubsetInfo::CreateFontSubsetFromCff().

int Type1Emitter::tellPos ( ) const

Definition at line 1630 of file cff.cxx.

References mpFileOut.

Referenced by CffSubsetterContext::emitAsType1().

void Type1Emitter::updateLen ( int  nTellPos,
size_t  nLength 
)

Definition at line 1636 of file cff.cxx.

References mpFileOut, and void().

Referenced by CffSubsetterContext::emitAsType1().

Member Data Documentation

char Type1Emitter::maBuffer[MAX_T1OPS_SIZE]
private

Definition at line 1594 of file cff.cxx.

Referenced by emitAllCrypted(), emitAllHex(), and emitAllRaw().

char Type1Emitter::maSubsetName[256]

Definition at line 1599 of file cff.cxx.

Referenced by CffSubsetterContext::emitAsType1(), and setSubsetName().

bool const Type1Emitter::mbPfbSubset

Definition at line 1600 of file cff.cxx.

Referenced by emitAllCrypted(), and CffSubsetterContext::emitAsType1().

unsigned Type1Emitter::mnEECryptR
private

Definition at line 1595 of file cff.cxx.

Referenced by emitAllCrypted().

int Type1Emitter::mnHexLineCol

Definition at line 1601 of file cff.cxx.

Referenced by emitAllHex().

FILE* Type1Emitter::mpFileOut
private

Definition at line 1593 of file cff.cxx.

Referenced by emitRawData(), tellPos(), updateLen(), and ~Type1Emitter().

char* Type1Emitter::mpPtr

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