summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2013-04-25 13:01:39 +0000
committerOliver-Rainer Wittmann <orw@apache.org>2013-04-25 13:01:39 +0000
commit2ec379f0bc8af50ead792677b1f69c61d6903cf3 (patch)
tree6525b344207bded60894b6372d74a654c2cc17b8
parentc4a3b967b0ba367b219ac181fe2ed24a64e3c224 (diff)
122141: introduce missing Slot for opening Character Font dialog for Text property panel in Calc
Notes
-rw-r--r--sc/inc/sc.hrc5
-rw-r--r--sc/sdi/cellsh.sdi1
-rw-r--r--sc/sdi/scalc.sdi26
-rw-r--r--sc/source/ui/view/cellsh3.cxx4
4 files changed, 34 insertions, 2 deletions
diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index 53dd8271eeef..0eeaa903a494 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -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 -------------------------------------------------------------
diff --git a/sc/sdi/cellsh.sdi b/sc/sdi/cellsh.sdi
index 7c18762b9f3f..916c7e7fc8cb 100644
--- a/sc/sdi/cellsh.sdi
+++ b/sc/sdi/cellsh.sdi
@@ -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; ]
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi
index 9d04eafdb108..317e36dfe4cd 100644
--- a/sc/sdi/scalc.sdi
+++ b/sc/sdi/scalc.sdi
@@ -3302,6 +3302,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 208cfe7b9aa0..b930981e8c13 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -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;