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
a69be8d2
Kaydet (Commit)
a69be8d2
authored
Ock 03, 2013
tarafından
Herbert Dürr
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i68503# a SwHolePortion must not be decorated for a consistent visual appearance
üst
15651317
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
5 deletions
+27
-5
portxt.cxx
sw/source/core/text/portxt.cxx
+27
-5
No files found.
sw/source/core/text/portxt.cxx
Dosyayı görüntüle @
a69be8d2
...
...
@@ -49,6 +49,7 @@
#include <pam.hxx>
#include <doc.hxx>
#include <xmloff/odffields.hxx>
#include <vcl/pdfextoutdevdata.hxx>
#if OSL_DEBUG_LEVEL > 1
const
sal_Char
*
GetLangName
(
const
MSHORT
nLang
);
...
...
@@ -739,13 +740,34 @@ SwLinePortion *SwHolePortion::Compress() { return this; }
void
SwHolePortion
::
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
{
// --> FME 2004-06-24 #i16816# tagged pdf support
if
(
rInf
.
GetVsh
()
&&
rInf
.
GetVsh
()
->
GetViewOptions
()
->
IsPDFExport
()
)
if
(
!
rInf
.
GetOut
()
)
return
;
// #i16816# export stuff only needed for tagged pdf support
const
vcl
::
PDFExtOutDevData
*
pPDFExt
=
dynamic_cast
<
const
vcl
::
PDFExtOutDevData
*>
(
rInf
.
GetOut
()
->
GetExtOutDevData
()
);
if
(
!
pPDFExt
||
!
pPDFExt
->
GetIsExportTaggedPDF
())
return
;
// #i68503# the hole must have no decoration for a consistent visual appearance
const
SwFont
*
pOrigFont
=
rInf
.
GetFont
();
SwFont
*
pHoleFont
=
NULL
;
SwFontSave
*
pFontSave
=
NULL
;
if
(
pOrigFont
->
GetUnderline
()
!=
UNDERLINE_NONE
||
pOrigFont
->
GetOverline
()
!=
UNDERLINE_NONE
||
pOrigFont
->
GetStrikeout
()
!=
STRIKEOUT_NONE
)
{
const
XubString
aTxt
(
' '
);
rInf
.
DrawText
(
aTxt
,
*
this
,
0
,
1
,
false
);
pHoleFont
=
new
SwFont
(
*
pOrigFont
);
pHoleFont
->
SetUnderline
(
UNDERLINE_NONE
);
pHoleFont
->
SetOverline
(
UNDERLINE_NONE
);
pHoleFont
->
SetStrikeout
(
STRIKEOUT_NONE
);
pFontSave
=
new
SwFontSave
(
rInf
,
pHoleFont
);
}
// <--
const
XubString
aTxt
(
' '
);
rInf
.
DrawText
(
aTxt
,
*
this
,
0
,
1
,
false
);
delete
pFontSave
;
delete
pHoleFont
;
}
/*************************************************************************
...
...
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