Subversion Repositories SmartDukaan

Rev

Rev 28 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28 Rev 29
Line 334... Line 334...
334
		// 7 Bullets
334
		// 7 Bullets
335
		// Collect all bullets
335
		// Collect all bullets
336
		for(String slideName : slideFeatureLabels.keySet()) {
336
		for(String slideName : slideFeatureLabels.keySet()) {
337
			Map<Integer, String> featureLabels = 
337
			Map<Integer, String> featureLabels = 
338
				slideFeatureLabels.get(slideName);
338
				slideFeatureLabels.get(slideName);
-
 
339
			
-
 
340
			if(featureLabels == null || featureLabels.size() == 0) {
-
 
341
				continue;
-
 
342
			}
339
 
343
			
340
			// 7.1 Find line number range between which content for bullets 
344
			// 7.1 Find line number range between which content for bullets 
341
			// is found (per feature on this slide)
345
			// is found (per feature on this slide)
342
			Map<String, int[]> bulletLineNumberRangePerFeature = 
346
			Map<String, int[]> bulletLineNumberRangePerFeature = 
343
				this.getBulletLineRange(allLines, featureLabels);
347
				this.getBulletLineRange(allLines, featureLabels);
344
			
348
			
Line 501... Line 505...
501
		}
505
		}
502
		
506
		
503
		Utils.logger.info("isEnum=" + isEnum + " isComposite=" + isComposite +
507
		Utils.logger.info("isEnum=" + isEnum + " isComposite=" + isComposite +
504
				" isPrimitive=" + isPrimitive);
508
				" isPrimitive=" + isPrimitive);
505
		
509
		
-
 
510
		Utils.logger.info("from=" + from + " to=" + to);
506
		for(int i=from; i<to+1; i++) {
511
		for(int i=from; i<to+1; i++) {
507
			String line = allLines.get(i);
512
			String line = allLines.get(i);
-
 
513
			Utils.logger.info("Line " + i + ": " + line);
-
 
514
 
-
 
515
			// VALIDATE
-
 
516
			// If means free-form content formatted at feature level
-
 
517
			// Assume there are no more bullets
-
 
518
			if(StringUtils.startsWith(line, CN.PATTERN_LEVEL_1)) {
-
 
519
				break;
-
 
520
			}
508
			
521
			
509
			if(!StringUtils.startsWith(line, CN.PATTERN_LEVEL_2)) {
522
			if(!StringUtils.startsWith(line, CN.PATTERN_LEVEL_2)) {
510
				continue;
523
				continue;
511
			}
524
			}
512
			
525