Re: gnumeric XML data spec



Allin Cottrell wrote:

In the meantime, could you
suggest a canonical source for the meaning of the "ValueType" codes in
gnumeric cells?  As in

<gmr:Cell Col="1" Row="0" ValueType="60">val</gmr:Cell>



From value.h (part of the gnumeric source):


typedef enum {
        /* Use magic values to act as a signature
         * DO NOT CHANGE THESE NUMBERS
         * As of version 0.57 they are using as keys
         * in the xml
         */
        VALUE_EMPTY     = 10,
        VALUE_BOOLEAN   = 20, /* Keep bool < int < float */
        VALUE_INTEGER   = 30,
        VALUE_FLOAT     = 40,
        VALUE_ERROR     = 50,
        VALUE_STRING    = 60,
        VALUE_CELLRANGE = 70,
        VALUE_ARRAY     = 80
} ValueType;

Andreas

--
Prof. Dr. Andreas J. Guelzow
http://www.math.concordia.ab.ca/aguelzow




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]