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





------- Additional comments from [EMAIL PROTECTED] Mon Oct 13 09:34:17 +0000 
2008 -------
We have to solve two problems in order to fix this bug:

1. Detect changes to master pages.

Doing this reliably is not so simple, especially when it comes to changes caused
by API calls.  Many changes to single shapes are not notified to general
listeners: there is more than one implementation of XPropertySet which has no
support for property change listeners.  Maybe we can use the flag that the whole
document has been modified but in itself it is too unspecific.


2. Make the modification flag of master pages persistent.

Now this really is a problem.  We can not just add some flag to the ODF file
format.  Maybe we could hack it into some other value (like the name of the
modified master page).  But maybe it is enough to not store that flag at all.
Just mark all master pages that are read from file as (potentially) modified and
'precious' and delete them only on explicit request from the user.


So, yes, I agree that this is an ugly bug.  However, it has no pretty fix.

If I find the time I will investigate the problem of change detection further.

Comments and help are welcome.

---------------------------------------------------------------------
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