kword
KWOasisLoader.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef KWOASISLOADER_H
00020 #define KWOASISLOADER_H
00021
00022 class KoPoint;
00023 class KWTableFrameSet;
00024 class KWLoadingInfo;
00025 class KoOasisContext;
00026 class QDomDocument;
00027 class KoOasisSettings;
00028 class QDomElement;
00029 class KWFrame;
00030 class KoStore;
00031 class KoTextCursor;
00032 class KWDocument;
00033 template <class T> class QValueList;
00034
00035
00036 class KWOasisLoader
00037 {
00038 public:
00039 KWOasisLoader( KWDocument* doc );
00040
00044 QValueList<KWFrame *> insertOasisData( KoStore* store, KoTextCursor* cursor );
00045
00046 void loadOasisSettings( const QDomDocument&settingsDoc );
00047 void loadOasisHeaderFooter( const QDomElement& headerFooter, bool hasEvenOdd,
00048 QDomElement& style, KoOasisContext& context );
00049
00050 KWFrame* loadFrame( const QDomElement& frameTag, KoOasisContext& context, const KoPoint& offset );
00051 KWFrame* loadOasisTextBox( const QDomElement& frame, const QDomElement& tag,
00052 KoOasisContext& context );
00053 KWTableFrameSet* loadOasisTable( const QDomElement& tag,
00054 KoOasisContext& context );
00055
00056 private:
00057 void loadOasisIgnoreList( const KoOasisSettings& settings );
00058
00059 private:
00060 KWDocument* m_doc;
00061 };
00062
00063
00064 #endif
|