diff options
-rw-r--r-- | sc/inc/sc.hrc | 5 | ||||
-rw-r--r-- | sc/sdi/cellsh.sdi | 1 | ||||
-rw-r--r-- | sc/sdi/scalc.sdi | 26 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 4 |
4 files changed, 34 insertions, 2 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc index c18cbcdc1d5e..6fbe3f0d3f7d 100644 --- a/sc/inc/sc.hrc +++ b/sc/inc/sc.hrc @@ -658,8 +658,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) // resources diff --git a/sc/sdi/cellsh.sdi b/sc/sdi/cellsh.sdi index 4f9fe32f9f60..b889801354e0 100644 --- a/sc/sdi/cellsh.sdi +++ b/sc/sdi/cellsh.sdi @@ -87,6 +87,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; ] diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index 8945ecbefa6e..c9999fe42130 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -3495,6 +3495,32 @@ SfxVoidItem Hyphenate SID_ENABLE_HYPHENATION ] //-------------------------------------------------------------------------- + +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 () [ diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index 81c58f6a6401..58308387de98 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -357,6 +357,10 @@ void ScCellShell::Execute( SfxRequest& rReq ) pTabViewShell->ExecuteCellFormatDlg(rReq, "alignment"); break; + case SID_PROPERTY_PANEL_CELLTEXT_DLG: + pTabViewShell->ExecuteCellFormatDlg( rReq, "font" ); + break; + case SID_CELL_FORMAT_BORDER: pTabViewShell->ExecuteCellFormatDlg( rReq, "borders" ); break; |