Changeset 10889


Ignore:
Timestamp:
2005-11-14T14:21:55+13:00 (18 years ago)
Author:
kjdon
Message:

added a description to metadata_fields arg, also retabbed the argument list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/PDFPlug.pm

    r10835 r10889  
    5151
    5252my $arguments =
    53       [
    54        { 'name' => "convert_to",
    55     'desc' => "{ConvertToPlug.convert_to}",
    56     'type' => "enum",
    57     'reqd' => "yes",
    58     'list' => $convert_to_list,
    59     'deft' => "html" }, 
    60        { 'name' => "process_exp",
    61     'desc' => "{BasPlug.process_exp}",
    62     'type' => "regexp",
    63     'deft' => &get_default_process_exp(),
    64     'reqd' => "no" },
    65       { 'name' => "block_exp",
    66     'desc' => "{BasPlug.block_exp}",
    67     'type' => "regexp",
    68     'deft' => &get_default_block_exp() },
    69        { 'name' => "metadata_fields",
    70      'type' => "string",
    71      'deft' => "" },
    72        { 'name' => "noimages",
    73      'desc' => "{PDFPlug.noimages}",
    74     'type' => "flag" },
    75       { 'name' => "allowimagesonly",
    76     'desc' => "{PDFPlug.allowimagesonly}",
    77     'type' => "flag" },
    78       { 'name' => "complex",
    79     'desc' => "{PDFPlug.complex}",
    80     'type' => "flag" },
    81       { 'name' => "nohidden",
    82     'desc' => "{PDFPlug.nohidden}",
    83     'type' => "flag" },
    84       { 'name' => "zoom",
    85     'desc' => "{PDFPlug.zoom}",
    86     'deft' => "2",
    87     'range' => "1,3", # actually the range is 0.5-3
    88     'type' => "int" },
    89       { 'name' => "use_sections",
    90     'desc' => "{PDFPlug.use_sections}",
    91     'type' => "flag" },
    92        { 'name' => "description_tags",
    93      'desc' => "{HTMLPlug.description_tags}",
    94      'type' => "flag" }
    95 ];
     53    [
     54     { 'name' => "convert_to",
     55       'desc' => "{ConvertToPlug.convert_to}",
     56       'type' => "enum",
     57       'reqd' => "yes",
     58       'list' => $convert_to_list,
     59       'deft' => "html" },   
     60     { 'name' => "process_exp",
     61       'desc' => "{BasPlug.process_exp}",
     62       'type' => "regexp",
     63       'deft' => &get_default_process_exp(),
     64       'reqd' => "no" },
     65     { 'name' => "block_exp",
     66       'desc' => "{BasPlug.block_exp}",
     67       'type' => "regexp",
     68       'deft' => &get_default_block_exp() },
     69     { 'name' => "metadata_fields",
     70       'desc' => "{HTMLPlug.metadata_fields}",
     71       'type' => "string",
     72       'deft' => "" },
     73     { 'name' => "noimages",
     74       'desc' => "{PDFPlug.noimages}",
     75       'type' => "flag" },
     76     { 'name' => "allowimagesonly",
     77       'desc' => "{PDFPlug.allowimagesonly}",
     78       'type' => "flag" },
     79     { 'name' => "complex",
     80       'desc' => "{PDFPlug.complex}",
     81       'type' => "flag" },
     82     { 'name' => "nohidden",
     83       'desc' => "{PDFPlug.nohidden}",
     84       'type' => "flag" },
     85     { 'name' => "zoom",
     86       'desc' => "{PDFPlug.zoom}",
     87       'deft' => "2",
     88       'range' => "1,3", # actually the range is 0.5-3
     89       'type' => "int" },
     90     { 'name' => "use_sections",
     91       'desc' => "{PDFPlug.use_sections}",
     92       'type' => "flag" },
     93     { 'name' => "description_tags",
     94       'desc' => "{HTMLPlug.description_tags}",
     95       'type' => "flag" }
     96     ];
    9697
    9798my $options = { 'name'     => "PDFPlug",
Note: See TracChangeset for help on using the changeset viewer.