void simpleDocBookOnePar(Buffer const & buf,
std::ostream &,
LyXFont const & outerfont,
- int & desc_on,
OutputParams const & runparams,
- lyx::depth_type depth) const;
+ lyx::depth_type depth,
+ bool labelid) const;
///
bool hasSameLayout(Paragraph const & par) const;
UpdatableInset * inInset() const;
///
void setInsetOwner(UpdatableInset * inset);
- ///
- void deleteInsetsLyXText(BufferView *);
///
lyx::pos_type size() const { return text_.size(); }
/// the paragraph alongside the text of the rest of the paragraph
/// (the body). This function returns the starting position of the
/// body of the text in the paragraph.
- int beginningOfBody() const;
+ int beginOfBody() const;
+ /// recompute this value
+ void setBeginOfBody();
///
std::string const & getLabelstring() const;
/// keeping this here instead of in the pimpl makes LyX >10% faster
// for average tasks as buffer loading/switching etc.
TextContainer text_;
+ /// end of label
+ int begin_of_body_;
struct Pimpl;
///