Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/bfm/pager.groovy

pager.groovy (revision 479)
37 37
//
38 38
//
39 39
//
40
// $LastChangedDate: 2017-01-24 18:11:42 +0100 (Tue, 24 Jan 2017) $
41
// $LastChangedRevision: 3400 $
40
// $LastChangedDate: 2017-05-02 11:55:17 +0200 (mar. 02 mai 2017) $
41
// $LastChangedRevision: 3436 $
42 42
// $LastChangedBy: mdecorde $
43 43
//
44 44
package org.txm.importer.bfm;
......
372 372
								}
373 373
							}
374 374
							wordid = parser.getAttributeValue(null, "id");
375

  
375

  
376
							wordcount++;
377
							if (wordcount >= wordmax) {
378
								createNextOutput();
379
							}
380
							
376 381
							if (firstWord) {
377 382
								firstWord = false;
378 383
								this.idxstart.add(wordid);
379 384
							}
380
							wordcount++;
381
							if (wordcount >= wordmax) {
382
								createNextOutput();
383
							}
385
							
384 386
							break;
385 387

  
386 388
						case "choice":

Also available in: Unified diff