Scribus Epub Export Plugin
epubexportContent.h
1 // Collects the content (text, images) of the epub file.
2 
3 #ifndef EPUBEXPORTCONTENT_H
4 #define EPUBEXPORTCONTENT_H
5 
6 #include <QObject>
7 #include <QDebug>
8 
9 #include <QList>
10 
11 #include "plugins/scribusAPI/scribusAPIDocument.h"
12 
13 class EpubExportEpubfile;
15 
16 class ScPage;
17 
22 class EpubExportContent : public QObject
23 {
24  Q_OBJECT
25 
26 public:
29 
33  void setDocument(ScribusAPIDocument* scribusDocument) { this->scribusDocument = scribusDocument; }
37  void fillEpub(EpubExportEpubfile* epub, EpubExportStructure* structure);
38 
39 private:
40  ScribusAPIDocument* scribusDocument;
41 
42  void addTextXhtml(QString contentXhtml);
43 };
44 
45 QDebug operator<<(QDebug dbg, const EpubExportContent content);
46 
47 #endif // EPUBEXPORTCONTENT_H
Collects the content (text, images) of the epub file.
Definition: epubexportContent.h:22
void fillEpub(EpubExportEpubfile *epub, EpubExportStructure *structure)
Get the Epub file and structure and fill them with the content.
Definition: epubexportContent.cpp:37
Contains the structure data of the Epub file (metadata, manifest, cover, Xml files, ...)
Definition: epubexportStructure.h:104
Manage the epub file lifetime and add compressed / uncompressed files to the Epub file...
Definition: epubexportEpubfile.h:17
void setDocument(ScribusAPIDocument *scribusDocument)
Pass the current document to the content class.
Definition: epubexportContent.h:33