--- a/src/reportlab/platypus/doctemplate.py Tue May 04 16:38:36 2010 +0000
+++ b/src/reportlab/platypus/doctemplate.py Wed May 12 14:49:43 2010 +0000
@@ -927,7 +927,9 @@
**buildKwds
):
"""Makes multiple passes until all indexing flowables
- are happy."""
+ are happy.
+
+ Returns number of passes"""
self._indexingFlowables = []
#scan the story and keep a copy
for thing in story:
@@ -972,7 +974,8 @@
del self._multiBuildEdits
if verbose: print 'saved'
-
+ return passes
+
#these are pure virtuals override in derived classes
#NB these get called at suitable places by the base class
#so if you derive and override the handle_xxx methods