You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2005/08/29 13:55:41 UTC
svn commit: r264117 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/TraitSetter.java
Author: jeremias
Date: Mon Aug 29 04:55:38 2005
New Revision: 264117
URL: http://svn.apache.org/viewcvs?rev=264117&view=rev
Log:
Made the warnings more verbose.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/TraitSetter.java (contents, props changed)
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/TraitSetter.java
URL: http://svn.apache.org/viewcvs/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/TraitSetter.java?rev=264117&r1=264116&r2=264117&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/TraitSetter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/TraitSetter.java Mon Aug 29 04:55:38 2005
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-/* $Id: TraitSetter.java,v 1.6 2004/02/27 17:49:25 jeremias Exp $ */
+/* $Id$ */
package org.apache.fop.layoutmgr;
@@ -245,7 +245,9 @@
* ((PercentLength)backProps.backgroundPositionHorizontal).value()));
} else {
//TODO Area IPD has to be set for this to work
- log.warn("Horizontal background image positioning ignored");
+ log.warn("Horizontal background image positioning ignored"
+ + " because the IPD was not set on the area."
+ + " (Yes, it's a bug in FOP)");
}
} else {
back.setHoriz(backProps.backgroundPositionHorizontal.getValue());
@@ -265,7 +267,9 @@
* ((PercentLength)backProps.backgroundPositionVertical).value()));
} else {
//TODO Area BPD has to be set for this to work
- log.warn("Vertical background image positioning ignored");
+ log.warn("Vertical background image positioning ignored"
+ + " because the BPD was not set on the area."
+ + " (Yes, it's a bug in FOP)");
}
} else {
back.setVertical(backProps.backgroundPositionVertical.getValue());
Propchange: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/TraitSetter.java
------------------------------------------------------------------------------
svn:keywords = Id
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org