]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.h
Compute and output numbers for numerical citations.
[lyx.git] / src / insets / InsetCommandParams.h
index 8d2aaa8fa246cb5268a68296ff8fc1c9f871f9b3..a5d46785b8ef2c43002fbe1aa2f30a933d06eb79 100644 (file)
@@ -31,6 +31,8 @@ class Lexer;
 
 class ParamInfo {
 public:
+       ///
+       ParamInfo() {}
        /// Types of parameters
        enum ParamType {
                LATEX_OPTIONAL,    /// normal optional argument
@@ -140,16 +142,16 @@ public:
        void clear();
        ///
        static bool isCompatibleCommand(InsetCode code, std::string const & s);
-
+       /// 
+       ParamInfo const & info() const { return info_; }
+       ///
+       docstring prepareCommand(OutputParams const & runparams,
+               docstring const & command, ParamInfo::ParamHandling handling) const;
 private:
        std::string getDefaultCmd(InsetCode code);
        /// checks whether we need to write an empty optional parameter
        /// \return true if a non-empty optional parameter follows ci
        bool writeEmptyOptional(ParamInfo::const_iterator ci) const;
-       ///
-       docstring prepareCommand(OutputParams const & runparams,
-                                            docstring const & command,
-                                            ParamInfo::ParamHandling handling) const;
 
        /// Description of all command properties
        ParamInfo info_;