Ignore:
Timestamp:
1999-10-24T20:23:40+13:00 (25 years ago)
Author:
sjboddie
Message:

added FullTOC option

File:
1 edited

Legend:

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

    r722 r738  
    2828/*
    2929   $Log$
     30   Revision 1.29  1999/10/24 07:23:40  sjboddie
     31   added FullTOC option
     32
    3033   Revision 1.28  1999/10/19 03:23:42  davidb
    3134   Collection building support through web pages
     
    591594
    592595  metadata.insert ("Title");
    593  
    594   if (!arg_d.empty()) {
     596
     597  bool fulltoc = false;
     598
     599  if (args["cl"] != "search") {
     600    // see if there's a FullTOC string
     601    text_t cl_top, full_toc;
     602    get_top (arg_cl, cl_top);
     603    if (get_formatstring (cl_top, "FullTOC", formatinfo.formatstrings, full_toc))
     604      if (full_toc == "true") fulltoc = true;
     605  }
     606 
     607  if (!arg_d.empty() && !fulltoc) {
    595608    // we're at document level
    596609
Note: See TracChangeset for help on using the changeset viewer.