X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayout.h;h=aeca0f4f83ae7c9b6a84b672704d0aefb61a0fe2;hb=70a24259f8e3eb75677178ef5e28ecbb51c2935b;hp=e41c3069e5fc3ce7128efa233ef798bac8a2a92c;hpb=70899f0c154bed67e376080169f52e853bb9e9bd;p=lyx.git diff --git a/src/Layout.h b/src/Layout.h index e41c3069e5..aeca0f4f83 100644 --- a/src/Layout.h +++ b/src/Layout.h @@ -120,6 +120,8 @@ public: std::string const & htmllabel() const { return htmllabel_; } /// std::string const & htmllabelattr() const { return htmllabelattr_; } + /// + bool htmllabelfirst() const { return htmllabelfirst_; } /// docstring const & htmlstyle() const { return htmlstyle_; } /// @@ -306,6 +308,13 @@ private: std::string htmllabel_; /// Attributes for the label. std::string htmllabelattr_; + /// Whether to put the label before the item, or within the item. + /// I.e., do we have (true): + /// ... + /// or instead (false): + /// ... + /// The latter is the default. + bool htmllabelfirst_; /// CSS information needed by this layout. docstring htmlstyle_; /// Any other info for the HTML header.