Missing property UseConcordanceFile in service css.text.DocumentIndex?

Peter Eberlein <[email protected]> Thu, 14 Apr 2011 14:56:29 +0200
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
Hi,

if you use a concordance file, store and reload the writer document, 
then you can't update the index anymore 
(http://openoffice.org/bugzilla/show_bug.cgi?id=61096 UNCONFIRMED, btw).

As os wrote in http://openoffice.org/bugzilla/show_bug.cgi?id=57008#c25,
there's a missing "automatic" attribute in the odf spec.

Seems this is now stored (property "IndexAutoMarkFileURL" in the model).

So http://openoffice.org/bugzilla/show_bug.cgi?id=99117 is fixed?

But this property is not used after loading the file.
If the sdi still exists, all XDocumentIndexMarks related to the index 
should be deleted and then the index has to be updated according to the 
sdi file.

If I delete those marks via API and update the index, nothings happens.
The service DocumentIndex doesn't know the property in the model.
You have to edit the index and closing it with ok, then it works.

Regards

Peter

-- 
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help