diff options
author | Thomas Lange <tl@openoffice.org> | 2001-08-28 06:47:20 +0000 |
---|---|---|
committer | Thomas Lange <tl@openoffice.org> | 2001-08-28 06:47:20 +0000 |
commit | f2333453328db8cd7f13534410ac9623ebc222fc (patch) | |
tree | 8179f79c7333b81819efbfa39c8b23d7b2be51e2 /starmath/inc/symbol.hxx | |
parent | 8cb4323f0023fa6c2081909397a240c63033b8a4 (diff) |
#91580# convert to/from localized symbol names for XML annotation import/export
Diffstat (limited to 'starmath/inc/symbol.hxx')
-rw-r--r-- | starmath/inc/symbol.hxx | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx index 100ac624bd91..0a466b29b147 100644 --- a/starmath/inc/symbol.hxx +++ b/starmath/inc/symbol.hxx @@ -2,9 +2,9 @@ * * $RCSfile: symbol.hxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: tl $ $Date: 2001-06-28 07:19:17 $ + * last change: $Author: tl $ $Date: 2001-08-28 07:46:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -86,7 +86,9 @@ #ifndef UTILITY_HXX #include "utility.hxx" #endif - +#ifndef _SMMOD_HXX +#include <smmod.hxx> +#endif #define SS_ATTR_ACCESS 0x80 @@ -95,11 +97,27 @@ //////////////////////////////////////////////////////////////////////////////// -String GetExportSymbolName( const String &rUiSymbolName ); -String GetUiSymbolName( const String &rExportSymbolName ); +inline const String GetExportSymbolName( const String &rUiSymbolName ) +{ + return SM_MOD1()->GetLocSymbolData().GetExportSymbolName( rUiSymbolName ); +} + + +inline const String GetUiSymbolName( const String &rExportSymbolName ) +{ + return SM_MOD1()->GetLocSymbolData().GetUiSymbolName( rExportSymbolName ); +} + +inline const String GetExportSymbolSetName( const String &rUiSymbolSetName ) +{ + return SM_MOD1()->GetLocSymbolData().GetExportSymbolSetName( rUiSymbolSetName ); +} -String GetExportSymbolSetName( const String &rUiSymbolSetName ); -String GetUiSymbolSetName( const String &rExportSymbolSetName ); + +inline const String GetUiSymbolSetName( const String &rExportSymbolSetName ) +{ + return SM_MOD1()->GetLocSymbolData().GetUiSymbolSetName( rExportSymbolSetName ); +} //////////////////////////////////////////////////////////////////////////////// |