filters

kword13formatone.h

00001 /*
00002    This file is part of the KDE project
00003    Copyright (C) 2004 Nicolas GOUTTE <goutte@kde.org>
00004 
00005    This program is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU General Public License
00007    as published by the Free Software Foundation; either version 2
00008    of the License, or (at your option) any later version.
00009 
00010    This program is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013    GNU General Public License for more details.
00014 
00015    You should have received a copy of the GNU General Public License
00016    along with this program; if not, write to the Free Software
00017    Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KWORD_1_3_FORMAT_ONE
00022 #define KWORD_1_3_FORMAT_ONE
00023 
00024 class QTextStream;
00025 
00026 #include <qstring.h>
00027 #include <qmap.h>
00028 
00029 #include "kword13format.h"
00030 
00035 class KWord13FormatOneData
00036 {
00037 public:
00038     KWord13FormatOneData( void );
00039     ~KWord13FormatOneData( void );
00040     
00041 public:
00042     void xmldump( QTextStream& iostream );
00043     
00049     QString key( void ) const;
00050 
00051     QString getProperty( const QString& name ) const;
00052 
00053 public:
00054     QMap<QString,QString> m_properties;
00055 public: // OASIS-specific
00056     QString m_autoStyleName; 
00057 };
00058 
00062 class KWord13FormatOne : public KWord13Format
00063 {
00064 public:
00065     KWord13FormatOne(void);
00066     virtual ~KWord13FormatOne(void);
00067 public:
00069     virtual int length( void );
00075     virtual KWord13FormatOneData* getFormatOneData(void);
00076 public:
00077     int m_length; 
00078     KWord13FormatOneData m_formatOne; 
00079 };
00080 
00081 #endif // KWORD_1_3_FORMAT_ONE
KDE Home | KDE Accessibility Home | Description of Access Keys