Created attachment 24194 [details] Patch with implementation. Method setFunction(boolean) to mark name as function. Added to interface Name, HSSFName(implements Name) and NameRecord. XSSFName already have had such method.
Applied in r811998 Thanks, Yegor