File indexing completed on 2024-05-12 16:29:09

0001 /*
0002  * This file is part of Office 2007 Filters for Calligra
0003  *
0004  * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
0005  * Contact: Suresh Chande suresh.chande@nokia.com
0006  *
0007  * Copyright (C) 2012 Matus Uzak (matus.uzak@gmail.com).
0008  *
0009  * This library is free software; you can redistribute it and/or
0010  * modify it under the terms of the GNU Lesser General Public License
0011  * version 2.1 as published by the Free Software Foundation.
0012  *
0013  * This library is distributed in the hope that it will be useful, but
0014  * WITHOUT ANY WARRANTY; without even the implied warranty of
0015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0016  * Lesser General Public License for more details.
0017  *
0018  * You should have received a copy of the GNU Lesser General Public
0019  * License along with this library; if not, write to the Free Software
0020  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
0021  * 02110-1301 USA
0022  *
0023  */
0024 
0025 // This is not a normal header, *don't* add include guards to it.
0026 // This will cause the compiler to get wrong offsets and to corrupt
0027 // the stack.
0028 
0029 KoFilter::ConversionStatus read_extLst();
0030 
0031 KoFilter::ConversionStatus read_ln();
0032 KoFilter::ConversionStatus read_solidFill();
0033 
0034 #ifndef MSOOXML_THEMESREADER_H
0035 KoFilter::ConversionStatus read_fillRef();
0036 KoFilter::ConversionStatus read_fontRef();
0037 #endif
0038 
0039 KoFilter::ConversionStatus read_hslClr();
0040 KoFilter::ConversionStatus read_prstClr();
0041 KoFilter::ConversionStatus read_schemeClr();
0042 KoFilter::ConversionStatus read_scrgbClr();
0043 KoFilter::ConversionStatus read_srgbClr();
0044 KoFilter::ConversionStatus read_sysClr();
0045 
0046 KoFilter::ConversionStatus read_shade();
0047 KoFilter::ConversionStatus read_tint();
0048 KoFilter::ConversionStatus read_alpha();
0049 KoFilter::ConversionStatus read_satMod();
0050 KoFilter::ConversionStatus read_lumMod();
0051 KoFilter::ConversionStatus read_lumOff();
0052 
0053 KoFilter::ConversionStatus read_tailEnd();
0054 KoFilter::ConversionStatus read_headEnd();
0055 
0056 KoBorder::BorderData m_currentBorder;
0057 
0058 KoFilter::ConversionStatus read_Table_generic(const QString& endElement);
0059 KoFilter::ConversionStatus read_Table_lnL();
0060 KoFilter::ConversionStatus read_Table_lnR();
0061 KoFilter::ConversionStatus read_Table_lnT();
0062 KoFilter::ConversionStatus read_Table_lnB();
0063 KoFilter::ConversionStatus read_Table_ln();
0064 
0065 //! set by one of the color readers, read by read_solidFill. Read and
0066 //! set by one of the color transformations.
0067 QColor m_currentColor;
0068 
0069 int m_currentAlpha; // current alpha color value
0070 
0071 qreal m_currentTint; // value of current tint
0072 qreal m_currentShadeLevel;
0073 qreal m_currentSatMod; //value of current saturation modulation
0074 qreal m_currentLineWidth;
0075 
0076 qreal* m_currentDoubleValue;
0077 
0078 QString m_referredFontName;