libmwaw::Debug Namespace Reference

debugging tools More...

## Functions

bool | dumpFile (librevenge::RVNGBinaryData &data, char const *fileName)
std::string | flattenFileName (std::string const &name)
| returns a file name from an ole/... name

## Detailed Description

debugging tools

## Function Documentation

## dumpFile()

bool libmwaw::Debug::dumpFile | ( | librevenge::RVNGBinaryData & | data,
|  | char const * | fileName )

a debug function to store in a datafile in the current directory WARNING: this function erase the file fileName if it exists (if debug_with_files is not defined, does nothing)

Referenced by EDocParser::decodeZone(), ApplePictParser::drawBitmap(), ApplePictParser::drawPixmap(), MsWksGraphInternal::DataPict::getBinaryData(), MacDraft5StyleManager::getBitmap(), MsWksGraph::getEntryPicture(), CanvasGraph::getPicture(), MacDraft5StyleManager::getPixmap(), MWAWOLEParser::parse(), MWAWRSRCParser::parsePICT(), Canvas5Structure::readBitmap(), PowerPoint7Graph::readBitmap(), ClarisWksDocument::readCPRT(), MarinerWrtParser::readCPRT(), ZWrtParser::readCPRT(), MacDocParser::readFile(), CanvasGraph::readFileBitmap(), StyleParser::readFormats(), MacWrtParser::readGraphic(), MoreParser::readGraphic(), WingzGraph::readGraphic(), PowerPoint7Graph::readMetaFile(), ClarisWksGraph::readNamedPict(), ClarisWksGraph::readOLE(), MacDraft5Parser::readPICT(), ClarisWksGraph::readPictData(), BeagleWksStructManager::readPicture(), Canvas5Parser::readPicture(), MsWrdParser::readPicture(), PowerPoint1Parser::readPicture(), StudentWritingCParser::readPicture(), WordMakerParser::readPicture(), PowerPoint3Parser::readPictureContent(), RagTime5Graph::readPictureData(), StyleParser::readPictures(), MarinerWrtGraph::readPostscript(), Canvas5Structure::readPreview(), ClarisWksGraph::readPS(), Canvas5Image::readQkTmRsrc(), CorelPainterParser::readResource(), GreatWksDBParser::readRowRecords(), ClarisWksDocument::readSNAP(), Canvas5Image::readVKFL(), ClarisWksDocument::readZone(), libmwaw_applepict1::Bitmap::saveBitmap(), ReadySetGoGraph::send(), ScoopParser::send(), ScriptWriterParser::send(), FreeHandParser::sendBackgroundPicture(), CorelPainterParser::sendBitmap(), MacDraftParser::sendBitmap(), MacDrawParser::sendBitmap(), MacDrawProParser::sendBitmap(), MsWksTable::sendChart(), SpringBoardParser::sendFrame(), Canvas5Graph::sendGIF(), ActaText::sendGraphic(), FullWrtGraph::sendGraphic(), LightWayTxtGraph::sendJPEG(), MouseWrtParser::sendMainZone(), ClarisWksGraph::sendPicture(), FreeHandParser::sendPicture(), GreatWksBMParser::sendPicture(), GreatWksGraph::sendPicture(), HanMacWrdKGraph::sendPicture(), MacWrtProParser::sendPicture(), MarinerWrtGraph::sendPicture(), RagTimeParser::sendPicture(), WriteNowParser::sendPicture(), HanMacWrdJGraph::sendPictureFrame(), MarinerWrtGraph::sendPSZone(), DrawTableParser::sendShape(), and MoreText::sendText().

## flattenFileName()

std::string libmwaw::Debug::flattenFileName | ( | std::string const & | name | ) |

returns a file name from an ole/... name

Referenced by dumpFile(), MsWks4Zone::setAscii(), and libmwaw::DebugFile::write().