EBOOK-TOOLS
epub_shared.h
Go to the documentation of this file.
1#ifndef EPUB_SHARED_H
2#define EPUB_SHARED_H 1
3
4#ifdef _WIN32
5# ifdef epub_EXPORTS
6# define EPUB_EXPORT __declspec(dllexport)
7# else
8# define EPUB_EXPORT __declspec(dllimport)
9# endif
10#else
11# define EPUB_EXPORT
12#endif
13
14/**
15 Metadata types
16 */
18 EPUB_ID, /**< ebook id*/
19 EPUB_TITLE, /**< ebook title*/
20 EPUB_CREATOR, /**< ebook creator*/
21 EPUB_CONTRIB, /**< ebook contributor*/
22 EPUB_SUBJECT, /**< ebook subject*/
23 EPUB_PUBLISHER, /**< ebook publisher*/
24 EPUB_DESCRIPTION, /**< ebook description*/
25 EPUB_DATE, /**< ebook data */
26 EPUB_TYPE, /**< ebook type */
27 EPUB_FORMAT, /**< ebook format */
28 EPUB_SOURCE, /**< ebook source */
29 EPUB_LANG, /**< ebook language */
30 EPUB_RELATION, /**< ebook relation*/
31 EPUB_COVERAGE, /**< ebook coverage*/
32 EPUB_RIGHTS,/**< ebook rights */
33 EPUB_META /**< ebook extra metadata*/
34};
35
36/**
37 Ebook Iterator types
38*/
40 EITERATOR_SPINE, /**< all the spine */
41 EITERATOR_LINEAR, /**< the linear reading spine parts */
42 EITERATOR_NONLINEAR /**< the non linear reading spine parts */
43 /* EITERATOR_TOUR */
44};
45
46/**
47 Ebook Table Of Content Iterator types
48*/
50 TITERATOR_NAVMAP, /**< Navigation map */
51 TITERATOR_GUIDE, /**< Guide to the ebook parts */
52 TITERATOR_PAGES /**< The pages of the ebook */
53};
54
55#endif
eiterator_type
Ebook Iterator types.
Definition: epub_shared.h:39
@ EITERATOR_LINEAR
the linear reading spine parts
Definition: epub_shared.h:41
@ EITERATOR_SPINE
all the spine
Definition: epub_shared.h:40
@ EITERATOR_NONLINEAR
the non linear reading spine parts
Definition: epub_shared.h:42
epub_metadata
Metadata types.
Definition: epub_shared.h:17
@ EPUB_LANG
ebook language
Definition: epub_shared.h:29
@ EPUB_RIGHTS
ebook rights
Definition: epub_shared.h:32
@ EPUB_SUBJECT
ebook subject
Definition: epub_shared.h:22
@ EPUB_CREATOR
ebook creator
Definition: epub_shared.h:20
@ EPUB_RELATION
ebook relation
Definition: epub_shared.h:30
@ EPUB_DESCRIPTION
ebook description
Definition: epub_shared.h:24
@ EPUB_DATE
ebook data
Definition: epub_shared.h:25
@ EPUB_TITLE
ebook title
Definition: epub_shared.h:19
@ EPUB_META
ebook extra metadata
Definition: epub_shared.h:33
@ EPUB_CONTRIB
ebook contributor
Definition: epub_shared.h:21
@ EPUB_PUBLISHER
ebook publisher
Definition: epub_shared.h:23
@ EPUB_COVERAGE
ebook coverage
Definition: epub_shared.h:31
@ EPUB_ID
ebook id
Definition: epub_shared.h:18
@ EPUB_FORMAT
ebook format
Definition: epub_shared.h:27
@ EPUB_SOURCE
ebook source
Definition: epub_shared.h:28
@ EPUB_TYPE
ebook type
Definition: epub_shared.h:26
titerator_type
Ebook Table Of Content Iterator types.
Definition: epub_shared.h:49
@ TITERATOR_NAVMAP
Navigation map
Definition: epub_shared.h:50
@ TITERATOR_PAGES
The pages of the ebook.
Definition: epub_shared.h:52
@ TITERATOR_GUIDE
Guide to the ebook parts.
Definition: epub_shared.h:51