Re: Adding Items to a Sub-Menu
Oliver Brinzing <[email protected]> Wed, 15 Jun 2011 20:10:27 +0200
| Newsgroups | gmane.comp.openoffice.devel.api |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2CCF510004B1AB291FDBFD04 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Hal, >From what I remember, to add things to a sub menu, I have to do that by = hand. =20 > Am I wrong? Is there a way, using OO Basic to add items to a sub menu?= i just found an example: Programmatically adding to existing Menus http://www.oooforum.org/forum/viewtopic.phtml?p=3D102127 to make it run i had to change the "sMyCommand" > The hard part is I only want those sub-menu items available when that d= ocument window is selected. mh, don't know, the example will add an entry to all spreadsheets ... Regards Oliver --=20 GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 --------------enig2CCF510004B1AB291FDBFD04 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk349ZcACgkQTiyrQM/QSkX2wACgsNOPm6eiR41mMN6+j+BmzPLE UecAoMG2k9vtp2ZUNHRk7ZtpD4ceBsZg =EvXY -----END PGP SIGNATURE----- --------------enig2CCF510004B1AB291FDBFD04--