From 80fd302f9b7840adab1bb97e4165a852e91a8036 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Tue, 22 May 2007 14:14:53 +0000 Subject: INTEGRATION: CWS chart2mst3 (1.6.168); FILE MERGED 2006/10/19 03:57:31 bm 1.6.168.5: RESYNC: (1.8-1.9); FILE MERGED 2005/10/08 19:59:10 bm 1.6.168.4: RESYNC: (1.7-1.8); FILE MERGED 2005/03/21 13:37:39 bm 1.6.168.3: some more symbols need an export specifier SVX_DLLPUBLIC 2005/03/17 21:19:26 bm 1.6.168.2: RESYNC: (1.6-1.7); FILE MERGED 2004/06/04 07:42:01 bm 1.6.168.1: +SvxUnoGetWhichIdForNamedProperty to get which ids for properties like FillGradientName (using the map for shapes SVXMAP_SHAPE) --- svx/inc/unoapi.hxx | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/svx/inc/unoapi.hxx b/svx/inc/unoapi.hxx index 414a72e83bd6..cd3dbe4e2683 100644 --- a/svx/inc/unoapi.hxx +++ b/svx/inc/unoapi.hxx @@ -4,9 +4,9 @@ * * $RCSfile: unoapi.hxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: hr $ $Date: 2006-06-19 14:47:11 $ + * last change: $Author: vg $ $Date: 2007-05-22 15:14:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -118,6 +118,15 @@ void SvxUnogetApiNameForItem( const sal_Int16 nWhich, const String& rInternalNam */ void SvxUnogetInternalNameForItem( const sal_Int16 nWhich, const rtl::OUString& rApiName, String& rInternalName ) throw(); +/** returns the which id for the given property name. This only works for + properties of shapes (map SVXMAP_SHAPE is used for searching) + + Note: As this function has no access to SvxItemPropertySet but only to + SfxItemPropertyMap, the search in the map is not done via bsearch, but by + linear search. + */ +SVX_DLLPUBLIC sal_Int16 SvxUnoGetWhichIdForNamedProperty( const ::rtl::OUString & rPropName ); + /** converts the given any with a metric to 100th/mm if needed */ void SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, com::sun::star::uno::Any & rMetric ) throw(); -- cgit