Methods' Details |
isInExecute
|
endExecute
|
setLogo
|
getLogo
|
enableAutoMnemonics
void |
enableAutoMnemonics( |
[in] boolean |
bEnable ); |
- Description
- specifies whether mnemonics are automatically assigned to menu items, or not.
- Parameter bEnable
- if true, mnemonics are automatically assigned to menu items.
|
|
setAcceleratorKeyEvent
- Description
- sets the KeyEvent for the menu item.
The KeyEvent is only used as a container to transport
the shortcut information, this methods only draws the text corresponding to
this keyboard shortcut. The client code is responsible for listening to
keyboard events (typicaly done via XUserInputInterception),
and dispatch the respective command.
- Parameter nItemId
- specifies the menu item identifier for which the KeyEvent should be set.
- Parameter aKeyEvent
- specifies the KeyEvent for the menu item.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
getAcceleratorKeyEvent
- Description
- retrieves the KeyEvent for the menu item.
The KeyEvent is only used as a container to transport
the shortcut information, so that in this case
::com::sun::star::lang::EventObject::Source is NULL.
- Parameter nItemId
- specifies the menu item identifier for which the KeyEvent should be retrieved.
- Returns
- the KeyEvent struct assigned to the requested menu item.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
setHelpText
- Description
- sets the help text for the menu item.
- Parameter nItemId
- specifies the menu item identifier for which the help text should be set.
- Parameter sHelpText
- specifies the help text for the menu item.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
getHelpText
- Description
- retrieves the help text for the menu item.
- Parameter nItemId
- specifies the menu item identifier for which the help text should be retrieved.
- Returns
- a string with the help text.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
setTipHelpText
- Description
- sets the tip help text for the menu item.
- Parameter nItemId
- specifies the menu item identifier for which the tip help text should be set.
- Parameter sTipHelpText
- specifies the tip help text for the menu item.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
getTipHelpText
- Description
- retrieves the tip help text for the menu item.
- Parameter nItemId
- specifies the menu item identifier for which the tip help text should be retrieved.
- Returns
- a string with the tip help text.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
setItemImage
- Description
- sets the image for the menu item.
- Parameter nItemId
- specifies the menu item identifier for which the image should be set.
- Parameter xGraphic
- specifies the image for the menu item.
- Parameter bScale
- if true, the image will be scaled to the standard size used internally by
the implementation.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
getItemImage
- Description
- retrieves the image for the menu item.
- Parameter nItemId
- specifies the menu item identifier for which the image should be retrieved.
- Returns
- a ::com::sun::star::graphic::XGraphic reference
to the current image for the requested menu item.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
setItemImageAngle
- Description
- sets the rotation angle of a menu item image.
- Parameter nItemId
- specifies the menu item identifier for which the image angle should be set.
- Parameter nAngle
- specifies the rotation angle for the menu item image.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
getItemImageAngle
- Description
- retrieves the rotation angle of a menu item image.
- Parameter nItemId
- specifies the menu item identifier for which the rotation angle should be retrieved.
- Returns
- the rotation angle of the menu item image, or 0 if it has no rotation.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
setItemImageMirrorMode
- Description
- sets the mirror mode of a menu item image.
- Parameter nItemId
- specifies the menu item identifier for which the mirror mode should be set.
- Parameter bMirror
- if true, the item image is mirrored.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
isItemImageInMirrorMode
- Description
- indicates whether the menu item image is mirrored.
- Parameter nItemId
- specifies the menu item identifier for which the image mirror mode should be checked.
- Returns
- true if the item image is mirrored, false otherwise.
- Throws
- ::com::sun::star::container::NoSuchElementException
if there is no menu item with the identifier specified in nItemId.
- Since
- OOo 3.1
|
|
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.