mirror of https://github.com/apache/poi.git
Add method to return the number of styles (bug #43883)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@595701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c31f71a851
commit
6297f86323
|
@ -285,6 +285,14 @@ public class StyleSheet implements HDFType
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the number of styles in the style sheet.
|
||||
* @return The number of styles in the style sheet.
|
||||
*/
|
||||
public int numStyles() {
|
||||
return _styleDescriptions.length;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the StyleDescription at index x.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue