*
* Full author contact details are available in file CREDITS.
*/
-#if 1
-#include <config.h>
-
+#include <config.h>
#include "InsetBox.h"
#include <sstream>
-
using namespace std;
using namespace lyx::support;
if (stdwidth)
os << "\\noindent";
-
switch (btype) {
case Frameless:
break;
// Special widths, see usrguide §3.5
// FIXME UNICODE
if (params_.special != "none") {
- os << "["/* << params_.width.value()*/ << (double) 1
+ os << "[" << params_.width.value()
<< '\\' << from_utf8(params_.special)
<< ']';
- } /*else
+ } else
os << '[' << from_ascii(width_string)
<< ']';
if (params_.hor_pos != 'c')
- os << "[" << params_.hor_pos << "]";*/
+ os << "[" << params_.hor_pos << "]";
}
os << "{";
os << "\\doublebox{";
break;
}
- #if 0
+
if (params_.inner_box) {
if (params_.use_parbox)
os << "\\parbox";
i += 2;
return i;
-#endif
- return 1;
}
-#else
+
int InsetBox::plaintext(odocstream & os, OutputParams const & runparams) const
{
BoxType const btype = boxtranslator().find(params_.type);
lex >> "height_special" >> height_special;
}
-#endif
-} // namespace lyx
+} // namespace lyx