148149150151152153154155156157158
spacer.setIPD(fobj.getLeaderPatternWidth().getValue(this) - width); width = fobj.getLeaderPatternWidth().getValue(this); } FilledArea fa = new FilledArea(); fa.setUnitWidth(width); fa.addChildArea(t); if (spacer != null) { fa.addChildArea(spacer); } fa.setBPD(t.getBPD());
150151152153154155156157158159160
} FilledArea fa = new FilledArea(); fa.setUnitWidth(width); fa.addChildArea(t); if (spacer != null) { fa.addChildArea(spacer); } fa.setBPD(t.getBPD()); leaderArea = fa; } else if (fobj.getLeaderPattern() == EN_USECONTENT) {
187188189190191192193194195196197
spacer.setIPD(fobj.getLeaderPatternWidth().getValue(this) - width); width = fobj.getLeaderPatternWidth().getValue(this); } fa.setUnitWidth(width); if (spacer != null) { fa.addChildArea(spacer); } leaderArea = fa; } TraitSetter.setProducerID(leaderArea, fobj.getId()); return leaderArea;
161162163164165166167168169170171
} width = widthLeaderPattern; } FilledArea fa = new FilledArea(); fa.setUnitWidth(width); fa.addChildArea(t); if (spacer != null) { fa.addChildArea(spacer); } fa.setBPD(t.getBPD()); leaderArea = fa;
163164165166167168169170171172173
} FilledArea fa = new FilledArea(); fa.setUnitWidth(width); fa.addChildArea(t); if (spacer != null) { fa.addChildArea(spacer); } fa.setBPD(t.getBPD()); leaderArea = fa; } else if (fobj.getLeaderPattern() == EN_USECONTENT) { if (fobj.getChildNodes() == null) {
205206207208209210211212213214215
} width = fobj.getLeaderPatternWidth().getValue(this); } fa.setUnitWidth(width); if (spacer != null) { fa.addChildArea(spacer); } leaderArea = fa; } else { //Content collapsed to nothing, so use a space leaderArea = new Space();
144145146147148149150151152153154
146147148149150151152153154155156
183184185186187188189190191192193