diff options
author | Jeremias Maerki <jeremias@apache.org> | 2005-08-26 15:16:58 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2005-08-26 15:16:58 +0000 |
commit | 5d142ec8b6167a5d509904246821f2ec8b45f1ec (patch) | |
tree | d2b910424cb618c9263e145ca97cc48ece644446 /src/java/org/apache/fop/area/inline/InlineArea.java | |
parent | 6905fb17f686adc592812d35ad5599930437908d (diff) | |
download | xmlgraphics-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/InlineArea.java')
-rw-r--r-- | src/java/org/apache/fop/area/inline/InlineArea.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/inline/InlineArea.java b/src/java/org/apache/fop/area/inline/InlineArea.java index c09105f40..b6344dd3f 100644 --- a/src/java/org/apache/fop/area/inline/InlineArea.java +++ b/src/java/org/apache/fop/area/inline/InlineArea.java @@ -67,18 +67,22 @@ public class InlineArea extends Area { return verticalPosition; } + /** @return true if the inline area is underlined. */ public boolean hasUnderline() { return getBooleanTrait(Trait.UNDERLINE); } + /** @return true if the inline area is overlined. */ public boolean hasOverline() { return getBooleanTrait(Trait.OVERLINE); } + /** @return true if the inline area has a line through. */ public boolean hasLineThrough() { return getBooleanTrait(Trait.LINETHROUGH); } + /** @return true if the inline area is blinking. */ public boolean isBlinking() { return getBooleanTrait(Trait.BLINK); } |