Bug 60370 - XSSFDataValidation, promptBox, \n ignored (no multiline)
Summary: XSSFDataValidation, promptBox, \n ignored (no multiline)
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XSSF (show other bugs)
Version: 3.15-FINAL
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-14 17:15 UTC by Joël DRIGO
Modified: 2016-11-25 22:10 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joël DRIGO 2016-11-14 17:15:38 UTC
Hi!

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.