1 /*
2  * This file is part of Office 2007 Filters for Calligra
3  *
4  * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
5  * Contact: Suresh Chande suresh.chande@nokia.com
6  *
7  * Copyright (C) 2012 Matus Uzak (matus.uzak@gmail.com).
8  *
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public License
11  * version 2.1 as published by the Free Software Foundation.
12  *
13  * This library is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
21  * 02110-1301 USA
22  *
23  */
24 
25 // This is not a normal header, *don't* add include guards to it.
26 // This will cause the compiler to get wrong offsets and to corrupt
27 // the stack.
28 
29 KoFilter::ConversionStatus read_extLst();
30 
31 KoFilter::ConversionStatus read_ln();
32 KoFilter::ConversionStatus read_solidFill();
33 
34 #ifndef MSOOXML_THEMESREADER_H
35 KoFilter::ConversionStatus read_fillRef();
36 KoFilter::ConversionStatus read_fontRef();
37 #endif
38 
39 KoFilter::ConversionStatus read_hslClr();
40 KoFilter::ConversionStatus read_prstClr();
41 KoFilter::ConversionStatus read_schemeClr();
42 KoFilter::ConversionStatus read_scrgbClr();
43 KoFilter::ConversionStatus read_srgbClr();
44 KoFilter::ConversionStatus read_sysClr();
45 
46 KoFilter::ConversionStatus read_shade();
47 KoFilter::ConversionStatus read_tint();
48 KoFilter::ConversionStatus read_alpha();
49 KoFilter::ConversionStatus read_satMod();
50 KoFilter::ConversionStatus read_lumMod();
51 KoFilter::ConversionStatus read_lumOff();
52 
53 KoFilter::ConversionStatus read_tailEnd();
54 KoFilter::ConversionStatus read_headEnd();
55 
56 KoBorder::BorderData m_currentBorder;
57 
58 KoFilter::ConversionStatus read_Table_generic(const QString& endElement);
59 KoFilter::ConversionStatus read_Table_lnL();
60 KoFilter::ConversionStatus read_Table_lnR();
61 KoFilter::ConversionStatus read_Table_lnT();
62 KoFilter::ConversionStatus read_Table_lnB();
63 KoFilter::ConversionStatus read_Table_ln();
64 
65 //! set by one of the color readers, read by read_solidFill. Read and
66 //! set by one of the color transformations.
67 QColor m_currentColor;
68 
69 int m_currentAlpha; // current alpha color value
70 
71 qreal m_currentTint; // value of current tint
72 qreal m_currentShadeLevel;
73 qreal m_currentSatMod; //value of current saturation modulation
74 qreal m_currentLineWidth;
75 
76 qreal* m_currentDoubleValue;
77 
78 QString m_referredFontName;
79