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 cb...@apache.org on 2004/05/18 12:12:39 UTC
cvs commit: xml-fop/src/java/org/apache/fop/render/xml XMLRenderer.java
cbowditch 2004/05/18 03:12:39
Modified: src/java/org/apache/fop/render/xml XMLRenderer.java
Log:
added ipd property to block element
Revision Changes Path
1.21 +6 -5 xml-fop/src/java/org/apache/fop/render/xml/XMLRenderer.java
Index: XMLRenderer.java
===================================================================
RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/xml/XMLRenderer.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- XMLRenderer.java 25 Apr 2004 04:45:28 -0000 1.20
+++ XMLRenderer.java 18 May 2004 10:12:38 -0000 1.21
@@ -1,12 +1,12 @@
/*
* 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.
@@ -332,7 +332,8 @@
* @see org.apache.fop.render.AbstractRenderer#renderBlock(Block)
*/
protected void renderBlock(Block block) {
- String prop = " width=\"" + block.getWidth() +
+ String prop = " width=\"" + block.getWidth() +
+ "\" ipd=\"" + block.getIPD() +
"\" height=\"" + block.getHeight() + "\"";
Map map = block.getTraits();
if (map != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org