Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsUnicodeToTeXCMRt1 Class Reference

#include <nsUnicodeToTeXCMRt1.h>

Inheritance diagram for nsUnicodeToTeXCMRt1:

nsTableEncoderSupport nsEncoderSupport nsIUnicodeEncoder nsISupports nsISupports

List of all members.


Detailed Description

A character set converter from Unicode to TeXCMRt1 (TeX's Computer Modern Roman).

Definition at line 51 of file nsUnicodeToTeXCMRt1.h.


Public Types

enum  { kOnError_Signal, kOnError_CallBack, kOnError_Replace }

Public Member Functions

NS_IMETHOD Convert (const PRUnichar *aSrc, PRInt32 *aSrcLength, char *aDest, PRInt32 *aDestLength)
NS_IMETHOD FillInfo (PRUint32 *aInfo)
NS_IMETHOD Finish (char *aDest, PRInt32 *aDestLength)
NS_IMETHOD GetMaxLength (const PRUnichar *aSrc, PRInt32 aSrcLength, PRInt32 *aDestLength)
 nsUnicodeToTeXCMRt1 ()
NS_IMETHOD Reset ()
NS_IMETHOD SetOutputErrorBehavior (PRInt32 aBehavior, nsIUnicharEncoder *aEncoder, PRUnichar aChar)
Methods
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Protected Member Functions

NS_IMETHOD ConvertNoBuff (const PRUnichar *aSrc, PRInt32 *aSrcLength, char *aDest, PRInt32 *aDestLength)
NS_IMETHOD ConvertNoBuffNoErr (const PRUnichar *aSrc, PRInt32 *aSrcLength, char *aDest, PRInt32 *aDestLength)
NS_IMETHOD FinishNoBuff (char *aDest, PRInt32 *aDestLength)
nsresult FlushBuffer (char **aDest, const char *aDestEnd)

Protected Attributes

char * mBuffer
PRInt32 mBufferCapacity
char * mBufferEnd
char * mBufferStart
PRInt32 mErrBehavior
PRUnichar mErrChar
nsCOMPtr< nsIUnicharEncodermErrEncoder
uMappingTable * mMappingTable
PRUint32 mMaxLengthFactor
uScanClassID mScanClass
uShiftOutTable * mShiftOutTable

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

Generated by  Doxygen 1.6.0   Back to index