To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=116664
                 Issue #|116664
                 Summary|Impossible to handle custom toolbar by their name with
                        | macros
               Component|Spreadsheet
                 Version|OOO330m18
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|programming
             Assigned to|spreadsheet
             Reported by|lmerger





------- Additional comments from lmer...@openoffice.org Thu Jan 27 16:25:39 
+0000 2011 -------
Hi,

I'd like to log that there are also some problems handling custom toolbars by
macro calls. (At least Calc is concerned)

For instance, with 'XXXXXX' being the name of the custom toolbar, this doesn't
work (...means, it does nothing) :

thisComponent.CurrentController.Frame.LayoutManager
.isElementVisible( "private:resource/toolbar/XXXXXX" )
.showElement( "..." ) (or hide...)
.getElement( "..." )
...

The only workaround I know to make all that calls succeed is to use instead of
the bar name the 'file name'
(...which can be found in 'Configurations2\toolbar')

Best Regards
L.

---------------------------------------------------------------------
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: issues-unsubscr...@sc.openoffice.org
For additional commands, e-mail: issues-h...@sc.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to