aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-07-16 12:50:40 +0000
committerPJ Fanning <fanningpj@apache.org>2020-07-16 12:50:40 +0000
commit4a173780dd793aed02c54ba0a9c816ce1b1f8991 (patch)
tree0f7caea89796cffe5e2916d4f0c4b6e9a08ee9f4 /src/java/org/apache/poi
parentcb1d9a0061ff0c2fe94e96883964d0fd42b48239 (diff)
downloadpoi-4a173780dd793aed02c54ba0a9c816ce1b1f8991.tar.gz
poi-4a173780dd793aed02c54ba0a9c816ce1b1f8991.zip
[bug-64605] add support for non-integer font sizes on character runs (use double instead of float)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879950 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi')
-rw-r--r--src/java/org/apache/poi/wp/usermodel/CharacterRun.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/poi/wp/usermodel/CharacterRun.java b/src/java/org/apache/poi/wp/usermodel/CharacterRun.java
index 81117c2bd2..28dc89016e 100644
--- a/src/java/org/apache/poi/wp/usermodel/CharacterRun.java
+++ b/src/java/org/apache/poi/wp/usermodel/CharacterRun.java
@@ -48,9 +48,9 @@ public interface CharacterRun {
void setImprinted(boolean imprint);
int getFontSize();
- float getFontSizeAsFloat();
+ Double getFontSizeAsDouble();
void setFontSize(int halfPoints);
- void setFontSize(float halfPoints);
+ void setFontSize(double halfPoints);
int getCharacterSpacing();
void setCharacterSpacing(int twips);