PDF4Java Reference Documentation
com.o2sol.pdf4java.spatial Package / PDFNumberFormat Class
Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFNumberFormat Class Methods
In This Topic

For a list of all members of this type, see PDFNumberFormat members.

Public Methods

| Name | Description
--- | --- | ---
| getConversionFactor | Gets the conversion factor. When this object is in the first number format in the array, its meaning (that is, what it shall be multiplied by) depends on which property in the references the number format array.
| getCosNumberFormat | Gets the COS number format.
| getDecimalSeparator | Gets the decimal separator. An empty string indicates that the default shall be used. Default value is PERIOD (0x2E).
| getDenominator | Gets the denominator. This property has meaning only if this object is the last one in a number format collection.
| getDisplayMeasureUnitAsPrefix | Gets a value indicating whether the is displayed before or after the calculated unit value. The characters specified by and shall be concatenated before considering this method.
| getFractionDisplay | Gets the fraction display. This method has meaning only if this object is the last one in a number format collection.
| getMeasureUnit | Gets the measure unit.
| getPrecision | Gets the precision. The value must be a power of 10 (10, 100, 1000, 10000, etc). . This property has meaning only if this object is the last one in a number format collection.
| getPrefix | Gets the prefix. An empty string indicates that no text shall be added. Default value is a single ASCII SPACE character (0x20).
| getReduceFraction | Gets a value indicating whether the fractional part can be reduced or the low-order zeros truncated.
| getSuffix | Gets the suffix. An empty string indicates that no text shall be added.Default value is a single ASCII SPACE character (0x20).
| getThousandsSeparator | Gets the thousands separator An empty string indicates that no text shall be added. Default value is COMMA (0x2C).
| setConversionFactor | Sets the conversion factor. When this object is in the first number format in the array, its meaning (that is, what it shall be multiplied by) depends on which property in the references the number format array.
| setDecimalSeparator | Sets the decimal separator. An empty string indicates that the default shall be used. Default value is PERIOD (0x2E).
| setDenominator | Sets the denominator. This property has meaning only if this object is the last one in a number format collection.
| setDisplayMeasureUnitAsPrefix | Sets a value indicating whether the is displayed before or after the calculated unit value. The characters specified by and shall be concatenated before considering this method.
| setFractionDisplay | Sets the fraction display. This method has meaning only if this object is the last one in a number format collection.
| setMeasureUnit | Sets the measure unit.
| setPrecision | Sets the precision. The value must be a power of 10 (10, 100, 1000, 10000, etc). . This property has meaning only if this object is the last one in a number format collection.
| setPrefix | Sets the prefix. An empty string indicates that no text shall be added. Default value is a single ASCII SPACE character (0x20).
| setReduceFraction | Sets a value indicating whether the fractional part can be reduced or the low-order zeros truncated.
| setSuffix | Sets the suffix. An empty string indicates that no text shall be added.Default value is a single ASCII SPACE character (0x20).
| setThousandsSeparator | Sets the thousands separator. An empty string indicates that no text shall be added. Default value is COMMA (0x2C).

Top
See Also

#### Reference

PDFNumberFormat Class
com.o2sol.pdf4java.spatial Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.