#include "Lexer.h"
#include "output_xhtml.h"
#include "ParIterator.h"
+#include "TexRow.h"
+#include "texstream.h"
#include "TextClass.h"
#include "support/debug.h"
docstring InsetFloat::getCaption(OutputParams const & runparams) const
{
- TexRow texrow(false);
odocstringstream ods;
- otexstream os(ods, texrow);
+ otexstream os(ods, false);
getCaption(os, runparams);
return ods.str();
}
ins->getArgs(os, runparams);
os << '[';
- TexRow texrow;
odocstringstream ods;
- otexstream oss(ods, texrow);
+ otexstream oss(ods);
ins->getArgument(oss, runparams);
docstring arg = ods.str();
// Protect ']'
if (arg.find(']') != docstring::npos)
arg = '{' + arg + '}';
- os.append(arg, texrow);
+ os.append(arg, move(oss.texrow()));
os << ']';
}