On 24/04/13 14:17, Alex Thurgood wrote:
Le 24/04/2013 14:36, sun shine a écrit :
Hi,
> How can I advise her to save spreadsheets as *.csv formats in a way
that
HMRC can read these as if saved in the MS Dos CSV format (which LibO
doesn't have the option to do)? Is there something in the save procedure
that she needs to attend to?
Sorry if I appear a bit dim, but CSV literally stands for Comma
Separated Values, with a line feed/carriage return symbol at the end
of each line. Unix and MS-DOS line feeds/newline commands are
different, e.g. Unix relies on \n to indicate a newline, whereas
MS-DOS (and Windows) relies on \n\r (or LF/CR). Is this the type of
formatting you are looking for ?
What exactly are the errors that your wife sees when opening the CSV
file in Excel ?
Alex
Hi Alex
This may well be what she needs - i.e. insert the additional \r value
for formatting the line endings. I don't know and there's nothing that I
can use from looking for this on the web.
The file was originally saved on a Windows machine as a *.csv dos
format, and was opened in LibO which was fine (except the worksheet tab
wasn't named as it had been in the original and instead labelled it
merely as "Sheet 1"). Then she saved the same file from LibO using the
*csv save option (because LibO doesn't give any further *csv options)
and tested it by opening it up in Excel. At that point, she saw that
some of the text in the file was now represented by squares, but overall
the text wasn't separated out (i.e. NOT comma separated) and the fields
ran together as one paragraph, including headers and content.
So it could be that LibO is not saving the DOS newline formatting, in
which case I need to brief her on how she can set that up when saving in
LibO and (preferably even) to automate that. I've reviewed the Calc
extensions and don't see anything - so is this an opportunity for a hack
perhaps?
Anyway, I hope all of this makes some kind of sense?
Cheers
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.