IFieldResultFormatter

IFieldResultFormatter

Overview

IFieldResultFormatter is an interface in Aspose.Words FOSS for Java.

Implement this interface if you want to control how the field result is formatted.

Edition status of its 3 listed members (a property and its accessor methods are listed separately, overloads once): 3 not yet exercised by a verified example.

This interface declares 4 methods for IFieldResultFormatter objects in Java programs. Available methods include: format, formatDateTime, formatNumeric. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.

Methods

SignatureDescription
formatNumeric(value: double, format: String) → StringCalled when Aspose.Words applies a numeric format switch, i.e. # “#.##”.
formatDateTime(value: java.util.Date, format: String, calendarType: int) → StringCalled when Aspose.Words applies a date/time format switch, i.e. @ “dd.MM.yyyy”.
format(value: String, format: int) → StringCalled when Aspose.Words applies a capitalization format switch, i.e. * Upper.
format(value: double, format: int) → StringCalled when Aspose.Words applies a number format switch, i.e. * Ordinal.

See Also