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

jxl::write::NumberFormat Class Reference

Inheritance diagram for jxl::write::NumberFormat:

jxl::write::biff::NumberFormatRecord jxl::biff::DisplayFormat jxl::biff::FormatRecord jxl::biff::WritableRecordData jxl::biff::DisplayFormat jxl::format::Format jxl::biff::RecordData jxl::biff::ByteData

List of all members.

Detailed Description

A custom user defined number format, which may be instantiated within user applications in order to present numerical values to the appropriate level of accuracy. The string format used to create a number format adheres to the standard java specification, and JExcelAPI makes the necessary modifications so that it is rendered in Excel as the nearest possible equivalent. Once created, this may be used within a CellFormat object, which in turn is a parameter passed to the constructor of the Number cell

Definition at line 37 of file NumberFormat.java.

Public Member Functions

boolean equals (Object o)
final byte[] getBytes ()
byte[] getData ()
final DateFormat getDateFormat ()
int getFormatIndex ()
String getFormatString ()
int getIndexCode ()
final NumberFormat getNumberFormat ()
int hashCode ()
void initialize (int pos)
boolean isBuiltIn ()
final boolean isDate ()
boolean isInitialized ()
final boolean isNumber ()
 NumberFormat (String format, NonValidatingFormat dummy)
 NumberFormat (String format)

Static Public Attributes

static final BiffType biff7 = new BiffType()
static final BiffType biff8 = new BiffType()
static final NonValidatingFormat COMPLEX_FORMAT
static final String CURRENCY_DOLLAR = "[$$-409]"
static final String CURRENCY_EURO_PREFIX = "[$-2]"
static final String CURRENCY_EURO_SUFFIX = "[$-1]"
static final String CURRENCY_JAPANESE_YEN = "[$-411]"
static final String CURRENCY_POUND = ""
static final String FRACTION_HALVES = "?/2"
static final String FRACTION_HUNDREDTHS = "?/100"
static final String FRACTION_QUARTERS = "?/4"
static final String FRACTION_SIXTEENTHS = "?/16"
static final String FRACTION_TENTHS = "?/10"
static final String FRACTION_THREE_DIGITS = "???/???"
static final String FRACTIONS_EIGHTHS = "?/8"

Protected Member Functions

final int getCode ()
Record getRecord ()
final String replace (String input, String search, String replace)
final void setFormatString (String s)

Static Protected Attributes

static final int maxRecordLength = 8228

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

Generated by  Doxygen 1.6.0   Back to index