iText 9.0.0 API
iText.Kernel.Numbering.RomanNumbering Class Reference

This class can produce String combinations representing a roman number. More...

Static Public Member Functions

static String  ToRomanLowerCase (int number)
  Returns a lower case roman representation of an integer. More...
 
static String  ToRomanUpperCase (int number)
  Returns an upper case roman representation of an integer. More...
 
static String  ToRoman (int number, bool upperCase)
  Returns a roman representation of an integer. More...
 

Static Package Functions

static String  Convert (int index)
  Returns a roman representation of an integer. More...
 

Detailed Description

This class can produce String combinations representing a roman number.

This class can produce String combinations representing a roman number. The first roman numbers are: I, II, III, IV, V, VI, VII, VIII, IX, X See http://en.wikipedia.org/wiki/Roman_numerals

Member Function Documentation

◆ Convert()

static String iText.Kernel.Numbering.RomanNumbering.Convert ( int  index )
inlinestaticpackage

Returns a roman representation of an integer.

Parameters
index the original number
Returns
the roman number representation (lower case)

◆ ToRoman()

static String iText.Kernel.Numbering.RomanNumbering.ToRoman ( int  number,
bool  upperCase 
)
inlinestatic

Returns a roman representation of an integer.

Parameters
number a number to be converted to roman notation
upperCase true for upper case representation, false for lower case one
Returns
a roman representation of an integer

◆ ToRomanLowerCase()

static String iText.Kernel.Numbering.RomanNumbering.ToRomanLowerCase ( int  number )
inlinestatic

Returns a lower case roman representation of an integer.

Parameters
number a number to be converted to roman notation
Returns
a lower case roman representation of an integer

◆ ToRomanUpperCase()

static String iText.Kernel.Numbering.RomanNumbering.ToRomanUpperCase ( int  number )
inlinestatic

Returns an upper case roman representation of an integer.

Parameters
number a number to be converted to roman notation
Returns
an upper case roman representation of an integer