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





------- Additional comments from [EMAIL PROTECTED] Thu Dec 20 13:44:38 +0000 
2007 -------
since I stumbled over some code which looked promising ...

If I, in SfxBaseModel::getUIConfigurationManager, remove the restriction that
for embedded documents, no configuration storage is provided, then it works.

Well, kind of. When you create a new toolbar, this is stored as
"custom_toolbar_1.xml" in the form (in the sub storage Configurations2/toolbar).
Unfortunately, if there already exists a toolbar with that name in the
application-wide module configuration, then both toolbars are merged - the title
from the one, the content from the other ....

Now, this is the same as for non-embedded documents: When you have a Writer
document which contains a "custom_toolbar_1.xml", and open this document in an
installation where there exists a module-wide toolbar definition with the same
name, then those are merged, too.

The difference here is that for Writer module, the newly created toolbar inside
a Writer document does not conflict with the module-wide toolbar names. There
seems to be some name collision check.
Contrary, the name collision check does not seem to exist (or work properly) for
embedded documents.

fs->cd: Can you provide me with
a) details what else I must expect to not work (as said, to me it looks as if
everything works fine, except the naming problem)
b) an idea where I have to look for the code which decides a name for the new
toolbar
, please?

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