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
eb65900774
commit
52d3ba08e0
@ -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.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user