]> git.lyx.org Git - lyx.git/blobdiff - src/Author.h
Track change of label name
[lyx.git] / src / Author.h
index 6915318531802f2eea40536bc50ac0227ef984d9..b498655aa020fdb6aff53b1fceefdba110e77221 100644 (file)
@@ -24,7 +24,8 @@ public:
        ///
        Author() : used_(false), buffer_id_(0) {};
        ///
-       Author(docstring const & name, docstring const & email);
+       Author(docstring const & name, docstring const & email,
+              docstring const & initials);
        /// For when the \author line is missing (#9854)
        Author(int buffer_id);
        ///
@@ -32,6 +33,10 @@ public:
        ///
        docstring email() const { return email_; }
        ///
+       docstring initials() const { return initials_; }
+       ///
+       docstring nameAndEmail() const;
+       ///
        int bufferId() const { return buffer_id_; }
        ///
        void setBufferId(int buffer_id) const { buffer_id_ = buffer_id; }
@@ -51,6 +56,8 @@ private:
        docstring name_;
        /// The author's email address
        docstring email_;
+       /// The author's initials
+       docstring initials_;
        ///
        mutable bool used_;
        /// The id of the author in the lyx-file