libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 6c774c78958f38a612c6eedd36a585f016bffc72
parent f35675ca90a293218cc4173ad957e174f0d03159
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 26 Sep 2005 13:53:23 +0000

adding keyword type template

Diffstat:
Msrc/include/extractor.h | 1+
Msrc/main/extractor.c | 3++-
Msrc/plugins/ole2/ole2extractor.c | 2+-
3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/include/extractor.h b/src/include/extractor.h @@ -138,6 +138,7 @@ typedef enum { EXTRACTOR_IMAGE_QUALITY = 85, EXTRACTOR_WHITE_BALANCE = 86, EXTRACTOR_ORIENTATION = 87, + EXTRACTOR_TEMPLATE = 88, } EXTRACTOR_KeywordType; /** diff --git a/src/main/extractor.c b/src/main/extractor.c @@ -129,11 +129,12 @@ static const char *keywordTypes[] = { gettext_noop("image quality"), gettext_noop("white balance"), gettext_noop("orientation"), + gettext_noop("template"), NULL, }; /* the number of keyword types (for bounds-checking) */ -#define HIGHEST_TYPE_NUMBER 88 +#define HIGHEST_TYPE_NUMBER 89 #ifdef HAVE_LIBOGG #if HAVE_VORBIS diff --git a/src/plugins/ole2/ole2extractor.c b/src/plugins/ole2/ole2extractor.c @@ -1397,7 +1397,7 @@ static Matches tmap[] = { { "Author", EXTRACTOR_AUTHOR }, { "Keywords", EXTRACTOR_KEYWORDS }, { "Comments", EXTRACTOR_COMMENT }, - { "Template", EXTRACTOR_FORMAT }, + { "Template", EXTRACTOR_TEMPLATE }, { "NumPages", EXTRACTOR_PAGE_COUNT }, { "AppName", EXTRACTOR_SOFTWARE }, { "RevisionNumber", EXTRACTOR_VERSIONNUMBER },