#include "Buffer.h"
#include "BufferParams.h"
#include "BufferView.h"
-#include "BufferParams.h"
#include "Cursor.h"
#include "Dimension.h"
#include "DispatchResult.h"
#include "Exporter.h"
#include "FuncRequest.h"
#include "FuncStatus.h"
-#include "InsetIterator.h"
#include "LaTeXFeatures.h"
#include "Lexer.h"
#include "MetricsInfo.h"
-#include "OutputParams.h"
#include "texstream.h"
#include "TextClass.h"
// | | | |
// x1 x2 x3 x4
- x = x + TEXT_TO_INSET_OFFSET;
+ x += leftOffset(pi.base.bv);
int const x1 = x;
int const x2 = x + arrow_size;
- int const x4 = x + dim.wid - 2 * TEXT_TO_INSET_OFFSET;
+ int const x4 = x + dim.wid - leftOffset(pi.base.bv) - rightOffset(pi.base.bv);
int const x3 = x4 - arrow_size;
int const y2 = y + (dim.des - dim.asc) / 2;
}
-int InsetPhantom::docbook(odocstream & os, OutputParams const & runparams) const
+void InsetPhantom::docbook(XMLStream &, OutputParams const &) const
{
- docstring cmdname;
- switch (params_.type) {
- case InsetPhantomParams::Phantom:
- case InsetPhantomParams::HPhantom:
- case InsetPhantomParams::VPhantom:
- default:
- cmdname = from_ascii("phantom");
- break;
- }
- os << "<" + cmdname + ">";
- int const i = InsetCollapsible::docbook(os, runparams);
- os << "</" + cmdname + ">";
-
- return i;
+ return;
}
-docstring InsetPhantom::xhtml(XHTMLStream &, OutputParams const &) const
+docstring InsetPhantom::xhtml(XMLStream &, OutputParams const &) const
{
return docstring();
}