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
def48d50
Kaydet (Commit)
def48d50
authored
Şub 28, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix leak
Change-Id: Icce163a695ce5467d943019919de1bb604dd130b
üst
73051d46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
lwptablelayout.cxx
lotuswordpro/source/filter/lwptablelayout.cxx
+9
-10
No files found.
lotuswordpro/source/filter/lwptablelayout.cxx
Dosyayı görüntüle @
def48d50
...
...
@@ -712,7 +712,7 @@ void LwpTableLayout::RegisterStyle()
RegisterColumns
();
// register style of whole table
XFTableStyle
*
pTableStyle
=
new
XFTableStyle
(
);
std
::
unique_ptr
<
XFTableStyle
>
xTableStyle
(
new
XFTableStyle
);
sal_uInt8
nType
=
pSuper
->
GetRelativeType
();
// If the table is not "with paragraph above" placement, create an frame style
...
...
@@ -721,21 +721,20 @@ void LwpTableLayout::RegisterStyle()
&&
(
!
pSuper
->
GetContainerLayout
().
is
()
||
!
pSuper
->
GetContainerLayout
()
->
IsCell
())
)
{
//with para above
// pSuper->ApplyBackColor(pTableStyle);
pSuper
->
ApplyBackGround
(
pTableStyle
);
pSuper
->
ApplyWatermark
(
pTableStyle
);
pSuper
->
ApplyShadow
(
pTableStyle
);
pSuper
->
ApplyAlignment
(
pTableStyle
);
pTableStyle
->
SetWidth
(
pSuper
->
GetTableWidth
());
pSuper
->
ApplyBackGround
(
xTableStyle
.
get
());
pSuper
->
ApplyWatermark
(
xTableStyle
.
get
());
pSuper
->
ApplyShadow
(
xTableStyle
.
get
());
pSuper
->
ApplyAlignment
(
xTableStyle
.
get
());
xTableStyle
->
SetWidth
(
pSuper
->
GetTableWidth
());
}
else
{
pSuper
->
RegisterFrameStyle
();
p
TableStyle
->
SetAlign
(
enumXFAlignCenter
);
p
TableStyle
->
SetWidth
(
pSuper
->
GetTableWidth
());
x
TableStyle
->
SetAlign
(
enumXFAlignCenter
);
x
TableStyle
->
SetWidth
(
pSuper
->
GetTableWidth
());
}
XFStyleManager
*
pXFStyleManager
=
LwpGlobalMgr
::
GetInstance
()
->
GetXFStyleManager
();
m_StyleName
=
pXFStyleManager
->
AddStyle
(
pTableStyle
).
m_pStyle
->
GetStyleName
();
m_StyleName
=
pXFStyleManager
->
AddStyle
(
xTableStyle
.
release
()
).
m_pStyle
->
GetStyleName
();
//convert to OO table now and register row style
// traverse
...
...
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