diff options
author | Noel Power <noel.power@novell.com> | 2011-12-05 09:56:17 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2011-12-05 09:57:12 +0000 |
commit | 9cff030fa15f89fa1009fbb3827ab11c43c20b04 (patch) | |
tree | 7a2cc323b2df30d253b8911d25aeaadd78c9d6cb /svx | |
parent | c2f62c8cb30975e3cd46c4800e738f3f010ecb3e (diff) |
add some form control support for basic dialogs
Diffstat (limited to 'svx')
-rwxr-xr-x | svx/inc/svx/svxids.hrc | 9 | ||||
-rwxr-xr-x | svx/sdi/svx.sdi | 190 |
2 files changed, 198 insertions, 1 deletions
diff --git a/svx/inc/svx/svxids.hrc b/svx/inc/svx/svxids.hrc index 5dad09bca2dc..033ffca74391 100755 --- a/svx/inc/svx/svxids.hrc +++ b/svx/inc/svx/svxids.hrc @@ -1260,9 +1260,16 @@ #define SID_TRANSLITERATE_TITLE_CASE (SID_SVX_START+1103) #define SID_TRANSLITERATE_TOGGLE_CASE (SID_SVX_START+1104) #define SID_TRANSLITERATE_ROTATE_CASE (SID_SVX_START+1105) +#define SID_INSERT_RADIO (SID_SVX_START+1106) +#define SID_INSERT_CHECK (SID_SVX_START+1107) +#define SID_INSERT_LIST (SID_SVX_START+1108) +#define SID_INSERT_COMBO (SID_SVX_START+1109) +#define SID_INSERT_SPIN (SID_SVX_START+1110) +#define SID_INSERT_VSCROLL (SID_SVX_START+1111) +#define SID_INSERT_HSCROLL (SID_SVX_START+1112) // IMPORTANT NOTE: adjust SID_SVX_FIRSTFREE, when adding new slot id -#define SID_SVX_FIRSTFREE (SID_TRANSLITERATE_ROTATE_CASE + 1) +#define SID_SVX_FIRSTFREE (SID_INSERT_HSCROLL + 1) // -------------------------------------------------------------------------- // Overflow check for slot IDs diff --git a/svx/sdi/svx.sdi b/svx/sdi/svx.sdi index 1775fa2220fb..5bfb674a5255 100755 --- a/svx/sdi/svx.sdi +++ b/svx/sdi/svx.sdi @@ -8612,6 +8612,196 @@ SfxBoolItem InsertPushbutton SID_INSERT_PUSHBUTTON ] //-------------------------------------------------------------------------- + +SfxBoolItem InsertFormRadio SID_INSERT_RADIO + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_CONTROLS; +] + +//-------------------------------------------------------------------------- +SfxBoolItem InsertFormCheck SID_INSERT_CHECK + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_CONTROLS; +] + +//-------------------------------------------------------------------------- +SfxBoolItem InsertFormList SID_INSERT_LIST + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_CONTROLS; +] + +//-------------------------------------------------------------------------- +SfxBoolItem InsertFormCombo SID_INSERT_COMBO + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_CONTROLS; +] +//-------------------------------------------------------------------------- +SfxBoolItem InsertFormSpin SID_INSERT_SPIN + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_CONTROLS; +] + +//-------------------------------------------------------------------------- +SfxBoolItem InsertFormVScroll SID_INSERT_VSCROLL + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_CONTROLS; +] + +//-------------------------------------------------------------------------- + +SfxBoolItem InsertFormHScroll SID_INSERT_HSCROLL + +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = FALSE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerItem; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_CONTROLS; +] + +//-------------------------------------------------------------------------- SfxBoolItem Radiobutton SID_INSERT_RADIOBUTTON [ |