nyctergatis.com

Contact

Projects
Sysquake Remote Live
NME
PDF
Hike
Sudoku
GifBuilder
jpeglib for Palm OS
MySQL Client
Cross-GCC for Mac OS
NE Usage
    NE ne;
    // begin EPUB and specify its path
    NEBegin(&ne, epubFilename);
    // add metadata (can do it at any time before NEEnd)
    NEAddMetadata(&ne, kNEMetaTitle, "...");
    ...
    // add contents (XHTML, CSS, images, etc.) in any order, from files or in memory
    NEAddFile(&ne, filename, path);
     and/or
    NENewFile(&ne, filename);
    NEWriteToFile(&ne, data, len);
    ...
    NECloseFile(&ne);
    ...
    // specify XHTML in the correct order
    NEAddPart(&ne, filename);
    ...
    // specify other files in any order with their mime type
    NEAddOther(&ne, filename, mimetype);
    ...
    // specify TOC entries in the correct order with hyperlinks to XHTML files
    NEAddTOCEntry(&ne, title, relativeUrl, level);
    ...
    // finish the creation of the EPUB file
    NEEnd(&ne);
Generated by Doxygen.
Copyright 2007-2013, Yves Piguet.
All rights reserved.