summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2023-02-28 09:50:28 -0400
committerHenry Castro <hcastro@collabora.com>2023-05-10 22:56:04 +0200
commite069c7fcff114fd42eda5712fb38938eb17214a9 (patch)
tree22f87bf9b419696a4659e0662510fbf97e40f842 /sc/source/filter/inc
parent2dd86aa3f365057494bf41f4da7f2f410ea3bf2e (diff)
sc: filter: excel: import cell multi-line text
The excel document, if the cell has multi-line text and the property wrap text is off, the paragraphs are rendered all in a single line. Signed-off-by: Henry Castro <hcastro@collabora.com> Change-Id: I3b5c82dde2616887e51ad6e3dfe91d100482f747 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151430 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r--sc/source/filter/inc/worksheethelper.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/filter/inc/worksheethelper.hxx b/sc/source/filter/inc/worksheethelper.hxx
index 3a44dc2e105e..4081d248e32b 100644
--- a/sc/source/filter/inc/worksheethelper.hxx
+++ b/sc/source/filter/inc/worksheethelper.hxx
@@ -262,7 +262,9 @@ public:
/** Inserts a rich-string cell directly into the Calc sheet. */
void putRichString(
const ScAddress& rAddress,
- RichString& rString, const oox::xls::Font* pFirstPortionFont );
+ RichString& rString,
+ const oox::xls::Font* pFirstPortionFont,
+ bool bSingleLine = false);
/** Inserts a formula cell directly into the Calc sheet. */
void putFormulaTokens(