To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=77102
Issue #|77102
Summary|removeByName() for set nodes should remove them realy
|in XCU file
Component|framework
Version|OOo 2.2 RC4
Platform|All
URL|
OS/Version|All
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|ENHANCEMENT
Priority|P3
Subcomponent|code
Assigned to|sb
Reported by|as
------- Additional comments from [EMAIL PROTECTED] Tue May 8 13:40:58 +0000
2007 -------
Sometimes sets are used to collect temporary informations. But removing obsolete
items isn't realy possible today ... means not possible in XCU files on disc.
An example:
<node oor:name="MySet>
<node oor:name="MyEntry">
<prop oor:name="prop1"><value>0</value></prop>
</node>
</node>
looks like these after XNameContainer->removeByName("MyEntry") was called ...
<node oor:name="MySet>
<node oor:name="MyEntry" oor:op="removed" />
</node>
Two possible solutions seams to exist:
a)
If no layer (means all layer below <user>) contains the same entry it will be
removed realy from the XCU file. If another layer contains the same value it can
be removed in the same way then today (by using oor:op="removed").
b)
There will be an optional interface providing a function named
"removeByNameReal()" .-)
---------------------------------------------------------------------
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]