]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetText.h
Links between citations and bibliography entries were broken in XHTML
[lyx.git] / src / insets / InsetText.h
index 4fb9fc35d8804c3fcf7fc2f813955d05fb7da863..e986d3650d947df404b10672606a1386f61914e8 100644 (file)
@@ -75,7 +75,8 @@ public:
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream & ods, OutputParams const & op,
+                     size_t max_length = INT_MAX) const;
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
@@ -94,8 +95,8 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
        
-       /// return the optional argument(s) only
-       void getOptArg(otexstream & os, OutputParams const &) const;
+       /// return the argument(s) only
+       void getArgs(otexstream & os, OutputParams const &, bool const post = false) const;
 
        /// return x,y of given position relative to the inset's baseline
        void cursorPos(BufferView const & bv, CursorSlice const & sl,
@@ -149,7 +150,7 @@ public:
        ///
        ParagraphList const & paragraphs() const;
        ///
-       bool insetAllowed(InsetCode) const { return !getLayout().isPassThru(); }
+       bool insetAllowed(InsetCode) const;
        ///
        bool allowSpellCheck() const { return getLayout().spellcheck() && !getLayout().isPassThru(); }
        ///
@@ -173,7 +174,7 @@ public:
        ///
        void forToc(docstring &, size_t) const;
        ///
-       void addToToc(DocIterator const &) const;
+       void addToToc(DocIterator const & di, bool output_active) const;
        ///
        Inset * clone() const { return new InsetText(*this); }
        ///