libodsstream
odstablecellstyle.h
Go to the documentation of this file.
1 
8 /*
9  libodsstream is a library to read and write ODS documents as streams
10  Copyright (C) 2013 Olivier Langella <Olivier.Langella@moulon.inra.fr>
11 
12  This program is free software: you can redistribute it and/or modify
13  it under the terms of the GNU Lesser General Public License as published by
14  the Free Software Foundation, either version 3 of the License, or
15  (at your option) any later version.
16 
17  This program is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  GNU Lesser General Public License for more details.
21 
22  You should have received a copy of the GNU Lesser General Public License
23  along with this program. If not, see <http://www.gnu.org/licenses/>.
24 
25 */
26 
27 #ifndef ODSTABLECELLSTYLE_H
28 #define ODSTABLECELLSTYLE_H
29 
30 #include <QColor>
31 class ContentXml;
32 
34 {
35  friend class ContentXml;
36 
37  public:
40  void setBackgroundColor(const QColor &qcolor);
41  void setTextColor(const QColor &qcolor);
42 
43  private:
44  QColor _background_color;
45  QColor _text_color;
46 };
47 
48 #endif // ODSTABLECELLSTYLE_H
Definition: odstablecellstyle.h:33
Definition: contentxml.h:35