Kaydet (Commit) 031166e4 authored tarafından Ursache Vladimir's avatar Ursache Vladimir Kaydeden (comit) Noel Grandin

Document SfxItemState

Change-Id: I7cb0b7977b221438e4359c5c96c174f7401f9857
Reviewed-on: https://gerrit.libreoffice.org/14496Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 92dae379
...@@ -119,15 +119,38 @@ enum SfxItemPresentation ...@@ -119,15 +119,38 @@ enum SfxItemPresentation
SFX_ITEM_PRESENTATION_COMPLETE SFX_ITEM_PRESENTATION_COMPLETE
}; };
/**
* These values have to match the values in the
* com::sun::star::frame::status::ItemState IDL
* to be found at offapi/com/sun/star/frame/status/ItemState.idl
*/
enum class SfxItemState { enum class SfxItemState {
// These values have to match the values in the com::sun::star::frame::status::ItemState IDL
/** Specifies an unknown state. */
UNKNOWN = 0, UNKNOWN = 0,
/** Specifies that the property is currently disabled. */
DISABLED = 0x0001, DISABLED = 0x0001,
/** Specifies that the property is currently read-only. */
READONLY = 0x0002, READONLY = 0x0002,
/** Specifies that the property is currently in a don't care state.
* <br/>
* This is normally used if a selection provides more than one state
* for a property at the same time.
*/
DONTCARE = 0x0010, DONTCARE = 0x0010,
/** Specifies that the property is currently in a default state. */
DEFAULT = 0x0020, DEFAULT = 0x0020,
/** The property has been explicitly set to a given value hence we know
* we are not taking the default value.
* <br/>
* For example, you may want to get the font color and it might either
* be the default one or one that has been explicitly set.
*/
SET = 0x0030 SET = 0x0030
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment