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
4add062a
Kaydet (Commit)
4add062a
authored
Ara 08, 2013
tarafından
Faisal M. Al-Otaibi
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
docx: fdo#44029 export the right alignment when locale are RTL.
Change-Id: I771eb0d0a90816f0c4cbd66cfcb755f67455bb9b
üst
c6fe5c6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
wrtw8nds.cxx
sw/source/filter/ww8/wrtw8nds.cxx
+13
-2
No files found.
sw/source/filter/ww8/wrtw8nds.cxx
Dosyayı görüntüle @
4add062a
...
...
@@ -25,6 +25,7 @@
#include <functional>
#include <iostream>
#include <i18nlangtag/mslangid.hxx>
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <tools/urlobj.hxx>
...
...
@@ -1291,11 +1292,21 @@ short MSWordExportBase::GetDefaultFrameDirection( ) const
nDir
=
pDoc
->
GetTextDirection
(
aPos
);
}
else
if
(
pOutFmtNode
->
ISA
(
SwTxtFmtColl
)
)
nDir
=
FRMDIR_HORI_LEFT_TOP
;
//what else can we do :-(
{
if
(
MsLangId
::
isRightToLeft
(
static_cast
<
LanguageType
>
(
GetAppLanguage
()))
)
nDir
=
FRMDIR_HORI_RIGHT_TOP
;
else
nDir
=
FRMDIR_HORI_LEFT_TOP
;
//what else can we do :-(
}
}
if
(
nDir
==
FRMDIR_ENVIRONMENT
)
nDir
=
FRMDIR_HORI_LEFT_TOP
;
//Set something
{
if
(
MsLangId
::
isRightToLeft
(
static_cast
<
LanguageType
>
(
GetAppLanguage
()))
)
nDir
=
FRMDIR_HORI_RIGHT_TOP
;
else
nDir
=
FRMDIR_HORI_LEFT_TOP
;
//Set something
}
return
nDir
;
}
...
...
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