File indexing completed on 2024-05-19 16:02:00

0001 /* This file is part of the KDE project
0002  * Copyright (C) 2010-2011 Carlos Licea <carlos@kdab.com>
0003  *
0004  * This library is free software; you can redistribute it and/or
0005  * modify it under the terms of the GNU Library General Public
0006  * License as published by the Free Software Foundation; either
0007  * version 2 of the License, or (at your option) any later version.
0008  *
0009  * This library is distributed in the hope that it will be useful,
0010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0012  * Library General Public License for more details.
0013  *
0014  * You should have received a copy of the GNU Library General Public License
0015  * along with this library; see the file COPYING.LIB.  If not, write to
0016  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0017  * Boston, MA 02110-1301, USA.
0018  */
0019 
0020 protected:
0021     KoFilter::ConversionStatus read_tbl();
0022     KoFilter::ConversionStatus read_tblPr();
0023     KoFilter::ConversionStatus read_tblGrid();
0024     KoFilter::ConversionStatus read_tr();
0025     KoFilter::ConversionStatus read_tableStyleId();
0026     KoFilter::ConversionStatus read_gridCol();
0027     KoFilter::ConversionStatus read_tc();
0028     KoFilter::ConversionStatus read_tcPr();
0029     KoFilter::ConversionStatus read_lnT();
0030     KoFilter::ConversionStatus read_lnB();
0031     KoFilter::ConversionStatus read_lnR();
0032     KoFilter::ConversionStatus read_lnL();
0033 
0034     void defineStyles();
0035 
0036     uint m_currentTableNumber; //!< table counter, from 0
0037     uint m_currentTableRowNumber; //!< row counter, from 0, initialized in read_tbl()
0038     uint m_currentTableColumnNumber; //!< column counter, from 0, initialized in read_tr()
0039 
0040     KoTable::Ptr m_table;
0041     QString m_currentTableName;
0042 
0043     MSOOXML::DrawingTableStyle* m_tableStyle;
0044     MSOOXML::DrawingTableStyleConverterProperties::Roles m_activeRoles;
0045 
0046     MSOOXML::TableStyleProperties* m_currentLocalStyleProperties;
0047     MSOOXML::LocalTableStyles m_localTableStyles;
0048 
0049     #include "PresetDrawingMLTables.h"