]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
* support/qstring_helpers.h: erase ucs4_to_qstring() method.
[lyx.git] / src / tabular.h
index 8c8180e8f619055833c29e0aa7fc69146ca0b3ba..b972d0aa3c7bc4b5330790c1e45e74048625bd95 100644 (file)
@@ -264,7 +264,7 @@ public:
        ///
        bool setMColumnPWidth(LCursor &, idx_type, LyXLength const &);
        ///
-       void setAlignSpecial(idx_type cell, std::string const & special,
+       void setAlignSpecial(idx_type cell, docstring const & special,
                             Feature what);
        ///
        LyXAlignment getAlignment(idx_type cell,
@@ -279,7 +279,7 @@ public:
        ///
        LyXLength const getMColumnPWidth(idx_type cell) const;
        ///
-       std::string const getAlignSpecial(idx_type cell, int what) const;
+       docstring const getAlignSpecial(idx_type cell, int what) const;
        ///
        int getWidthOfCell(idx_type cell) const;
        ///
@@ -317,10 +317,9 @@ public:
        //
        int docbook(Buffer const & buf, odocstream & os, OutputParams const &) const;
        ///
-       int plaintext(Buffer const &, odocstream &,
-                 OutputParams const & runparams,
-                 int const depth,
-                 bool onlydata, unsigned char delim) const;
+       void plaintext(Buffer const &, odocstream &,
+                      OutputParams const & runparams, int const depth,
+                      bool onlydata, unsigned char delim) const;
        ///
        bool isMultiColumn(idx_type cell) const;
        ///
@@ -454,7 +453,7 @@ public:
                ///
                bool rotate;
                ///
-               std::string align_special;
+               docstring align_special;
                ///
                LyXLength p_width; // this is only set for multicolumn!!!
                ///
@@ -524,7 +523,7 @@ public:
                ///
                LyXLength p_width;
                ///
-               std::string align_special;
+               docstring align_special;
        };
        ///
        typedef std::vector<columnstruct> column_vector;
@@ -604,19 +603,19 @@ public:
        int TeXRow(odocstream &, row_type const row, Buffer const & buf,
                   OutputParams const &) const;
        ///
-       // helper function for ASCII returns number of newlines
+       // helper functions for plain text
        ///
-       int asciiTopHLine(odocstream &, row_type row,
-                         std::vector<unsigned int> const &) const;
+       bool plaintextTopHLine(odocstream &, row_type row,
+                              std::vector<unsigned int> const &) const;
        ///
-       int asciiBottomHLine(odocstream &, row_type row,
-                            std::vector<unsigned int> const &) const;
+       bool plaintextBottomHLine(odocstream &, row_type row,
+                                 std::vector<unsigned int> const &) const;
        ///
-       int asciiPrintCell(Buffer const &, odocstream &,
-                          OutputParams const &,
-                          idx_type cell, row_type row, col_type column,
-                          std::vector<unsigned int> const &,
-                                          bool onlydata) const;
+       void plaintextPrintCell(Buffer const &, odocstream &,
+                               OutputParams const &,
+                               idx_type cell, row_type row, col_type column,
+                               std::vector<unsigned int> const &,
+                               bool onlydata) const;
        /// auxiliary function for docbook
        int docbookRow(Buffer const & buf, odocstream & os, row_type,
                       OutputParams const &) const;