1/**************************************************************
| 1/**************************************************************
|
2 *
| 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
| 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 *
| 10 *
|
11 * http://www.apache.org/licenses/LICENSE-2.0
| 11 * http://www.apache.org/licenses/LICENSE-2.0
|
12 *
| 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.
| 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 *
| 19 *
|
20 *************************************************************/ 21 22
| 20 *************************************************************/ 21 22
|
23#include "sc.hrc" // Definition RID_XXX in StarCalc
| 23 24#include "sc.hrc" // Definition RID_XXX in Calc
|
24#include "rot13.hrc" 25 26/* #i54546# The code belonging to this resource file is sample code for the 27 * legacy AddIn interface. The interface is still supported, but deprecated. 28 * The strings here were displayed in the function wizard. To prevent 29 * duplicated and useless translation effort (functions and strings are also 30 * part of the new scaddin module), the strings here are now laid out as fixed 31 * untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl 32 * script merging the raw .cl and the .src during build time didn't work 33 * anymore anyway, since we switched from MS-LCIDs / telephone area codes to 34 * ISO codes for resources, and introduced localize.sdf files. Returned was 35 * always an empty string. Now at least the fixed English string is returned. 36 * */ 37 38Resource RID_SC_ADDIN_ROT13 39{ 40 String ROT13_DESC // Description 41 {
| 25#include "rot13.hrc" 26 27/* #i54546# The code belonging to this resource file is sample code for the 28 * legacy AddIn interface. The interface is still supported, but deprecated. 29 * The strings here were displayed in the function wizard. To prevent 30 * duplicated and useless translation effort (functions and strings are also 31 * part of the new scaddin module), the strings here are now laid out as fixed 32 * untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl 33 * script merging the raw .cl and the .src during build time didn't work 34 * anymore anyway, since we switched from MS-LCIDs / telephone area codes to 35 * ISO codes for resources, and introduced localize.sdf files. Returned was 36 * always an empty string. Now at least the fixed English string is returned. 37 * */ 38 39Resource RID_SC_ADDIN_ROT13 40{ 41 String ROT13_DESC // Description 42 {
|
42 Text = "ROT13 Algorithm, each alphabetical character of the text is rotated by 13 in the alphabet";
| 43 Text = "ROT13 Algorithm, each alphabetical character of the text is rotated by 13 in the alphabet" ;
|
43 }; 44 45 String ROT13_PAR1_NAME // Name of Parameter 1 46 {
| 44 }; 45 46 String ROT13_PAR1_NAME // Name of Parameter 1 47 {
|
47 Text = "Text";
| 48 Text = "Text" ;
|
48 }; 49 50 String ROT13_PAR1_DESC // Description of Parameter 1 51 {
| 49 }; 50 51 String ROT13_PAR1_DESC // Description of Parameter 1 52 {
|
52 Text = "The text that is to be rotated";
| 53 Text = "The text that is to be rotated" ;
|
53 }; 54};
| 54 }; 55};
|
| 56 57// ********************************************************************** EOF
|
| |