Scribus Epub Export Plugin
Public Member Functions | List of all members
EpubExportEpubfile Class Reference

Manage the epub file lifetime and add compressed / uncompressed files to the Epub file. More...

#include <epubexportEpubfile.h>

Inheritance diagram for EpubExportEpubfile:
Inheritance graph
[legend]
Collaboration diagram for EpubExportEpubfile:
Collaboration graph
[legend]

Public Member Functions

void setFilename (QString filename)
 
void create ()
 Create the internal EpubExportZip file.
 
void close ()
 
void addFile (const QString &filename, const QString &path)
 Add a file compressed. More...
 
void addFileUncompressed (const QString &filename, const QString &path)
 Add a file uncompressed. You need this for images. More...
 
void add (QString filename, QString content)
 Add a string compressed. You need this for Html content. More...
 
void addUncompressed (QString filename, QString content)
 Add a string uncompressed. You need this for the manifest. More...
 
void addUncompressed (QString filename, QByteArray content)
 

Detailed Description

Manage the epub file lifetime and add compressed / uncompressed files to the Epub file.

Member Function Documentation

void EpubExportEpubfile::add ( QString  filename,
QString  content 
)

Add a string compressed. You need this for Html content.

Parameters
filenamePath to the file in the Epub file
contentThe content of the file to be added
void EpubExportEpubfile::addFile ( const QString &  filename,
const QString &  path 
)

Add a file compressed.

Parameters
filenamePath to the file in the Epub file
pathPath to the file to be added
void EpubExportEpubfile::addFileUncompressed ( const QString &  filename,
const QString &  path 
)

Add a file uncompressed. You need this for images.

Parameters
filenamePath to the file in the Epub file
pathPath to the file to be added
void EpubExportEpubfile::addUncompressed ( QString  filename,
QString  content 
)

Add a string uncompressed. You need this for the manifest.

Parameters
filenamePath to the file in the Epub file
contentThe content of the file to be added

The documentation for this class was generated from the following files: