]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / tabular.h
index b7e1dc8de33234590f5dd66da6f625fabc15f7bb..8d73b28d5dcb11f7c9beb1d7a5360922f339fea1 100644 (file)
@@ -157,7 +157,8 @@ public:
                BOX_MINIPAGE = 2
        };
 
-       struct ltType {
+       class ltType {
+       public:
                // constructor
                ltType();
                // we have this header type (is set in the getLT... functions)
@@ -383,6 +384,9 @@ public:
        ///
        boost::shared_ptr<InsetText> getCellInset(row_type row,
                                                  col_type column) const;
+       ///
+       void setCellInset(row_type row, col_type column,
+                         boost::shared_ptr<InsetText>) const;
        /// Search for \param inset in the tabular, with the
        ///
        idx_type getCellFromInset(InsetBase const * inset) const;
@@ -397,7 +401,8 @@ public:
        ///
 //private:
        ///
-       struct cellstruct {
+       class cellstruct {
+       public:
                ///
                cellstruct(BufferParams const &);
                ///
@@ -442,7 +447,8 @@ public:
        typedef std::vector<cell_vector> cell_vvector;
 
        ///
-       struct rowstruct {
+       class rowstruct {
+       public:
                ///
                rowstruct();
                ///
@@ -469,7 +475,8 @@ public:
        typedef std::vector<rowstruct> row_vector;
 
        ///
-       struct columnstruct {
+       class columnstruct {
+               public:
                ///
                columnstruct();
                ///
@@ -545,9 +552,6 @@ public:
        ///
        BoxType useParbox(idx_type cell) const;
        ///
-       void setHeaderFooterRows(row_type header, row_type fheader,
-                                row_type footer, row_type lfooter);
-       ///
        // helper function for Latex returns number of newlines
        ///
        int TeXTopHLine(std::ostream &, row_type row) const;