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
7794baf8
Kaydet (Commit)
7794baf8
authored
Şub 20, 2012
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#46073: Implemented soft boundaries only w/o non-printing chars
üst
f78cb7da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
3 deletions
+33
-3
paintfrm.cxx
sw/source/core/layout/paintfrm.cxx
+33
-3
No files found.
sw/source/core/layout/paintfrm.cxx
Dosyayı görüntüle @
7794baf8
...
...
@@ -6307,6 +6307,27 @@ drawinglayer::primitive2d::Primitive2DSequence lcl_CreatePageAreaDelimiterPrimit
return
aSeq
;
}
drawinglayer
::
primitive2d
::
Primitive2DSequence
lcl_CreateRectangleDelimiterPrimitives
(
const
SwRect
&
rRect
)
{
drawinglayer
::
primitive2d
::
Primitive2DSequence
aSeq
(
1
);
basegfx
::
BColor
aLineColor
=
SwViewOption
::
GetDocBoundariesColor
().
getBColor
();
basegfx
::
B2DPolygon
aPolygon
;
aPolygon
.
append
(
basegfx
::
B2DPoint
(
rRect
.
Left
(),
rRect
.
Top
()
)
);
aPolygon
.
append
(
basegfx
::
B2DPoint
(
rRect
.
Right
(),
rRect
.
Top
()
)
);
aPolygon
.
append
(
basegfx
::
B2DPoint
(
rRect
.
Right
(),
rRect
.
Bottom
()
)
);
aPolygon
.
append
(
basegfx
::
B2DPoint
(
rRect
.
Left
(),
rRect
.
Bottom
()
)
);
aPolygon
.
setClosed
(
true
);
drawinglayer
::
primitive2d
::
PolygonHairlinePrimitive2D
*
pLine
=
new
drawinglayer
::
primitive2d
::
PolygonHairlinePrimitive2D
(
aPolygon
,
aLineColor
);
aSeq
[
0
]
=
drawinglayer
::
primitive2d
::
Primitive2DReference
(
pLine
);
return
aSeq
;
}
drawinglayer
::
primitive2d
::
Primitive2DSequence
lcl_CreateColumnAreaDelimiterPrimitives
(
const
SwRect
&
rRect
)
{
...
...
@@ -6362,7 +6383,10 @@ void SwPageFrm::PaintSubsidiaryLines( const SwPageFrm *,
if
(
pFtnCont
)
aArea
.
AddBottom
(
pFtnCont
->
Frm
().
Bottom
()
-
aArea
.
Bottom
()
);
ProcessPrimitives
(
lcl_CreatePageAreaDelimiterPrimitives
(
aArea
)
);
if
(
!
pGlobalShell
->
GetViewOptions
()
->
IsViewMetaChars
(
)
)
ProcessPrimitives
(
lcl_CreatePageAreaDelimiterPrimitives
(
aArea
)
);
else
ProcessPrimitives
(
lcl_CreateRectangleDelimiterPrimitives
(
aArea
)
);
}
}
...
...
@@ -6399,7 +6423,10 @@ void SwColumnFrm::PaintSubsidiaryLines( const SwPageFrm *,
::
SwAlignRect
(
aArea
,
pGlobalShell
);
ProcessPrimitives
(
lcl_CreateColumnAreaDelimiterPrimitives
(
aArea
)
);
if
(
!
pGlobalShell
->
GetViewOptions
()
->
IsViewMetaChars
(
)
)
ProcessPrimitives
(
lcl_CreateColumnAreaDelimiterPrimitives
(
aArea
)
);
else
ProcessPrimitives
(
lcl_CreateRectangleDelimiterPrimitives
(
aArea
)
);
}
void
SwSectionFrm
::
PaintSubsidiaryLines
(
const
SwPageFrm
*
pPage
,
...
...
@@ -6426,7 +6453,10 @@ void SwHeadFootFrm::PaintSubsidiaryLines( const SwPageFrm *, const SwRect & ) co
{
SwRect
aArea
(
Prt
()
);
aArea
.
Pos
()
+=
Frm
().
Pos
();
ProcessPrimitives
(
lcl_CreatePageAreaDelimiterPrimitives
(
aArea
)
);
if
(
!
pGlobalShell
->
GetViewOptions
()
->
IsViewMetaChars
(
)
)
ProcessPrimitives
(
lcl_CreatePageAreaDelimiterPrimitives
(
aArea
)
);
else
ProcessPrimitives
(
lcl_CreateRectangleDelimiterPrimitives
(
aArea
)
);
}
}
...
...
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