Changeset 344
- Timestamp:
- 1999-07-07T17:44:25+12:00 (25 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browsetools.cpp
r322 r344 12 12 /* 13 13 $Log$ 14 Revision 1.13 1999/07/07 05:44:25 sjboddie 15 Made some changes to allow for new way classifiers work (i.e. you can 16 now have classifiers containing other classifiers). At present there's 17 only a special case for dealing with the hdl 'magazine' section. A bit 18 of a redesign is needed to get it completely flexible 19 14 20 Revision 1.12 1999/07/01 03:47:49 rjmcnab 15 21 Fixed a small warning. … … 66 72 #include "OIDtools.h" 67 73 68 // ouput_book_toc generates and outputs a Book type table of contents 69 // it should only be called for document level tocs (i.e. when "d" 70 // argument is set) so it does nothing if "d" isn't set 71 // This toc is intended for use with collections whose documents are 72 // simply numbered as pages. 73 void output_book_toc (const text_t &/*classifytitle*/, cgiargsclass &args, 74 recptproto *collectproto, displayclass &disp, 75 outconvertclass &outconvert, ostream &textout, 76 ostream &logout) { 74 75 // Note that at present the build software is capable (if you write a plugin to do 76 // it) of generating classifications that contain other classifications of a 77 // different type. This module can only handle one case of that however (i.e. an 78 // AZList containing a Hierarchy classification as used by hdl's 'magazine' 79 // section). It really needs redesigning to handle all cases. 80 81 82 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 83 Functions for generating a "Book" type table of contents. These should only be called 84 for document level tocs (i.e. when the "d" argument is set) as I don't think it makes 85 sense to display top level classifications in this way. 86 This type of table of contents is intended for documents whose sub-sections are simply 87 numbered as pages. 88 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 89 90 void book_toc (const text_t &/*classifytitle*/, cgiargsclass &args, 91 recptproto *collectproto, displayclass &disp, 92 outconvertclass &outconvert, ostream &textout, 93 ostream &logout) { 77 94 78 95 if (args["d"].empty()) return; … … 161 178 } 162 179 163 // output_hierarchy_toc generates and outputs a Hierarchy type table of contents 164 // this can be used either at top levels (i.e. when "d" argument isn't set) or 165 // at document level 166 // a Hierarchy table of contents may be either expanded or contracted 167 void output_hierarchy_toc (const text_t &/*classifytitle*/, cgiargsclass &args, 168 recptproto *collectproto, displayclass &disp, 169 outconvertclass &outconvert, ostream &textout, 170 ostream &logout) { 171 172 textout << "\n<!-- Table of Contents produced by browsetools::get_hierarchy_toc -->\n\n"; 180 181 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 182 Functions for generating a "Hierarchy" type table of contents. These can be used either 183 at top classification level or at document level (the difference being that a cover 184 image and control buttons are displayed at document level). 185 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 186 187 void hierarchy_toc (const text_t &classifytype, const text_t &/*classifytitle*/, 188 cgiargsclass &args, recptproto *collectproto, 189 displayclass &disp, outconvertclass &outconvert, 190 ostream &textout, ostream &logout) { 191 192 textout << "\n<!-- Table of Contents produced by browsetools::hierarchy_toc -->\n\n"; 173 193 textout << "<p><table width=100% cellpadding=0 cellspacing=0 border=0><tr>\n"; 174 194 … … 182 202 183 203 // get table of contents 184 textout << "<td valign=top>\n"; 204 textout << "<td valign=top>\n" 205 << "<table>\n"; 206 207 output_hierarchy (classifytype, args, collectproto, disp, outconvert, textout, logout); 208 209 textout << "</table>\n" 210 << "</td></tr></table>\n" 211 << "\n<!-- end of Table of Contents -->\n"; 212 } 213 214 void output_hierarchy (const text_t &classifytype, cgiargsclass &args, 215 recptproto *collectproto, displayclass &disp, 216 outconvertclass &outconvert, ostream &textout, 217 ostream &logout) { 218 185 219 if (args.getintarg("gc")) 186 220 output_expanded_hierarchy_toc(args, collectproto, disp, outconvert, textout, logout); 187 221 else 188 output_contracted_hierarchy_toc(args, collectproto, disp, outconvert, textout, logout); 189 190 textout << "</td></tr></table>\n"; 191 textout << "\n<!-- end of Table of Contents -->\n"; 192 } 193 194 // at the moment this just rites out the html to display 222 output_contracted_hierarchy_toc(classifytype, args, collectproto, disp, outconvert, textout, logout); 223 } 224 225 // at the moment this just writes out the html to display 195 226 // the cover image (assuming it's called cover.jpg) 196 227 // this whole thing should be done with a call to the collection … … 262 293 263 294 264 void output_datelist_toc (const text_t &/*classifytitle*/, cgiargsclass &/*args*/, 265 recptproto */*collectproto*/, displayclass &/*disp*/, 266 outconvertclass &/*outconvert*/, ostream &/*textout*/, 267 ostream &/*logout*/) { 268 } 269 270 // ouput_list_toc generates and outputs a List type table of contents 271 // it should only be called for classifications (i.e. when the "d" 272 // argument isn't set) as it doesn't make sense to display document 273 // level stuff in this way (I think !!) 274 void output_list_toc (const text_t &classifytitle, cgiargsclass &args, 275 recptproto *collectproto, displayclass &disp, 276 outconvertclass &outconvert, ostream &textout, 277 ostream &logout) { 278 279 text_tarray metadata; 280 FilterResponse_t response; 281 text_t &arg_cl = args["cl"]; 282 text_t doclink = "<a href=\"_httpdocument_&cl=" + arg_cl + "&d="; 283 284 metadata.push_back (classifytitle); 285 metadata.push_back ("Title"); 286 287 if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout)) { 288 289 textout 290 << "\n<!-- Table of Contents produced by browsetools::output_list_toc " 291 << "-->\n\n<p>\n"; 292 293 ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin(); 294 ResultDocInfo_tarray::const_iterator secend = response.docInfo.end(); 295 296 while (sechere != secend) { 297 298 const text_t &ctitle = (*sechere).metadata[0].values[0]; 299 const text_t &title = (*sechere).metadata[1].values[0]; 300 301 if (!ctitle.empty()) { 302 textout << outconvert << disp << "<br>" << doclink << (*sechere).OID 303 << "\">" + ctitle + "</a>\n"; 304 } else if (!title.empty()) { 305 textout << outconvert << disp << "<br>" << doclink << (*sechere).OID 306 << "\">" + title + "</a>\n"; 307 } 308 sechere ++; 309 } 310 311 textout << "\n<!-- end of Table of Contents -->\n"; 312 } 313 } 314 315 // ouput_azlist_toc generates and outputs an AZList type table of contents 316 // it should only be called for classifications (i.e. when the "d" 317 // argument isn't set) as it doesn't make sense to display document 318 // level stuff in this way (I think !!) 319 void output_azlist_toc (const text_t &classifytitle, cgiargsclass &args, 320 recptproto *collectproto, displayclass &disp, 321 outconvertclass &outconvert, ostream &textout, 322 ostream &logout) { 323 324 text_tarray metadata; 325 FilterResponse_t response; 326 text_t &arg_cl = args["cl"]; 327 text_t doclink = "<a href=\"_httpdocument_&cl=" + arg_cl + "&d="; 328 bool iscreator = false; 329 if (classifytitle == "Creator") iscreator = true; 330 331 metadata.push_back ("Title"); 332 metadata.push_back ("Creator"); 333 if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout)) { 334 335 textout 336 << "\n<!-- Table of Contents produced by browsetools::output_azlist_toc " 337 << "-->\n\n<table cellpadding=0 cellspacing=2>\n"; 338 339 ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin(); 340 ResultDocInfo_tarray::const_iterator secend = response.docInfo.end(); 341 342 while (sechere != secend) { 343 344 const text_t &title = (*sechere).metadata[0].values[0]; 345 const text_t &creator = (*sechere).metadata[1].values[0]; 346 347 if (iscreator) { 348 if (!creator.empty()) { 349 textout << outconvert << disp << "<tr><td valign=top>" << doclink << (*sechere).OID 350 << "\">_document:iconclosedbook_</a></td><td>" 351 << creator << "</td><td>"; 352 353 if (!title.empty()) 354 textout << outconvert << " " << title; 355 } 356 } else { 357 if (!title.empty()) { 358 textout << outconvert << disp << "<tr><td valign=top>" << doclink << (*sechere).OID 359 << "\">_document:iconclosedbook_</a></td><td>" << title << "</td><td>"; 360 361 if (!creator.empty()) 362 textout << outconvert << " " << creator; 363 } 364 } 365 textout << "</td></tr>\n"; 366 sechere ++; 367 } 368 textout << "</table>\n<!-- end of Table of Contents -->\n"; 369 } 370 } 371 372 void output_contracted_hierarchy_toc (cgiargsclass &args, recptproto *collectproto, 373 displayclass &disp, outconvertclass &outconvert, 374 ostream &textout, ostream &logout) { 295 void output_contracted_hierarchy_toc (const text_t &classifytype, cgiargsclass &args, 296 recptproto *collectproto,displayclass &disp, 297 outconvertclass &outconvert, ostream &textout, 298 ostream &logout) { 375 299 376 300 int colnum, tabcount = 0; … … 402 326 // don't want top parent of classification to be displayed 403 327 if (!parents.empty()) parents.erase (parents.begin()); 328 329 // this is a special case for an AZList containing a Hierarchy toc 330 if (classifytype == "AZList" && !parents.empty()) 331 parents.erase (parents.begin()); 332 404 333 } else { 405 334 if (has_children (arg_d, args["c"], collectproto, logout)) { … … 416 345 } 417 346 418 textout << "<table>\n";419 347 colnum = parents.size() + 1; 420 348 … … 428 356 output_siblings_toc (args, siblings, tabcount, colnum, disp, 429 357 outconvert, textout, logout); 430 431 textout << "</table>\n";432 358 } 433 359 … … 457 383 classifytype = "Document"; 458 384 } 459 460 textout << "<table>\n";461 385 462 386 // Get OIDs and metadata of all topOIDs contents (and topOID itself) … … 564 488 thissection ++; 565 489 } 566 textout << "</table>\n";567 490 } 568 491 … … 723 646 } 724 647 648 649 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 650 Functions for generating a "List" type table of contents. These can be used only 651 at classification level as it doesn't make sense to display document level stuff 652 this way (I think!!) 653 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 654 655 void list_toc (const text_t &/*classifytype*/, const text_t &classifytitle, 656 cgiargsclass &args, recptproto *collectproto, 657 displayclass &disp, outconvertclass &outconvert, 658 ostream &textout, ostream &logout) { 659 660 text_tarray metadata; 661 FilterResponse_t response; 662 text_t &arg_cl = args["cl"]; 663 text_t doclink = "<a href=\"_httpdocument_&cl=" + arg_cl + "&d="; 664 665 metadata.push_back (classifytitle); 666 metadata.push_back ("Title"); 667 668 if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout)) { 669 670 textout 671 << "\n<!-- Table of Contents produced by browsetools::output_list_toc " 672 << "-->\n\n<p>\n"; 673 674 ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin(); 675 ResultDocInfo_tarray::const_iterator secend = response.docInfo.end(); 676 677 while (sechere != secend) { 678 679 const text_t &ctitle = (*sechere).metadata[0].values[0]; 680 const text_t &title = (*sechere).metadata[1].values[0]; 681 682 if (!ctitle.empty()) { 683 textout << outconvert << disp << "<br>" << doclink << (*sechere).OID 684 << "\">" + ctitle + "</a>\n"; 685 } else if (!title.empty()) { 686 textout << outconvert << disp << "<br>" << doclink << (*sechere).OID 687 << "\">" + title + "</a>\n"; 688 } 689 sechere ++; 690 } 691 692 textout << "\n<!-- end of Table of Contents -->\n"; 693 } 694 } 695 696 697 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 698 Functions for generating an "AZList" type table of contents. These can be used only 699 at classification level as it doesn't make sense to display document level stuff 700 this way (I think!!) 701 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 702 703 void azlist_toc (const text_t &classifytype, const text_t &classifytitle, 704 cgiargsclass &args, recptproto *collectproto, 705 displayclass &disp, outconvertclass &outconvert, 706 ostream &textout, ostream &logout) { 707 708 text_tarray metadata; 709 FilterResponse_t response; 710 text_t &arg_cl = args["cl"]; 711 712 textout 713 << "\n<!-- Table of Contents produced by browsetools::azlist_toc -->\n\n" 714 << "<table cellpadding=0 cellspacing=2>\n"; 715 716 717 if (classifytype == "AZList") { 718 719 metadata.push_back ("Title"); 720 metadata.push_back ("Creator"); 721 metadata.push_back ("doctype"); 722 723 if (get_children (arg_cl, args["c"], metadata, collectproto, response, logout)) 724 output_azlist (response, classifytitle, arg_cl, disp, outconvert, textout); 725 } 726 727 else if (classifytype == "Hierarchy") 728 output_hierarchy ("AZList", args, collectproto, disp, outconvert, textout, logout); 729 730 textout << "</table>\n" 731 << "<!-- end of Table of Contents -->\n"; 732 733 } 734 735 // note that this function expects response to contain three fields of metadata 736 // ("Title", "Creator", "doctype") - if they're not there it may cause a run-time error 737 void output_azlist (const FilterResponse_t &response, const text_t &classifytitle, 738 const text_t &arg_cl, displayclass &disp, 739 outconvertclass &outconvert, ostream &textout) { 740 741 bool iscreator = false; 742 if (classifytitle == "Creator") iscreator = true; 743 744 ResultDocInfo_tarray::const_iterator sechere = response.docInfo.begin(); 745 ResultDocInfo_tarray::const_iterator secend = response.docInfo.end(); 746 747 while (sechere != secend) { 748 749 const text_t &title = (*sechere).metadata[0].values[0]; 750 const text_t &creator = (*sechere).metadata[1].values[0]; 751 const text_t &doctype = (*sechere).metadata[2].values[0]; 752 753 text_t link = "<a href=\"_httpdocument_&cl="; 754 text_t icon = "_document:iconclosedbook_"; 755 756 if (doctype == "classify") { 757 icon = "_document:iconclosedbookshelf_"; 758 link += (*sechere).OID; 759 } else { 760 link += arg_cl + "&d=" + (*sechere).OID; 761 } 762 763 if (iscreator) { 764 if (!creator.empty()) { 765 textout << outconvert << disp << "<tr><td valign=top>" << link << "\">" 766 << icon << "</a></td><td>" << creator << "</td><td>"; 767 768 if (!title.empty()) 769 textout << outconvert << " " << title; 770 } 771 } else { 772 if (!title.empty()) { 773 textout << outconvert << disp << "<tr><td valign=top>" << link << "\">" 774 << icon << "</a></td><td>" << title << "</td><td>"; 775 776 if (!creator.empty()) 777 textout << outconvert << " " << creator; 778 } 779 } 780 textout << "</td></tr>\n"; 781 sechere ++; 782 } 783 } 784 785 786 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 787 Functions for generating a "DateList" type table of contents. These can be used only 788 at classification level as it doesn't make sense to display document level stuff 789 this way (I think!!) 790 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 791 792 void datelist_toc (const text_t &/*classifytype*/, const text_t &/*classifytitle*/, 793 cgiargsclass &/*args*/, recptproto */*collectproto*/, 794 displayclass &/*disp*/, outconvertclass &/*outconvert*/, 795 ostream &/*textout*/, ostream &/*logout*/) { 796 } 797 798 799 800 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 801 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 725 802 726 803 // set_arrow_macros sets the _httpprevarrow_ and _httpnextarrow_ macros -
trunk/gsdl/src/recpt/browsetools.h
r284 r344 20 20 #include "recptproto.h" 21 21 22 void output_book_toc (const text_t &classifytitle, cgiargsclass &args, 23 recptproto *collectproto, displayclass &disp, 24 outconvertclass &outconvert, ostream &textout, 25 ostream &logout); 26 void output_top_book_toc (ResultDocInfo_t docinfo, cgiargsclass &args, recptproto *collectproto, 27 displayclass &disp, outconvertclass &outconvert, 28 ostream &textout, ostream &logout); 29 void output_standard_book_toc (ResultDocInfo_t docinfo, cgiargsclass &args, recptproto *collectproto, 30 displayclass &disp, outconvertclass &outconvert, 31 ostream &textout, ostream &logout); 32 void output_hierarchy_toc (const text_t &classifytitle, cgiargsclass &args, 33 recptproto *collectproto, displayclass &disp, 34 outconvertclass &outconvert,ostream &textout, 35 ostream &logout); 36 void output_datelist_toc (const text_t &classifytitle, cgiargsclass &args, 37 recptproto *collectproto, displayclass &disp, 38 outconvertclass &outconvert, ostream &textout, 39 ostream &logout); 40 void output_list_toc (const text_t &classifytitle, cgiargsclass &args, 41 recptproto *collectproto, displayclass &disp, 42 outconvertclass &outconvert, ostream &textout, 43 ostream &logout); 44 void output_azlist_toc (const text_t &classifytitle, cgiargsclass &args, 45 recptproto *collectproto, displayclass &disp, 46 outconvertclass &outconvert, ostream &textout, 47 ostream &logout); 48 void output_contracted_hierarchy_toc (cgiargsclass &args, recptproto *collectproto, 49 displayclass &disp, outconvertclass &outconvert, 50 ostream &textout, ostream &logout); 22 23 // Note that at present the build software is capable (if you write a plugin to do 24 // it) of generating classifications that contain other classifications of a 25 // different type. This module can only handle one case of that however (i.e. an 26 // AZList containing a Hierarchy classification as used by hdl's 'magazine' 27 // section). It really needs redesigning to handle all cases. 28 29 30 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 31 Functions for generating a "Book" type table of contents. These should only be called 32 for document level tocs (i.e. when the "d" argument is set) as I don't think it makes 33 sense to display top level classifications in this way. 34 This type of table of contents is intended for documents whose sub-sections are simply 35 numbered as pages. 36 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 37 38 void book_toc (const text_t &/*classifytitle*/, cgiargsclass &args, 39 recptproto *collectproto, displayclass &disp, 40 outconvertclass &outconvert, ostream &textout, 41 ostream &logout); 42 43 44 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 45 Functions for generating a "Hierarchy" type table of contents. These can be used either 46 at top classification level or at document level (the difference being that a cover 47 image and control buttons are displayed at document level). 48 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 49 50 void hierarchy_toc (const text_t &classifytype, const text_t &classifytitle, 51 cgiargsclass &args, recptproto *collectproto, 52 displayclass &disp, outconvertclass &outconvert, 53 ostream &textout, ostream &logout); 54 void output_hierarchy (const text_t &classifytype, cgiargsclass &args, 55 recptproto *collectproto, displayclass &disp, 56 outconvertclass &outconvert, ostream &textout, 57 ostream &logout); 58 void output_contracted_hierarchy_toc (const text_t &classifytype, cgiargsclass &args, 59 recptproto *collectproto,displayclass &disp, 60 outconvertclass &outconvert, ostream &textout, 61 ostream &logout); 51 62 void output_expanded_hierarchy_toc (cgiargsclass &args, recptproto *collectproto, 52 63 displayclass &disp, outconvertclass &outconvert, … … 59 70 int &tabcount, int &colnum, displayclass &disp, 60 71 outconvertclass &outconvert, ostream &textout, ostream &logout); 61 void set_arrow_macros (const text_t &OID, const text_t &classifytype,62 displayclass &disp, recptproto *collectproto,63 const text_t &collection, ostream &logout);64 72 void output_controls (cgiargsclass &args, recptproto *collectproto, 65 73 displayclass &disp, outconvertclass &outconvert, … … 71 79 72 80 81 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 82 Functions for generating a "List" type table of contents. These can be used only 83 at classification level as it doesn't make sense to display document level stuff 84 this way (I think!!) 85 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 86 87 void list_toc (const text_t &classifytype, const text_t &classifytitle, 88 cgiargsclass &args, recptproto *collectproto, 89 displayclass &disp, outconvertclass &outconvert, 90 ostream &textout, ostream &logout); 91 92 93 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 94 Functions for generating an "AZList" type table of contents. These can be used only 95 at classification level as it doesn't make sense to display document level stuff 96 this way (I think!!) 97 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 98 99 void azlist_toc (const text_t &classifytype, const text_t &classifytitle, 100 cgiargsclass &args, recptproto *collectproto, 101 displayclass &disp, outconvertclass &outconvert, 102 ostream &textout, ostream &logout); 103 void output_azlist (const FilterResponse_t &response, const text_t &classifytitle, 104 const text_t &arg_cl, displayclass &disp, 105 outconvertclass &outconvert, ostream &textout); 106 107 108 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 109 Functions for generating a "DateList" type table of contents. These can be used only 110 at classification level as it doesn't make sense to display document level stuff 111 this way (I think!!) 112 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 113 114 void datelist_toc (const text_t &classifytype, const text_t &classifytitle, 115 cgiargsclass &args, recptproto *collectproto, 116 displayclass &disp, outconvertclass &outconvert, 117 ostream &textout, ostream &logout); 118 119 120 /*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 121 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*/ 122 123 void set_arrow_macros (const text_t &OID, const text_t &classifytype, 124 displayclass &disp, recptproto *collectproto, 125 const text_t &collection, ostream &logout); 126 127 128 73 129 74 130 #endif
Note:
See TracChangeset
for help on using the changeset viewer.