1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_linguistic2_ConversionPropertyType_idl__ 24#define __com_sun_star_linguistic2_ConversionPropertyType_idl__ 25 26//============================================================================= 27 28module com { module sun { module star { module linguistic2 { 29 30//============================================================================= 31/** specifies the property type of an entry in a conversion dictionary. 32 33 @see com::sun::star::linguistic2::XConversionDictionary 34 @see com::sun::star::linguistic2::XConversionPropertyType 35 36 @since OpenOffice 2.0 37*/ 38constants ConversionPropertyType 39{ 40 /** There is no property type defined or available 41 */ 42 const short NOT_DEFINED = 0; 43 44 /** Any word that does not fit into any of the other properties 45 */ 46 const short OTHER = 1; 47 48 /** A word or term that is transliterated or used from a non-Chinese language 49 */ 50 const short FOREIGN = 2; 51 52 /** The first name (given name) of a person 53 */ 54 const short FIRST_NAME = 3; 55 56 /** The last name (family name) of a person 57 */ 58 const short LAST_NAME = 4; 59 60 /** The academic or social title of a person 61 */ 62 const short TITLE = 5; 63 64 /** The status of a situation 65 */ 66 const short STATUS = 6; 67 68 /** The name of a location or place 69 */ 70 const short PLACE_NAME = 7; 71 72 /** The description of a business 73 */ 74 const short BUSINESS = 8; 75 76 /** An adjective 77 */ 78 const short ADJECTIVE = 9; 79 80 /** A term that is used to literally describe a circumstance 81 */ 82 const short IDIOM = 10; 83 84 /** An abbreviation 85 */ 86 const short ABBREVIATION = 11; 87 88 /** A numeric word 89 */ 90 const short NUMERICAL = 12; 91 92 /** A noun 93 */ 94 const short NOUN = 13; 95 96 /** A verb 97 */ 98 const short VERB = 14; 99 100 /** The name of a product or a company 101 */ 102 const short BRAND_NAME = 15; 103 104}; 105 106//============================================================================= 107 108}; }; }; }; 109 110#endif 111