]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
Allow LyX format to be written to View>Source window.
[lyx.git] / src / insets / InsetText.h
index 1dca10e468d431f78fd75065b9a0d40c061dfdc6..0110adf867a999ea9792f7bd6b0a207d502124ff 100644 (file)
@@ -73,7 +73,7 @@ public:
        Text & text() { return text_; }
        Text const & text() const { return text_; }
        ///
-       int latex(odocstream &, OutputParams const &) const;
+       void latex(otexstream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
@@ -164,6 +164,8 @@ public:
        /// Update the counters of this inset and of its contents
        virtual void updateBuffer(ParIterator const &, UpdateType);
        /// 
+       void setMacrocontextPositionRecursive(DocIterator const & pos);
+       ///
        void toString(odocstream &) const;
        ///
        void forToc(docstring &, size_t) const;
@@ -201,9 +203,9 @@ public:
                        size_t numlines = 5, size_t len = 80) const;
 
        ///
-       docstring contextMenu(BufferView const &, int, int) const;
+       std::string contextMenu(BufferView const &, int, int) const;
        ///
-       docstring contextMenuName() const;
+       std::string contextMenuName() const;
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
 protected: