#include "ParagraphParameters.h"
#include "counters.h"
-#include <boost/array.hpp>
-
class LyXLayout;
struct Paragraph::Pimpl {
return text.size();
}
///
+ bool empty() const {
+ return text.empty();
+ }
+ ///
void clear();
///
void setContentsFromPar(Paragraph const * par);
BufferParams const & bparams) const;
///
Inset * inset_owner;
- ///
- boost::array<int, 10> counter_;
-
- ///
- friend struct matchIT;
- ///
- struct matchIT {
- /// used by lower_bound and upper_bound
- inline
- int operator()(InsetTable const & a, InsetTable const & b) const {
- return a.pos < b.pos;
- }
- };
+
/** A font entry covers a range of positions. Notice that the
entries in the list are inserted in random order.
I don't think it's worth the effort to implement a more effective
static unsigned int paragraph_id;
///
ParagraphParameters params;
- ///
- Counters ctrs;
private:
/// match a string against a particular point in the paragraph