Bug 60370

Summary: XSSFDataValidation, promptBox, \n ignored (no multiline)
Product: POI Reporter: Joël DRIGO <joel.drigo>
Component: XSSFAssignee: POI Developers List <dev>
Severity: normal    
Priority: P2    
Version: 3.15-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: All   

Description Joël DRIGO 2016-11-14 17:15:38 UTC

dataValidation.createPromptBox("something\nother") shows two lines if implementation is HSSFDataValidation, but only "somethingother" if implementation is XSSFDataValidation.
Workaround is simply to replace \n with _x000a_
Comment 1 Dominik Stadler 2016-11-25 22:10:53 UTC
Should be fixed via r1771396, we now encode any special characters below Unicode 32 before we add a title or text for data validations.