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:
Nick Burch 2007-11-16 15:25:55 +00:00
parent eb65900774
commit 52d3ba08e0

View File

@ -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. * Gets the StyleDescription at index x.
* *