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
30329249
Kaydet (Commit)
30329249
authored
Tem 27, 2012
tarafından
Eike Rathke [er]
Kaydeden (comit)
Michael Stahl
Tem 27, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
QuattroPro warnings
üst
55d72ab8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
qpro.cxx
sc/source/filter/qpro/qpro.cxx
+15
-5
No files found.
sc/source/filter/qpro/qpro.cxx
Dosyayı görüntüle @
30329249
...
...
@@ -64,10 +64,16 @@ FltError ScQProReader::readSheet( SCTAB nTab, ScDocument* pDoc, ScQProStyle *pSt
case
0x000f
:{
// Label cell
String
aLabel
;
*
mpStream
>>
nCol
>>
nDummy
>>
nRow
>>
nStyle
>>
nDummy
;
readString
(
aLabel
,
getLength
()
-
7
);
nStyle
=
nStyle
>>
3
;
pStyle
->
SetFormat
(
pDoc
,
nCol
,
nRow
,
nTab
,
nStyle
);
pDoc
->
PutCell
(
nCol
,
nRow
,
nTab
,
ScBaseCell
::
CreateTextCell
(
aLabel
,
pDoc
),
true
);
sal_uInt16
nLen
=
getLength
();
if
(
nLen
>=
7
)
{
readString
(
aLabel
,
nLen
-
7
);
nStyle
=
nStyle
>>
3
;
pStyle
->
SetFormat
(
pDoc
,
nCol
,
nRow
,
nTab
,
nStyle
);
pDoc
->
PutCell
(
nCol
,
nRow
,
nTab
,
ScBaseCell
::
CreateTextCell
(
aLabel
,
pDoc
),
true
);
}
else
eRet
=
eERR_FORMAT
;
}
break
;
...
...
@@ -195,7 +201,11 @@ FltError ScQProReader::import( ScDocument *pDoc )
String
aLabel
;
*
mpStream
>>
nPtSize
>>
nFontAttr
;
pStyleElement
->
setFontRecord
(
j
,
nFontAttr
,
nPtSize
);
readString
(
aLabel
,
getLength
()
-
4
);
sal_uInt16
nLen
=
getLength
();
if
(
nLen
>=
4
)
readString
(
aLabel
,
nLen
-
4
);
else
eRet
=
eERR_FORMAT
;
pStyleElement
->
setFontType
(
j
,
aLabel
);
j
++
;
}
...
...
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