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
6b88a650
Kaydet (Commit)
6b88a650
authored
Haz 26, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwTextFrm::_Format: use vcl::RenderContext
Change-Id: Ia37257286cce7a4a4a6fdffd2dd0d896d46db548
üst
3b251169
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
txtfrm.hxx
sw/source/core/inc/txtfrm.hxx
+1
-1
frmform.cxx
sw/source/core/text/frmform.cxx
+3
-3
No files found.
sw/source/core/inc/txtfrm.hxx
Dosyayı görüntüle @
6b88a650
...
@@ -142,7 +142,7 @@ class SwTextFrm: public SwContentFrm
...
@@ -142,7 +142,7 @@ class SwTextFrm: public SwContentFrm
// In order to safe stack space, we split this method:
// In order to safe stack space, we split this method:
// _Format calls _Format with parameters
// _Format calls _Format with parameters
void
_Format
(
SwParaPortion
*
pPara
);
void
_Format
(
vcl
::
RenderContext
*
pRenderContext
,
SwParaPortion
*
pPara
);
void
_Format
(
SwTextFormatter
&
rLine
,
SwTextFormatInfo
&
rInf
,
void
_Format
(
SwTextFormatter
&
rLine
,
SwTextFormatInfo
&
rInf
,
const
bool
bAdjust
=
false
);
const
bool
bAdjust
=
false
);
void
FormatOnceMore
(
SwTextFormatter
&
rLine
,
SwTextFormatInfo
&
rInf
);
void
FormatOnceMore
(
SwTextFormatter
&
rLine
,
SwTextFormatInfo
&
rInf
);
...
...
sw/source/core/text/frmform.cxx
Dosyayı görüntüle @
6b88a650
...
@@ -1623,7 +1623,7 @@ void SwTextFrm::FormatOnceMore( SwTextFormatter &rLine, SwTextFormatInfo &rInf )
...
@@ -1623,7 +1623,7 @@ void SwTextFrm::FormatOnceMore( SwTextFormatter &rLine, SwTextFormatInfo &rInf )
}
}
}
}
void
SwTextFrm
::
_Format
(
SwParaPortion
*
pPara
)
void
SwTextFrm
::
_Format
(
vcl
::
RenderContext
*
pRenderContext
,
SwParaPortion
*
pPara
)
{
{
const
bool
bIsEmpty
=
GetText
().
isEmpty
();
const
bool
bIsEmpty
=
GetText
().
isEmpty
();
...
@@ -1650,7 +1650,7 @@ void SwTextFrm::_Format( SwParaPortion *pPara )
...
@@ -1650,7 +1650,7 @@ void SwTextFrm::_Format( SwParaPortion *pPara )
if
(
IsVertical
()
)
if
(
IsVertical
()
)
SwapWidthAndHeight
();
SwapWidthAndHeight
();
SwTextFormatInfo
aInf
(
getRootFrm
()
->
GetCurrShell
()
->
GetOut
()
,
this
);
SwTextFormatInfo
aInf
(
pRenderContext
,
this
);
SwTextFormatter
aLine
(
this
,
&
aInf
);
SwTextFormatter
aLine
(
this
,
&
aInf
);
HideAndShowObjects
();
HideAndShowObjects
();
...
@@ -1802,7 +1802,7 @@ void SwTextFrm::Format( const SwBorderAttrs * )
...
@@ -1802,7 +1802,7 @@ void SwTextFrm::Format( const SwBorderAttrs * )
}
}
do
do
{
{
_Format
(
aAccess
.
GetPara
()
);
_Format
(
getRootFrm
()
->
GetCurrShell
()
->
GetOut
(),
aAccess
.
GetPara
()
);
if
(
pFootnoteBoss
&&
nFootnoteHeight
)
if
(
pFootnoteBoss
&&
nFootnoteHeight
)
{
{
const
SwFootnoteContFrm
*
pCont
=
pFootnoteBoss
->
FindFootnoteCont
();
const
SwFootnoteContFrm
*
pCont
=
pFootnoteBoss
->
FindFootnoteCont
();
...
...
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