X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fparagraph.h;h=2d25f20d2dd4fa6869af21490bc4813db1aaa177;hb=7f68b94d8a7fba6942890b7733403192b98b040a;hp=6c54e00482f18e130f75e19253e24e39d24115ad;hpb=0d43ba149a41e8860dde316ccbd4336d6b0bbdfa;p=lyx.git diff --git a/src/paragraph.h b/src/paragraph.h index 6c54e00482..2d25f20d2d 100644 --- a/src/paragraph.h +++ b/src/paragraph.h @@ -21,6 +21,8 @@ #include "lyxlayout_ptr_fwd.h" #include "RowList_fwd.h" +#include "insets/insetbase.h" // only for InsetBase::Code + #include "support/types.h" #include @@ -139,10 +141,16 @@ public: /// void makeSameLayout(Paragraph const & par); + /// + void setInsetOwner(UpdatableInset * inset); /// UpdatableInset * inInset() const; /// - void setInsetOwner(UpdatableInset * inset); + InsetBase::Code ownerCode() const; + /// + bool autoBreakRows() const; + /// + bool forceDefaultParagraphs() const; /// lyx::pos_type size() const { return text_.size(); }