Revision: 7903
http://svn.sourceforge.net/foray/?rev=7903&view=rev
Author: victormote
Date: 2006-09-04 18:36:13 -0700 (Mon, 04 Sep 2006)
Log Message:
-----------
Clean up unused variables and variable visibility problems caught by checkstyle.
Modified Paths:
--------------
trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java
Modified: trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java 2006-09-05 01:14:34 UTC (rev 7902)
+++ trunk/foray/foray-render/src/java/org/foray/render/txt/TXTRenderer.java 2006-09-05 01:36:13 UTC (rev 7903)
@@ -67,21 +67,17 @@
private int pageHeight = 7920;
// These variables control the virtual paggination functionality.
- public int curdiv = 0;
+
/** Paper height in decipoints? */
private int paperheight = -1;
- /** -1=default/unknown, 0=portrait, 1=landscape. */
- public int orientation = -1;
- public int topmargin = -1; // Top margin in decipoints?
- public int leftmargin = -1; // Left margin in decipoints?
final boolean debug = false;
// Variables for rendering text.
StringBuffer charData[];
StringBuffer decoData[];
- public float textCPI = 16.67f;
- public float textLPI = 8;
+ private float textCPI = 16.67f;
+ private float textLPI = 8;
int maxX = (int)(8.5f * textCPI + 1);
int maxY = (int)(11f * textLPI + 1);
float xFactor;
@@ -89,13 +85,13 @@
/** Every line except the last line on a page (which will end with
* pageEnding) will be terminated with this string.*/
- public String lineEnding = "\r\n";
+ private String lineEnding = "\r\n";
/** Every page except the last one will end with this string. */
- public String pageEnding = "\f";
+ private String pageEnding = "\f";
/** If true then graphics/decorations will not be rendered - text only. */
- public boolean suppressGraphics = false;
+ private boolean suppressGraphics = false;
boolean firstPage = false;
public TXTRenderer(final Log logger, final OutputConfig renderConfig) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|