Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Existing spreadsheet .xls opens in writer NOT calc?
Existing spreadsheet .xls opens in writer NOT calc?
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Tue Apr 10, 2007 2:21 pm    Post subject:

If you experience this with an .xls file that you can make public, you should file a bug in Bugzilla and attach the file. At least then we could track down whether it is an OpenOffice.org bug or a Neooffice bug. But I'm guessing that since the origin of these files is your credit card company, they aren't something you can share.

I haven't had any trouble opening xls files in Calc, but then I don't receive xls files from outside sources very often.

Please keep in mind that much of your complaint is related to the way that OpenOffice.org is structured; none of us here have any control over that. The NeoOffice project is limited to keeping a Mac native version of OpenOffice.org running on the Mac. The NeoOffice project doesn't have the resources (neither the time or money) to re-engineer OpenOffice.org to separate out the modules or to improve the xls filters.
Back to top
HarryBo
Guest





PostPosted: Wed May 02, 2007 8:59 am    Post subject:

I have the same problem and maybe an explanation: I also get auto-generated xls files. But if you take a closer look, you will find out, that they are not really xls files, but html files with a table inside that are saved with xls extension so that they will be opened by Excel.

What NeoOffice does: it loads the file, checks the content, sees it is html and opens the default (but in this case incorrect) application for html: Writer!

This is not really helpful for users with that specific problem, but maybe it helps the developers to find a way to prevent us from it.
Back to top
thanson
Blue Pill


Joined: Aug 09, 2006
Posts: 3

PostPosted: Tue Feb 19, 2008 3:39 pm    Post subject: Any movement on this "Writer/Web" Issue

Like others in this thread, I too have been frequently befuddled by this unfortunate issue. Does anyone have any helpful insight? Is there any way to get spreadsheets downloaded from a web interface to open in Calc (and not Writer/Web)?

Might there be any way to edit the file such that the HTML is stripped out and only the spreadsheet info. remains? Any way for NeoOffice to see the .xls portions of the file and simply default to that information?

As I'm frequently generating spreadsheet from online interfaces, this would be a really, really helpful fix/adjustment!
Back to top
jgd
Agent Smith


Joined: Feb 27, 2005
Posts: 1531
Location: France

PostPosted: Wed Feb 20, 2008 3:37 am    Post subject:

You might have a look at this page in NeoWiki which explains how to import an HTML table into Calc.

Hope that helps.

Jacqueline
Back to top
thanson
Blue Pill


Joined: Aug 09, 2006
Posts: 3

PostPosted: Wed Feb 20, 2008 11:40 am    Post subject: Success! ...an HTML infested spreasheet opened in Calc

Very Happy jgd - Thanks for the tip! After a few tweaks to the instructions at the NeoWiki I was able to make it happen - I got a an .xls file with an HTML wrapper (downloaded from an online database) to open in Calc and not in Writer/Web. Here's how...

My assumption is that you've got the troublesome spreadsheet saved to your local machine - that is, the file that has the embedded HTML forcing it to open in Writer/Web.
    * Open a new blank spreadsheet in Calc.
    * In the Insert menu, choose Link to External Data...
    * The External Data window appears asking you for the "URL of external data source" - obviously, you don't need the URL as the file is already on your hard drive. So then, click the browse button ("...") just to the right of the URL field. Browse to the location of the spreadsheet, select the file, and Calc will attempt to find the data tables in the spreadsheet. In my experience, this was not a quick process - be prepared to wait a minute or two as Calc digs though the file attempting to make sense of what it's found.
    * Once Calc has sifted through the file you'll see a few choices in the Available tables/ranges section - I had several options from which to choose, including HTML_tables, HTML_all, and HTML_1.
    * Select the table you want to insert into the spreadsheet and click OK. I simply selected HTML_all and got what I needed, but I suppose that you could select only specific tables if you wanted to exclude some data.

Almost forgot - after selecting HTML_all, I had another lengthy wait (about 2 minutes) as Calc worked to place the data into the spreadsheet; nevertheless, the wait was worth it as I had all 210 records properly imported into my new Calc spreadsheet!


Last edited by thanson on Wed Feb 20, 2008 12:19 pm; edited 1 time in total
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: Wed Feb 20, 2008 12:16 pm    Post subject:

We should add thanson's steps to the wiki article, since this particular problem seems to be common....

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
Lorinda
Captain Mifune


Joined: Jun 20, 2006
Posts: 2051
Location: Midwest, USA

PostPosted: Wed Feb 20, 2008 12:36 pm    Post subject:

I did a quick copy and paste into the article Jacquline mentioned. It needs some polishing...mostly applying templates. We also probably need to add a link on the NeoCalc page with a title like "xls files open in Writer" to make it easier for those who are searching for solutions to this problem.

Lorinda
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page Previous  1, 2
Page 2 of 2

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.