klease 02/02/23 08:47:37
Modified: src/org/apache/fop/area CTM.java RegionReference.java
Log:
Support PDF rendering
Revision Changes Path
1.3 +5 -1 xml-fop/src/org/apache/fop/area/CTM.java
Index: CTM.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/area/CTM.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- CTM.java 18 Feb 2002 22:49:22 -0000 1.2
+++ CTM.java 23 Feb 2002 16:47:37 -0000 1.3
@@ -1,5 +1,5 @@
/*
- * $Id: CTM.java,v 1.2 2002/02/18 22:49:22 klease Exp $
+ * $Id: CTM.java,v 1.3 2002/02/23 16:47:37 klease Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -205,5 +205,9 @@
public String toString() {
return "[" + a + " " + b + " " + c + " " + d + " " + e + " " + f + "]";
+ }
+
+ public String toPDFctm() {
+ return a + " " + b + " " + c + " " + d + " " + e/1000f + " " + f/1000f;
}
}
1.3 +6 -1 xml-fop/src/org/apache/fop/area/RegionReference.java
Index: RegionReference.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/area/RegionReference.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- RegionReference.java 17 Feb 2002 21:59:29 -0000 1.2
+++ RegionReference.java 23 Feb 2002 16:47:37 -0000 1.3
@@ -1,5 +1,5 @@
/*
- * $Id: RegionReference.java,v 1.2 2002/02/17 21:59:29 klease Exp $
+ * $Id: RegionReference.java,v 1.3 2002/02/23 16:47:37 klease Exp $
* Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
* For details on use and redistribution please refer to the
* LICENSE file included with these sources.
@@ -34,6 +34,11 @@
public void setCTM(CTM ctm) {
this.ctm = ctm;
}
+
+ public CTM getCTM() {
+ return this.ctm;
+ }
+
// the list of block areas from the static flow
ArrayList blocks = new ArrayList();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]