Kaydet (Commit) 2ec379f0 authored tarafından Oliver-Rainer Wittmann's avatar Oliver-Rainer Wittmann

122141: introduce missing Slot for opening Character Font dialog for Text property panel in Calc

üst c4a3b967
......@@ -756,8 +756,9 @@
// Sidebar -------------------------------------------------------------
#define SID_SCGRIDSHOW (SC_SIDEBAR_PROPERTY_BEGIN+1)
#define SID_NUMBER_TYPE_FORMAT (SC_SIDEBAR_PROPERTY_BEGIN+2)
#define SID_PROPERTY_PANEL_CELLTEXT_DLG (SC_SIDEBAR_PROPERTY_BEGIN+0)
#define SID_SCGRIDSHOW (SC_SIDEBAR_PROPERTY_BEGIN+1)
#define SID_NUMBER_TYPE_FORMAT (SC_SIDEBAR_PROPERTY_BEGIN+2)
// Resourcen -------------------------------------------------------------
......
......@@ -89,6 +89,7 @@ interface CellSelection
SID_SELECT_SCENARIO [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
FID_CELL_FORMAT [ ExecMethod = Execute; StateMethod = GetBlockState; ]
SID_ENABLE_HYPHENATION [ ExecMethod = Execute; StateMethod = GetBlockState; ]
SID_PROPERTY_PANEL_CELLTEXT_DLG [ ExecMethod = Execute;]
SID_CELL_FORMAT_BORDER [ ExecMethod = Execute; ]
SID_CHAR_DLG_EFFECT [ ExecMethod = Execute; ]
FID_ROW_HEIGHT [ ExecMethod = Execute; StateMethod = GetState; ]
......
......@@ -3301,6 +3301,32 @@ SfxVoidItem Hyphenate SID_ENABLE_HYPHENATION
GroupId = GID_OPTIONS;
]
//--------------------------------------------------------------------------
SfxVoidItem CellTextDlg SID_PROPERTY_PANEL_CELLTEXT_DLG
()
[
/* flags: */
AutoUpdate = FALSE,
Cachable = Cachable,
FastCall = FALSE,
HasCoreId = FALSE,
HasDialog = TRUE,
ReadOnlyDoc = FALSE,
Toggle = FALSE,
Container = FALSE,
RecordAbsolute = FALSE,
RecordPerSet;
Asynchron;
/* config: */
AccelConfig = FALSE,
MenuConfig = FALSE,
StatusBarConfig = FALSE,
ToolBoxConfig = FALSE,
GroupId = GID_OPTIONS;
]
//--------------------------------------------------------------------------
SfxVoidItem InputLineBlock FID_INPUTLINE_BLOCK
()
......
......@@ -360,6 +360,10 @@ void ScCellShell::Execute( SfxRequest& rReq )
pTabViewShell->ExecuteCellFormatDlg( rReq, TP_ALIGNMENT );
break;
case SID_PROPERTY_PANEL_CELLTEXT_DLG:
pTabViewShell->ExecuteCellFormatDlg( rReq, TP_FONT );
break;
case SID_CELL_FORMAT_BORDER:
pTabViewShell->ExecuteCellFormatDlg( rReq, TP_BORDER );
break;
......
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