kword13format.h
1/*
2 This file is part of the KDE project
3 Copyright (C) 2004 Nicolas GOUTTE <goutte@kde.org>
4
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19*/
20
21#ifndef KWORD13_FORMAT
22#define KWORD13_FORMAT
23
25
32{
33public:
34 KWord13Format(void);
35 virtual ~KWord13Format(void);
36public:
38 virtual int length( void );
45public:
46 int m_id;
47 int m_pos;
48};
49
50
51#endif // KWORD13_FORMAT
Contains the data of the <FORMAT id="1"> children also the grand-children of <STYLE> and <LAYOUT>
Basic classes for all format classes.
int m_pos
Position of format.
int m_id
Type of format.
virtual KWord13FormatOneData * getFormatOneData(void)
Get a pointer to the data correponding to <FORMAT id="1">
virtual int length(void)
Get length of format (1 except for texts)