[FOray-commit] SF.net SVN: foray: [9987] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-07-12 21:30:07
|
Revision: 9987
http://svn.sourceforge.net/foray/?rev=9987&view=rev
Author: victormote
Date: 2007-07-12 14:30:07 -0700 (Thu, 12 Jul 2007)
Log Message:
-----------
Conform to axsl changes moving trait methods to independent interfaces.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/InlineContainerArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberCitationArea.java
trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java
trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableBodyContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableFooterContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableHeaderContainer.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
trunk/foray/foray-areatree/src/java/org/foray/area/TableRowContainer.java
trunk/foray/foray-fotree/src/java/org/foray/fotree/FObj.java
trunk/foray/foray-render/src/java/org/foray/render/PrintRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/Renderer.java
trunk/foray/foray-render/src/java/org/foray/render/awt/AWTRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/ps/PSRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/svg/SVGRenderer.java
trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/Area.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -35,9 +35,7 @@
import org.axsl.common.value.AbsoluteAxis;
import org.axsl.common.value.AbsoluteDirection;
import org.axsl.common.value.AlignmentBaseline;
-import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.Baseline;
-import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.Conditionality;
import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.Iso639;
@@ -56,7 +54,6 @@
import org.axsl.font.Font;
import org.axsl.font.FontUse;
import org.axsl.galley.BackgroundArea;
-import org.axsl.graphic.Graphic;
import java.awt.Color;
import java.awt.geom.Rectangle2D;
@@ -75,24 +72,6 @@
}
/**
- * Returns the background-repeat trait.
- * @return The background-repeat trait.
- * @see Fo#traitBackgroundRepeat(FoContext)
- */
- public BackgroundRepeat traitBackgroundRepeat() {
- return this.traitGeneratedBy().traitBackgroundRepeat(this);
- }
-
- /**
- * Returns the background-image trait.
- * @return The background-image trait.
- * @see Fo#traitBackgroundImage(FoContext)
- */
- public Graphic traitBackgroundImage() {
- return this.traitGeneratedBy().traitBackgroundImage(this);
- }
-
- /**
* Returns the nearest ancestor area that is a block container.
* @return The nearest ancestor area that is a block container.
*/
@@ -251,34 +230,6 @@
}
/**
- * {@inheritDoc}
- */
- public Color traitBorderBeforeColor() {
- return traitGeneratedBy().traitBorderBeforeColor(this);
- }
-
- /**
- * {@inheritDoc}
- */
- public Color traitBorderStartColor() {
- return traitGeneratedBy().traitBorderStartColor(this);
- }
-
- /**
- * {@inheritDoc}
- */
- public Color traitBorderEndColor() {
- return traitGeneratedBy().traitBorderEndColor(this);
- }
-
- /**
- * {@inheritDoc}
- */
- public Color traitBorderAfterColor() {
- return traitGeneratedBy().traitBorderAfterColor(this);
- }
-
- /**
* Returns the font-family for this area.
* @return The font-family for this area.
* @see Fo#traitFontFamily(FoContext)
@@ -288,15 +239,6 @@
}
/**
- * Returns the background-color for this area.
- * @return The background-color for this area.
- * @see Fo#traitBackgroundColor(FoContext)
- */
- public Color traitBackgroundColor() {
- return traitGeneratedBy().traitBackgroundColor(this);
- }
-
- /**
* Returns the relative-position for this area.
* @return The relative-position for this area.
* @see Fo#traitRelativePosition(FoContext)
@@ -857,66 +799,6 @@
}
/**
- * {@inheritDoc}
- */
- public int traitBorderStartWidth() {
- return traitGeneratedBy().traitBorderStartWidth(this);
- }
-
- /**
- * {@inheritDoc}
- */
- public int traitBorderEndWidth() {
- return traitGeneratedBy().traitBorderEndWidth(this);
- }
-
- /**
- * {@inheritDoc}
- */
- public int traitBorderBeforeWidth() {
- return traitGeneratedBy().traitBorderBeforeWidth(this);
- }
-
- /**
- * {@inheritDoc}
- */
- public int traitBorderAfterWidth() {
- return traitGeneratedBy().traitBorderAfterWidth(this);
- }
-
- /**
- * Returns the padding-start trait for this area.
- * @return The padding-start trait for this area.
- */
- public int traitPaddingStart() {
- return traitGeneratedBy().traitPaddingStart(this);
- }
-
- /**
- * Returns the padding-end trait for this area.
- * @return The padding-end trait for this area.
- */
- public int traitPaddingEnd() {
- return traitGeneratedBy().traitPaddingEnd(this);
- }
-
- /**
- * Returns the padding-before trait for this area.
- * @return The padding-before trait for this area.
- */
- public int traitPaddingBefore() {
- return traitGeneratedBy().traitPaddingBefore(this);
- }
-
- /**
- * Returns the padding-after trait for this area.
- * @return The padding-after trait for this area.
- */
- public int traitPaddingAfter() {
- return traitGeneratedBy().traitPaddingAfter(this);
- }
-
- /**
* Returns the space-before minimum trait for this area.
* @return The space-before minimum trait for this area.
* @see Fo#traitSpaceBeforeMinimum(FoContext)
@@ -1558,34 +1440,6 @@
}
/**
- * Indicates whether the background repeats on the X axis for this area.
- * @return True iff the background repeats on the X axis for this area.
- */
- public boolean backgroundRepeatX() {
- switch (traitBackgroundRepeat()) {
- case REPEAT_Y:
- case NO_REPEAT: {
- return false;
- }
- }
- return true;
- }
-
- /**
- * Indicates whether the background repeats on the Y axis for this area.
- * @return True iff the background repeats on the Y axis for this area.
- */
- public boolean backgroundRepeatY() {
- switch (traitBackgroundRepeat()) {
- case REPEAT_X:
- case NO_REPEAT: {
- return false;
- }
- }
- return true;
- }
-
- /**
* Indicates whether this Area is positioned absolutely or relatively.
* @return True iff this Area is absolutely positioned.
*/
@@ -1630,38 +1484,6 @@
}
/**
- * Returns the border style for the "start" edge of this Area.
- * @return The border style for the "start" edge of this Area.
- */
- public BorderStyle traitBorderStartStyle() {
- return traitGeneratedBy().traitBorderStartStyle(this);
- }
-
- /**
- * Returns the border style for the "end" edge of this Area.
- * @return The border style for the "end" edge of this Area.
- */
- public BorderStyle traitBorderEndStyle() {
- return traitGeneratedBy().traitBorderEndStyle(this);
- }
-
- /**
- * Returns the border style for the "before" edge of this Area.
- * @return The border style for the "before" edge of this Area.
- */
- public BorderStyle traitBorderBeforeStyle() {
- return traitGeneratedBy().traitBorderBeforeStyle(this);
- }
-
- /**
- * Returns the border style for the "after" edge of this Area.
- * @return The border style for the "after" edge of this Area.
- */
- public BorderStyle traitBorderAfterStyle() {
- return traitGeneratedBy().traitBorderAfterStyle(this);
- }
-
- /**
* Returns the display-align trait for this Area.
* @return The display-align trait.
*/
@@ -1782,4 +1604,52 @@
return traitGeneratedBy().traitId();
}
+ /**
+ * Returns the border-start-width trait for this area.
+ * @return The border-start-width trait for this area.
+ */
+ public abstract int traitBorderStartWidth();
+
+ /**
+ * Returns the border-end-width trait for this area.
+ * @return The border-end-width trait for this area.
+ */
+ public abstract int traitBorderEndWidth();
+
+ /**
+ * Returns the border-before-width trait for this area.
+ * @return The border-before-width trait for this area.
+ */
+ public abstract int traitBorderBeforeWidth();
+
+ /**
+ * Returns the border-after-width trait for this area.
+ * @return The border-after-width trait for this area.
+ */
+ public abstract int traitBorderAfterWidth();
+
+ /**
+ * Returns the padding-start trait for this area.
+ * @return The padding-start trait for this area.
+ */
+ public abstract int traitPaddingStart();
+
+ /**
+ * Returns the padding-end trait for this area.
+ * @return The padding-end trait for this area.
+ */
+ public abstract int traitPaddingEnd();
+
+ /**
+ * Returns the padding-before trait for this area.
+ * @return The padding-before trait for this area.
+ */
+ public abstract int traitPaddingBefore();
+
+ /**
+ * Returns the padding-after trait for this area.
+ * @return The padding-after trait for this area.
+ */
+ public abstract int traitPaddingAfter();
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BeforeFloatRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -211,4 +211,60 @@
return this;
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/BlockContainerRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -30,6 +30,8 @@
import org.axsl.area.AreaTreeException;
import org.axsl.common.value.AbsolutePosition;
+import org.axsl.common.value.BackgroundRepeat;
+import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.RelativeAxis;
import org.axsl.fo.Fo;
import org.axsl.fo.FoContext;
@@ -42,6 +44,7 @@
import org.axsl.galley.RenderVisitor;
import org.axsl.graphic.Graphic;
+import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
@@ -331,4 +334,141 @@
return traitGeneratedBy().traitRight(this);
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderBeforeColor() {
+ return traitGeneratedBy().traitBorderBeforeColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderStartColor() {
+ return traitGeneratedBy().traitBorderStartColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderEndColor() {
+ return traitGeneratedBy().traitBorderEndColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderAfterColor() {
+ return traitGeneratedBy().traitBorderAfterColor(this);
+ }
+
+ /**
+ * Returns the border style for the "start" edge of this Area.
+ * @return The border style for the "start" edge of this Area.
+ */
+ public BorderStyle traitBorderStartStyle() {
+ return traitGeneratedBy().traitBorderStartStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "end" edge of this Area.
+ * @return The border style for the "end" edge of this Area.
+ */
+ public BorderStyle traitBorderEndStyle() {
+ return traitGeneratedBy().traitBorderEndStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "before" edge of this Area.
+ * @return The border style for the "before" edge of this Area.
+ */
+ public BorderStyle traitBorderBeforeStyle() {
+ return traitGeneratedBy().traitBorderBeforeStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "after" edge of this Area.
+ * @return The border style for the "after" edge of this Area.
+ */
+ public BorderStyle traitBorderAfterStyle() {
+ return traitGeneratedBy().traitBorderAfterStyle(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return traitGeneratedBy().traitBorderStartWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return traitGeneratedBy().traitBorderEndWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return traitGeneratedBy().traitBorderBeforeWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return traitGeneratedBy().traitBorderAfterWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return traitGeneratedBy().traitPaddingStart(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return traitGeneratedBy().traitPaddingEnd(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return traitGeneratedBy().traitPaddingBefore(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return traitGeneratedBy().traitPaddingAfter(this);
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ExternalGraphicArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -256,4 +256,60 @@
return this.traitGeneratedBy().referenceBpd(this);
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/FootnoteRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -222,4 +222,60 @@
return this;
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ForeignObjectArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -268,4 +268,60 @@
return this.traitGeneratedBy().referenceBpd(this);
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/InlineArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -29,6 +29,8 @@
package org.foray.area;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
+import org.axsl.common.value.BorderStyle;
import org.axsl.fo.FoText;
import org.axsl.fo.fo.ExternalGraphic;
import org.axsl.fo.fo.GraftingPoint;
@@ -41,6 +43,7 @@
import org.axsl.galley.RenderVisitor;
import org.axsl.graphic.Graphic;
+import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
@@ -315,4 +318,141 @@
this.parent = this.validateNewParent(node);
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderBeforeColor() {
+ return traitGeneratedBy().traitBorderBeforeColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderStartColor() {
+ return traitGeneratedBy().traitBorderStartColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderEndColor() {
+ return traitGeneratedBy().traitBorderEndColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderAfterColor() {
+ return traitGeneratedBy().traitBorderAfterColor(this);
+ }
+
+ /**
+ * Returns the border style for the "start" edge of this Area.
+ * @return The border style for the "start" edge of this Area.
+ */
+ public BorderStyle traitBorderStartStyle() {
+ return traitGeneratedBy().traitBorderStartStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "end" edge of this Area.
+ * @return The border style for the "end" edge of this Area.
+ */
+ public BorderStyle traitBorderEndStyle() {
+ return traitGeneratedBy().traitBorderEndStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "before" edge of this Area.
+ * @return The border style for the "before" edge of this Area.
+ */
+ public BorderStyle traitBorderBeforeStyle() {
+ return traitGeneratedBy().traitBorderBeforeStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "after" edge of this Area.
+ * @return The border style for the "after" edge of this Area.
+ */
+ public BorderStyle traitBorderAfterStyle() {
+ return traitGeneratedBy().traitBorderAfterStyle(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return traitGeneratedBy().traitBorderStartWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return traitGeneratedBy().traitBorderEndWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return traitGeneratedBy().traitBorderBeforeWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return traitGeneratedBy().traitBorderAfterWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return traitGeneratedBy().traitPaddingStart(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return traitGeneratedBy().traitPaddingEnd(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return traitGeneratedBy().traitPaddingBefore(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return traitGeneratedBy().traitPaddingAfter(this);
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/InlineContainerArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/InlineContainerArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/InlineContainerArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -195,4 +195,60 @@
this.parent = this.validateNewParent(node);
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/LeaderArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -584,4 +584,60 @@
this.parent = this.validateNewParent(node);
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ListBlockArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -213,4 +213,60 @@
return false;
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/ListItemArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -292,4 +292,60 @@
return false;
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/MainRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -386,4 +386,60 @@
return (RegionBody) this.getLinkage().getFONode();
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/NormalBlockArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -30,6 +30,8 @@
import org.axsl.area.BlockContentFactory;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
+import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.RelativeAxis;
import org.axsl.fo.fo.Block;
import org.axsl.fo.fo.BlockContainer;
@@ -39,6 +41,7 @@
import org.axsl.galley.RenderVisitor;
import org.axsl.graphic.Graphic;
+import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
@@ -335,4 +338,141 @@
return newListBlockArea;
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderBeforeColor() {
+ return traitGeneratedBy().traitBorderBeforeColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderStartColor() {
+ return traitGeneratedBy().traitBorderStartColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderEndColor() {
+ return traitGeneratedBy().traitBorderEndColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderAfterColor() {
+ return traitGeneratedBy().traitBorderAfterColor(this);
+ }
+
+ /**
+ * Returns the border style for the "start" edge of this Area.
+ * @return The border style for the "start" edge of this Area.
+ */
+ public BorderStyle traitBorderStartStyle() {
+ return traitGeneratedBy().traitBorderStartStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "end" edge of this Area.
+ * @return The border style for the "end" edge of this Area.
+ */
+ public BorderStyle traitBorderEndStyle() {
+ return traitGeneratedBy().traitBorderEndStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "before" edge of this Area.
+ * @return The border style for the "before" edge of this Area.
+ */
+ public BorderStyle traitBorderBeforeStyle() {
+ return traitGeneratedBy().traitBorderBeforeStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "after" edge of this Area.
+ * @return The border style for the "after" edge of this Area.
+ */
+ public BorderStyle traitBorderAfterStyle() {
+ return traitGeneratedBy().traitBorderAfterStyle(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return traitGeneratedBy().traitBorderStartWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return traitGeneratedBy().traitBorderEndWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return traitGeneratedBy().traitBorderBeforeWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return traitGeneratedBy().traitBorderAfterWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return traitGeneratedBy().traitPaddingStart(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return traitGeneratedBy().traitPaddingEnd(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return traitGeneratedBy().traitPaddingBefore(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return traitGeneratedBy().traitPaddingAfter(this);
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/NormalFlowRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -306,4 +306,60 @@
return false;
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -210,4 +210,60 @@
this.parent = this.validateNewParent(node);
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberCitationArea.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberCitationArea.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageNumberCitationArea.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -231,4 +231,60 @@
this.parent = this.validateNewParent(node);
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/PageRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -785,4 +785,60 @@
return this.bodies.get(regionName);
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/RegionRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -29,6 +29,7 @@
package org.foray.area;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.RelativeAxis;
import org.axsl.fo.fo.Block;
import org.axsl.fo.fo.BlockContainer;
@@ -44,6 +45,7 @@
import org.axsl.galley.RenderVisitor;
import org.axsl.graphic.Graphic;
+import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
@@ -285,4 +287,81 @@
return (Region) this.getLinkage().getFONode();
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/RegionRABody.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -31,6 +31,7 @@
import org.axsl.area.AreaTreeException;
import org.axsl.common.value.AbsoluteAxis;
import org.axsl.common.value.AbsoluteDirection;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.RelativeAxis;
import org.axsl.fo.fo.RegionBody;
import org.axsl.fo.fo.SimplePageMaster;
@@ -38,6 +39,7 @@
import org.axsl.galley.RenderVisitor;
import org.axsl.graphic.Graphic;
+import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
@@ -46,6 +48,7 @@
*/
public final class RegionRABody extends AreaFixed implements RegionArea,
org.axsl.area.RegionBodyRefArea {
+ /* TODO: Why doesn't this class extend RegionRA? */
/** The "generated-by" trait, as defined in Section 6.1.1. */
private FOLinkage generatedBy;
@@ -396,4 +399,81 @@
return (RegionBody) this.getLinkage().getFONode();
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/SpanRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -463,4 +463,60 @@
return false;
}
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableBodyContainer.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableBodyContainer.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableBodyContainer.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -29,10 +29,14 @@
package org.foray.area;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.fo.fo.GraftingPoint;
import org.axsl.fo.fo.TableBody;
import org.axsl.galley.RenderVisitor;
+import org.axsl.graphic.Graphic;
+import java.awt.Color;
+
/**
* Area containing all or part of a table-body.
*/
@@ -133,4 +137,81 @@
return (TableBody) this.getLinkage().getFONode();
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableCellRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -29,7 +29,9 @@
package org.foray.area;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.BorderModel;
+import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.DisplayAlign;
import org.axsl.common.value.RelativeAxis;
import org.axsl.fo.fo.Block;
@@ -42,6 +44,7 @@
import org.axsl.galley.TableCellArea;
import org.axsl.graphic.Graphic;
+import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
@@ -526,4 +529,141 @@
return false;
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderBeforeColor() {
+ return traitGeneratedBy().traitBorderBeforeColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderStartColor() {
+ return traitGeneratedBy().traitBorderStartColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderEndColor() {
+ return traitGeneratedBy().traitBorderEndColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderAfterColor() {
+ return traitGeneratedBy().traitBorderAfterColor(this);
+ }
+
+ /**
+ * Returns the border style for the "start" edge of this Area.
+ * @return The border style for the "start" edge of this Area.
+ */
+ public BorderStyle traitBorderStartStyle() {
+ return traitGeneratedBy().traitBorderStartStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "end" edge of this Area.
+ * @return The border style for the "end" edge of this Area.
+ */
+ public BorderStyle traitBorderEndStyle() {
+ return traitGeneratedBy().traitBorderEndStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "before" edge of this Area.
+ * @return The border style for the "before" edge of this Area.
+ */
+ public BorderStyle traitBorderBeforeStyle() {
+ return traitGeneratedBy().traitBorderBeforeStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "after" edge of this Area.
+ * @return The border style for the "after" edge of this Area.
+ */
+ public BorderStyle traitBorderAfterStyle() {
+ return traitGeneratedBy().traitBorderAfterStyle(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return traitGeneratedBy().traitBorderStartWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return traitGeneratedBy().traitBorderEndWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return traitGeneratedBy().traitBorderBeforeWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return traitGeneratedBy().traitBorderAfterWidth(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return traitGeneratedBy().traitPaddingStart(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return traitGeneratedBy().traitPaddingEnd(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return traitGeneratedBy().traitPaddingBefore(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return traitGeneratedBy().traitPaddingAfter(this);
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableFooterContainer.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableFooterContainer.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableFooterContainer.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -29,10 +29,14 @@
package org.foray.area;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.fo.fo.GraftingPoint;
import org.axsl.fo.fo.TableFooter;
import org.axsl.galley.RenderVisitor;
+import org.axsl.graphic.Graphic;
+import java.awt.Color;
+
/**
* Area containing all or part of a table-footer.
*/
@@ -133,4 +137,81 @@
return (TableFooter) this.getLinkage().getFONode();
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableHeaderContainer.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableHeaderContainer.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableHeaderContainer.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -29,10 +29,14 @@
package org.foray.area;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.fo.fo.GraftingPoint;
import org.axsl.fo.fo.TableHeader;
import org.axsl.galley.RenderVisitor;
+import org.axsl.graphic.Graphic;
+import java.awt.Color;
+
/**
* Area containing all or part of a table-header.
*/
@@ -133,4 +137,81 @@
return (TableHeader) this.getLinkage().getFONode();
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderStartWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderEndWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderBeforeWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitBorderAfterWidth() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingStart() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingEnd() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingBefore() {
+ return 0;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public int traitPaddingAfter() {
+ return 0;
+ }
+
}
Modified: trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java
===================================================================
--- trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-07-12 17:00:56 UTC (rev 9986)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/TableRA.java 2007-07-12 21:30:07 UTC (rev 9987)
@@ -29,7 +29,9 @@
package org.foray.area;
import org.axsl.area.AreaTreeException;
+import org.axsl.common.value.BackgroundRepeat;
import org.axsl.common.value.BorderModel;
+import org.axsl.common.value.BorderStyle;
import org.axsl.common.value.RelativeAxis;
import org.axsl.fo.FoContext;
import org.axsl.fo.fo.GraftingPoint;
@@ -43,6 +45,7 @@
import org.axsl.galley.TableArea;
import org.axsl.graphic.Graphic;
+import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
@@ -676,4 +679,141 @@
return false;
}
+ /**
+ * {@inheritDoc}
+ */
+ public Graphic traitBackgroundImage() {
+ return this.traitGeneratedBy().traitBackgroundImage(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBackgroundColor() {
+ return traitGeneratedBy().traitBackgroundColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public BackgroundRepeat traitBackgroundRepeat() {
+ return traitGeneratedBy().traitBackgroundRepeat(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderBeforeColor() {
+ return traitGeneratedBy().traitBorderBeforeColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderStartColor() {
+ return traitGeneratedBy().traitBorderStartColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderEndColor() {
+ return traitGeneratedBy().traitBorderEndColor(this);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public Color traitBorderAfterColor() {
+ return traitGeneratedBy().traitBorderAfterColor(this);
+ }
+
+ /**
+ * Returns the border style for the "start" edge of this Area.
+ * @return The border style for the "start" edge of this Area.
+ */
+ public BorderStyle traitBorderStartStyle() {
+ return traitGeneratedBy().traitBorderStartStyle(this);
+ }
+
+ /**
+ * Returns the border style for the "end" edge of this Area.
+ * @return The border style for the "end" edge of this Area.
+ */
+ public BorderStyle traitBorderEndStyle() {
+...
[truncated message content] |