summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-10-06 15:53:03 +0000
committerBjörn Milcke <bm@openoffice.org>2003-10-06 15:53:03 +0000
commit3ed016feb15a5022acad9cd6e4e6b3a22488d2bf (patch)
treea4c1bdf8fe61d374ff05b932b6d1b246e9869608 /chart2/qa
parent63fc0af692b1179ef57b996cd10937b4d0fd995f (diff)
TextRotation
Diffstat (limited to 'chart2/qa')
-rw-r--r--chart2/qa/TestCaseOldAPI.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/chart2/qa/TestCaseOldAPI.java b/chart2/qa/TestCaseOldAPI.java
index f916b58a0284..544fcab9926c 100644
--- a/chart2/qa/TestCaseOldAPI.java
+++ b/chart2/qa/TestCaseOldAPI.java
@@ -282,6 +282,11 @@ public class TestCaseOldAPI extends ComplexTestCase {
xProp.setPropertyValue( "CharHeight", new Float( fNewCharHeight ));
assure( "Property CharHeight",
AnyConverter.toFloat( xProp.getPropertyValue( "CharHeight" )) == fNewCharHeight );
+
+ int nNewTextRotation = 700; // in 1/100 degrees
+ xProp.setPropertyValue( "TextRotation", new Integer( nNewTextRotation ));
+ assure( "Property TextRotation",
+ AnyConverter.toInt( xProp.getPropertyValue( "TextRotation" )) == nNewTextRotation );
}
catch( Exception ex )
{