Changeset 3186 for trunk/protemix/src


Ignore:
Timestamp:
2002-06-25T23:05:43+12:00 (22 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/protemix/src/recpt/browsetools.cpp

    r3177 r3186  
    3333
    3434void output_controls (cgiargsclass &args, const text_tarray &ibuttons,
    35               recptproto * /*collectproto*/, displayclass &disp,
     35              recptproto *collectproto, displayclass &disp,
    3636              outconvertclass &outconvert, ostream &textout,
    37               ostream &/*logout*/) {
    38 
     37              ostream &logout) {
     38
     39  FilterResponse_t response;
     40  text_tset metadata;
     41  metadata.insert("pdf");
     42
     43  if (!get_info (args["d"], args["c"], metadata, false, collectproto, response, logout)) return;
     44
     45  if (!response.docInfo[0].metadata["pdf"].values[0].empty()) {
     46    textout << outconvert << disp
     47        << "_document:imagepagepdf_"
     48        << "_document:imagearticlepdf_";
     49  }
    3950  textout << outconvert << disp
    40       << "_document:imagepagepdf_"
    41       << "_document:imagearticlepdf_"
    4251      << "_document:imagedetach_";
    4352  if (args["hl"] == "1") {
Note: See TracChangeset for help on using the changeset viewer.