diff options
Diffstat (limited to 'src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java')
-rw-r--r-- | src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java b/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java index 7dcd7ea35..3ce108bfc 100644 --- a/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java +++ b/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java @@ -278,13 +278,13 @@ public abstract class AbstractPageObject extends AbstractNamedAFPObject { if (rotation != 0) { switch (rotation) { case 90: - activeEnvironmentGroup.setPosition(width, 0, rotation); + activeEnvironmentGroup.setObjectAreaPosition(width, 0, rotation); break; case 180: - activeEnvironmentGroup.setPosition(width, height, rotation); + activeEnvironmentGroup.setObjectAreaPosition(width, height, rotation); break; case 270: - activeEnvironmentGroup.setPosition(0, height, rotation); + activeEnvironmentGroup.setObjectAreaPosition(0, height, rotation); break; default: } |