Warning, file /office/calligra/libs/odf/KoEmbeddedDocumentLoader.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /* This file is part of the KDE project
0002  * 
0003  * This library is free software; you can redistribute it and/or
0004  * modify it under the terms of the GNU Library General Public
0005  * License as published by the Free Software Foundation; either
0006  * version 2 of the License, or (at your option) any later version.
0007  *
0008  * This library is distributed in the hope that it will be useful,
0009  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0010  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0011  * Library General Public License for more details.
0012  *
0013  * You should have received a copy of the GNU Library General Public License
0014  * along with this library; see the file COPYING.LIB.  If not, write to
0015  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0016  * Boston, MA 02110-1301, USA.
0017  */
0018 
0019 #ifndef KOEMBEDDEDDOCUMENTLOADER_H
0020 #define KOEMBEDDEDDOCUMENTLOADER_H
0021 
0022 #include "koodf_export.h"
0023 
0024 #include <QtGlobal>
0025 
0026 class KoDocumentBase;
0027 class KoXmlElement;
0028 class KoOdfLoadingContext;
0029 
0030 /**
0031  * This class is used to load embedded objects in ODF documents.
0032  *
0033  */
0034 class KOODF_EXPORT KoEmbeddedDocumentLoader
0035 {
0036 public:
0037     /// Creator
0038     KoEmbeddedDocumentLoader(KoDocumentBase *doc);
0039     /// Destructor
0040     ~KoEmbeddedDocumentLoader();
0041 
0042     /// Load the embedded document linked to in @p element from the store in @p context
0043     bool loadEmbeddedDocument(const KoXmlElement &element, KoOdfLoadingContext &context);
0044 
0045 private:
0046     class Private;
0047     Private * const d;
0048     Q_DISABLE_COPY(KoEmbeddedDocumentLoader)
0049 };
0050 
0051 #endif /* KOEMBEDDEDDOCUMENTLOADER_H */