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





------- Additional comments from [EMAIL PROTECTED] Thu Feb 22 18:32:27 +0000 
2007 -------
You say this is expected behaviour. It's expected behaviour for the OOo
developers based on their knowledge of the current implementation. But the same
goes for a lot of defects. By that reasoning even a crash bug can be closed
invalid once the reason has been identified in the code, because then it's
expected behaviour :-)

The current Insert/File behaviour is definitely NOT expected behaviour for
users, not even for developers using the UNO API. The user interface doesn't say
"anchor to page 1". And that would be nonsensical for the user. The user doesn't
want to anchor something to page N. The user wants to anchor to THIS PAGE. And
when a user chooses Insert/File to insert document X on page 3 of document Y, he
expects the things  on page 1 of document X to appear on page 3 of document Y.
He doesn't expect some things to appear on page 3 and some things on page 1.

The current behaviour is not only unexpected it's also not useful, not for the
user doing insertion via GUI and not for the programmer using
insertDocumentFromURL(), because the current behaviour means that if the file
being inserted contains things anchored to page, the end result will be broken
and needs to be fixed. 

Honestly, can you think of any real world use case, where the current
Insert/File behaviour is what you want? 

I can give you a lot of use cases where the current behaviour is NOT what is
wanted. Certainly the most common reason for using Insert/File is to join
several documents that have been created independently (e.g. chapters of a book
written by different authors) into a large document. The current behaviour of
Insert/File makes a complete mess out of this use case.

Want another use case? We want to implement our own form letter functionality.
Of course our users expect to be able to create one big form letter document.
The current behaviour of insertDocumentFromURL() means that the form letter
join-document will be broken if the form letter contains anything anchored to
page. And implementing fixup code is going to be difficult, because after the
insertion, how do you tell which objects are new and have to be fixed up?
Really, insertDocumentFromURL() should be doing the fixup. That it doesn't do so
is clearly a defect.

Suggesting anchor to paragraph as a workaround is also not a cure-all. There's
no way to enforce this. Users WILL create stuff anchored to page and they WILL
complain when this breaks their form letters.

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