[FOray-commit] SF.net SVN: foray: [9930] trunk/foray
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2007-07-05 22:45:39
|
Revision: 9930
http://svn.sourceforge.net/foray/?rev=9930&view=rev
Author: victormote
Date: 2007-07-05 15:45:41 -0700 (Thu, 05 Jul 2007)
Log Message:
-----------
Conform to axsl change removing unnecessary methods.
Modified Paths:
--------------
trunk/foray/foray-areatree/src/java/org/foray/area/Area.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-05 22:20:37 UTC (rev 9929)
+++ trunk/foray/foray-areatree/src/java/org/foray/area/Area.java 2007-07-05 22:45:41 UTC (rev 9930)
@@ -1812,20 +1812,6 @@
/**
* {@inheritDoc}
*/
- public Font.Weight traitFontWeight() {
- return traitGeneratedBy().traitFontWeight(this);
- }
-
- /**
- * {@inheritDoc}
- */
- public Font.Style traitFontStyle() {
- return traitGeneratedBy().traitFontStyle(this);
- }
-
- /**
- * {@inheritDoc}
- */
@Override
public Area nearestArea() {
/* Overrides the AreaNode implementation, because this is the nearest
Modified: trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java
===================================================================
--- trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java 2007-07-05 22:20:37 UTC (rev 9929)
+++ trunk/foray/foray-render/src/java/org/foray/render/xml/XMLRenderer.java 2007-07-05 22:45:41 UTC (rev 9930)
@@ -390,7 +390,6 @@
}
final StringBuilder buffer = new StringBuilder();
outputGeneratedBy(area, buffer);
- outputFontTraits(area, buffer);
writeStartTag(area, buffer);
/* Line areas have no border or padding, so write only the content
* rectangle.
@@ -698,16 +697,6 @@
}
/**
- * Writes information about an area's font traits to a given buffer.
- * @param area The area whose font traits should be written.
- * @param buffer The buffer to which the attributes should be added.
- */
- public void outputFontTraits(final Area area, final StringBuilder buffer) {
- outputAttribute(buffer, "font-weight",
- area.traitFontWeight().toString());
- }
-
- /**
* Writes information about a specific attribute to a given buffer.
* @param buffer The buffer to which the attribute should be added.
* @param attributeName The name of the attribute.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|