This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push: new 2c8c108 Fixed typos, removed whitespace 2c8c108 is described below commit 2c8c108ad7f2c5beb4b9b8617c2004bf2d017c8f Author: mseidel <msei...@apache.org> AuthorDate: Tue Nov 10 14:15:24 2020 +0100 Fixed typos, removed whitespace --- main/offapi/com/sun/star/i18n/CTLScriptType.idl | 13 ++++----- .../com/sun/star/i18n/XCharacterClassification.idl | 19 ++++++------ .../com/sun/star/i18n/XExtendedTextConversion.idl | 23 ++++++++------- .../com/sun/star/i18n/XExtendedTransliteration.idl | 13 +++++---- main/offapi/com/sun/star/i18n/XLocaleData.idl | 12 ++++---- main/offapi/com/sun/star/i18n/XTransliteration.idl | 34 ++++++++++++---------- 6 files changed, 60 insertions(+), 54 deletions(-) diff --git a/main/offapi/com/sun/star/i18n/CTLScriptType.idl b/main/offapi/com/sun/star/i18n/CTLScriptType.idl index 8c75aa7..8f28e9f 100644 --- a/main/offapi/com/sun/star/i18n/CTLScriptType.idl +++ b/main/offapi/com/sun/star/i18n/CTLScriptType.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -24,15 +24,14 @@ #ifndef __com_sun_star_i18n_CTLScriptType_idl__ #define __com_sun_star_i18n_CTLScriptType_idl__ - //============================================================================= -module com { module sun { module star { module i18n { +module com { module sun { module star { module i18n { //============================================================================= //-------------------------------------------------------------------------- -/** CTL tcript type constants for layout engine, returned by +/** CTL script type constants for layout engine, returned by <member>XScriptTypeDetector::getCTLScriptType()</member> @since OpenOffice 1.1.2 diff --git a/main/offapi/com/sun/star/i18n/XCharacterClassification.idl b/main/offapi/com/sun/star/i18n/XCharacterClassification.idl index 7c31835..c932d03 100644 --- a/main/offapi/com/sun/star/i18n/XCharacterClassification.idl +++ b/main/offapi/com/sun/star/i18n/XCharacterClassification.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -41,7 +41,7 @@ module com { module sun { module star { module i18n { /* -Possible tokens to be parsed with parse...Token(): +Possible tokens to be parsed with parse...Token(): UPASCALPHA=[A-Z] LOASCALPHA=[a-z] @@ -71,8 +71,8 @@ ALPHA_NAME=ALPHA *(ALNUM|DEFCHARS) ANY_NAME=1*(ALNUM|DEFCHARS) SINGLE_QUOTE_NAME=ASC_QUOTE(1*CHAR)ASC_QUOTE DOUBLE_QUOTE_NAME=ASC_DBL_QUOTE(*CHAR)ASC_DBL_QUOTE -ASC_NUMBER=[SIGN]*(1*ASC_DIGIT *(GRPSEP 1*ASC_DIGIT))[DECSEP]1*ASC_DIGIT[EXPONENT] -NUMBER=[SIGN]*(1*DIGIT *(GRPSEP 1*DIGIT))[DECSEP]1*DIGIT[EXPONENT] +ASC_NUMBER=[SIGN]*(1*ASC_DIGIT *(GRPSEP 1*ASC_DIGIT))[DECSEP]1*ASC_DIGIT[EXPONENT] +NUMBER=[SIGN]*(1*DIGIT *(GRPSEP 1*DIGIT))[DECSEP]1*DIGIT[EXPONENT] */ @@ -122,7 +122,7 @@ published interface XCharacterClassification : com::sun::star::uno::XInterface //------------------------------------------------------------------------ /// Get <type>KCharacterType</type> of character at position <em>nPos</em>. - long getCharacterType( [in] string aText, [in] long nPos, + long getCharacterType( [in] string aText, [in] long nPos, [in] com::sun::star::lang::Locale aLocale ); //------------------------------------------------------------------------ @@ -152,7 +152,7 @@ published interface XCharacterClassification : com::sun::star::uno::XInterface @returns A filled <type>ParseResult</type> structure. If no - unambigous token could be parsed, + unambiguous token could be parsed, <member>ParseResult::TokenType</member> will be set to <b>0</b> (zero), other fields will contain the values parsed so far. @@ -277,6 +277,7 @@ published interface XCharacterClassification : com::sun::star::uno::XInterface }; //============================================================================= + }; }; }; }; #endif diff --git a/main/offapi/com/sun/star/i18n/XExtendedTextConversion.idl b/main/offapi/com/sun/star/i18n/XExtendedTextConversion.idl index ba362dc..28190f6 100644 --- a/main/offapi/com/sun/star/i18n/XExtendedTextConversion.idl +++ b/main/offapi/com/sun/star/i18n/XExtendedTextConversion.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -33,13 +33,13 @@ module com { module sun { module star { module i18n { //============================================================================= -/** +/** This interface provides Text Conversion service. <p> It is derived from <type scope="::com::sun::star::i18n">XTextConversion</type> and provides a new conversion function containing position map (offset) between original - and conveted string. </p> + and converted string. </p> @since OpenOffice 2.0 */ @@ -47,7 +47,7 @@ published interface XExtendedTextConversion : ::com::sun::star::i18n::XTextConve { //------------------------------------------------------------------------- /** - The functionality of this method is same as + The functionality of this method is same as <member scope="::com::sun::star::i18n">XTextConversion::getConversion()</member>, except an additional output parameter rOffset. @@ -56,23 +56,24 @@ published interface XExtendedTextConversion : ::com::sun::star::i18n::XTextConve grapheme of output string, rOffset provides the offset array whose index is the offset of output string, the element containing the position within the input string. - When the graphemes of input and output strings are simple - one to one mapping, to improve the performance, returned + When the graphemes of input and output strings are simple + one to one mapping, to improve the performance, returned rOffset will be a zero length array. */ string getConversionWithOffset( - [in] string aText, + [in] string aText, [in] long nStartPos, [in] long nLength, [in] ::com::sun::star::lang::Locale aLocale, [in] short nTextConversionType, [in] long nTextConversionOptions, [out] sequence <long> rOffset ) - raises( com::sun::star::lang::IllegalArgumentException, + raises( com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::NoSupportException ); }; //============================================================================= + }; }; }; }; #endif diff --git a/main/offapi/com/sun/star/i18n/XExtendedTransliteration.idl b/main/offapi/com/sun/star/i18n/XExtendedTransliteration.idl index 9439d07..b68dc17 100644 --- a/main/offapi/com/sun/star/i18n/XExtendedTransliteration.idl +++ b/main/offapi/com/sun/star/i18n/XExtendedTransliteration.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,16 +7,16 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ @@ -43,7 +43,7 @@ module com { module sun { module star { module i18n { additional functionality for character to character and string to string without offset parameter transliteration. These should be used for performance reason if their full-blown - counterparts aren't neded. </p> + counterparts aren't needed. </p> @since OpenOffice 1.1.2 */ @@ -52,7 +52,7 @@ published interface XExtendedTransliteration : ::com::sun::star::i18n::XTranslit //------------------------------------------------------------------------ /** Transliterate a substring. The functionality is the same as <member scope="::com::sun::star::i18n">XTransliteration::transliterate()</member> - but omits the offset prameter to improve performance. + but omits the offset parameter to improve performance. @param aStr The input string. @@ -96,6 +96,7 @@ published interface XExtendedTransliteration : ::com::sun::star::i18n::XTranslit }; //============================================================================= + }; }; }; }; #endif diff --git a/main/offapi/com/sun/star/i18n/XLocaleData.idl b/main/offapi/com/sun/star/i18n/XLocaleData.idl index 79b8d91..923224f 100644 --- a/main/offapi/com/sun/star/i18n/XLocaleData.idl +++ b/main/offapi/com/sun/star/i18n/XLocaleData.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,19 +7,20 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ + #ifndef __com_sun_star_i18n_XLocaleData_idl__ #define __com_sun_star_i18n_XLocaleData_idl__ @@ -108,7 +109,7 @@ published interface XLocaleData: com::sun::star::uno::XInterface [in] com::sun::star::lang::Locale aLocale ); //------------------------------------------------------------------------ - /** returns all LC_MISC forbidden charatcers for a locale. + /** returns all LC_MISC forbidden characters for a locale. */ ForbiddenCharacters getForbiddenCharacters ( [in] com::sun::star::lang::Locale aLocale ); @@ -128,6 +129,7 @@ published interface XLocaleData: com::sun::star::uno::XInterface }; //============================================================================ + }; }; }; }; #endif diff --git a/main/offapi/com/sun/star/i18n/XTransliteration.idl b/main/offapi/com/sun/star/i18n/XTransliteration.idl index 97e47c4..7c61465 100644 --- a/main/offapi/com/sun/star/i18n/XTransliteration.idl +++ b/main/offapi/com/sun/star/i18n/XTransliteration.idl @@ -1,5 +1,5 @@ /************************************************************** - * + * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information @@ -7,19 +7,20 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. - * + * *************************************************************/ + #ifndef __com_sun_star_i18n_XTransliteration_idl__ #define __com_sun_star_i18n_XTransliteration_idl__ @@ -71,7 +72,7 @@ module com { module sun { module star { module i18n { * All the IGNORE-type functionalities (Range, equals) are based on mapping. * except equals() method in IGNORE_CASE, which is based on Locale-independent * casefolding - * ( This second assumption is very complicated and may cause confusion of use) + * (This second assumption is very complicated and may cause confusion of use) * * 1. * We are assuming Upper to Lower mapping as one of transliteration. @@ -90,7 +91,7 @@ module com { module sun { module star { module i18n { * * 4. * Implementation name in the methods below is not the same as - * the true implemenation name registered. + * the true implementation name registered. * In particular, for generic modules:"UPPERCASE_LOWERCASE", * "LOWERCASE_UPPERCASE", "IGNORE_CASE", there is no registered name. */ @@ -166,7 +167,7 @@ published interface XTransliteration: com::sun::star::uno::XInterface //------------------------------------------------------------------------ /** List the available transliteration modules for a given locale. - It can be filtered based on its type. + It can be filtered based on its type. @param nType A bitmask field of values defined in @@ -187,7 +188,7 @@ published interface XTransliteration: com::sun::star::uno::XInterface @param nStartPos Start position within aStr from where transliteration starts. - + @param nCount Number of codepoints to be transliterated. @@ -212,7 +213,7 @@ published interface XTransliteration: com::sun::star::uno::XInterface //------------------------------------------------------------------------ /** Match two substrings and find if they are equivalent as per this transliteration. - + <p> This method can be called if the object has <type>TransliterationType</type> IGNORE attribute. </p> @@ -253,25 +254,25 @@ published interface XTransliteration: com::sun::star::uno::XInterface <FALSE/> else. */ - boolean equals( [in] string aStr1, [in] long nPos1, [in] long nCount1, + boolean equals( [in] string aStr1, [in] long nPos1, [in] long nCount1, [out] long rMatch1, [in] string aStr2, [in] long nPos2, [in] long nCount2, [out] long rMatch2 ); //------------------------------------------------------------------------ /** Transliterate one set of characters to another. - + <p> This method is intended for getting corresponding ranges and can be called if the object has <type>TransliterationType</type> IGNORE attribute. </p> - + <p> For example: generic CASE_IGNORE transliterateRange( "a", "i" ) returns {"A","I","a","i"}, transliterateRange( "a", "a" ) returns {"A","A","a","a"}. </p> - - <p> Use this transliteration to create regular expresssions like + + <p> Use this transliteration to create regular expressions like [a-i] --> [A-Ia-i]. </p> - + @returns String sequence containing corresponding transliterated pairs of characters to represent a range. @@ -279,7 +280,7 @@ published interface XTransliteration: com::sun::star::uno::XInterface sequence <string> transliterateRange( [in] string aStr1, [in] string aStr2 ); //------------------------------------------------------------------------ - /** Compare 2 substrings as per this transliteration. It translates both + /** Compare 2 substrings as per this transliteration. It translates both substrings before comparing them. @param aStr1 @@ -322,6 +323,7 @@ published interface XTransliteration: com::sun::star::uno::XInterface }; //============================================================================= + }; }; }; }; #endif