Kaydet (Commit) 545cae94 authored tarafından Christian Lippka's avatar Christian Lippka

#88726# convert metric edit engine items when in writer

üst c484adab
......@@ -2,9 +2,9 @@
*
* $RCSfile: unoapi.hxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: cl $ $Date: 2001-02-23 21:19:35 $
* last change: $Author: cl $ $Date: 2001-07-11 13:43:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -62,6 +62,10 @@
#ifndef _SVX_UNOAPI_HXX_
#define _SVX_UNOAPI_HXX_
#ifndef _COM_SUN_STAR_UNO_ANY_HXX_
#include <com/sun/star/uno/Any.hxx>
#endif
#ifndef _COM_SUN_STAR_DRAWING_XSHAPE_HPP_
#include <com/sun/star/drawing/XShape.hpp>
#endif
......@@ -74,6 +78,10 @@
#include <goodies/grfmgr.hxx>
#endif
#ifndef _SFXPOOLITEM_HXX
#include <svtools/poolitem.hxx>
#endif
class SvxShape;
class SdrObject;
class SvxNumBulletItem;
......@@ -129,5 +137,11 @@ void SvxUnogetApiNameForItem( const sal_Int16 nWhich, const String& rInternalNam
*/
void SvxUnogetInternalNameForItem( const sal_Int16 nWhich, const rtl::OUString& rApiName, String& rInternalName ) throw();
/** converts the given any with a metric to 100th/mm if needed */
void SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, com::sun::star::uno::Any & rMetric ) throw();
/** converts the given any with a metric from 100th/mm to the given metric if needed */
void SvxUnoConvertFromMM( const SfxMapUnit eDestinationMapUnit, com::sun::star::uno::Any & rMetric ) throw();
#endif _SVX_UNOAPI_HXX_
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment