diff options
Diffstat (limited to 'src/java/org/apache/poi/ss/usermodel/Font.java')
-rw-r--r-- | src/java/org/apache/poi/ss/usermodel/Font.java | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/java/org/apache/poi/ss/usermodel/Font.java b/src/java/org/apache/poi/ss/usermodel/Font.java index a145f132a2..d4bcc110a5 100644 --- a/src/java/org/apache/poi/ss/usermodel/Font.java +++ b/src/java/org/apache/poi/ss/usermodel/Font.java @@ -21,14 +21,16 @@ package org.apache.poi.ss.usermodel; public interface Font { /** * Normal boldness (not bold) + * @deprecated 3.15 beta 2. Scheduled for removal in 3.17. + * Boldweight constants no longer needed due to {@link #getBold} and {@link #setBold(boolean)} */ - public final static short BOLDWEIGHT_NORMAL = 0x190; /** * Bold boldness (bold) + * @deprecated 3.15 beta 2. Scheduled for removal in 3.17. + * Boldweight constants no longer needed due to {@link #getBold} and {@link #setBold(boolean)} */ - public final static short BOLDWEIGHT_BOLD = 0x2bc; /** @@ -281,9 +283,15 @@ public interface Font { */ public short getIndex(); + /** + * @deprecated 3.15 beta 2. Scheduled for removal in 3.17. Use {@link #setBold(boolean)}. + */ public void setBoldweight(short boldweight); public void setBold(boolean bold); + /** + * @deprecated 3.15 beta 2. Scheduled for removal in 3.17. Use {@link #getBold()}. + */ public short getBoldweight(); public boolean getBold(); -}
\ No newline at end of file +} |