/* xls2xml: Converts from Microsoft Excel files to XML. Copyright 1999 Roberto Arturo Tena Sanchez This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* Roberto Arturo Tena Sanchez */ xls2xml function can return next values: 0 All goes OK. 5 Error reading from stream file, thus xls file has a faulty format. 11 Error reading streams files, can use perror. 14 This value is not returned but is reserved (ala MS!). 15 Value readed from xls file is unknown by now, thus xls file is more advanced or has a faulty format. 10 Error allocating memory, there's no more memory. 17 xls file is a Excel file, but it's format is unknown, too old. 18 xls file is password protected so can't access it. 19 Internal inconsistence between structures have been found, it's a xls2xml bug (please, report it).