| Modifier and Type | Field and Description |
|---|---|
| public static final String | FRACTIONAL_DISPLAY_DECIMAL
Constant for showing a fractional value as decimal to the precision specified by the D entry. |
| public static final String | FRACTIONAL_DISPLAY_FRACTION
Constant for showing a fractional value as a fraction with denominator specified by the D entry. |
| public static final String | FRACTIONAL_DISPLAY_ROUND
Constant for showing a fractional value without fractional part; round to the nearest whole unit. |
| public static final String | FRACTIONAL_DISPLAY_TRUNCATE
Constant for showing a fractional value without fractional part; truncate to achieve whole units. |
| public static final String | LABEL_PREFIX_TO_VALUE
Constant indicating that the label specified by U is a postfix to the value. |
| public static final String | LABEL_SUFFIX_TO_VALUE
Constant indicating that the label specified by U is a suffix to the value. |
| private final COSDictionary | |
| public static final String | TYPE
The type of the dictionary. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public float | |
| public COSDictionary | Returns: the number format dictionaryImplements org. This will return the dictionary. |
| public String | Returns: decimal separatorThis will return the text to be used as the decimal point in displaying numerical values. |
| public int | Returns: the precision or denominatorThis will return the precision or denominator of a fractional amount. |
| public String | Returns: the manner to display a fractional valueThis will return the value for the manner to display a fractional value. |
| public String | Returns: label positionThis will return a value indicating the ordering of the label specified by U to the calculated unit value. |
| public String | Returns: label prefixThis will return the text to be concatenated to the left of the label specified by U. |
| public String | Returns: label suffixThis will return the text to be concatenated after the label specified by U. |
| public String | Returns: thousands separatorThis will return the text to be used between orders of thousands in display of numerical values. |
| public String | |
| public String | |
| public boolean | Returns: fdThis will return the value indication if the denominator of the fractional value is reduced/truncated . |
| public void | setConversionFactor(float
the conversion factor conversionFactor)This will set the conversion factor. |
| public void | setDecimalSeparator(String
decimal separator decimalSeparator)This will set the text to be used as the decimal point in displaying numerical values. |
| public void | setDenominator(int
the precision or denominator denominator)This will set the precision or denominator of a fractional amount. |
| public void | setFD(boolean
fd fd)This will set the value indication if the denominator of the fractional value is reduced/truncated . |
| public void | setFractionalDisplay(String
the manner to display a fractional value fractionalDisplay)This will set the value for the manner to display a fractional value. |
| public void | setLabelPositionToValue(String
label position labelPositionToValue)This will set the value indicating the ordering of the label specified by U to the calculated unit value. |
| public void | setLabelPrefixString(String
label prefix labelPrefixString)This will set the text to be concatenated to the left of the label specified by U. |
| public void | setLabelSuffixString(String
label suffix labelSuffixString)This will set the text to be concatenated after the label specified by U. |
| public void | setThousandsSeparator(String
thousands separator thousandsSeparator)This will set the text to be used between orders of thousands in display of numerical values. |
| public void |
| FRACTIONAL_DISPLAY_DECIMAL | back to summary |
|---|---|
| public static final String FRACTIONAL_DISPLAY_DECIMAL Constant for showing a fractional value as decimal to the precision specified by the D entry. | |
| FRACTIONAL_DISPLAY_FRACTION | back to summary |
|---|---|
| public static final String FRACTIONAL_DISPLAY_FRACTION Constant for showing a fractional value as a fraction with denominator specified by the D entry. | |
| FRACTIONAL_DISPLAY_ROUND | back to summary |
|---|---|
| public static final String FRACTIONAL_DISPLAY_ROUND Constant for showing a fractional value without fractional part; round to the nearest whole unit. | |
| FRACTIONAL_DISPLAY_TRUNCATE | back to summary |
|---|---|
| public static final String FRACTIONAL_DISPLAY_TRUNCATE Constant for showing a fractional value without fractional part; truncate to achieve whole units. | |
| LABEL_PREFIX_TO_VALUE | back to summary |
|---|---|
| public static final String LABEL_PREFIX_TO_VALUE Constant indicating that the label specified by U is a postfix to the value. | |
| LABEL_SUFFIX_TO_VALUE | back to summary |
|---|---|
| public static final String LABEL_SUFFIX_TO_VALUE Constant indicating that the label specified by U is a suffix to the value. | |
| numberFormatDictionary | back to summary |
|---|---|
| private final COSDictionary numberFormatDictionary | |
| TYPE | back to summary |
|---|---|
| public static final String TYPE The type of the dictionary. | |
| PDNumberFormatDictionary | back to summary |
|---|---|
| public PDNumberFormatDictionary() Constructor. | |
| PDNumberFormatDictionary | back to summary |
|---|---|
| public PDNumberFormatDictionary(COSDictionary dictionary) Constructor.
| |
| getConversionFactor | back to summary |
|---|---|
| public float getConversionFactor() This will return the conversion factor.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. This will return the dictionary.
| |
| getDecimalSeparator | back to summary |
|---|---|
| public String getDecimalSeparator() This will return the text to be used as the decimal point in displaying numerical values.
| |
| getDenominator | back to summary |
|---|---|
| public int getDenominator() This will return the precision or denominator of a fractional amount.
| |
| getFractionalDisplay | back to summary |
|---|---|
| public String getFractionalDisplay() This will return the value for the manner to display a fractional value.
| |
| getLabelPositionToValue | back to summary |
|---|---|
| public String getLabelPositionToValue() This will return a value indicating the ordering of the label specified by U to the calculated unit value.
| |
| getLabelPrefixString | back to summary |
|---|---|
| public String getLabelPrefixString() This will return the text to be concatenated to the left of the label specified by U.
| |
| getLabelSuffixString | back to summary |
|---|---|
| public String getLabelSuffixString() This will return the text to be concatenated after the label specified by U.
| |
| getThousandsSeparator | back to summary |
|---|---|
| public String getThousandsSeparator() This will return the text to be used between orders of thousands in display of numerical values.
| |
| getType | back to summary |
|---|---|
| public String getType() This will return the type of the number format dictionary. It must be "NumberFormat"
| |
| getUnits | back to summary |
|---|---|
| public String getUnits() This will return the label for the units.
| |
| isFD | back to summary |
|---|---|
| public boolean isFD() This will return the value indication if the denominator of the fractional value is reduced/truncated .
| |
| setConversionFactor | back to summary |
|---|---|
| public void setConversionFactor(float conversionFactor) This will set the conversion factor.
| |
| setDecimalSeparator | back to summary |
|---|---|
| public void setDecimalSeparator(String decimalSeparator) This will set the text to be used as the decimal point in displaying numerical values.
| |
| setDenominator | back to summary |
|---|---|
| public void setDenominator(int denominator) This will set the precision or denominator of a fractional amount.
| |
| setFD | back to summary |
|---|---|
| public void setFD(boolean fd) This will set the value indication if the denominator of the fractional value is reduced/truncated . The denominator may not be reduced/truncated if true
| |
| setFractionalDisplay | back to summary |
|---|---|
| public void setFractionalDisplay(String fractionalDisplay) This will set the value for the manner to display a fractional value. Allowed values are "D", "F", "R", "T" and null.
| |
| setLabelPositionToValue | back to summary |
|---|---|
| public void setLabelPositionToValue(String labelPositionToValue) This will set the value indicating the ordering of the label specified by U to the calculated unit value. Possible values are "S", "P" and null.
| |
| setLabelPrefixString | back to summary |
|---|---|
| public void setLabelPrefixString(String labelPrefixString) This will set the text to be concatenated to the left of the label specified by U.
| |
| setLabelSuffixString | back to summary |
|---|---|
| public void setLabelSuffixString(String labelSuffixString) This will set the text to be concatenated after the label specified by U.
| |
| setThousandsSeparator | back to summary |
|---|---|
| public void setThousandsSeparator(String thousandsSeparator) This will set the text to be used between orders of thousands in display of numerical values.
| |
| setUnits | back to summary |
|---|---|
| public void setUnits(String units) This will set the label for the units.
| |