@@ -109,13 +109,13 @@ alink="#0000FF">
multiple indexes
+ "#idp62161280">Recovery
@@ -1017,8 +1017,8 @@ alink="#0000FF">
-
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.