xref: /aoo41x/main/sc/addin/rot13/rot13.src (revision 82177cdb)
1*82177cdbSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*82177cdbSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*82177cdbSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*82177cdbSAndrew Rist * distributed with this work for additional information
6*82177cdbSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*82177cdbSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*82177cdbSAndrew Rist * "License"); you may not use this file except in compliance
9*82177cdbSAndrew Rist * with the License.  You may obtain a copy of the License at
10*82177cdbSAndrew Rist *
11*82177cdbSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*82177cdbSAndrew Rist *
13*82177cdbSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*82177cdbSAndrew Rist * software distributed under the License is distributed on an
15*82177cdbSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*82177cdbSAndrew Rist * KIND, either express or implied.  See the License for the
17*82177cdbSAndrew Rist * specific language governing permissions and limitations
18*82177cdbSAndrew Rist * under the License.
19*82177cdbSAndrew Rist *
20*82177cdbSAndrew Rist *************************************************************/
21*82177cdbSAndrew Rist
22*82177cdbSAndrew 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
30cdf0e10cSrcweir * part of the new scaddin module), the strings here are now layed 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