Changeset 730 for trunk/gsdl/src/recpt/browsetools.cpp
- Timestamp:
- 1999-10-20T16:54:21+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/browsetools.cpp
r728 r730 29 29 /* 30 30 $Log$ 31 Revision 1.31 1999/10/20 03:54:20 sjboddie 32 problem with expanded contents 33 31 34 Revision 1.30 1999/10/19 21:36:59 sjboddie 32 35 fixed bug in DocumentContents … … 289 292 int haschildren = section.metadata["haschildren"].values[0].getint(); 290 293 const text_t &doctype = section.metadata["doctype"].values[0]; 291 text_t classifytype = section.metadata["c lassifytype"].values[0];294 text_t classifytype = section.metadata["childtype"].values[0]; 292 295 // HLists are displayed as VLists when contents are expanded, 293 296 // Paged documents are displayed as HLists … … 383 386 384 387 // HLists are displayed as VLists when contents are expanded, 385 // Books are displayed as HLists388 // Paged documents are displayed as HLists 386 389 if (classifytype == "HList") classifytype = "VList"; 387 if (classifytype == " Book") classifytype = "HList";390 if (classifytype == "Paged") classifytype = "HList"; 388 391 389 392 metadata.erase (metadata.begin(), metadata.end()); 390 393 391 394 // metadata elements needed by recurse_contents 392 metadata.insert ("c lassifytype");395 metadata.insert ("childtype"); 393 396 metadata.insert ("doctype"); 394 397 metadata.insert ("haschildren");
Note:
See TracChangeset
for help on using the changeset viewer.