]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetTabular.h
index c8a9b3940ef5329ac45244dfd64fb69d9bd1bdb6..922e13ae3191b11b154239c8fdb2d6a8ec2e03d8 100644 (file)
@@ -55,6 +55,7 @@ class InsetTableCell;
 class FuncStatus;
 class Lexer;
 class Paragraph;
+class XHTMLStream;
 
 namespace frontend { class Painter; }
 
@@ -368,9 +369,11 @@ public:
        void read(Lexer &);
        ///
        int latex(odocstream &, OutputParams const &) const;
-       //
+       ///
        int docbook(odocstream & os, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream & os, OutputParams const &) const;
+       ///
        void plaintext(odocstream &,
                       OutputParams const & runparams, int const depth,
                       bool onlydata, char_type delim) const;
@@ -645,6 +648,8 @@ public:
                                bool onlydata) const;
        /// auxiliary function for docbook
        int docbookRow(odocstream & os, row_type, OutputParams const &) const;
+       ///
+       docstring xhtmlRow(XHTMLStream & xs, row_type, OutputParams const &) const;
 
        /// change associated Buffer
        void setBuffer(Buffer & buffer);
@@ -677,6 +682,8 @@ public:
        /// writes the contents of the cell as a string, optionally
        /// descending into insets
        docstring asString(bool intoInsets = true);
+       ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
 private:
        /// unimplemented
        InsetTableCell();
@@ -773,6 +780,8 @@ public:
        ///
        int docbook(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures & features) const;
        ///
        InsetCode lyxCode() const { return TABULAR_CODE; }
@@ -813,7 +822,8 @@ public:
        ///
        virtual bool forcePlainLayout(idx_type cell = 0) const;
        ///
-       void addPreview(graphics::PreviewLoader &) const;
+       void addPreview(DocIterator const & inset_pos,
+               graphics::PreviewLoader &) const;
 
        /// lock cell with given index
        void edit(Cursor & cur, bool front, EntryDirection entry_from);
@@ -826,7 +836,7 @@ public:
        /// can we go further down on mouse click?
        bool descendable(BufferView const &) const { return true; }
        // Update the counters of this inset and of its contents
-       void updateLabels(ParIterator const &);
+       void updateLabels(ParIterator const &, bool);
 
        ///
        bool completionSupported(Cursor const &) const;