Hi all
referenced as heasyhack
please find a patch that adds a Split Cells menu entry in the calc popup
menu
please note that i left the ~ accelarator undefined
HTH
Laurent
From c25ded4ef8f9ea3d6598d4bda5b4927f5da66e40 Mon Sep 17 00:00:00 2001
From: Laurent Godard <lgodard.libre@laposte.net>
Date: Wed, 28 Nov 2012 17:18:27 +0100
Subject: [PATCH] fdo#49704 add split cells menu entry in calc popup
Change-Id: Ia4f80cba29f30d4c684de6f78d8831513afa445c
---
sc/inc/sccommands.h | 1 +
sc/source/ui/src/popup.src | 6 ++++++
2 files changed, 7 insertions(+)
diff --git a/sc/inc/sccommands.h b/sc/inc/sccommands.h
index 1350c0c..be8f411 100644
--- a/sc/inc/sccommands.h
+++ b/sc/inc/sccommands.h
@@ -61,6 +61,7 @@
#define CMD_FID_INS_ROWBRK ".uno:InsertRowBreak"
#define CMD_FID_INS_ROW ".uno:InsertRows"
#define CMD_FID_MERGE_ON ".uno:MergeCells"
+#define CMD_FID_MERGE_OFF ".uno:SplitCell"
#define CMD_SID_OBJECT_MIRROR ".uno:Mirror"
#define CMD_FID_TAB_MOVE ".uno:Move"
#define CMD_SID_PREVIEW_NEXT ".uno:NextPage"
diff --git a/sc/source/ui/src/popup.src b/sc/source/ui/src/popup.src
index f0f85f1..2b17e8e 100644
--- a/sc/source/ui/src/popup.src
+++ b/sc/source/ui/src/popup.src
@@ -82,6 +82,12 @@ Menu RID_POPUP_CELLS
HelpId = CMD_FID_MERGE_ON ;
Text [ en-US ] = "~Merge Cells..." ;
};
+ MenuItem
+ {
+ Identifier = FID_MERGE_OFF ;
+ HelpId = CMD_FID_MERGE_OFF ;
+ Text [ en-US ] = "Split Cells..." ;
+ };
//------------------------------
MenuItem { Separator = TRUE ; };
//------------------------------
--
1.7.10.4
Context
- [PATCH] fdo#49704 Split Cells in calc popup menu · Laurent Godard
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.