Difference between revisions of "Calc/Performance/Repeated Querying of the Document Null Date"

From Apache OpenOffice Wiki
Jump to: navigation, search
(New page: Date values are stored internally as the number of days since the null date. The null date can be configured per document. In the file format, date values are stored as XML Schema dates (b...)
 
(DISPLAYTITLE)
 
Line 1: Line 1:
 +
{{DISPLAYTITLE:Repeated Querying of the Document Null Date}}
 +
 
Date values are stored internally as the number of days since the null date. The null date can be configured per document. In the file format, date values are stored as XML Schema dates (basically ISO 8601). To convert between the two representations, the class SvXMLUnitConverter is used, and it needs the null date setting to do so. Currently the null date is queried from the document for each date value that is written, but because the setting applies to the whole document, it needs to be queried only once. This avoids a number of UNO calls when saving files with many date cells.
 
Date values are stored internally as the number of days since the null date. The null date can be configured per document. In the file format, date values are stored as XML Schema dates (basically ISO 8601). To convert between the two representations, the class SvXMLUnitConverter is used, and it needs the null date setting to do so. Currently the null date is queried from the document for each date value that is written, but because the setting applies to the whole document, it needs to be queried only once. This avoids a number of UNO calls when saving files with many date cells.
  

Latest revision as of 13:04, 9 March 2009


Date values are stored internally as the number of days since the null date. The null date can be configured per document. In the file format, date values are stored as XML Schema dates (basically ISO 8601). To convert between the two representations, the class SvXMLUnitConverter is used, and it needs the null date setting to do so. Currently the null date is queried from the document for each date value that is written, but because the setting applies to the whole document, it needs to be queried only once. This avoids a number of UNO calls when saving files with many date cells.

This is Issue 99960 , fixed in CWS DEV300 calcperf04  .

Personal tools