Kay Ramme - Sun Germany - Hamburg wrote:
http://udk.openoffice.org/common/man/concept/string_invest.html

From that file:

The loading procedure in general does the following,
the XML file gets parsed, about 9 strings (for every tag and value) get created 
for every cell,
the strings are passed via callbacks to the Calc engine,
the Calc engine converts the content string into a number
the strings get destructed.

Taking an attribute name as an example, with the SAX interface inbetween, the "via callbacks" part looks (roughly) like this:

The name is copied into a vector for the XAttributeList implementation, copied again for two getNameByIndex calls (one to look for namespace attributes, one in the implementation of the cell element context), then a hash_map is used to separate it into a namespace ID and local name.

Considering this, the calculation might me a bit simplistic.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to