summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/convwatch/HTMLOutputter.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-13 10:08:31 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 10:24:10 +0200
commit34bcf9b498bccb5c924f4cec850ff15d88df6f07 (patch)
tree4d9604ec8c3b73639338ec45a0618b5daa5cf0ed /qadevOOo/runner/convwatch/HTMLOutputter.java
parent347926e8e57c1825261daa46c1886aa2ebf9571b (diff)
java: remove dead methods
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
Diffstat (limited to 'qadevOOo/runner/convwatch/HTMLOutputter.java')
-rw-r--r--qadevOOo/runner/convwatch/HTMLOutputter.java155
1 files changed, 0 insertions, 155 deletions
diff --git a/qadevOOo/runner/convwatch/HTMLOutputter.java b/qadevOOo/runner/convwatch/HTMLOutputter.java
index 6425ec96816b..087101c97576 100644
--- a/qadevOOo/runner/convwatch/HTMLOutputter.java
+++ b/qadevOOo/runner/convwatch/HTMLOutputter.java
@@ -206,168 +206,13 @@ public class HTMLOutputter
private final static String DIFFER_BM_TABLETITLE = "Diff file (RB)";
private final static String OK_TABLETITLE = "OK?";
- public void checkSection(String _sDocumentName)
- {
- try
- {
- m_aOut.write( "<H2>Results for the document " + _sDocumentName + "</H2>" + ls);
- m_aOut.write( "<p>Legend:<br>");
- m_aOut.write( stronghtml(FIRSTGFX_TABLETITLE) + " contains the output printed via 'ghostscript' as a jpeg picture.<br>");
- m_aOut.write( stronghtml(SECONDGFX_TABLETITLE) + " contains the same document opened within OpenOffice.org also printed via ghostscript as jpeg.<br>");
- m_aOut.write( stronghtml(DIFFER_TABLETITLE)+" is build via composite from original and new picture. The result should be a whole black picture, if there are no differences.<br>At the moment "+stronghtml(STATUS_TABLETITLE)+" is only ok, if the difference file contains only one color (black).</p>" );
- m_aOut.write( stronghtml(DIFFER_BM_TABLETITLE) + " is build via composite from original and new picture after the border of both pictures are removed, so differences based on center problems may solved here");
- m_aOut.write( "</p>");
- m_aOut.write( "<p>Some words about the percentage value<br>");
- m_aOut.write( "If a character is on the original page (a) and on the new page this character is moved to an other position only (b) , this means the difference is 100%.<br>");
- m_aOut.write( "If character (b) is also bigger than character (a) the percentage is grow over the 100% mark.<br>");
- m_aOut.write( "This tool count only the pixels which are differ to it's background color. It makes no sense to count all pixels, or the difference percentage will most the time in a very low percentage range.");
- m_aOut.write( "</p>");
- m_aOut.write( "<table class=\"infotable\">" + ls);
- m_aOut.write( "<TR>" + ls);
- m_aOut.write( tableHeaderCell( FIRSTGFX_TABLETITLE) );
- m_aOut.write( tableHeaderCell( SECONDGFX_TABLETITLE ) );
- m_aOut.write( tableHeaderCell(DIFFER_TABLETITLE ) );
- m_aOut.write( tableHeaderCell(PIXELDIFF_TABLETITLE ) );
- m_aOut.write( tableHeaderCell(DIFFER_BM_TABLETITLE) );
- m_aOut.write( tableHeaderCell(PIXELDIFF_BM_TABLETITLE ) );
- m_aOut.write( tableHeaderCell( OK_TABLETITLE) );
- m_aOut.write( "</TR>" + ls);
- m_aOut.flush();
- }
- catch (java.io.IOException e)
- {
- }
- }
-
- public void checkLine(StatusHelper _aStatus, boolean _bCurrentResult)
- {
- try
- {
- m_aOut.write( "<TR>" + ls);
- String sLink = getHREF(FileHelper.getBasename(_aStatus.m_sOldGfx), FileHelper.getBasename(_aStatus.m_sOldGfx));
- m_aOut.write( tableDataCell(sLink) );
-
- sLink = getHREF(FileHelper.getBasename(_aStatus.m_sNewGfx), FileHelper.getBasename(_aStatus.m_sNewGfx));
- m_aOut.write( tableDataCell(sLink) );
-
- sLink = getHREF(FileHelper.getBasename(_aStatus.m_sDiffGfx), FileHelper.getBasename(_aStatus.m_sDiffGfx));
- m_aOut.write( tableDataCell(sLink) );
- String sPercent = String.valueOf(_aStatus.nPercent) + "%";
- if (_aStatus.nPercent > 0 && _aStatus.nPercent < 5)
- {
- sPercent += " (less 5% is ok)";
- }
- m_aOut.write(tableDataCell( sPercent ) );
-
- if (_aStatus.m_sDiff_BM_Gfx == null)
- {
- sLink = "No diffs, therefore no moves";
- m_aOut.write( tableDataCell(sLink) );
- m_aOut.write(tableDataCell( "" ) );
- }
- else
- {
- sLink = getHREF(FileHelper.getBasename(_aStatus.m_sDiff_BM_Gfx), FileHelper.getBasename(_aStatus.m_sDiff_BM_Gfx));
- m_aOut.write( tableDataCell(sLink) );
-
- String sPercent2 = String.valueOf(_aStatus.nPercent2) + "%";
- if (_aStatus.nPercent2 > 0 && _aStatus.nPercent2 < 5)
- {
- sPercent2 += " (less 5% is ok)";
- }
- m_aOut.write(tableDataCell( sPercent2 ) );
- }
-
- // is the check positiv, in a defined range
- if (_bCurrentResult)
- {
- m_aOut.write(tableDataCell( "YES" ) );
- }
- else
- {
- m_aOut.write(tableDataCell( "NO" ) );
- }
-
- m_aOut.write( "</TR>" + ls);
- }
- catch (java.io.IOException e)
- {
- }
- }
- public void checkDiffDiffSection(String _sDocumentName)
- {
- try
- {
- m_aOut.write( "<H2>Results for the document " + _sDocumentName + "</H2>" + ls);
-
- m_aOut.write( "<p>Legend:<br>");
- m_aOut.write( "</p>");
-
- m_aOut.write( "<table class=\"infotable\">" + ls);
-
- m_aOut.write( "<TR>" + ls);
- m_aOut.write( tableHeaderCell( "Source to actual difference" ) );
- m_aOut.write( tableHeaderCell( "Actual difference" ) );
- m_aOut.write( tableHeaderCell(DIFFER_TABLETITLE ) );
- m_aOut.write( tableHeaderCell(PIXELDIFF_TABLETITLE ) );
-
- m_aOut.write( tableHeaderCell( OK_TABLETITLE) );
-
- m_aOut.write( "</TR>" + ls);
- m_aOut.flush();
- }
- catch (java.io.IOException e)
- {
- }
- }
-
- public void checkDiffDiffLine(StatusHelper _aStatus, boolean _bCurrentResult)
- {
- try
- {
- m_aOut.write( "<TR>" + ls);
- // the link to the old difference can't offer here
-
- String sBasename = FileHelper.getBasename(m_sFilename);
- String sNew = sBasename.substring(m_sNamePrefix.length());
-
- String sLink;
- sLink = getHREF(sNew, sNew);
- m_aOut.write( tableDataCell(sLink) );
-
- sLink = getHREF(FileHelper.getBasename(_aStatus.m_sNewGfx), FileHelper.getBasename(_aStatus.m_sNewGfx));
- m_aOut.write( tableDataCell(sLink) );
-
- sLink = getHREF(FileHelper.getBasename(_aStatus.m_sDiffGfx), FileHelper.getBasename(_aStatus.m_sDiffGfx));
- m_aOut.write( tableDataCell(sLink) );
-
- String sPercent = String.valueOf(_aStatus.nPercent) + "%";
- m_aOut.write(tableDataCell( sPercent ) );
-
- // is the check positiv, in a defined range
- if (_bCurrentResult)
- {
- m_aOut.write(tableDataCell( "YES" ) );
- }
- else
- {
- m_aOut.write(tableDataCell( "NO" ) );
- }
-
- m_aOut.write( "</TR>" + ls);
- }
- catch (java.io.IOException e)
- {
- }
- }
-
}