]> git.lyx.org Git - features.git/blobdiff - src/lyxtext.h
Dekels arabic patch, + some small things by me
[features.git] / src / lyxtext.h
index f6995e25322cd92e8efc2586b5c2faea2675ae6f..352828694305ee15721fce089b85974b0b99b7f8 100644 (file)
@@ -44,6 +44,13 @@ public:
                NEED_VERY_LITTLE_REFRESH
        };
 
+       enum Letter_Form {
+               FORM_ISOLATED,
+               FORM_INITIAL,
+               FORM_MEDIAL,
+               FORM_FINAL
+       };
+
        /// points to Buffer.params
        BufferParams * parameters;
        /// points to Buffer
@@ -636,6 +643,13 @@ private:
                        return vis2log_list[pos-bidi_start];
        }
 
+       ///
+       unsigned char TransformChar(unsigned char c, Letter_Form form) const;
+
+       ///
+       unsigned char TransformChar(unsigned char c, LyXParagraph * par,
+                               LyXParagraph::size_type pos) const;
+
        /** returns the paragraph position of the last character in the 
          specified row
          */