0
  $   ˆÁ’þB¬ÙeYn@i½š¿çÏÆÅÎ194ÄÌË  Â    ‹      ]�±‚0†gûMÀ�ž!‘Aâèàâ"/PñÄ&ÐâõJLŒï.˜èúÿßÝ}�Ò3™’£\ˆN“ÜŸ6…;XÆ
Iî$á=Â8R
6ðm¢Õ„îšó
súÁ ä�¹õ[ ,�˜~YÍÆY]+GÕ§Y
™ZÃÒc™°3ã!!w	5*|´ŽØ÷w®Á–Ã°üÚÄ�®®äS,';ÍSŸ‹!²?OÆ#Þ·¯\¼â�ßò    #   ˆÁ’þC(–l²„,�7  ´ÞÍ_óÏÆÅÎ‚âÄÌË $    ‹      e�AOÂ@…ÏÝ_1FÉ–Dº†HjŒádbøk`M»Sg§¢1üw·jÑë{ß{3yº	AØ¢J½[†G”¥�Š®€ßÇ˜ê-ÊÄ�=>ÒW«Ï˜‰#;Œ¦zÔ[£�Ä°33QhÍÖ[ÑQ‰ÖŸ½Üs±ö•î„1°©ÃÜ,*Ûþ‹ì­8ò¶Ìˆ·?òt65³ìÆ\,&."Vˆªê•ªhÝ”˜áGM,!žÚ4¾h;`ydï�lÚ†Ÿ14¥ŒáK%niûÌ™~‘ç Ÿ^^1nÜQ‰ì˜öàq?˜/Õ·! wg6Ö•¸žÃ¿*À“À©l¡’ƒJ¥aÿ;_7¤®A¯ÉÇ}"~X¨o½Å´»ò    X   ˆl–äY>”je¶¥ ² …q§î
bÑ¿�þB(ÝÍHW@’� þÐ„uÇsÏ_ˆI|¥�+V[(a–Ðz¾”d
i?u8 …pOÜmÅ1hßÎ ?÷     #!/usr/bin/perl -w

###############################################################################
#
# Generate function names for different locales.
#
# This program can be used to generate the hash of known functions for use in
# the Formula.pm module. By default the function names are in English but you
# can also choose to support the following languages: German, French, Spanish,
# Portuguese, Dutch, Finnish, Italian and Swedish.
#
# This would allow you to do something like the following:
#
#       $worksheet->write(0, 0, '=SUM(C1:C3)'  );
#       $worksheet->write(1, 0, '=SUMME(C1:C3)');
#       $worksheet->write(2, 0, '=SOMME(C1:C3)');
#       $worksheet->write(3, 0, '=SUMA(C1:C3)' );
#       $worksheet->write(4, 0, '=SOMA(C1:C3)' );
#       $worksheet->write(5, 0, '=SOM(C1:C3)'  );
#       $worksheet->write(6, 0, '=SUMMA(C1:C3)');
#       $worksheet->write(7, 0, '=SOMMA(C1:C3)');
#
# Unfortunately, if you wish to support more than one language there are some
# conflicts between function names:
#
#       Function        Language 1              Language 2
#       ========        ==========              ==========
#       NB              French                  Dutch
#       NA              English/French          Finnish
#       TRIM            French                  English
#       DIA             Spanish/Portuguese      German
#
# Therefore, if you try to generate a hash of function names to support both
# French and English then the function TRIM will be assigned the meaning of the
# first language that defines it, which in this case is French. You can get
# around this by renaming the function for one of the languages and documenting
# the change, for example: TRIM.EN or TRIM.FR.
#
# Please note that this only partially solves the problem of localisation.
# There are also number formats to consider (1.5 == 1,5) and the fact that the
# list separator "," and the array separator ";" are interchanged in different
# locales.
#
# The longest function name is LOI.NORMALE.STANDARD.INVERSE (29 chars) followed
# by NORM.JAKAUMA.NORMIT.KÄÄNT (25 chars).
# The shortest function name in all languages is T.
#
#
# reverse('©'); John McNamara, March 2001, jmcnamara@cpan.org
#



use strict;


#
# Modify the following variables to add the language to the function name hash
#
my $english    = 1;
my $german     = 0;
my $french     = 0;
my $spanish    = 0;
my $portuguese = 0;
my $dutch      = 0;
my $finnish    = 0;
my $italian    = 0;
my $swedish    = 0;

my %funcs;

# Ignore the headings
<DATA>;

# Print the beginning of the hash definition
print "    %functions  = (\n";
print "        #" . " " x 37 ;
print "ptg  args  class  vol\n";

while (<DATA>){
    my @F = split " ";
    my $value = $F[0];
    my $args  = $F[1];
    my $ref   = $F[2];
    my $vol   = $F[3];

    print_function($F[4],  $value, $args, $ref, $vol) if $english;
    print_function($F[5],  $value, $args, $ref, $vol) if $german;
    print_function($F[6],  $value, $args, $ref, $vol) if $french;
    print_function($F[7],  $value, $args, $ref, $vol) if $spanish;
    print_function($F[8],  $value, $args, $ref, $vol) if $portuguese;
    print_function($F[9],  $value, $args, $ref, $vol) if $dutch;
    print_function($F[10], $value, $args, $ref, $vol) if $finnish;
    print_function($F[11], $value, $args, $ref, $vol) if $italian;
    print_function($F[12], $value, $args, $ref, $vo