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
c4da31d3
Kaydet (Commit)
c4da31d3
authored
Nis 18, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: fdo#63546 bundle both changes together as one undo
Change-Id: I2a9608339c372ccdeeca2ca0fd9499a4c527cff3
üst
7c3db8a6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
1 deletion
+19
-1
globstr.hrc
sc/inc/globstr.hrc
+4
-1
globstr.src
sc/source/ui/src/globstr.src
+8
-0
formatsh.cxx
sc/source/ui/view/formatsh.cxx
+7
-0
No files found.
sc/inc/globstr.hrc
Dosyayı görüntüle @
c4da31d3
...
...
@@ -678,7 +678,10 @@
#define STR_INVALIDINPUT 542
#define STR_INVALIDCONDITION 543
#define STR_COUNT 544
#define STR_UNDO_L2R 544
#define STR_UNDO_R2L 545
#define STR_COUNT 546
#endif
...
...
sc/source/ui/src/globstr.src
Dosyayı görüntüle @
c4da31d3
...
...
@@ -1815,6 +1815,14 @@ Resource RID_GLOBSTR
{
Text [ en-US ] = "Insert Current Time";
};
String STR_UNDO_L2R
{
Text [ en-US ] = "Left-to-right" ;
};
String STR_UNDO_R2L
{
Text [ en-US ] = "Right-to-left" ;
};
String STR_MANAGE_NAMES
{
Text [ en-US ] = "Manage Names...";
...
...
sc/source/ui/view/formatsh.cxx
Dosyayı görüntüle @
c4da31d3
...
...
@@ -2078,6 +2078,12 @@ void ScFormatShell::ExecuteTextDirection( SfxRequest& rReq )
{
SvxFrameDirection
eDirection
=
(
nSlot
==
SID_ATTR_PARA_LEFT_TO_RIGHT
)
?
FRMDIR_HORI_LEFT_TOP
:
FRMDIR_HORI_RIGHT_TOP
;
String
aUndo
=
ScGlobal
::
GetRscString
(
nSlot
==
SID_ATTR_PARA_LEFT_TO_RIGHT
?
STR_UNDO_L2R
:
STR_UNDO_R2L
);
ScDocShell
*
pDocSh
=
GetViewData
()
->
GetDocShell
();
pDocSh
->
GetUndoManager
()
->
EnterListAction
(
aUndo
,
aUndo
);
pTabViewShell
->
ApplyAttr
(
SvxFrameDirectionItem
(
eDirection
,
ATTR_WRITINGDIR
)
);
const
SfxItemSet
&
rAttrSet
=
pTabViewShell
->
GetSelectionPattern
()
->
GetItemSet
();
...
...
@@ -2102,6 +2108,7 @@ void ScFormatShell::ExecuteTextDirection( SfxRequest& rReq )
ExecuteSlot
(
rReq
,
GetInterface
()
);
}
pDocSh
->
GetUndoManager
()
->
LeaveListAction
();
}
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