/* This file is part of
- * ======================================================
- *
+ * ======================================================
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 2000-2001 The LyX Team.
*
* @author: Jürgen Vigna
*
- * ======================================================
+ * ======================================================
*/
#include <config.h>
#include "tabular_funcs.h"
-#include "support/lstrings.h"
#include "support/LIstream.h"
+#ifndef CXX_GLOBAL_CSTD
+using std::strlen;
+#endif
+
using std::istream;
using std::getline;
// file format bloat for tabulars.
if (!b)
return string();
-
+
return write_attribute(name, tostr(b));
}
// file format bloat for tabulars.
if (!i)
return string();
-
+
return write_attribute(name, tostr(i));
}
// we write only the value if we really have one same reson as above.
if (value.zero())
return string();
-
+
return write_attribute(name, value.asString());
}
if (!getTokenValue(str, token, tmp))
return false;
return string2type(tmp, flag);
-}
+}
bool getTokenValue(string const & str, const char * token, LyXLength & len)
if (!getTokenValue(str, token, tmp))
return false;
return isValidLength(tmp, &len);
-}
+}
void l_getline(istream & is, string & str)