Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8a664fd8
Kaydet (Commit)
8a664fd8
authored
Ara 18, 2015
tarafından
Maxim Monastirsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#93837 Convert RID_POPUP_TAB to xml
Change-Id: Ia05fb0a568c29d7990a8a837e1df953358acfa1f
üst
3b685bff
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
55 additions
and
149 deletions
+55
-149
CalcCommands.xcu
...g/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
+6
-0
CalcWindowState.xcu
...egistry/data/org/openoffice/Office/UI/CalcWindowState.xcu
+5
-0
AllLangResTarget_sc.mk
sc/AllLangResTarget_sc.mk
+0
-1
UIConfig_scalc.mk
sc/UIConfig_scalc.mk
+1
-0
sc.hrc
sc/inc/sc.hrc
+11
-12
sccommands.h
sc/inc/sccommands.h
+0
-12
popup.src
sc/source/ui/src/popup.src
+0
-123
tabcont.cxx
sc/source/ui/view/tabcont.cxx
+1
-1
sheettab.xml
sc/uiconfig/scalc/popupmenu/sheettab.xml
+31
-0
No files found.
officecfg/registry/data/org/openoffice/Office/UI/CalcCommands.xcu
Dosyayı görüntüle @
8a664fd8
...
...
@@ -1602,6 +1602,9 @@
<prop
oor:name=
"Label"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
Sheet ~Tab Color...
</value>
</prop>
<prop
oor:name=
"PopupLabel"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
~Tab Color...
</value>
</prop>
</node>
<node
oor:name=
".uno:TabBgColor"
oor:op=
"replace"
>
<prop
oor:name=
"Label"
oor:type=
"xs:string"
>
...
...
@@ -1826,6 +1829,9 @@
<prop
oor:name=
"ContextLabel"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
R~ight-To-Left
</value>
</prop>
<prop
oor:name=
"PopupLabel"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
Sheet R~ight-To-Left
</value>
</prop>
</node>
<node
oor:name=
".uno:SetAnchorToPage"
oor:op=
"replace"
>
<prop
oor:name=
"Label"
oor:type=
"xs:string"
>
...
...
officecfg/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu
Dosyayı görüntüle @
8a664fd8
...
...
@@ -85,6 +85,11 @@
<value
xml:lang=
"en-US"
>
Print Preview
</value>
</prop>
</node>
<node
oor:name=
"private:resource/popupmenu/sheettab"
oor:op=
"replace"
>
<prop
oor:name=
"UIName"
oor:type=
"xs:string"
>
<value
xml:lang=
"en-US"
>
Sheet Tabs Bar
</value>
</prop>
</node>
<node
oor:name=
"private:resource/toolbar/graffilterbar"
oor:op=
"replace"
>
<prop
oor:name=
"Docked"
oor:type=
"xs:boolean"
>
<value>
false
</value>
...
...
sc/AllLangResTarget_sc.mk
Dosyayı görüntüle @
8a664fd8
...
...
@@ -33,7 +33,6 @@ $(eval $(call gb_SrsTarget_set_include,sc/res,\
))
$(eval $(call gb_SrsTarget_add_files,sc/res,\
sc/source/ui/src/popup.src \
sc/source/ui/src/globstr.src \
sc/source/ui/src/toolbox.src \
sc/source/ui/src/scfuncs.src \
...
...
sc/UIConfig_scalc.mk
Dosyayı görüntüle @
8a664fd8
...
...
@@ -33,6 +33,7 @@ $(eval $(call gb_UIConfig_add_popupmenufiles,modules/scalc,\
sc/uiconfig/scalc/popupmenu/pagebreak \
sc/uiconfig/scalc/popupmenu/pivot \
sc/uiconfig/scalc/popupmenu/preview \
sc/uiconfig/scalc/popupmenu/sheettab \
))
$(eval $(call gb_UIConfig_add_statusbarfiles,modules/scalc,\
...
...
sc/inc/sc.hrc
Dosyayı görüntüle @
8a664fd8
...
...
@@ -411,18 +411,17 @@
#define DATA_MENU_END (DATA_MENU_START + 29)
#define TAB_POPUP_START (DATA_MENU_END)
#define RID_POPUP_TAB (TAB_POPUP_START)
#define FID_TAB_MENU_RENAME (TAB_POPUP_START+1)
#define FID_TAB_RENAME (TAB_POPUP_START+2)
#define FID_TAB_MOVE (TAB_POPUP_START+3)
#define FID_TAB_SELECTALL (TAB_POPUP_START+4)
#define FID_TAB_APPEND (TAB_POPUP_START+5)
#define FID_TAB_INDEX (TAB_POPUP_START+6)
#define FID_TAB_RTL (TAB_POPUP_START+7)
#define FID_TAB_DESELECTALL (TAB_POPUP_START+8)
#define FID_TAB_MENU_SET_TAB_BG_COLOR (TAB_POPUP_START + 9)
#define FID_TAB_SET_TAB_BG_COLOR (TAB_POPUP_START + 10)
#define FID_TAB_EVENTS (TAB_POPUP_START+11)
#define FID_TAB_MENU_RENAME (TAB_POPUP_START)
#define FID_TAB_RENAME (TAB_POPUP_START+1)
#define FID_TAB_MOVE (TAB_POPUP_START+2)
#define FID_TAB_SELECTALL (TAB_POPUP_START+3)
#define FID_TAB_APPEND (TAB_POPUP_START+4)
#define FID_TAB_INDEX (TAB_POPUP_START+5)
#define FID_TAB_RTL (TAB_POPUP_START+6)
#define FID_TAB_DESELECTALL (TAB_POPUP_START+7)
#define FID_TAB_MENU_SET_TAB_BG_COLOR (TAB_POPUP_START + 8)
#define FID_TAB_SET_TAB_BG_COLOR (TAB_POPUP_START + 9)
#define FID_TAB_EVENTS (TAB_POPUP_START+10)
#define TAB_POPUP_END (TAB_POPUP_START + 20)
...
...
sc/inc/sccommands.h
Dosyayı görüntüle @
8a664fd8
...
...
@@ -24,10 +24,8 @@
#define CMD_SID_DEL_COLS ".uno:DeleteColumns"
#define CMD_SID_DEL_ROWS ".uno:DeleteRows"
#define CMD_FID_CELL_FORMAT ".uno:FormatCellDialog"
#define CMD_FID_TABLE_HIDE ".uno:Hide"
#define CMD_FID_COL_HIDE ".uno:HideColumn"
#define CMD_FID_ROW_HIDE ".uno:HideRow"
#define CMD_FID_INS_TABLE ".uno:Insert"
#define CMD_FID_INS_COLUMNS_AFTER ".uno:InsertColumnsAfter"
#define CMD_FID_INS_COLUMN ".uno:InsertColumns"
#define CMD_FID_INS_COLUMNS_BEFORE ".uno:InsertColumnsBefore"
...
...
@@ -35,22 +33,12 @@
#define CMD_FID_INS_ROW ".uno:InsertRows"
#define CMD_FID_INS_ROWS_BEFORE ".uno:InsertRowsBefore"
#define CMD_SID_OBJECT_MIRROR ".uno:Mirror"
#define CMD_FID_TAB_MOVE ".uno:Move"
#define CMD_FID_PROTECT_TABLE ".uno:Protect"
#define CMD_FID_DELETE_TABLE ".uno:Remove"
#define CMD_FID_ROW_HEIGHT ".uno:RowHeight"
#define CMD_FID_COL_OPT_WIDTH ".uno:SetOptimalColumnWidth"
#define CMD_FID_ROW_OPT_HEIGHT ".uno:SetOptimalRowHeight"
#define CMD_FID_TABLE_SHOW ".uno:Show"
#define CMD_FID_COL_SHOW ".uno:ShowColumn"
#define CMD_FID_ROW_SHOW ".uno:ShowRow"
#define CMD_FID_TAB_MENU_RENAME ".uno:RenameTable"
#define CMD_FID_TAB_SELECTALL ".uno:TableSelectAll"
#define CMD_FID_TAB_DESELECTALL ".uno:TableDeselectAll"
#define CMD_SID_ULINE_VAL_DOUBLE ".uno:UnderlineDouble"
#define CMD_FID_TAB_RTL ".uno:SheetRightToLeft"
#define CMD_FID_TAB_EVENTS ".uno:TableEvents"
#define CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ".uno:SetTabBgColor"
#define CMD_FID_TAB_SET_TAB_BG_COLOR ".uno:TabBgColor"
#endif
...
...
sc/source/ui/src/popup.src
deleted
100644 → 0
Dosyayı görüntüle @
3b685bff
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "sc.hrc"
#include <svx/globlmn.hrc>
// Popup-Menues ----------------------------------------------------------------
String RID_POPUP_TAB
{
Text [ en-US ] = "Sheet bar pop-up menu" ;
};
Menu RID_POPUP_TAB
{
ItemList =
{
MenuItem
{
Identifier = FID_INS_TABLE ;
HelpId = CMD_FID_INS_TABLE ;
Text [ en-US ] = "~Insert Sheet..." ;
};
MenuItem
{
Identifier = FID_DELETE_TABLE ;
HelpId = CMD_FID_DELETE_TABLE ;
Text [ en-US ] = "~Delete Sheet..." ;
};
MenuItem
{
Identifier = FID_TAB_MENU_RENAME ;
HelpId = CMD_FID_TAB_MENU_RENAME ;
Text [ en-US ] = "~Rename Sheet..." ;
};
MenuItem
{
Identifier = FID_TAB_MOVE ;
HelpId = CMD_FID_TAB_MOVE ;
Text [ en-US ] = "~Move/Copy Sheet..." ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_TAB_MENU_SET_TAB_BG_COLOR ;
HelpId = CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ;
Text [ en-US ] = "~Tab Color..." ;
};
MenuItem
{
Identifier = FID_PROTECT_TABLE ;
HelpId = CMD_FID_PROTECT_TABLE ;
Text [ en-US ] = "~Protect Sheet..." ;
};
MenuItem
{
Identifier = FID_TAB_TOGGLE_GRID ;
Text [ en-US ] = "Sheet ~Gridlines" ;
};
MenuItem
{
Identifier = FID_TAB_RTL ;
HelpId = CMD_FID_TAB_RTL ;
Text [ en-US ] = "S~heet Right-To-Left" ;
};
MenuItem
{
Identifier = FID_TAB_EVENTS ;
HelpId = CMD_FID_TAB_EVENTS ;
Text [ en-US ] = "Sheet E~vents..." ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_TABLE_HIDE ;
HelpId = CMD_FID_TABLE_HIDE ;
Text [ en-US ] = "~Hide" ;
};
MenuItem
{
Identifier = FID_TABLE_SHOW ;
HelpId = CMD_FID_TABLE_SHOW ;
Text [ en-US ] = "~Show..." ;
};
MenuItem { Separator = TRUE ; };
MenuItem
{
Identifier = FID_TAB_SELECTALL ;
HelpId = CMD_FID_TAB_SELECTALL ;
Text [ en-US ] = "Select All S~heets" ;
};
MenuItem
{
Identifier = FID_TAB_DESELECTALL ;
HelpId = CMD_FID_TAB_DESELECTALL ;
Text [ en-US ] = "D~eselect All Sheets" ;
};
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sc/source/ui/view/tabcont.cxx
Dosyayı görüntüle @
8a664fd8
...
...
@@ -430,7 +430,7 @@ void ScTabControl::Command( const CommandEvent& rCEvt )
// Popup-Menu:
// get Dispatcher from ViewData (ViewFrame) instead of Shell (Frame), so it can't be null
pViewData
->
GetDispatcher
().
ExecutePopup
(
ScResId
(
RID_POPUP_TAB
)
);
pViewData
->
GetDispatcher
().
ExecutePopup
(
"sheettab"
);
}
}
...
...
sc/uiconfig/scalc/popupmenu/sheettab.xml
0 → 100644
Dosyayı görüntüle @
8a664fd8
<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->
<menu:menupopup
xmlns:menu=
"http://openoffice.org/2001/menu"
>
<menu:menuitem
menu:id=
".uno:Cut"
/>
<menu:menuitem
menu:id=
".uno:Copy"
/>
<menu:menuitem
menu:id=
".uno:Paste"
/>
<menu:menuseparator/>
<menu:menuitem
menu:id=
".uno:Insert"
/>
<menu:menuitem
menu:id=
".uno:Remove"
/>
<menu:menuitem
menu:id=
".uno:RenameTable"
/>
<menu:menuitem
menu:id=
".uno:Move"
/>
<menu:menuseparator/>
<menu:menuitem
menu:id=
".uno:SetTabBgColor"
/>
<menu:menuitem
menu:id=
".uno:Protect"
/>
<menu:menuitem
menu:id=
".uno:ToggleSheetGrid"
/>
<menu:menuitem
menu:id=
".uno:SheetRightToLeft"
/>
<menu:menuitem
menu:id=
".uno:TableEvents"
/>
<menu:menuseparator/>
<menu:menuitem
menu:id=
".uno:Hide"
/>
<menu:menuitem
menu:id=
".uno:Show"
/>
<menu:menuseparator/>
<menu:menuitem
menu:id=
".uno:TableSelectAll"
/>
<menu:menuitem
menu:id=
".uno:TableDeselectAll"
/>
</menu:menupopup>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment