aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/Title.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-08-27 06:02:03 +0000
committerGlen Mazza <gmazza@apache.org>2004-08-27 06:02:03 +0000
commita82edcd7590fecc47ed5ba35d41f3666228e238e (patch)
treee4054a69c3288544f323c61edcd5521a240195ad /src/java/org/apache/fop/fo/pagination/Title.java
parent40cd84e83da5af6109d89b296e27770054697d96 (diff)
downloadxmlgraphics-fop-a82edcd7590fecc47ed5ba35d41f3666228e238e.tar.gz
xmlgraphics-fop-a82edcd7590fecc47ed5ba35d41f3666228e238e.zip
PR:
Obtained from: Submitted by: Reviewed by: Some code cleanup in Title and PageNumberGenerator, removal of apparently unused logger instance from latter. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Title.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/Title.java48
1 files changed, 3 insertions, 45 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Title.java b/src/java/org/apache/fop/fo/pagination/Title.java
index 8f1d1158a..d42bf7237 100644
--- a/src/java/org/apache/fop/fo/pagination/Title.java
+++ b/src/java/org/apache/fop/fo/pagination/Title.java
@@ -24,19 +24,8 @@ import org.xml.sax.Locator;
import org.xml.sax.SAXParseException;
// FOP
-import org.apache.fop.datatypes.ColorType;
-import org.apache.fop.datatypes.Length;
import org.apache.fop.fo.FObjMixed;
import org.apache.fop.fo.FONode;
-import org.apache.fop.fo.properties.CommonAccessibility;
-import org.apache.fop.fo.properties.CommonAural;
-import org.apache.fop.fo.properties.CommonBackground;
-import org.apache.fop.fo.properties.CommonBorderAndPadding;
-import org.apache.fop.fo.properties.EnumProperty;
-import org.apache.fop.fo.properties.LengthProperty;
-import org.apache.fop.fo.properties.Property;
-import org.apache.fop.fonts.Font;
-import org.apache.fop.fo.properties.CommonMarginInline;
/**
* Class modelling the fo:title object.
@@ -61,40 +50,9 @@ public class Title extends FObjMixed {
}
}
- private void setup() {
-
- // Common Accessibility Properties
- CommonAccessibility mAccProps = propMgr.getAccessibilityProps();
-
- // Common Aural Properties
- CommonAural mAurProps = propMgr.getAuralProps();
-
- // Common Border, Padding, and Background Properties
- CommonBorderAndPadding bap = propMgr.getBorderAndPadding();
- CommonBackground bProps = propMgr.getBackgroundProps();
-
- // Common Font Properties
- Font fontState = propMgr.getFontState(getFOInputHandler().getFontInfo());
-
- // Common Margin Properties-Inline
- CommonMarginInline mProps = propMgr.getMarginInlineProps();
-
- Property prop;
- prop = this.propertyList.get(PR_BASELINE_SHIFT);
- if (prop instanceof LengthProperty) {
- Length bShift = prop.getLength();
- } else if (prop instanceof EnumProperty) {
- int bShift = prop.getEnum();
- }
- ColorType col = this.propertyList.get(PR_COLOR).getColorType();
- Length lHeight = this.propertyList.get(PR_LINE_HEIGHT).getLength();
- int lShiftAdj = this.propertyList.get(
- PR_LINE_HEIGHT_SHIFT_ADJUSTMENT).getEnum();
- int vis = this.propertyList.get(PR_VISIBILITY).getEnum();
- Length zIndex = this.propertyList.get(PR_Z_INDEX).getLength();
-
- }
-
+ /**
+ * @see org.apache.fop.fo.FObj#getName()
+ */
public String getName() {
return "fo:title";
}