16 #include "Riostream.h" 
   17 #include "Rstrstream.h" 
   34    fxDrawOption = option;
 
   43       std::ostringstream strout;
 
   45       std::streambuf* ccc_buffer = std::cout.rdbuf();
 
   47       std::cout.rdbuf(strout.rdbuf());
 
   49       GetObject()->Print(fxDrawOption.toLatin1().constData());
 
   51       std::cout << std::endl;
 
   55       std::cout.rdbuf(ccc_buffer);
 
   57       PrintText->setText(strout.str().c_str());