xref: /trunk/main/sc/addin/rot13/rot13.src (revision 86e1cf34)
182177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
382177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
482177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
582177cdbSAndrew Rist * distributed with this work for additional information
682177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
782177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
882177cdbSAndrew Rist * "License"); you may not use this file except in compliance
982177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
1082177cdbSAndrew Rist *
1182177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
1282177cdbSAndrew Rist *
1382177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
1482177cdbSAndrew Rist * software distributed under the License is distributed on an
1582177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1682177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
1782177cdbSAndrew Rist * specific language governing permissions and limitations
1882177cdbSAndrew Rist * under the License.
1982177cdbSAndrew Rist *
2082177cdbSAndrew Rist *************************************************************/
2182177cdbSAndrew Rist
2282177cdbSAndrew Rist
23cdf0e10cSrcweir#include "sc.hrc" // Definition RID_XXX in StarCalc
24cdf0e10cSrcweir#include "rot13.hrc"
25cdf0e10cSrcweir
26cdf0e10cSrcweir/* #i54546# The code belonging to this resource file is sample code for the
27cdf0e10cSrcweir * legacy AddIn interface. The interface is still supported, but deprecated.
28cdf0e10cSrcweir * The strings here were displayed in the function wizard. To prevent
29cdf0e10cSrcweir * duplicated and useless translation effort (functions and strings are also
30*86e1cf34SPedro Giffuni * part of the new scaddin module), the strings here are now laid out as fixed
31cdf0e10cSrcweir * untranslatable strings. The entire mechanism with the ../util/cl2c.pl perl
32cdf0e10cSrcweir * script merging the raw .cl and the .src during build time didn't work
33cdf0e10cSrcweir * anymore anyway, since we switched from MS-LCIDs / telephone area codes to
34cdf0e10cSrcweir * ISO codes for resources, and introduced localize.sdf files. Returned was
35cdf0e10cSrcweir * always an empty string. Now at least the fixed English string is returned.
36cdf0e10cSrcweir * */
37cdf0e10cSrcweir
38cdf0e10cSrcweirResource RID_SC_ADDIN_ROT13
39cdf0e10cSrcweir{
40cdf0e10cSrcweir	String ROT13_DESC // Description
41cdf0e10cSrcweir	{
42cdf0e10cSrcweir		Text = "ROT13 Algorithm, each alphabetical character of the text is rotated by 13 in the alphabet";
43cdf0e10cSrcweir	};
44cdf0e10cSrcweir
45cdf0e10cSrcweir	String ROT13_PAR1_NAME // Name of Parameter 1
46cdf0e10cSrcweir	{
47cdf0e10cSrcweir		Text = "Text";
48cdf0e10cSrcweir	};
49cdf0e10cSrcweir
50cdf0e10cSrcweir	String ROT13_PAR1_DESC // Description of Parameter 1
51cdf0e10cSrcweir	{
52cdf0e10cSrcweir		Text = "The text that is to be rotated";
53cdf0e10cSrcweir	};
54cdf0e10cSrcweir};
55