#include <config.h>
#include "Length.h"
-#include "lengthcommon.h"
#include "LyXRC.h"
#include "support/docstream.h"
+
#include <sstream>
#include <iomanip>
* Full author contact details are available in file CREDITS.
*/
-#ifndef LYX_LENGTH_H
-#define LYX_LENGTH_H
+#ifndef LENGTH_H
+#define LENGTH_H
#include "support/docstring.h"
stored into "result", if that is not 0. */
bool isValidGlueLength(std::string const & data, GlueLength * result = 0);
+/// the number of units possible
+extern int const num_units;
+
+/**
+ * array of unit names
+ *
+ * FIXME: I am not sure if "mu" should be possible to select (Lgb)
+ */
+extern char const * const unit_name[];
+extern char const * const unit_name_gui[];
+
+/// return the unit given a string representation such as "cm"
+Length::UNIT unitFromString(std::string const & data);
+
+
+
} // namespace lyx
-#endif // LYXLENGTH_H
+#endif // LENGTH_H
Length.cpp \
Length.h \
lengthcommon.cpp \
- lengthcommon.h \
Lexer.cpp \
Lexer.h \
lfuns.h \
#include <config.h>
#include "VSpace.h"
+
#include "Buffer.h"
#include "BufferParams.h"
#include "BufferView.h"
#include "gettext.h"
-#include "lengthcommon.h"
+#include "Length.h"
#include "Text.h"
#include "TextMetrics.h" // for defaultRowHeight()
#include "gettext.h"
#include "LengthCombo.h"
+#include "Length.h"
#include "qt_helpers.h"
-#include "lengthcommon.h"
#include "LyXRC.h" // to set the default length values
#include "Validator.h"
#include "GuiExternal.h"
-#include "GuiExternal.h"
#include "frontend_helpers.h"
#include "FuncRequest.h"
#include "gettext.h"
-#include "lengthcommon.h"
+#include "Length.h"
#include "LyXRC.h"
#include "insets/ExternalSupport.h"
#include "GuiGraphics.h"
-#include "GuiGraphics.h"
#include "debug.h"
#include "LengthCombo.h"
-#include "lengthcommon.h"
+#include "Length.h"
#include "LyXRC.h"
#include "qt_helpers.h"
#include "Validator.h"
#include <config.h>
#include "LengthCombo.h"
-#include "lengthcommon.h"
+
#include "qt_helpers.h"
#include <config.h>
-#include "LengthCombo.h"
#include "qt_helpers.h"
-#include "lengthcommon.h"
+#include "LengthCombo.h"
+
+#include "debug.h"
#include "gettext.h"
+#include "Length.h"
#include "support/os.h"
#include "support/lstrings.h"
-#include "debug.h"
-
#include <QComboBox>
#include <QCheckBox>
#include <QPalette>
#include <config.h>
-#include "lengthcommon.h"
+#include "Length.h"
#include "gettext.h"
+++ /dev/null
-// -*- C++ -*-
-/**
- * \file lengthcommon.h
- * This file is part of LyX, the document processor.
- * Licence details can be found in the file COPYING.
- *
- * \author Lars Gullik Bjønnes
- * \author Matthias Ettrich
- * \author Jean-Marc Lasgouttes
- * \author John Levon
- *
- * Full author contact details are available in file CREDITS.
- */
-
-#ifndef LENGTH_COMMON_H
-#define LENGTH_COMMON_H
-
-#include "Length.h"
-
-
-namespace lyx {
-
-
-/// the number of units possible
-extern int const num_units;
-
-/**
- * array of unit names
- *
- * FIXME: I am not sure if "mu" should be possible to select (Lgb)
- */
-extern char const * const unit_name[];
-extern char const * const unit_name_gui[];
-
-/// return the unit given a string representation such as "cm"
-Length::UNIT unitFromString(std::string const & data);
-
-
-
-} // namespace lyx
-
-#endif // LENGTH_COMMON_H
#include <config.h>
#include "tex2lyx.h"
+
#include "Context.h"
-#include "Layout.h"
#include "FloatList.h"
-#include "lengthcommon.h"
+#include "Layout.h"
+#include "Length.h"
+
#include "support/lstrings.h"
#include "support/convert.h"
#include "support/filetools.h"
-#include <boost/filesystem/operations.hpp>
#include <boost/tuple/tuple.hpp>
#include <iostream>
using support::contains;
using support::subst;
-namespace fs = boost::filesystem;
-
void parse_text_in_inset(Parser & p, ostream & os, unsigned flags, bool outer,
Context const & context)