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

Collects the content (text, images) of the epub file. More...

#include <epubexportContent.h>

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

Public Member Functions

void setDocument (ScribusAPIDocument *scribusDocument)
 Pass the current document to the content class.
 
void fillEpub (EpubExportEpubfile *epub, EpubExportStructure *structure)
 Get the Epub file and structure and fill them with the content. More...
 

Detailed Description

Collects the content (text, images) of the epub file.

Member Function Documentation

void EpubExportContent::fillEpub ( EpubExportEpubfile epub,
EpubExportStructure structure 
)

Get the Epub file and structure and fill them with the content.

For each section of scribusDocument, create an xhtml file that gets added to the epub file. Fhe content is retrieved by looping through the pages and adding each item sequentially to the xhtml structure

This function is called by EpubExport::doExport().

The class member scribusDocument must be set before calling fillEpub()

The parameters are the passed by reference and are the result.

Parameters
epubThe epub file to be filled.
structureThe structure containing the manifest where each xhtml and image files are added.
Todo:
:
  • do not pass epub and structure as parameters but set/query them as class members?

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