aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
diff options
context:
space:
mode:
authorYegor Kozlov <yegor@apache.org>2009-11-13 13:33:52 +0000
committerYegor Kozlov <yegor@apache.org>2009-11-13 13:33:52 +0000
commit082cd1846c20ef50796433163da7977c31898d3c (patch)
tree02c9c9ea3259a993f52faabb37136f797e6df32b /src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
parenta53a2ef1f8ed53f574b7688cf6035dde62cc554d (diff)
downloadpoi-082cd1846c20ef50796433163da7977c31898d3c.tar.gz
poi-082cd1846c20ef50796433163da7977c31898d3c.zip
renamed HSSFSheet.setArabic to HSSFSheet.setRightToLeft
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@835846 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java')
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
index d626a82341..3402147f66 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java
@@ -635,20 +635,21 @@ public final class HSSFSheet implements org.apache.poi.ss.usermodel.Sheet {
}
/**
- * Sets the arabic property for this sheet, will make it right to left.
- * @param value true for arabic, false otherwise.
+ * Sets whether the worksheet is displayed from right to left instead of from left to right.
+ *
+ * @param value true for right to left, false otherwise.
*/
- public void setArabic(boolean value)
+ public void setRightToLeft(boolean value)
{
_sheet.getWindowTwo().setArabic(value);
}
/**
- * Gets the arabic property for this sheet.
+ * Whether the text is displayed in right-to-left mode in the window
*
- * @return whther the arabic mode is set
+ * @return whether the text is displayed in right-to-left mode in the window
*/
- public boolean isArabic()
+ public boolean isRightToLeft()
{
return _sheet.getWindowTwo().getArabic();
}