summaryrefslogtreecommitdiff
path: root/sc/source/ui/src/globstr.src
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-05-16 17:14:37 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-05-19 00:01:38 +0300
commit4f1ce46b8d65360436e09750242101b566e6186c (patch)
tree76fd7cf106894e7073d824a211b07e12f1663fa4 /sc/source/ui/src/globstr.src
parent90891602fc826d11985910fc8e892706cd419539 (diff)
tdf#35208 Allow choosing encoding for old Excel files
Lots of BIFF2-BIFF5 files out there don't have CODEPAGE record at all, or have one with a wrong value, and/or FONT records with wrong charset value. To solve that, this patch adds a new "Choose Encoding" entry to the file picker, so that users could specify the encoding to use for a given file, instead of relying on the information that might be present (or not) inside the file. It can be also used in headless mode, e.g. --infilter="MS Excel (encoded)":61 This doesn't affect BIFF8 import, nor the default behavior when not explicitly using the "Choose Encoding" entry. Change-Id: I89d850d7679b81bd399044478fac7a02e8b7680e
Diffstat (limited to 'sc/source/ui/src/globstr.src')
-rw-r--r--sc/source/ui/src/globstr.src4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/src/globstr.src b/sc/source/ui/src/globstr.src
index c74373f662b3..f026a13e5640 100644
--- a/sc/source/ui/src/globstr.src
+++ b/sc/source/ui/src/globstr.src
@@ -2109,6 +2109,10 @@ Resource RID_GLOBSTR
{
Text [ en-US ] = "%1 and %2 more";
};
+ String STR_IMPORT_EXCEL_ENCODING
+ {
+ Text [ en-US ] = "Import Excel file";
+ };
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */