>> I'm trying to add a command programmatically on startup with a Job addon to >> the "File" menu. I've tried a number of different things all without any >> luck so I was wondering if anyone has any ideas. I can create my own menus >> and toolbar icons without problems but haven't figured any hack to get >> things into the existing menus. > > This requires the new menu configuration API of OOo2.0. Thanks for the information, in reading the OOo 2.0 developer's guide I saw a lot of text on creating menus using addons so I focused on that. I'm going to see what I can find out about the menu configuration API.
If you have any places I should look please share. > >> I also want to create a toolbar which contains a list of dropdown items like >> the "Apply style" dropdown or similar but from a configuration file. I >> imagine given that I want to it to be dynamic with a job addon at each run I >> can't use an xcu file to do it but I haven't figured out how to do it from >> BASIC or java either. > > This is not possible ATM. We are planning to offer support for advanced > toolbar controls in the next versions. > I was afraid of that. I'm thinking of going out of my component and turning it into an installer so it could edit the XML files in OOo itself at install time but I really don't want to go that route. What would you recommend as the best supported UI modification to do the following. The toolbar dropdown I was planning is going to have a set of text labels used for marking paragraphs. It could have say 10-15 items in it which when selected by the user will mark the paragraph the user is currently working on. I put together some test code to actually mark the paragraph but the UI piece is what I'm trying to figure out. - Brian > Best regards, > Mathias --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
