aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-07-28 06:21:50 +0000
committerJeremias Maerki <jeremias@apache.org>2009-07-28 06:21:50 +0000
commitf2ab7b6c0a4e6b4bd892120a7a6cc84e974f8d93 (patch)
tree089b2ae96a0440892da6d93e43e7a723b0322f08
parenta11874283eb80e4ce5759196bb1a751e3c93e5ac (diff)
downloadxmlgraphics-fop-f2ab7b6c0a4e6b4bd892120a7a6cc84e974f8d93.tar.gz
xmlgraphics-fop-f2ab7b6c0a4e6b4bd892120a7a6cc84e974f8d93.zip
Added A5 format.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798415 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/render/pcl/PCLPageDefinition.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java b/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java
index 54ad1e73a..3e577cfa0 100644
--- a/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java
+++ b/src/java/org/apache/fop/render/pcl/PCLPageDefinition.java
@@ -177,6 +177,9 @@ public class PCLPageDefinition {
pageDefinitions.add(new PCLPageDefinition("Ledger", 6,
createPhysicalPageSizeInch(11, 17),
createLogicalPageRect(75, 0, 3150, 5100), false));
+ pageDefinitions.add(new PCLPageDefinition("A5", 25,
+ createPhysicalPageSizeMm(148, 210),
+ createLogicalPageRect(71, 0, 1745, 2480), false));
pageDefinitions.add(new PCLPageDefinition("A4", 26,
createPhysicalPageSizeMm(210, 297),
createLogicalPageRect(71, 0, 2338, 3507), false));
@@ -198,6 +201,9 @@ public class PCLPageDefinition {
pageDefinitions.add(new PCLPageDefinition("LedgerL", 6,
createPhysicalPageSizeInch(17, 11),
createLogicalPageRect(60, 0, 4980, 3300), true));
+ pageDefinitions.add(new PCLPageDefinition("A5L", 25,
+ createPhysicalPageSizeMm(210, 148),
+ createLogicalPageRect(59, 0, 2362, 1747), true));
pageDefinitions.add(new PCLPageDefinition("A4L", 26,
createPhysicalPageSizeMm(297, 210),
createLogicalPageRect(59, 0, 3389, 2480), true));