To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76360





------- Additional comments from [EMAIL PROTECTED] Mon Apr 23 11:52:05 +0000 
2007 -------
fme->rrthomasrr: Does it really matter if its 'calculated' or 'recalculated'?
I'm talking about 'invalid' data, so it has to be (re)calculated. Ok, now I'm
trying to explain as good an as detailed as I can: The document contains a word
count value and a flag "wc valid". Each paragraph contains a wc value and a flag
"wc valid". If a document is loaded, the wc from the meta.xml is set at the
document and the flag "doc wc valid" is set to true. Each paragraph flag is
initialized with false. Then the idle wc takes place. Each paragraph wc is
calculated and the associated paragraph wc flag is set to true. If the document
is modified, the document wc flag is set to false, otherwise it remains true. If
the word count is requested (e.g. during saving the document or on opening the
wc dialog), first the document wc flag is checked. If it is valid, the current
document wc is assumed to be correct and that value is taken. If the document
flag is set to false, we iterate over all paragraphs in the document and for
each paragraph, we check if the paragraph wc flag is set to valid. If so, the
paragraph wc value is assumed to be correct, otherwise (e.g., if the idle word
count hasn't finished yet) the paragraph wc value is calculated instantly and
the paragraph wc flag is set to true. After the iteration over all paragraphs,
we have the document wc value and set the document wc flag to true.

fme->kpalagin: We also used it for storing in the meta.xml.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to