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 "dfa.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_DFA 39cdf0e10cSrcweir{ 40cdf0e10cSrcweir String DFA_PAR_DATE1_NAME // Name of Date1 Parameter 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Text = "Date 1"; 43cdf0e10cSrcweir }; 44cdf0e10cSrcweir String DFA_PAR_DATE2_NAME // Name of Date2 Parameter 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Text = "Date 2"; 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir String DFA_PAR_MODE_NAME // Name of Mode Parameter 49cdf0e10cSrcweir { 50cdf0e10cSrcweir Text = "Mode"; 51cdf0e10cSrcweir }; 52cdf0e10cSrcweir 53cdf0e10cSrcweir String DFA_PAR_DATE_NAME // Name of Date Parameter 54cdf0e10cSrcweir { 55cdf0e10cSrcweir Text = "Date"; 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir 58cdf0e10cSrcweir String DFA_PAR_DATE_DESC // Description of Date Parameter 59cdf0e10cSrcweir { 60cdf0e10cSrcweir Text = "Internal number of the date"; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir 63cdf0e10cSrcweir/*-=======================================================================*/ 64cdf0e10cSrcweir String DFA_WEEK_NAME // Name 65cdf0e10cSrcweir { 66cdf0e10cSrcweir Text = "Weeks"; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir String DFA_WEEK_DESC // Description 69cdf0e10cSrcweir { 70cdf0e10cSrcweir Text = "Returns the difference in weeks between two dates"; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir String DFA_WEEK_PAR1_DESC // Description of Parameter 1 73cdf0e10cSrcweir { 74cdf0e10cSrcweir Text = "The end date for calculating the difference in weeks"; 75cdf0e10cSrcweir }; 76cdf0e10cSrcweir String DFA_WEEK_PAR2_DESC // Description of Parameter 2 77cdf0e10cSrcweir { 78cdf0e10cSrcweir Text = "The start date for calculating the difference weeks"; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir String DFA_WEEK_PAR3_DESC // Description of Parameter 3 81cdf0e10cSrcweir { 82cdf0e10cSrcweir Text = "Type of difference calculation: mode=0 means the interval, mode=1 means calendar weeks"; 83cdf0e10cSrcweir }; 84cdf0e10cSrcweir 85cdf0e10cSrcweir/*-=======================================================================*/ 86cdf0e10cSrcweir 87cdf0e10cSrcweir String DFA_MONTHS_NAME // Name 88cdf0e10cSrcweir { 89cdf0e10cSrcweir Text = "Months"; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir String DFA_MONTHS_DESC // Description 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Text = "Determines the number of months between two dates"; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir String DFA_MONTHS_PAR1_DESC // Description of Parameter 1 96cdf0e10cSrcweir { 97cdf0e10cSrcweir Text = "The end date for calculating the difference in months"; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir String DFA_MONTHS_PAR2_DESC // Description of Parameter 2 100cdf0e10cSrcweir { 101cdf0e10cSrcweir Text = "The start date for calculating the difference in months"; 102cdf0e10cSrcweir }; 103cdf0e10cSrcweir String DFA_MONTHS_PAR3_DESC // Description of Parameter 2 104cdf0e10cSrcweir { 105cdf0e10cSrcweir Text = "Type of difference calculation: Mode = 0 means interval, mode = 1 means in calendar months"; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir 108cdf0e10cSrcweir/*-=======================================================================*/ 109cdf0e10cSrcweir 110cdf0e10cSrcweir String DFA_YEARS_NAME // Name 111cdf0e10cSrcweir { 112cdf0e10cSrcweir Text = "Years"; 113cdf0e10cSrcweir }; 114cdf0e10cSrcweir String DFA_YEARS_DESC // Description 115cdf0e10cSrcweir { 116cdf0e10cSrcweir Text = "Returns the difference in years between two dates"; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir String DFA_YEARS_PAR1_DESC // Description of Parameter 1 119cdf0e10cSrcweir { 120cdf0e10cSrcweir Text = "The end date for calculating the difference in years"; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir String DFA_YEARS_PAR2_DESC // Description of Parameter 2 123cdf0e10cSrcweir { 124cdf0e10cSrcweir Text = "The start date for calculating the difference in years"; 125cdf0e10cSrcweir }; 126cdf0e10cSrcweir String DFA_YEARS_PAR3_DESC // Description of Parameter 2 127cdf0e10cSrcweir { 128cdf0e10cSrcweir Text = "Type of difference calculation: Mode=0 means interval, mode=1 means in calendar years."; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir 131cdf0e10cSrcweir/*-=======================================================================*/ 132cdf0e10cSrcweir 133cdf0e10cSrcweir String DFA_ISLEAPYEAR_NAME // Name 134cdf0e10cSrcweir { 135cdf0e10cSrcweir Text = "IsLeapYear"; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir String DFA_ISLEAPYEAR_DESC // Description 138cdf0e10cSrcweir { 139cdf0e10cSrcweir Text = "Returns 1 (TRUE) if a leap year is used, otherwise 0 (FALSE) is returned"; 140cdf0e10cSrcweir }; 141cdf0e10cSrcweir 142cdf0e10cSrcweir/*-=======================================================================*/ 143cdf0e10cSrcweir 144cdf0e10cSrcweir String DFA_DAYSINMONTH_NAME // Name 145cdf0e10cSrcweir { 146cdf0e10cSrcweir Text = "DaysInMonth"; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir String DFA_DAYSINMONTH_DESC // Description 149cdf0e10cSrcweir { 150cdf0e10cSrcweir Text = "Returns the number of days in the month in relation to the date entered"; 151cdf0e10cSrcweir }; 152cdf0e10cSrcweir 153cdf0e10cSrcweir/*-=======================================================================*/ 154cdf0e10cSrcweir 155cdf0e10cSrcweir String DFA_DAYSINYEAR_NAME // Name 156cdf0e10cSrcweir { 157cdf0e10cSrcweir Text = "DaysInYear"; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir String DFA_DAYSINYEAR_DESC // Description 160cdf0e10cSrcweir { 161cdf0e10cSrcweir Text = "Returns the number of days in a year in relation to the date entered"; 162cdf0e10cSrcweir }; 163cdf0e10cSrcweir 164cdf0e10cSrcweir/*-=======================================================================*/ 165cdf0e10cSrcweir 166cdf0e10cSrcweir String DFA_WEEKSINYEAR_NAME // Name 167cdf0e10cSrcweir { 168cdf0e10cSrcweir Text = "WeeksInYear"; 169cdf0e10cSrcweir }; 170cdf0e10cSrcweir String DFA_WEEKSINYEAR_DESC // Description 171cdf0e10cSrcweir { 172cdf0e10cSrcweir Text = "Returns the number of weeks in the year in relation to a date"; 173cdf0e10cSrcweir }; 174cdf0e10cSrcweir}; 175