aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/inline/Character.java
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2005-08-26 15:16:58 +0000
committerJeremias Maerki <jeremias@apache.org>2005-08-26 15:16:58 +0000
commit5d142ec8b6167a5d509904246821f2ec8b45f1ec (patch)
treed2b910424cb618c9263e145ca97cc48ece644446 /src/java/org/apache/fop/area/inline/Character.java
parent6905fb17f686adc592812d35ad5599930437908d (diff)
downloadxmlgraphics-fop-5d142ec8b6167a5d509904246821f2ec8b45f1ec.tar.gz
xmlgraphics-fop-5d142ec8b6167a5d509904246821f2ec8b45f1ec.zip
Common base class for TextArea and Character. These two might even be merged altogether.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240260 13f79535-47bb-0310-9956-ffa450edef68
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;
- }
}