Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0219C200B66 for ; Thu, 18 Aug 2016 17:43:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0090B160AAE; Thu, 18 Aug 2016 15:43:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 45BF2160A86 for ; Thu, 18 Aug 2016 17:43:40 +0200 (CEST) Received: (qmail 86314 invoked by uid 500); 18 Aug 2016 15:43:39 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 86303 invoked by uid 99); 18 Aug 2016 15:43:39 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Aug 2016 15:43:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 14C011A0C5D for ; Thu, 18 Aug 2016 15:43:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.426 X-Spam-Level: X-Spam-Status: No, score=-0.426 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.426] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Pz1TiIoB5BQW for ; Thu, 18 Aug 2016 15:43:38 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E464A5F23D for ; Thu, 18 Aug 2016 15:43:37 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id DF682E0456 for ; Thu, 18 Aug 2016 15:43:36 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id D6FF060D8D; Thu, 18 Aug 2016 15:43:35 +0000 (UTC) From: bugzilla@apache.org To: dev@poi.apache.org Subject: [Bug 59707] Create new line in cell doesn't work with BufferedReader Date: Thu, 18 Aug 2016 15:43:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: XSSF X-Bugzilla-Version: 3.15-dev X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markbrdsly@tiscali.co.uk X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 archived-at: Thu, 18 Aug 2016 15:43:41 -0000 https://bz.apache.org/bugzilla/show_bug.cgi?id=59707 --- Comment #5 from Mark B --- The \n sequence is an escape sequence that is interpreted to mean a new line when it - the escape sequence - a[pears in a Java string. The example in the Quick Guide uses Java to create the sheet/row/cell and populate it. I suspect this is not what you are doing, rather you are reading from an existing file and attempting to modify it. Am I correct in assuming that you have a test file that you have created using Excel? Further, that this file contains a cell into which you have written the string? If that is correct, then you never will see a new line. To create a new line in a cell using Excel itself then you need to press and hold down the Alt key and then press the enter key. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org