filters

kword13document.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 KWORD_1_3_DOCUMENT_H
22#define KWORD_1_3_DOCUMENT_H
23
24class TQIODevice;
25class KTempFile;
26class KWord13Picture;
27
28#include <tqstring.h>
29#include <tqmap.h>
30#include <tqptrlist.h>
31#include <tqdatetime.h>
32#include <tqdict.h>
33#include <tqstringlist.h>
34
35#include "kword13frameset.h"
36
37class KWord13Document
38{
39public:
40 KWord13Document( void );
41 ~KWord13Document( void );
42
43public:
44 void xmldump( TQIODevice* io );
46 TQDateTime lastPrintingDate( void ) const;
48 TQDateTime creationDate( void ) const;
50 TQDateTime modificationDate( void ) const;
55 TQString getDocumentInfo( const TQString& name ) const;
61 TQString getProperty( const TQString& name, const TQString& oldName = TQString() ) const;
62protected:
64 TQString getPropertyInternal( const TQString& name ) const;
65public:
66 TQMap<TQString, TQString> m_documentProperties;
67 TQMap<TQString, TQString> m_documentInfo;
68 TQValueList<KWord13Layout> m_styles;
69 TQPtrList<KWordTextFrameset> m_normalTextFramesetList;
70 TQPtrList<KWordTextFrameset> m_tableFramesetList;
71 TQPtrList<KWordTextFrameset> m_headerFooterFramesetList;
72 TQPtrList<KWordTextFrameset> m_footEndNoteFramesetList;
73 TQPtrList<KWord13PictureFrameset> m_pictureFramesetList;
74 TQPtrList<KWord13Frameset> m_otherFramesetList;
75 TQDict<KWord13Picture> m_pictureDict;
76 KTempFile* m_previewFile;
77 TQStringList m_anchoredFramesetNames;
78};
79
80#endif // KWORD_1_3_DOCUMENT_H