aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-09-05 11:45:25 +0000
committerGlen Mazza <gmazza@apache.org>2004-09-05 11:45:25 +0000
commitfc5d2c567b3417621a704dc8aaca8dcfcd2b6a30 (patch)
treed4014ccc85af69411b25b01a68a41edfd2765eb1
parent856fea782a2cf532e9bc712710a6118df3c033c3 (diff)
downloadxmlgraphics-fop-fc5d2c567b3417621a704dc8aaca8dcfcd2b6a30.tar.gz
xmlgraphics-fop-fc5d2c567b3417621a704dc8aaca8dcfcd2b6a30.zip
PR:
Obtained from: Submitted by: Reviewed by: Removed unused TextState class, Area.Trait currently is used for this purpose. See: http://marc.theaimsgroup.com/?l=fop-dev&m=104204030026900&w=2 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197905 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/layout/TextState.java75
1 files changed, 0 insertions, 75 deletions
diff --git a/src/java/org/apache/fop/layout/TextState.java b/src/java/org/apache/fop/layout/TextState.java
deleted file mode 100644
index 63535508a..000000000
--- a/src/java/org/apache/fop/layout/TextState.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/*
- * Copyright 1999-2004 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.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/* $Id$ */
-
-package org.apache.fop.layout;
-
-/**
- * This class holds information about text-decoration.
- */
-public class TextState {
-
- private boolean underlined;
- private boolean overlined;
- private boolean linethrough;
-
- /**
- * @return true if text should be underlined
- */
- public boolean getUnderlined() {
- return underlined;
- }
-
- /**
- * Set text as underlined.
- * @param ul true if underline should be enabled
- */
- public void setUnderlined(boolean ul) {
- this.underlined = ul;
- }
-
- /**
- * @return true if text should be overlined
- */
- public boolean getOverlined() {
- return overlined;
- }
-
- /**
- * Set text as overlined.
- * @param ol true if overline should be enabled
- */
- public void setOverlined(boolean ol) {
- this.overlined = ol;
- }
-
- /**
- * @return true if text should have a line through the middle
- */
- public boolean getLineThrough() {
- return linethrough;
- }
-
- /**
- * Controls if text should have a line through the middle.
- * @param lt true if line through should be enabled
- */
- public void setLineThrough(boolean lt) {
- this.linethrough = lt;
- }
-
-}