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
b99e3c5c
Kaydet (Commit)
b99e3c5c
authored
Agu 18, 2014
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
InfoBox MSG_WRONG_TABLENAME and MSG_ERR_TABLE_MERGE to String
Change-Id: I36fc0ed4f67c0af467a8dc593950a9c53a5ec53b
üst
d18c5771
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
table.src
sw/source/ui/table/table.src
+2
-2
tabledlg.cxx
sw/source/ui/table/tabledlg.cxx
+2
-1
tabledlg.src
sw/source/ui/table/tabledlg.src
+2
-2
table.hrc
sw/source/uibase/inc/table.hrc
+3
-3
tabsh.cxx
sw/source/uibase/shells/tabsh.cxx
+3
-2
No files found.
sw/source/ui/table/table.src
Dosyayı görüntüle @
b99e3c5c
...
...
@@ -18,9 +18,9 @@
*/
#include "table.hrc"
InfoBox MSG
_ERR_TABLE_MERGE
String STR
_ERR_TABLE_MERGE
{
Message
[ en-US ] = "Selected table cells are too complex to merge." ;
Text
[ en-US ] = "Selected table cells are too complex to merge." ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/source/ui/table/tabledlg.cxx
Dosyayı görüntüle @
b99e3c5c
...
...
@@ -19,6 +19,7 @@
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <svl/stritem.hxx>
#include <svl/intitem.hxx>
...
...
@@ -601,7 +602,7 @@ int SwFormatTablePage::DeactivatePage( SfxItemSet* _pSet )
OUString
sTblName
=
m_pNameED
->
GetText
();
if
(
sTblName
.
indexOf
(
' '
)
!=
-
1
)
{
InfoBox
(
this
,
SW_RES
(
MSG_WRONG_TABLENAME
)
).
Execute
();
MessageDialog
(
this
,
SW_RES
(
STR_WRONG_TABLENAME
),
VCL_MESSAGE_INFO
).
Execute
();
m_pNameED
->
GrabFocus
();
return
KEEP_PAGE
;
}
...
...
sw/source/ui/table/tabledlg.src
Dosyayı görüntüle @
b99e3c5c
...
...
@@ -19,9 +19,9 @@
#include "table.hrc"
InfoBox MSG
_WRONG_TABLENAME
String STR
_WRONG_TABLENAME
{
Message
[ en-US ] = "The name of the table must not contain spaces." ;
Text
[ en-US ] = "The name of the table must not contain spaces." ;
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/source/uibase/inc/table.hrc
Dosyayı görüntüle @
b99e3c5c
...
...
@@ -21,11 +21,11 @@
#define DLG_ROW_HEIGHT (RC_TABLE_BEGIN + 4)
#define
MSG
_ERR_TABLE_MERGE (RC_TABLE_BEGIN + 7)
#define
STR
_ERR_TABLE_MERGE (RC_TABLE_BEGIN + 7)
#define
MSG
_WRONG_TABLENAME (RC_TABLE_BEGIN + 13)
#define
STR
_WRONG_TABLENAME (RC_TABLE_BEGIN + 13)
#define TABLE_ACT_END
MSG
_WRONG_TABLENAME
#define TABLE_ACT_END
STR
_WRONG_TABLENAME
#if TABLE_ACT_END > RC_TABLE_END
#error Resource-Id Ueberlauf in #file, #line
...
...
sw/source/uibase/shells/tabsh.cxx
Dosyayı görüntüle @
b99e3c5c
...
...
@@ -40,6 +40,7 @@
#include <svx/svxdlg.hxx>
#include <svl/zformat.hxx>
#include <sfx2/bindings.hxx>
#include <vcl/layout.hxx>
#include <vcl/msgbox.hxx>
#include <sfx2/request.hxx>
#include <sfx2/dispatch.hxx>
...
...
@@ -734,8 +735,8 @@ void SwTableShell::Execute(SfxRequest &rReq)
break
;
case
TBLMERGE_TOOCOMPLEX
:
{
InfoBox
aInfoBox
(
GetView
().
GetWindow
(),
SW_RES
(
MSG_ERR_TABLE_MERGE
)
);
MessageDialog
aInfoBox
(
GetView
().
GetWindow
(),
SW_RES
(
STR_ERR_TABLE_MERGE
),
VCL_MESSAGE_INFO
);
aInfoBox
.
Execute
();
break
;
}
...
...
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