Ignore:
Timestamp:
1999-08-11T11:16:39+12:00 (25 years ago)
Author:
sjboddie
Message:

a couple of small changes to get format options DocumentArrowsBottom
and DocumentArrowsTop working correctly

File:
1 edited

Legend:

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

    r443 r448  
    1212/*
    1313   $Log$
     14   Revision 1.20  1999/08/10 23:16:39  sjboddie
     15   a couple of small changes to get format options DocumentArrowsBottom
     16   and DocumentArrowsTop working correctly
     17
    1418   Revision 1.19  1999/08/10 22:40:01  sjboddie
    1519   added some more format options including the ability to format the
     
    383387  //                        classifytype at a top level or if it's a Book or a
    384388  //                        Hierarchy classifytype at document level
     389
     390  // _navarrows_            this may be overridden to "" when format option
     391  //                        DocumentArrowsBottom is false
    385392
    386393  // _header_               the header macro is overridden if we're not at a top level
     
    427434    format_here ++;
    428435  }
    429  
     436
    430437  text_tarray metadata;
    431438  FilterResponse_t response;
     
    435442
    436443  disp.setmacro("random", "document", rand());
     444
     445  if (!formatinfo.DocumentArrowsBottom)
     446    disp.setmacro("navarrows", "document", "");
    437447
    438448  metadata.push_back ("Title");
     
    467477
    468478      // set arrow macros if required
    469       if (((classifytype == "Book") || (classifytype == "Hierarchy")) &&
    470       (formatinfo.DocumentArrowsTop || formatinfo.DocumentArrowsBottom))
     479      if (((classifytype == "Book") && (formatinfo.DocumentArrowsTop || formatinfo.DocumentArrowsBottom)) ||
     480      ((classifytype == "Hierarchy") && formatinfo.DocumentArrowsBottom))
    471481    set_arrow_macros (arg_d, classifytype, formatinfo.DocumentTopPages,
    472482              disp, collectproto, collection, logout);
    473 
    474 
     483     
     484     
    475485      if (args["u"] != "1") {
    476486    javaimagescontent = "_javaextras_";
Note: See TracChangeset for help on using the changeset viewer.