}
private void defaultFonts() {
- fonts.put(TextSize.TINY, new Font("Arial", Font.PLAIN, 6));
- fonts.put(TextSize.SMALL, new Font("Arial", Font.PLAIN, 8));
- fonts.put(TextSize.MEDIUM, new Font("Arial", Font.PLAIN, 10));
- fonts.put(TextSize.LARGE, new Font("Arial", Font.PLAIN, 16));
- fonts.put(TextSize.HUGE, new Font("Arial", Font.BOLD, 24));
+ fonts.put(TextSize.TINY, new Font("Arial", Font.PLAIN, 6)); //$NON-NLS-1$
+ fonts.put(TextSize.SMALL, new Font("Arial", Font.PLAIN, 8)); //$NON-NLS-1$
+ fonts.put(TextSize.MEDIUM, new Font("Arial", Font.PLAIN, 10)); //$NON-NLS-1$
+ fonts.put(TextSize.LARGE, new Font("Arial", Font.PLAIN, 16)); //$NON-NLS-1$
+ fonts.put(TextSize.HUGE, new Font("Arial", Font.BOLD, 24)); //$NON-NLS-1$
contentStream.setDefaultFont(fonts.get(TextSize.SMALL));
}
return (T)getOrCreateToc();
} else if (cls == DocumentTitlePage.class) {
if (titlePage != null)
- throw new Exception("Report may contain only one title page");
+ throw new Exception("Report may contain only one title page"); //$NON-NLS-1$
titlePage = new PDFTitlePage(this);
return (T)titlePage;
}
if (currentTable != null && currentTable.currentLine > 0) {
currentTable.setLinesVisible(false);
currentTable.setHeaderVisible(false);
- currentTable.writeLine("");
+ currentTable.writeLine(""); //$NON-NLS-1$
}
}