void rename(docstring const & newname) { params_.branch = newname; }
///
InsetBranchParams const & params() const { return params_; }
-
-private:
///
InsetCode lyxCode() const override { return BRANCH_CODE; }
///
docstring layoutName() const override { return from_ascii("Branch:") + branch(); }
///
Inset * clone() const override { return new InsetBranch(*this); }
-
+private:
///
friend class InsetBranchParams;
///
docstring getCaptionAsHTML(XMLStream & os, OutputParams const &) const;
///
std::string contextMenuName() const override;
-private:
///
void write(std::ostream & os) const override;
///
bool allowParagraphCustomization(idx_type = 0) const override { return false; }
///
Inset * clone() const override { return new InsetCaption(*this); }
-
+private:
///
mutable docstring full_label_;
///
std::string contextMenuName() const override
{ return "context-ert"; }
-private:
///
InsetCode lyxCode() const override { return ERT_CODE; }
///
LyXAlignment contentAlignment() const override;
///
bool forceParDirectionSwitch() const override { return true; }
-private:
///
void setCaptionType(std::string const & type) override;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const override;
///
bool hasSubCaptions(ParIterator const & it) const override;
+private:
///
void doDispatch(Cursor & cur, FuncRequest & cmd) override;
///
public:
///
explicit InsetFoot(Buffer *);
-private:
///
InsetCode lyxCode() const override { return FOOT_CODE; }
///
bool inheritFont() const override { return true; }
///
bool allowMultiPar() const override { return true; }
+private:
///
docstring custom_label_;
///
{ return s == "rule"; }
//@}
-private:
-
/// Inset inherited methods.
//@{
InsetCode lyxCode() const override { return LINE_CODE; }
Inset * clone() const override { return new InsetLine(*this); }
//@}
+private:
/// cached line height and offset.
/// These value are independent of the BufferView size and thus
/// can be shared between views.
static void string2params(std::string const &, InsetNoteParams &);
///
InsetNoteParams const & params() const { return params_; }
-private:
///
InsetCode lyxCode() const override { return NOTE_CODE; }
///
std::string contextMenuName() const override;
///
friend class InsetNoteParams;
-
+private:
///
InsetNoteParams params_;
};
}
///
RowFlags rowFlags() const override { return BreakAfter; }
-private:
///
InsetCode lyxCode() const override { return SEPARATOR_CODE; }
///
void doDispatch(Cursor & cur, FuncRequest & cmd) override;
///
bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const override;
-
+private:
///
InsetSeparatorParams params_;
};