The WPPageNumber class defines the following API property that specifies the page number format:
void setFormat(String format) /* The valid formats are decimal, upper-roman, lower-roman, upper-alpha, and lower-alpha */
String getFormat()