]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/report/html/HTMLTitlePage.java
Externalize org.simantics.document.linking.ui
[simantics/platform.git] / bundles / org.simantics.document.linking.ui / src / org / simantics / document / linking / report / html / HTMLTitlePage.java
index 08e4232ce7adc815fd4806b14500421680ecd683..747b5a4a4f89deba49ce8f1289b69f799ea6faeb 100644 (file)
@@ -18,30 +18,30 @@ public class HTMLTitlePage extends DocumentTitlePage implements HTMLElement{
        public void writeTitle(List<DocumentLine> lines) throws Exception {
                writer.nextPage();
                for (DocumentLine line : lines) {
-                       String hTag = "h4";
+                       String hTag = "h4"; //$NON-NLS-1$
                        if (line.getHints().containsKey(TextSize.class)) {
                                TextSize size = (TextSize)line.getHints().get(TextSize.class);
                                switch (size) {
                                case HUGE:
-                                       hTag = "h1";
+                                       hTag = "h1"; //$NON-NLS-1$
                                        break;
                                case LARGE:
-                                       hTag = "h2";
+                                       hTag = "h2"; //$NON-NLS-1$
                                        break;
                                case MEDIUM:
-                                       hTag = "h3";
+                                       hTag = "h3"; //$NON-NLS-1$
                                        break;
                                case SMALL:
-                                       hTag = "h4";
+                                       hTag = "h4"; //$NON-NLS-1$
                                        break;
                                case TINY:
-                                       hTag = "h5";
+                                       hTag = "h5"; //$NON-NLS-1$
                                        break;
                                default:
                                        break;
                                }
                        }
-                       writer.os.println("<"+hTag +">" + line.getLine() + "</"+hTag+">");
+                       writer.os.println("<"+hTag +">" + line.getLine() + "</"+hTag+">"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
                }
                writer.nextPage();