41#  if defined(DEBUG_WITH_FILES) 
   55bool dumpFile(librevenge::RVNGBinaryData &data, 
char const *fileName);
 
   89  bool open(std::string 
const &filename);
 
   98    m_skipZones.resize(0);
 
  106  void addNote(
char const *note);
 
  111  void skipZone(
long beginPos, 
long endPos)
 
  113    if (m_on) m_skipZones.push_back(STOFFVec2<long>(beginPos, endPos));
 
  121  mutable std::string m_fileName;
 
  123  mutable std::ofstream m_file;
 
  136      , m_breaking(false) { }
 
  139    NotePos(
long p, std::string 
const &n, 
bool br=
true)
 
  151    bool operator<(NotePos 
const &p)
 const 
  153      long diff = m_pos-p.m_pos;
 
  154      if (diff) 
return (diff < 0) ? true : 
false;
 
  155      if (m_breaking != p.m_breaking) 
return m_breaking;
 
  156      return m_text < p.m_text;
 
  163      bool operator()(NotePos 
const &s1, NotePos 
const &s2)
 const 
  173  std::vector<NotePos> m_notes;
 
  175  std::vector<STOFFVec2<long> > m_skipZones;
 
  183inline bool dumpFile(librevenge::RVNGBinaryData &, 
char const *)
 
 
 
  205    return std::string(
"");
 
 
  207  static void str(std::string 
const &) { }
 
 
  218  static bool open(std::string 
const &)
 
 
 
Definition STOFFDebug.hxx:211
static void addPos(long)
Definition STOFFDebug.hxx:223
DebugFile()
Definition STOFFDebug.hxx:214
static void setStream(STOFFInputStreamPtr)
Definition STOFFDebug.hxx:215
DebugFile(STOFFInputStreamPtr)
Definition STOFFDebug.hxx:213
static void write()
Definition STOFFDebug.hxx:227
static bool open(std::string const &)
Definition STOFFDebug.hxx:218
~DebugFile()
Definition STOFFDebug.hxx:216
static void addNote(char const *)
Definition STOFFDebug.hxx:224
static void reset()
Definition STOFFDebug.hxx:228
static void skipZone(long, long)
Definition STOFFDebug.hxx:230
static void addDelimiter(long, char)
Definition STOFFDebug.hxx:225
Definition STOFFDebug.hxx:195
static std::string str()
Definition STOFFDebug.hxx:203
DebugStream & operator<<(T const &)
Definition STOFFDebug.hxx:198
static void str(std::string const &)
Definition STOFFDebug.hxx:207
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition libstaroffice_internal.hxx:489
Definition STOFFDebug.hxx:182
bool dumpFile(librevenge::RVNGBinaryData &, char const *)
Definition STOFFDebug.hxx:183
std::string flattenFileName(std::string const &name)
returns a file name from an ole/... name
Definition STOFFDebug.hxx:188
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition libstaroffice_internal.cxx:51