]> git.lyx.org Git - lyx.git/blobdiff - src/TextClass.h
Improvements to Parser::verbatimStuff
[lyx.git] / src / TextClass.h
index fd8011328bfd160750d571180c188eb2f4458078..bc900fa7a5093e21db446b29bc3cadf853c032d7 100644 (file)
@@ -189,11 +189,13 @@ public:
        ///
        std::string const & name() const { return name_; }
        ///
+       std::string const & category() const { return category_; }
+       ///
        std::string const & description() const { return description_; }
        ///
        std::string const & latexname() const { return latexname_; }
        ///
-       std::string const & prerequisites() const;
+       std::string const & prerequisites(std::string const & sep = "\n\t") const;
        /// Can be LaTeX, DocBook, etc.
        OutputType outputType() const { return outputType_; }
        /// Can be latex, docbook ... (the name of a format)
@@ -231,6 +233,8 @@ protected:
        mutable LayoutList layoutlist_;
        /// Layout file name
        std::string name_;
+       /// Class category
+       std::string category_;
        /// document class name
        std::string latexname_;
        /// document class description
@@ -329,6 +333,8 @@ private:
        ///
        bool deleteLayout(docstring const &);
        ///
+       bool deleteInsetLayout(docstring const &);
+       ///
        bool convertLayoutFormat(support::FileName const &, ReadType);
        /// Reads the layout file without running layout2layout.
        ReturnValues readWithoutConv(support::FileName const & filename, ReadType rt);
@@ -419,6 +425,8 @@ public:
        docstring const & htmlpreamble() const { return htmlpreamble_; }
        ///
        docstring const & htmlstyles() const { return htmlstyles_; }
+       ///
+       Layout const & getTOCLayout() const;
        /// the paragraph style to use for TOCs, Bibliography, etc
        /// we will attempt to calculate this if it was not given
        Layout const & htmlTOCLayout() const;