ranameSheetInAppXml(oldsheetname, name);
}
//rename sheet in app.xml(extended properties)
private void ranameSheetInAppXml(String oldsheetname, String name) {
POIXMLProperties properties = getProperties(); //app.xml and custom.xml
CTProperties ext = properties.getExtendedProperties().getUnderlyingProperties();
CTVectorVariant vectorv = ext.getHeadingPairs();
CTVector vector = vectorv.getVector();
CTVariant[] variants = vector.getVariantArray();
int sheetCount = -1;
int nameCount = -1;