libodsstream
Library for mass spectrometry
Loading...
Searching...
No Matches
odstablecellstyle.cpp
Go to the documentation of this file.
1
/**
2
* \file odsstream/writer/options/odstablecellstyle.cpp
3
* \date 10/03/2016
4
* \author Olivier Langella
5
* \brief handler for ODS cell style
6
*/
7
/*
8
libodsstream is a library to read and write ODS documents as streams
9
Copyright (C) 2013 Olivier Langella <Olivier.Langella@moulon.inra.fr>
10
11
This program is free software: you can redistribute it and/or modify
12
it under the terms of the GNU Lesser General Public License as published by
13
the Free Software Foundation, either version 3 of the License, or
14
(at your option) any later version.
15
16
This program is distributed in the hope that it will be useful,
17
but WITHOUT ANY WARRANTY; without even the implied warranty of
18
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
GNU Lesser General Public License for more details.
20
21
You should have received a copy of the GNU Lesser General Public License
22
along with this program. If not, see <http://www.gnu.org/licenses/>.
23
24
*/
25
26
#include "
odstablecellstyle.h
"
27
28
OdsTableCellStyle::OdsTableCellStyle
()
29
{
30
}
31
32
OdsTableCellStyle::~OdsTableCellStyle
()
33
{
34
}
35
36
void
37
OdsTableCellStyle::setBackgroundColor
(
const
QColor &qcolor)
38
{
39
_background_color
= qcolor;
40
}
41
void
42
OdsTableCellStyle::setTextColor
(
const
QColor &qcolor)
43
{
44
_text_color
= qcolor;
45
}
OdsTableCellStyle::OdsTableCellStyle
OdsTableCellStyle()
Definition
odstablecellstyle.cpp:28
OdsTableCellStyle::_text_color
QColor _text_color
Definition
odstablecellstyle.h:45
OdsTableCellStyle::_background_color
QColor _background_color
Definition
odstablecellstyle.h:44
OdsTableCellStyle::~OdsTableCellStyle
~OdsTableCellStyle()
Definition
odstablecellstyle.cpp:32
OdsTableCellStyle::setBackgroundColor
void setBackgroundColor(const QColor &qcolor)
Definition
odstablecellstyle.cpp:37
OdsTableCellStyle::setTextColor
void setTextColor(const QColor &qcolor)
Definition
odstablecellstyle.cpp:42
odstablecellstyle.h
handler for ODS cell style
odsstream
writer
options
odstablecellstyle.cpp
Generated on Thu Sep 25 2025 21:42:23 for libodsstream by
1.9.8