diff --git a/src/doc/user/usermanual.html b/src/doc/user/usermanual.html index 3abce386..42849ea8 100644 --- a/src/doc/user/usermanual.html +++ b/src/doc/user/usermanual.html @@ -20,8 +20,8 @@ alink="#0000FF">
-

Recoll user manual

+

Recoll user manual

@@ -109,13 +109,13 @@ alink="#0000FF"> multiple indexes
2.1.3. Document types
+ "#idp62130176">Document types
2.1.4. Indexing failures
+ "#idp62154272">Indexing failures
2.1.5. Recovery
+ "#idp62161280">Recovery @@ -1017,8 +1017,8 @@ alink="#0000FF">
-

2.1.3. Document types

+

2.1.3. Document types

@@ -1131,8 +1131,8 @@ indexedmimetypes = application/pdf
-

2.1.4. Indexing +

2.1.4. Indexing failures

@@ -1172,8 +1172,8 @@ indexedmimetypes = application/pdf
-

2.1.5. Recovery

+

2.1.5. Recovery

@@ -2042,8 +2042,20 @@ class MetaFixer(object): pass return txt + def wrapup(self, metaheaders): + pass + +

If the 'metafix()' method is defined, it is called for + each metadata field. A new MetaFixer object is created + for each PDF document (so the object can keep state for, + for example, eliminating duplicate values). If the + 'wrapup()' method is defined, it is called at the end of + XMP fields processing with the whole metadata as + parameter, as an array of '(nm, val)' pairs, allowing an + alternate approach for editing or adding/deleting + fields.

diff --git a/src/doc/user/usermanual.xml b/src/doc/user/usermanual.xml index ce56e47d..12be390c 100644 --- a/src/doc/user/usermanual.xml +++ b/src/doc/user/usermanual.xml @@ -1174,8 +1174,17 @@ class MetaFixer(object): pass return txt + def wrapup(self, metaheaders): + pass + If the 'metafix()' method is defined, it is called for each + metadata field. A new MetaFixer object is created for each PDF + document (so the object can keep state for, for example, + eliminating duplicate values). If the 'wrapup()' method is defined, it + is called at the end of XMP fields processing with the whole + metadata as parameter, as an array of '(nm, val)' pairs, allowing + an alternate approach for editing or adding/deleting fields.