WordTemplate Class open setLocale setDataSource process save

WordTemplate.setLocale Method


setLocale(java.util.Locale locale)

Syntax:
public void setLocale(java.util.Locale locale)
Description:

The setLocale method allows you to override the server's default locale when generating a new Word file. For example, to generate a US English document on a French operating system, you could use setLocale to set the Word file's locale to US English. setLocale sets the formatting of dates, numbers, and currency to the specified locale.

Parameters:

Examples:

WordTemplate Class open setLocale setDataSource process save

Copyright © 2003, SoftArtisans, Inc.