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
dac6b793
Kaydet (Commit)
dac6b793
authored
Mar 16, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#43965 fix RTF import of \up and \dn with custom parameters
üst
bb34b737
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
10 deletions
+3
-10
rtfdocumentimpl.cxx
writerfilter/source/rtftok/rtfdocumentimpl.cxx
+3
-10
No files found.
writerfilter/source/rtftok/rtfdocumentimpl.cxx
Dosyayı görüntüle @
dac6b793
...
@@ -2252,18 +2252,11 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
...
@@ -2252,18 +2252,11 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
m_aStates
.
top
().
aCharacterSprms
->
push_back
(
make_pair
(
0x6877
,
pValue
));
m_aStates
.
top
().
aCharacterSprms
->
push_back
(
make_pair
(
0x6877
,
pValue
));
}
}
break
;
break
;
case
RTF_UP
:
// TODO handle when point size is not shrinking
case
RTF_UP
:
{
OUString
aValue
(
RTL_CONSTASCII_USTRINGPARAM
(
"superscript"
));
RTFValue
::
Pointer_t
pValue
(
new
RTFValue
(
aValue
));
m_aStates
.
top
().
aCharacterSprms
->
push_back
(
make_pair
(
NS_ooxml
::
LN_EG_RPrBase_vertAlign
,
pValue
));
}
break
;
case
RTF_DN
:
case
RTF_DN
:
{
{
OUString
aValue
(
RTL_CONSTASCII_USTRINGPARAM
(
"subscript"
));
RTFValue
::
Pointer_t
pValue
(
new
RTFValue
(
nParam
*
(
nKeyword
==
RTF_UP
?
1
:
-
1
)));
RTFValue
::
Pointer_t
pValue
(
new
RTFValue
(
aValue
));
m_aStates
.
top
().
aCharacterSprms
->
push_back
(
make_pair
(
NS_sprm
::
LN_CHpsPos
,
pValue
));
m_aStates
.
top
().
aCharacterSprms
->
push_back
(
make_pair
(
NS_ooxml
::
LN_EG_RPrBase_vertAlign
,
pValue
));
}
}
break
;
break
;
case
RTF_HORZVERT
:
case
RTF_HORZVERT
:
...
...
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