/**************************************************************
 * 
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 * 
 *************************************************************/


#ifndef __com_sun_star_util_NumberFormatter_idl__ 
#define __com_sun_star_util_NumberFormatter_idl__ 
 
#ifndef __com_sun_star_util_XNumberFormatter_idl__ 
#include <com/sun/star/util/XNumberFormatter.idl> 
#endif 
 
#ifndef __com_sun_star_util_XNumberFormatPreviewer_idl__ 
#include <com/sun/star/util/XNumberFormatPreviewer.idl> 
#endif 
 
 
//============================================================================= 
 
 module com {  module sun {  module star {  module util {  
 
//============================================================================= 
 
/** represents an object which can format numbers and strings.

	<p>A NumberFormatter, if available, can be created by the global
	service manager.</p>
 */
published service NumberFormatter
{ 
	/** is used to format or parse numbers using formats from a
		<type>NumberFormats</type> object.
	 */
	interface com::sun::star::util::XNumberFormatter; 
	
	/** is used to format numbers using a number format string
		that is not inserted into a <type>NumberFormats</type> object.
	 */
	interface com::sun::star::util::XNumberFormatPreviewer; 
 
}; 
 
//============================================================================= 
 
}; }; }; };  
 
#endif