You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openoffice.apache.org by Rajath Shashidhara <ra...@gmail.com> on 2013/08/01 06:06:29 UTC

Insert Command

Hello,

The API reference for service com::sun::star:ucb::Content says:

On successful completion of this command, the parent of the inserted
 // content must propagate the change by notifying a
 // ContentEvent <ContentEvent.html> - ContentAction
<ContentAction.html>::INSERTED <ContentAction.html#INSERTED>.


But, how will the parent of the content created/inserted know that a child
was inserted?
What I have done is that the content created itself will notify the
ContentAction - INSERTED to the attached listeners.

Should I keep track of the changes in the child for a parent folder? and
How to do it?

-- 
Rajath S,
M.Sc(Hons.) Physics,
Birla Institute of Technology and Science - Pilani,
Pilani