aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/inline/Character.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/area/inline/Character.java')
-rw-r--r--src/java/org/apache/fop/area/inline/Character.java41
1 files changed, 2 insertions, 39 deletions
diff --git a/src/java/org/apache/fop/area/inline/Character.java b/src/java/org/apache/fop/area/inline/Character.java
index bed1b194a..f672e3632 100644
--- a/src/java/org/apache/fop/area/inline/Character.java
+++ b/src/java/org/apache/fop/area/inline/Character.java
@@ -1,5 +1,5 @@
/*
- * Copyright 1999-2004 The Apache Software Foundation.
+ * Copyright 1999-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,12 +22,10 @@ package org.apache.fop.area.inline;
* Single character inline area.
* This inline area holds a single character.
*/
-public class Character extends InlineArea {
+public class Character extends AbstractTextArea {
// use a String instead of a character because if this character
// ends a syllable the hyphenation character must be added
private String character;
- private int iTextWordSpaceAdjust = 0;
- private int iTextLetterSpaceAdjust = 0;
/**
* Create a new character inline area with the given character.
@@ -58,40 +56,5 @@ public class Character extends InlineArea {
this.setIPD(this.getIPD() + hyphSize);
}
- /**
- * Get text word space adjust.
- *
- * @return the text word space adjustment
- */
- public int getTextWordSpaceAdjust() {
- return iTextWordSpaceAdjust;
- }
-
- /**
- * Set text word space adjust.
- *
- * @param iTWSadjust the text word space adjustment
- */
- public void setTextWordSpaceAdjust(int iTWSadjust) {
- iTextWordSpaceAdjust = iTWSadjust;
- }
-
- /**
- * Get text letter space adjust.
- *
- * @return the text letter space adjustment
- */
- public int getTextLetterSpaceAdjust() {
- return iTextLetterSpaceAdjust;
- }
-
- /**
- * Set text letter space adjust.
- *
- * @param iTLSadjust the text letter space adjustment
- */
- public void setTextLetterSpaceAdjust(int iTLSadjust) {
- iTextLetterSpaceAdjust = iTLSadjust;
- }
}