Lately I have been on a bit of an upstream frenzy, cws npower12 has been created to capture a slew of api changes ( including lots of module structure changes ) that are already in ooo-build Additionally I eventually got some time to look at some of the problems I mentioned in a previous post regarding importing toolbars from MSO. I even made some progress closing some of those functionality gaps between MSO and Openoffice.org toolbars, specifically I have worked on extending the existing api to be able to:

  1. specify a menu on a custom toolbar
  2. allow the icon/text/icon+text settings to be applied per toolbar/menubar item ( in other words if specified these settings will override the toolbar/menubar setting )
  3. support persisting those settings in the configuration
  4. allow a tooltip to be specified for the toolbar item ( prior to these change the tooltip was generated from the ( label/command )

As such I have created this issue. Here are a couple of screen shots from the test document associated with the issue

  • The first image shows a menu on a custom toolbar
  • menu in custom toolbar
  • and the next image shows a toolbar with the default setting “icons only” notice a couple of toolbar items are set up to override the toolbar container setting to show just text or text+icon (note: all of the commands have associated icons ).
  • toolbar items overidding toolbar settings
  • Please feel free to vote for this issue.
  • Another gap I am attempting to fill relates to use of container controls with Openoffice.org dialogs, basically in Openoffice.org there are no dialog ready container controls beyond the dialog itself ( and that doesn’t support nesting those containers ). This causes alot of problems for userfom import. The MSO MultiPage & Frame controls are in my experience ( from observing usage patterns with customer document etc. ) used extensively. That aside, providing a Multipage control ( and additionally a Frame control ) would imo be a really useful improvement for Openoffice.org in general ( and of course would satisfy a personal need from the import point of view ). I started a couple of days ago to try and experiment with this, after getting to grips with some of the toolkit code the initial results seem promising.
  • New multipage control dialog control
  • multipage on openoffice dialog
  • and page2
  • view of second page
  • the source code to generate that
  • macro to manipulate new control(s)
  • Finally I had an interesting discussion recently about data-aware form controls recently in this thread I hope to open new cws(s) for the multipage and data-aware controls in dialogs soon. I will be giving a talk at OOoCon2009, don’t be suprised if there is some mention ( an maybe even demo ) of some of the above ;-)