Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsBulletFrame.cpp File Reference
#include "nsCOMPtr.h"
#include "nsBulletFrame.h"
#include "nsHTMLAtoms.h"
#include "nsHTMLParts.h"
#include "nsHTMLContainerFrame.h"
#include "nsIFontMetrics.h"
#include "nsGenericHTMLElement.h"
#include "nsPresContext.h"
#include "nsIPresShell.h"
#include "nsIDocument.h"
#include "nsReflowPath.h"
#include "nsIRenderingContext.h"
#include "nsILoadGroup.h"
#include "nsIURL.h"
#include "nsNetUtil.h"
#include "nsLayoutAtoms.h"
#include "prprf.h"
#include "imgILoader.h"
#include "imgIContainer.h"
#include "imgIDecoderObserver.h"
#include "nsIServiceManager.h"
#include "nsIComponentManager.h"
#include "nsContentUtils.h"

Go to the source code of this file.

Classes

class  nsBulletListener

Defines

#define ALPHA_SIZE   26
#define KATAKANA_CHARS_SIZE   48
#define HIRAGANA_CHARS_SIZE   48
#define HIRAGANA_IROHA_CHARS_SIZE   47
#define KATAKANA_IROHA_CHARS_SIZE   47
#define LOWER_GREEK_CHARS_SIZE   24
#define CJK_HEAVENLY_STEM_CHARS_SIZE   10
#define CJK_EARTHLY_BRANCH_CHARS_SIZE   12
#define HANGUL_CHARS_SIZE   14
#define HANGUL_CONSONANT_CHARS_SIZE   14
#define ETHIOPIC_HALEHAME_CHARS_SIZE   26
#define ETHIOPIC_HALEHAME_AM_CHARS_SIZE   33
#define ETHIOPIC_HALEHAME_TI_ER_CHARS_SIZE   31
#define ETHIOPIC_HALEHAME_TI_ET_CHARS_SIZE   34
#define NUM_BUF_SIZE   34
#define HEBREW_THROSAND_SEP   0x0020
#define HEBREW_GERESH   0x05F3
#define HEBREW_GERSHAYIM   0x05F4
#define ETHIOPIC_ONE   0x1369
#define ETHIOPIC_TEN   0x1372
#define ETHIOPIC_HUNDRED   0x137B
#define ETHIOPIC_TEN_THOUSAND   0x137C
#define MIN_BULLET_SIZE   1
#define MINMAX(_value, _min, _max)

Functions

static PRBool DecimalToText (PRInt32 ordinal, nsString &result)
 For all functions below, a return value of PR_TRUE means that we could represent mOrder in the desired numbering system.
static PRBool DecimalLeadingZeroToText (PRInt32 ordinal, nsString &result)
static PRBool OtherDecimalToText (PRInt32 ordinal, PRUnichar zeroChar, nsString &result)
static PRBool TamilToText (PRInt32 ordinal, nsString &result)
static PRBool RomanToText (PRInt32 ordinal, nsString &result, const char *achars, const char *bchars)
static PRBool CharListToText (PRInt32 ordinal, nsString &result, const PRUnichar *chars, PRInt32 aBase)
static const PRBool CJKIdeographicToText (PRInt32 ordinal, nsString &result, const PRUnichar *digits, const PRUnichar *unit, const PRUnichar *unit10k)
static PRBool HebrewToText (PRInt32 ordinal, nsString &result)
static PRBool ArmenianToText (PRInt32 ordinal, nsString &result)
static PRBool GeorgianToText (PRInt32 ordinal, nsString &result)
static PRBool EthiopicToText (PRInt32 ordinal, nsString &result)

Variables

static const char gLowerRomanCharsA [] = "ixcm"
static const char gUpperRomanCharsA [] = "IXCM"
static const char gLowerRomanCharsB [] = "vld"
static const char gUpperRomanCharsB [] = "VLD"
static const PRUnichar gLowerAlphaChars [ALPHA_SIZE]
static const PRUnichar gUpperAlphaChars [ALPHA_SIZE]
static const PRUnichar gKatakanaChars [KATAKANA_CHARS_SIZE]
static const PRUnichar gHiraganaChars [HIRAGANA_CHARS_SIZE]
static const PRUnichar gHiraganaIrohaChars [HIRAGANA_IROHA_CHARS_SIZE]
static const PRUnichar gKatakanaIrohaChars [KATAKANA_IROHA_CHARS_SIZE]
static const PRUnichar gLowerGreekChars [LOWER_GREEK_CHARS_SIZE]
static const PRUnichar gCJKHeavenlyStemChars [CJK_HEAVENLY_STEM_CHARS_SIZE]
static const PRUnichar gCJKEarthlyBranchChars [CJK_EARTHLY_BRANCH_CHARS_SIZE]
static const PRUnichar gHangulChars [HANGUL_CHARS_SIZE]
static const PRUnichar gHangulConsonantChars [HANGUL_CONSONANT_CHARS_SIZE]
static const PRUnichar gEthiopicHalehameChars [ETHIOPIC_HALEHAME_CHARS_SIZE]
static const PRUnichar gEthiopicHalehameAmChars [ETHIOPIC_HALEHAME_AM_CHARS_SIZE]
static const PRUnichar gEthiopicHalehameTiErChars [ETHIOPIC_HALEHAME_TI_ER_CHARS_SIZE]
static const PRUnichar gEthiopicHalehameTiEtChars [ETHIOPIC_HALEHAME_TI_ET_CHARS_SIZE]
static const PRUnichar gCJKIdeographicDigit1 [10]
static const PRUnichar gCJKIdeographicDigit2 [10]
static const PRUnichar gCJKIdeographicDigit3 [10]
static const PRUnichar gCJKIdeographicUnit1 [4]
static const PRUnichar gCJKIdeographicUnit2 [4]
static const PRUnichar gCJKIdeographic10KUnit1 [4]
static const PRUnichar gCJKIdeographic10KUnit2 [4]
static const PRUnichar gCJKIdeographic10KUnit3 [4]
static const PRUnichar gHebrewDigit [22]
static const PRUnichar gGeorgianValue [37]

Define Documentation

#define ALPHA_SIZE   26

Definition at line 513 of file nsBulletFrame.cpp.

Definition at line 618 of file nsBulletFrame.cpp.

Definition at line 612 of file nsBulletFrame.cpp.

Definition at line 652 of file nsBulletFrame.cpp.

Definition at line 643 of file nsBulletFrame.cpp.

Definition at line 662 of file nsBulletFrame.cpp.

Definition at line 672 of file nsBulletFrame.cpp.

#define ETHIOPIC_HUNDRED   0x137B

Definition at line 1041 of file nsBulletFrame.cpp.

#define ETHIOPIC_ONE   0x1369

Definition at line 1039 of file nsBulletFrame.cpp.

#define ETHIOPIC_TEN   0x1372

Definition at line 1040 of file nsBulletFrame.cpp.

Definition at line 1042 of file nsBulletFrame.cpp.

Definition at line 624 of file nsBulletFrame.cpp.

Definition at line 631 of file nsBulletFrame.cpp.

#define HEBREW_GERESH   0x05F3

Definition at line 812 of file nsBulletFrame.cpp.

#define HEBREW_GERSHAYIM   0x05F4

Definition at line 813 of file nsBulletFrame.cpp.

Definition at line 811 of file nsBulletFrame.cpp.

Definition at line 553 of file nsBulletFrame.cpp.

Definition at line 570 of file nsBulletFrame.cpp.

Definition at line 535 of file nsBulletFrame.cpp.

Definition at line 586 of file nsBulletFrame.cpp.

Definition at line 601 of file nsBulletFrame.cpp.

Definition at line 1379 of file nsBulletFrame.cpp.

#define MINMAX (   _value,
  _min,
  _max 
)
Value:
((_value) < (_min)           \
     ? (_min)                    \
     : ((_value) > (_max)        \
        ? (_max)                 \
        : (_value)))

Definition at line 1382 of file nsBulletFrame.cpp.

#define NUM_BUF_SIZE   34

Definition at line 689 of file nsBulletFrame.cpp.


Function Documentation

static PRBool ArmenianToText ( PRInt32  ordinal,
nsString result 
) [static]

Definition at line 969 of file nsBulletFrame.cpp.

{
  // XXXbz this system goes out to a lot further than 9999... we should fix
  // that.  This algorithm seems broken in general.  There's this business of
  // "7000" being special and then there's the combining accent we're supposed
  // to be using...
  if (ordinal < 1 || ordinal > 9999) { // zero or reach the limit of Armenian numbering system
    DecimalToText(ordinal, result);
    return PR_FALSE;
  }

  PRUnichar buf[NUM_BUF_SIZE];
  PRInt32 idx = NUM_BUF_SIZE;
  PRInt32 d = 0;
  do {
    PRInt32 cur = ordinal % 10;
    if (cur > 0)
    {
      PRUnichar u = 0x0530 + (d * 9) + cur;
      buf[--idx] = u;
    }
    ++d;
    ordinal /= 10;
  } while (ordinal > 0);
  result.Append(buf + idx, NUM_BUF_SIZE - idx);
  return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool CharListToText ( PRInt32  ordinal,
nsString result,
const PRUnichar chars,
PRInt32  aBase 
) [static]

Definition at line 691 of file nsBulletFrame.cpp.

{
  PRUnichar buf[NUM_BUF_SIZE];
  PRInt32 idx = NUM_BUF_SIZE;
  if (ordinal < 1) {
    DecimalToText(ordinal, result);
    return PR_FALSE;
  }
  do {
    ordinal--; // a == 0
    PRInt32 cur = ordinal % aBase;
    buf[--idx] = chars[cur];
    ordinal /= aBase ;
  } while ( ordinal > 0);
  result.Append(buf+idx,NUM_BUF_SIZE-idx);
  return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static const PRBool CJKIdeographicToText ( PRInt32  ordinal,
nsString result,
const PRUnichar digits,
const PRUnichar unit,
const PRUnichar unit10k 
) [static]

Definition at line 746 of file nsBulletFrame.cpp.

{
// In theory, we need the following if condiction,
// However, the limit, 10 ^ 16, is greater than the max of PRUint32
// so we don't really need to test it here.
// if( ordinal > 9999999999999999)
// {
//    PR_snprintf(cbuf, sizeof(cbuf), "%ld", ordinal);
//    result.Append(cbuf);
// } 
// else 
// {
  if (ordinal < 0) {
    DecimalToText(ordinal, result);
    return PR_FALSE;
  }
  PRUnichar c10kUnit = 0;
  PRUnichar cUnit = 0;
  PRUnichar cDigit = 0;
  PRUint32 ud = 0;
  PRUnichar buf[NUM_BUF_SIZE];
  PRInt32 idx = NUM_BUF_SIZE;
  PRBool bOutputZero = ( 0 == ordinal );
  do {
    if(0 == (ud % 4)) {
      c10kUnit = unit10k[ud/4];
    }
    PRInt32 cur = ordinal % 10;
    cDigit = digits[cur];
    if( 0 == cur)
    {
      cUnit = 0;
      if(bOutputZero) {
        bOutputZero = PR_FALSE;
        if(0 != cDigit)
          buf[--idx] = cDigit;
      }
    }
    else
    {
      bOutputZero = PR_TRUE;
      cUnit = unit[ud%4];

      if(0 != c10kUnit)
        buf[--idx] = c10kUnit;
      if(0 != cUnit)
        buf[--idx] = cUnit;
      if((0 != cDigit) && 
         ( (1 != cur) || (1 != (ud%4)) || ( ordinal > 10)) )
        buf[--idx] = cDigit;

      c10kUnit =  0;
    }
    ordinal /= 10;
    ++ud;

  } while( ordinal > 0);
  result.Append(buf+idx,NUM_BUF_SIZE-idx);
// }
  return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool DecimalLeadingZeroToText ( PRInt32  ordinal,
nsString result 
) [static]

Definition at line 428 of file nsBulletFrame.cpp.

{
   char cbuf[40];
   PR_snprintf(cbuf, sizeof(cbuf), "%02ld", ordinal);
   result.AppendASCII(cbuf);
   return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool DecimalToText ( PRInt32  ordinal,
nsString result 
) [static]

For all functions below, a return value of PR_TRUE means that we could represent mOrder in the desired numbering system.

PR_FALSE means we had to fall back to decimal

Definition at line 421 of file nsBulletFrame.cpp.

{
   char cbuf[40];
   PR_snprintf(cbuf, sizeof(cbuf), "%ld", ordinal);
   result.AppendASCII(cbuf);
   return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool EthiopicToText ( PRInt32  ordinal,
nsString result 
) [static]

Definition at line 1044 of file nsBulletFrame.cpp.

{
  nsAutoString asciiNumberString;      // decimal string representation of ordinal
  DecimalToText(ordinal, asciiNumberString);
  if (ordinal < 1) {
    result.Append(asciiNumberString);
    return PR_FALSE;
  }
  PRUint8 asciiStringLength = asciiNumberString.Length();

  // If number length is odd, add a leading "0"
  // the leading "0" preconditions the string to always have the
  // leading tens place populated, this avoids a check within the loop.
  // If we didn't add the leading "0", decrement asciiStringLength so
  // it will be equivalent to a zero-based index in both cases.
  if (asciiStringLength & 1) {
    asciiNumberString.Insert(NS_LITERAL_STRING("0"), 0);
  } else {
    asciiStringLength--;
  }

  // Iterate from the highest digits to lowest
  // indexFromLeft       indexes digits (0 = most significant)
  // groupIndexFromRight indexes pairs of digits (0 = least significant)
  for (PRUint8 indexFromLeft = 0, groupIndexFromRight = asciiStringLength >> 1;
       indexFromLeft <= asciiStringLength;
       indexFromLeft += 2, groupIndexFromRight--) {
    PRUint8 tensValue  = asciiNumberString.CharAt(indexFromLeft) & 0x0F;
    PRUint8 unitsValue = asciiNumberString.CharAt(indexFromLeft + 1) & 0x0F;
    PRUint8 groupValue = tensValue * 10 + unitsValue;

    PRBool oddGroup = (groupIndexFromRight & 1);

    // we want to clear ETHIOPIC_ONE when it is superfluous
    if (ordinal > 1 &&
        groupValue == 1 &&                  // one without a leading ten
        (oddGroup || indexFromLeft == 0)) { // preceding (100) or leading the sequence
      unitsValue = 0;
    }

    // put it all together...
    if (tensValue) {
      // map onto Ethiopic "tens":
      result.Append((PRUnichar) (tensValue +  ETHIOPIC_TEN - 1));
    }
    if (unitsValue) {
      //map onto Ethiopic "units":
      result.Append((PRUnichar) (unitsValue + ETHIOPIC_ONE - 1));
    }
    // Add a separator for all even groups except the last,
    // and for odd groups with non-zero value.
    if (oddGroup) {
      if (groupValue) {
        result.Append((PRUnichar) ETHIOPIC_HUNDRED);
      }
    } else {
      if (groupIndexFromRight) {
        result.Append((PRUnichar) ETHIOPIC_TEN_THOUSAND);
      }
    }
  }
  return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool GeorgianToText ( PRInt32  ordinal,
nsString result 
) [static]

Definition at line 1010 of file nsBulletFrame.cpp.

{
  if (ordinal < 1 || ordinal > 19999) { // zero or reach the limit of Georgian numbering system
    DecimalToText(ordinal, result);
    return PR_FALSE;
  }

  PRUnichar buf[NUM_BUF_SIZE];
  PRInt32 idx = NUM_BUF_SIZE;
  PRInt32 d = 0;
  do {
    PRInt32 cur = ordinal % 10;
    if (cur > 0)
    {
      PRUnichar u = gGeorgianValue[(d * 9 ) + ( cur - 1)];
      buf[--idx] = u;
    }
    ++d;
    ordinal /= 10;
  } while (ordinal > 0);
  result.Append(buf + idx, NUM_BUF_SIZE - idx);
  return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool HebrewToText ( PRInt32  ordinal,
nsString result 
) [static]

Definition at line 824 of file nsBulletFrame.cpp.

{
  if (ordinal < 0) {
    DecimalToText(ordinal, result);
    return PR_FALSE;
  }
  if (ordinal == 0) {
    // This one is treated specially
#ifdef IBMBIDI
    static const PRUnichar hebrewZero[] = { 0x05D0, 0x05E4, 0x05E1 };
#else
    static const PRUnichar hebrewZero[] = { 0x05E1, 0x05E4, 0x05D0 };
#endif // IBMBIDI
    result.Append(hebrewZero);
    return PR_TRUE;
  }
  PRBool outputSep = PR_FALSE;
  PRUnichar buf[NUM_BUF_SIZE];
#ifdef IBMBIDI
  // Changes: 1) don't reverse the text; 2) don't insert geresh/gershayim.
  PRInt32 idx = 0;
#else
  PRInt32 idx = NUM_BUF_SIZE;
#endif // IBMBIDI
  PRUnichar digit;
  do {
    PRInt32 n3 = ordinal % 1000;
    if(outputSep)
#ifdef IBMBIDI
      buf[idx++] = HEBREW_THROSAND_SEP; // output thousand separator
#else
      buf[--idx] = HEBREW_THROSAND_SEP; // output thousand separator
#endif // IBMBIDI
    outputSep = ( n3 > 0); // request to output thousand separator next time.

    PRInt32 d = 0; // we need to keep track of digit got output per 3 digits,
    // so we can handle Gershayim and Gersh correctly

    // Process digit for 100 - 900
    for(PRInt32 n1 = 400; n1 > 0; )
    {
      if( n3 >= n1)
      {
        n3 -= n1;

        digit = gHebrewDigit[(n1/100)-1+18];
        if( n3 > 0)
        {
#ifdef IBMBIDI
          buf[idx++] = digit;
#else
          buf[--idx] = digit;
#endif // IBMBIDI
          ++d;
        } else { 
          // if this is the last digit
#ifdef IBMBIDI
          buf[idx++] = digit;
#else
          if (d > 0)
          {
            buf[--idx] = HEBREW_GERSHAYIM; 
            buf[--idx] = digit;
          } else {
            buf[--idx] = digit;    
            buf[--idx] = HEBREW_GERESH;
          } // if
#endif // IBMBIDI
        } // if
      } else {
        n1 -= 100;
      } // if
    } // for

    // Process digit for 10 - 90
    PRInt32 n2;
    if( n3 >= 10 )
    {
      // Special process for 15 and 16
      if(( 15 == n3 ) || (16 == n3)) {
        // Special rule for religious reason...
        // 15 is represented by 9 and 6, not 10 and 5
        // 16 is represented by 9 and 7, not 10 and 6
        n2 = 9;
        digit = gHebrewDigit[ n2 - 1];    
      } else {
        n2 = n3 - (n3 % 10);
        digit = gHebrewDigit[(n2/10)-1+9];
      } // if

      n3 -= n2;

      if( n3  > 0) {
#ifdef IBMBIDI
        buf[idx++] = digit;
#else
        buf[--idx] = digit;
#endif // IBMBIDI
        ++d;
      } else {
        // if this is the last digit
#ifdef IBMBIDI
        buf[idx++] = digit;
#else
        if (d > 0)
        {
          buf[--idx] = HEBREW_GERSHAYIM;  
          buf[--idx] = digit;
        } else {
          buf[--idx] = digit;    
          buf[--idx] = HEBREW_GERESH;
        } // if
#endif // IBMBIDI
      } // if
    } // if
  
    // Process digit for 1 - 9 
    if ( n3 > 0)
    {
      digit = gHebrewDigit[n3-1];
      // must be the last digit
#ifdef IBMBIDI
      buf[idx++] = digit;
#else
      if (d > 0)
      {
        buf[--idx] = HEBREW_GERSHAYIM; 
        buf[--idx] = digit;
      } else {
        buf[--idx] = digit;    
        buf[--idx] = HEBREW_GERESH;
      } // if
#endif // IBMBIDI
    } // if
    ordinal /= 1000;
  } while (ordinal >= 1);
#ifdef IBMBIDI
  result.Append(buf, idx);
#else
  result.Append(buf+idx,NUM_BUF_SIZE-idx);
#endif // IBMBIDI
  return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool OtherDecimalToText ( PRInt32  ordinal,
PRUnichar  zeroChar,
nsString result 
) [static]

Definition at line 435 of file nsBulletFrame.cpp.

{
   PRUnichar diff = zeroChar - PRUnichar('0');
   DecimalToText(ordinal, result);
   PRUnichar* p = result.BeginWriting();
   if (ordinal < 0) {
     // skip the leading '-'
     ++p;
   }     
   for(; nsnull != *p ; p++) 
      *p += diff;
   return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool RomanToText ( PRInt32  ordinal,
nsString result,
const char *  achars,
const char *  bchars 
) [static]

Definition at line 469 of file nsBulletFrame.cpp.

{
  if (ordinal < 1 || ordinal > 3999) {
    DecimalToText(ordinal, result);
    return PR_FALSE;
  }
  nsAutoString addOn, decStr;
  decStr.AppendInt(ordinal, 10);
  PRIntn len = decStr.Length();
  const PRUnichar* dp = decStr.get();
  const PRUnichar* end = dp + len;
  PRIntn romanPos = len;
  PRIntn n;

  for (; dp < end; dp++) {
    romanPos--;
    addOn.SetLength(0);
    switch(*dp) {
      case '3':  addOn.Append(PRUnichar(achars[romanPos]));
      case '2':  addOn.Append(PRUnichar(achars[romanPos]));
      case '1':  addOn.Append(PRUnichar(achars[romanPos]));
        break;
      case '4':
        addOn.Append(PRUnichar(achars[romanPos]));
        // FALLTHROUGH
      case '5': case '6':
      case '7': case  '8':
        addOn.Append(PRUnichar(bchars[romanPos]));
        for(n=0;n<(*dp-'5');n++) {
          addOn.Append(PRUnichar(achars[romanPos]));
        }
        break;
      case '9':
        addOn.Append(PRUnichar(achars[romanPos]));
        addOn.Append(PRUnichar(achars[romanPos+1]));
        break;
      default:
        break;
    }
    result.Append(addOn);
  }
  return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static PRBool TamilToText ( PRInt32  ordinal,
nsString result 
) [static]

Definition at line 448 of file nsBulletFrame.cpp.

{
   PRUnichar diff = 0x0BE6 - PRUnichar('0');
   DecimalToText(ordinal, result); 
   if (ordinal < 1 || ordinal > 9999) {
     // Can't do those in this system.
     return PR_FALSE;
   }
   PRUnichar* p = result.BeginWriting();
   for(; nsnull != *p ; p++) 
      if(*p != PRUnichar('0'))
         *p += diff;
   return PR_TRUE;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Initial value:
{
0x5b50, 0x4e11, 0x5bc5, 0x536f, 0x8fb0, 0x5df3,
0x5348, 0x672a, 0x7533, 0x9149, 0x620c, 0x4ea5
}

Definition at line 619 of file nsBulletFrame.cpp.

Initial value:
{
0x7532, 0x4e59, 0x4e19, 0x4e01, 0x620a,
0x5df1, 0x5e9a, 0x8f9b, 0x58ec, 0x7678
}

Definition at line 613 of file nsBulletFrame.cpp.

Initial value:
{
  0x000, 0x842c, 0x5104, 0x5146
}

Definition at line 733 of file nsBulletFrame.cpp.

Initial value:
{
  0x000, 0x4E07, 0x4ebf, 0x5146
}

Definition at line 737 of file nsBulletFrame.cpp.

Initial value:
{
  0x000, 0x4E07, 0x5104, 0x5146
}

Definition at line 741 of file nsBulletFrame.cpp.

Initial value:
{
  0x96f6, 0x4e00, 0x4e8c, 0x4e09, 0x56db,  
  0x4e94, 0x516d, 0x4e03, 0x516b, 0x4e5d   
}

Definition at line 710 of file nsBulletFrame.cpp.

Initial value:
{
  0x96f6, 0x58f9, 0x8cb3, 0x53c3, 0x8086,  
  0x4f0d, 0x9678, 0x67d2, 0x634c, 0x7396   
}

Definition at line 715 of file nsBulletFrame.cpp.

Initial value:
{
  0x96f6, 0x58f9, 0x8d30, 0x53c1, 0x8086,  
  0x4f0d, 0x9646, 0x67d2, 0x634c, 0x7396   
}

Definition at line 720 of file nsBulletFrame.cpp.

Initial value:
{
  0x000, 0x5341, 0x767e, 0x5343
}

Definition at line 725 of file nsBulletFrame.cpp.

Initial value:
{
  0x000, 0x62FE, 0x4F70, 0x4EDF
}

Definition at line 729 of file nsBulletFrame.cpp.

Initial value:
{                                      
0x1200, 0x1208, 0x1210, 0x1218, 0x1220, 0x1228,
0x1230, 0x1238, 0x1240, 0x1260, 0x1270, 0x1278,
0x1280, 0x1290, 0x1298, 0x12a0, 0x12a8, 0x12b8,
0x12c8, 0x12d0, 0x12d8, 0x12e0, 0x12e8, 0x12f0,
0x1300, 0x1308, 0x1320, 0x1328, 0x1330, 0x1338,
0x1340, 0x1348, 0x1350
}

Definition at line 653 of file nsBulletFrame.cpp.

Initial value:
{                                      
0x1200, 0x1208, 0x1210, 0x1218, 0x1220, 0x1228,
0x1230, 0x1240, 0x1260, 0x1270, 0x1280, 0x1290,
0x12a0, 0x12a8, 0x12c8, 0x12d0, 0x12d8, 0x12e8,
0x12f0, 0x1308, 0x1320, 0x1330, 0x1338, 0x1340,
0x1348, 0x1350
}

Definition at line 644 of file nsBulletFrame.cpp.

Initial value:
{                                      
0x1200, 0x1208, 0x1210, 0x1218, 0x1228, 0x1230,
0x1238, 0x1240, 0x1250, 0x1260, 0x1270, 0x1278,
0x1290, 0x1298, 0x12a0, 0x12a8, 0x12b8, 0x12c8,
0x12d0, 0x12d8, 0x12e0, 0x12e8, 0x12f0, 0x1300,
0x1308, 0x1320, 0x1328, 0x1330, 0x1338, 0x1348,
0x1350
}

Definition at line 663 of file nsBulletFrame.cpp.

Initial value:
{                                      
0x1200, 0x1208, 0x1210, 0x1218, 0x1220, 0x1228,
0x1230, 0x1238, 0x1240, 0x1250, 0x1260, 0x1270,
0x1278, 0x1280, 0x1290, 0x1298, 0x12a0, 0x12a8,
0x12b8, 0x12c8, 0x12d0, 0x12d8, 0x12e0, 0x12e8,
0x12f0, 0x1300, 0x1308, 0x1320, 0x1328, 0x1330,
0x1338, 0x1340, 0x1348, 0x1350
}

Definition at line 673 of file nsBulletFrame.cpp.

Initial value:
 { 

   0x10D0, 0x10D1, 0x10D2, 0x10D3, 0x10D4, 0x10D5, 0x10D6, 0x10F1, 0x10D7,

   0x10D8, 0x10D9, 0x10DA, 0x10DB, 0x10DC, 0x10F2, 0x10DD, 0x10DE, 0x10DF,

   0x10E0, 0x10E1, 0x10E2, 0x10F3, 0x10E4, 0x10E5, 0x10E6, 0x10E7, 0x10E8,

   0x10E9, 0x10EA, 0x10EB, 0x10EC, 0x10ED, 0x10EE, 0x10F4, 0x10EF, 0x10F0,

   0x10F5
}

Definition at line 998 of file nsBulletFrame.cpp.

Initial value:
{
0xac00, 0xb098, 0xb2e4, 0xb77c, 0xb9c8, 0xbc14,
0xc0ac, 0xc544, 0xc790, 0xcc28, 0xce74, 0xd0c0,
0xd30c, 0xd558
}

Definition at line 625 of file nsBulletFrame.cpp.

Initial value:
{                                      
0x3131, 0x3134, 0x3137, 0x3139, 0x3141, 0x3142,
0x3145, 0x3147, 0x3148, 0x314a, 0x314b, 0x314c,
0x314d, 0x314e
}

Definition at line 632 of file nsBulletFrame.cpp.

Initial value:
 
{

0x05D0, 0x05D1, 0x05D2, 0x05D3, 0x05D4, 0x05D5, 0x05D6, 0x05D7, 0x05D8,

0x05D9, 0x05DB, 0x05DC, 0x05DE, 0x05E0, 0x05E1, 0x05E2, 0x05E4, 0x05E6,

0x05E7, 0x05E8, 0x05E9, 0x05EA
}

Definition at line 814 of file nsBulletFrame.cpp.

Initial value:
{
0x3042, 0x3044, 0x3046, 0x3048, 0x304A, 
0x304B, 0x304D, 0x304F, 0x3051, 0x3053, 
0x3055, 0x3057, 0x3059, 0x305B, 0x305D, 
0x305F, 0x3061, 0x3064, 0x3066, 0x3068, 
0x306A, 0x306B, 0x306C, 0x306D, 0x306E, 
0x306F, 0x3072, 0x3075, 0x3078, 0x307B, 
0x307E, 0x307F, 0x3080, 0x3081, 0x3082, 
0x3084,         0x3086,         0x3088, 
0x3089, 0x308A, 0x308B, 0x308C, 0x308D, 
0x308F, 0x3090,         0x3091, 0x3092, 
0x3093                                  
}

Definition at line 554 of file nsBulletFrame.cpp.

Initial value:
{
0x3044, 0x308D, 0x306F, 0x306B, 0x307B, 
0x3078, 0x3068, 0x3061, 0x308A, 0x306C, 
0x308B, 0x3092, 0x308F, 0x304B, 0x3088, 
0x305F, 0x308C, 0x305D, 0x3064, 0x306D, 
0x306A, 0x3089, 0x3080, 0x3046, 0x3090, 
0x306E, 0x304A, 0x304F, 0x3084, 0x307E, 
0x3051, 0x3075, 0x3053, 0x3048, 0x3066, 
0x3042, 0x3055, 0x304D, 0x3086, 0x3081, 
0x307F, 0x3057, 0x3091, 0x3072, 0x3082, 
0x305B, 0x3059                          
}

Definition at line 572 of file nsBulletFrame.cpp.

Initial value:
{
0x30A2, 0x30A4, 0x30A6, 0x30A8, 0x30AA, 
0x30AB, 0x30AD, 0x30AF, 0x30B1, 0x30B3, 
0x30B5, 0x30B7, 0x30B9, 0x30BB, 0x30BD, 
0x30BF, 0x30C1, 0x30C4, 0x30C6, 0x30C8, 
0x30CA, 0x30CB, 0x30CC, 0x30CD, 0x30CE, 
0x30CF, 0x30D2, 0x30D5, 0x30D8, 0x30DB, 
0x30DE, 0x30DF, 0x30E0, 0x30E1, 0x30E2, 
0x30E4,         0x30E6,         0x30E8, 
0x30E9, 0x30EA, 0x30EB, 0x30EC, 0x30ED, 
0x30EF, 0x30F0,         0x30F1, 0x30F2, 
0x30F3                                  
}

Definition at line 538 of file nsBulletFrame.cpp.

Initial value:
{
0x30A4, 0x30ED, 0x30CF, 0x30CB, 0x30DB, 
0x30D8, 0x30C8, 0x30C1, 0x30EA, 0x30CC, 
0x30EB, 0x30F2, 0x30EF, 0x30AB, 0x30E8, 
0x30BF, 0x30EC, 0x30BD, 0x30C4, 0x30CD, 
0x30CA, 0x30E9, 0x30E0, 0x30A6, 0x30F0, 
0x30CE, 0x30AA, 0x30AF, 0x30E4, 0x30DE, 
0x30B1, 0x30D5, 0x30B3, 0x30A8, 0x30C6, 
0x30A2, 0x30B5, 0x30AD, 0x30E6, 0x30E1, 
0x30DF, 0x30B7, 0x30F1, 0x30D2, 0x30E2, 
0x30BB, 0x30B9                          
}

Definition at line 587 of file nsBulletFrame.cpp.

Initial value:
 
{
0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 
0x0066, 0x0067, 0x0068, 0x0069, 0x006A, 
0x006B, 0x006C, 0x006D, 0x006E, 0x006F, 
0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 
0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 
0x007A                                  
}

Definition at line 514 of file nsBulletFrame.cpp.

Initial value:
{
0x03B1, 0x03B2, 0x03B3, 0x03B4, 0x03B5, 
0x03B6, 0x03B7, 0x03B8, 0x03B9, 0x03BA, 
0x03BB, 0x03BC, 0x03BD, 0x03BE, 0x03BF, 
0x03C0, 0x03C1, 0x03C3, 0x03C4, 0x03C5, 
0x03C6, 0x03C7, 0x03C8, 0x03C9          
}

Definition at line 603 of file nsBulletFrame.cpp.

const char gLowerRomanCharsA[] = "ixcm" [static]

Definition at line 464 of file nsBulletFrame.cpp.

const char gLowerRomanCharsB[] = "vld" [static]

Definition at line 466 of file nsBulletFrame.cpp.

Initial value:
 
{
0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 
0x0046, 0x0047, 0x0048, 0x0049, 0x004A, 
0x004B, 0x004C, 0x004D, 0x004E, 0x004F, 
0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 
0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 
0x005A                                  
}

Definition at line 524 of file nsBulletFrame.cpp.

const char gUpperRomanCharsA[] = "IXCM" [static]

Definition at line 465 of file nsBulletFrame.cpp.

const char gUpperRomanCharsB[] = "VLD" [static]

Definition at line 467 of file nsBulletFrame.cpp.