22#include <unordered_map>
170typedef std::unordered_map< const char*, EnhancedCustomShapeTokenEnum, rtl::CStringHash, rtl::CStringEqual>
TypeNameHashMap;
177 res[pair.pS] = pair.pE;
187 size_t i, nLen = rShapeType.size();
188 std::unique_ptr<char[]> pBuf(
new char[ nLen + 1 ]);
189 for (
i = 0;
i < nLen;
i++ )
190 pBuf[
i ] =
static_cast<char>(rShapeType[
i ]);
193 TypeNameHashMap::const_iterator aHashIter( rHashMap.find( pBuf.get() ) );
194 if ( aHashIter != rHashMap.end() )
195 eRetValue = (*aHashIter).second;
208 :
static_cast<sal_uInt32
>(
eToken);
EnhancedCustomShapeTokenEnum pE
static const TypeNameHashMap & GetNameHashMap()
std::unordered_map< const char *, EnhancedCustomShapeTokenEnum, rtl::CStringHash, rtl::CStringEqual > TypeNameHashMap
const TokenTable pTokenTableArray[]
EnhancedCustomShapeTokenEnum EASGet(std::u16string_view rShapeType)
EnhancedCustomShapeTokenEnum
@ EAS_extrusion_shininess
@ EAS_handle_range_x_minimum
@ EAS_handle_range_y_maximum
@ EAS_extrusion_diffusion
@ EAS_concentric_gradient_fill_allowed
@ EAS_extrusion_first_light_harsh
@ EAS_NumberOfLineSegments
@ EAS_extrusion_rotation_angle
@ EAS_handle_mirror_horizontal
@ EAS_extrusion_number_of_line_segments
@ EAS_extrusion_light_face
@ EAS_extrusion_second_light_harsh
@ EAS_handle_radius_range_minimum
@ EAS_extrusion_second_light_direction
@ EAS_extrusion_metal_type
@ EAS_extrusion_specularity_loext
@ EAS_handle_radius_range_maximum
@ EAS_handle_range_x_maximum
@ EAS_handle_mirror_vertical
@ EAS_path_stretchpoint_y
@ EAS_SecondLightDirection
@ EAS_extrusion_viewpoint
@ EAS_FirstLightDirection
@ EAS_text_path_same_letter_heights
@ EAS_path_stretchpoint_x
@ EAS_extrusion_specularity
@ EAS_GluePointLeavingDirections
@ EAS_ConcentricGradientFillAllowed
@ EAS_extrusion_first_light_level
@ EAS_extrusion_brightness
@ EAS_extrusion_first_light_direction
@ EAS_glue_point_leaving_directions
@ EAS_extrusion_rotation_center
@ EAS_extrusion_second_light_level
@ EAS_handle_range_y_minimum