]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.h
Revert unintentional commits.
[lyx.git] / src / Encoding.h
index 4de351283698b1119fa163e11f9b30f12f8590f7..0024c8e592e7dfc2b4e1f2f28473b44c0fca139b 100644 (file)
@@ -51,7 +51,8 @@ public:
        Encoding() {}
        ///
        Encoding(std::string const & n, std::string const & l,
-                std::string const & i, bool f, Package p);
+                std::string const & g, std::string const & i,
+                bool f, Package p);
        ///
        void init() const;
        ///
@@ -59,6 +60,8 @@ public:
        ///
        std::string const & latexName() const { return latexName_; }
        ///
+       std::string const & guiName() const { return guiName_; }
+       ///
        std::string const & iconvName() const { return iconvName_; }
        /**
         * Convert \p c to something that LaTeX can understand.
@@ -79,6 +82,8 @@ private:
        ///
        std::string latexName_;
        ///
+       std::string guiName_;
+       ///
        std::string iconvName_;
        /// Is this a fixed width encoding?
        bool fixedwidth_;
@@ -166,6 +171,12 @@ public:
         * \p c is a known character matching the preamble entry.
         */
        static bool isKnownScriptChar(char_type const c, std::string & preamble);
+       /**
+        * Do we have to output this character as LaTeX command in any case?
+        * This is true if the "forced" flag is set.
+        * We need this if the inputencoding does not support a certain glyph.
+        */
+       static bool isForced(char_type c);
        /**
         * Convert \p c to something that LaTeX can understand in math mode.
         * \return whether \p command is a math mode command