Ignore:
Timestamp:
2000-08-25T12:57:05+12:00 (24 years ago)
Author:
davidb
Message:

Changes to support nested {If} and {Or} statements in macro files.
Also expansion of metadata if it includes further metadata. The two
can be intermixed -- metadata can include metadata that has {If}
and {Or} statements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/vlistbrowserclass.cpp

    r1285 r1443  
    5252                         format_t *formatlistptr, bool use_table,
    5353                         text_tset &/*metadata*/, bool &/*getParents*/,
    54                          recptproto * /*collectproto*/, displayclass &disp,
     54                         recptproto * collectproto, displayclass &disp,
    5555                         outconvertclass &outconvert, ostream &textout,
    56                          ostream &/*logout*/) {
     56                         ostream& logout) {
    5757
    5858  text_t link, icon;
     
    8080  }
    8181
    82   textout << outconvert << disp << get_formatted_string (section, formatlistptr,
    83                              link, icon, highlight);
     82  textout << outconvert << disp
     83      << get_formatted_string (collection, collectproto,
     84                   section, formatlistptr,
     85                   link, icon, highlight, logout);
    8486 
    8587  if (use_table  || colnumber > 0) textout << "</tr></table>\n";
     
    9294                         format_t *formatlistptr, bool use_table,
    9395                         text_tset &/*metadata*/, bool &/*getParents*/,
    94                          recptproto * /*collectproto*/, displayclass &disp,
     96                         recptproto * collectproto, displayclass &disp,
    9597                         outconvertclass &outconvert, ostream &textout,
    96                          ostream &/*logout*/) {
     98                         ostream& logout) {
    9799
    98100  text_t link, icon;
     
    129131
    130132    if (use_table || colnumber > 0) textout << "<tr valign=top>";
    131     textout << outconvert << disp << get_formatted_string (*thissection, formatlistptr,
    132                                link, icon, highlight);
     133    textout << outconvert << disp
     134        << get_formatted_string (collection, collectproto,
     135                     *thissection, formatlistptr,
     136                     link, icon, highlight, logout);
     137
    133138    if (use_table || colnumber > 0) textout << "</tr>";
    134139    textout << "\n";
Note: See TracChangeset for help on using the changeset viewer.