#include "support/types.h"
#include <boost/tuple/tuple.hpp>
-#include <boost/utility.hpp>
+#include <boost/noncopyable.hpp>
#include <boost/signal.hpp>
#include <utility>
///
CoordCache const & coordCache() const { return coord_cache_; }
+ ///
+ Point getPos(DocIterator const & dit, bool boundary) const;
+
+
///
void draw(frontend::Painter & pain);
boost::signal<void(std::string name,
std::string data)> updateDialog;
- /// This signal is emitted when the layout at the cursor is changed.
- boost::signal<void(docstring layout)> layoutChanged;
-
private:
+ // the position relative to (0, baseline) of outermost paragraph
+ Point coordOffset(DocIterator const & dit, bool boundary) const;
/// Update current paragraph metrics.
/// \return true if no further update is needed.
bool singleParUpdate();