}
private int insertTextFlowAndTargetToDoc(HDocument doc, int tfSize,
boolean insertTargets) {
LocaleDAO localeDAO = new LocaleDAO(getSession());
List<HLocale> localeList = localeDAO.findAll();
for (int i = 0; i < tfSize; i++) {
HTextFlow tf =
new HTextFlowBuilder().withDocument(doc).withResId(
"testResId:" + i)