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
8c69b4db
Kaydet (Commit)
8c69b4db
authored
Kas 10, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bNoLines is always false
üst
b3a9e9c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
18 deletions
+7
-18
fntctrl.hxx
svx/inc/svx/fntctrl.hxx
+0
-1
fntctrl.cxx
svx/source/dialog/fntctrl.cxx
+7
-17
No files found.
svx/inc/svx/fntctrl.hxx
Dosyayı görüntüle @
8c69b4db
...
@@ -80,7 +80,6 @@ public:
...
@@ -80,7 +80,6 @@ public:
sal_Bool
IsTwoLines
()
const
;
sal_Bool
IsTwoLines
()
const
;
void
SetTwoLines
(
sal_Bool
bSet
);
void
SetTwoLines
(
sal_Bool
bSet
);
void
SetNoLines
(
sal_Bool
bSet
);
void
SetBrackets
(
sal_Unicode
cStart
,
sal_Unicode
cEnd
);
void
SetBrackets
(
sal_Unicode
cStart
,
sal_Unicode
cEnd
);
...
...
svx/source/dialog/fntctrl.cxx
Dosyayı görüntüle @
8c69b4db
...
@@ -176,7 +176,6 @@ class FontPrevWin_Impl
...
@@ -176,7 +176,6 @@ class FontPrevWin_Impl
bDrawBaseLine
:
1
,
bDrawBaseLine
:
1
,
bPreviewBackgroundToCharacter
:
1
,
bPreviewBackgroundToCharacter
:
1
,
bTwoLines
:
1
,
bTwoLines
:
1
,
bNoLines
:
1
,
bUseFontNameAsText
:
1
,
bUseFontNameAsText
:
1
,
bTextInited
:
1
;
bTextInited
:
1
;
...
@@ -192,7 +191,6 @@ public:
...
@@ -192,7 +191,6 @@ public:
cStartBracket
(
0
),
cEndBracket
(
0
),
nFontWidthScale
(
100
),
cStartBracket
(
0
),
cEndBracket
(
0
),
nFontWidthScale
(
100
),
bSelection
(
sal_False
),
bGetSelection
(
sal_False
),
bUseResText
(
sal_False
),
bSelection
(
sal_False
),
bGetSelection
(
sal_False
),
bUseResText
(
sal_False
),
bDrawBaseLine
(
sal_True
),
bPreviewBackgroundToCharacter
(
sal_False
),
bTwoLines
(
sal_False
),
bDrawBaseLine
(
sal_True
),
bPreviewBackgroundToCharacter
(
sal_False
),
bTwoLines
(
sal_False
),
bNoLines
(
sal_False
),
bUseFontNameAsText
(
sal_False
),
bTextInited
(
sal_False
)
bUseFontNameAsText
(
sal_False
),
bTextInited
(
sal_False
)
{
{
SvtLanguageOptions
aLanguageOptions
;
SvtLanguageOptions
aLanguageOptions
;
...
@@ -819,18 +817,15 @@ void SvxFontPrevWindow::Paint( const Rectangle& )
...
@@ -819,18 +817,15 @@ void SvxFontPrevWindow::Paint( const Rectangle& )
else
else
{
{
if
(
!
pImpl
->
bNoLines
)
Color
aLineCol
=
GetLineColor
();
{
Color
aLineCol
=
GetLineColor
();
SetLineColor
(
rFont
.
GetColor
()
);
SetLineColor
(
rFont
.
GetColor
()
);
if
(
pImpl
->
bDrawBaseLine
)
if
(
pImpl
->
bDrawBaseLine
)
{
{
DrawLine
(
Point
(
0
,
nY
),
Point
(
nX
,
nY
)
);
DrawLine
(
Point
(
0
,
nY
),
Point
(
nX
,
nY
)
);
DrawLine
(
Point
(
nX
+
aTxtSize
.
Width
(),
nY
),
Point
(
aLogSize
.
Width
(),
nY
)
);
DrawLine
(
Point
(
nX
+
aTxtSize
.
Width
(),
nY
),
Point
(
aLogSize
.
Width
(),
nY
)
);
}
SetLineColor
(
aLineCol
);
}
}
SetLineColor
(
aLineCol
);
Point
aTmpPoint
(
nX
,
nY
);
Point
aTmpPoint
(
nX
,
nY
);
pImpl
->
DrawPrev
(
this
,
pPrinter
,
aTmpPoint
,
rFont
);
pImpl
->
DrawPrev
(
this
,
pPrinter
,
aTmpPoint
,
rFont
);
...
@@ -848,11 +843,6 @@ void SvxFontPrevWindow::SetTwoLines(sal_Bool bSet)
...
@@ -848,11 +843,6 @@ void SvxFontPrevWindow::SetTwoLines(sal_Bool bSet)
pImpl
->
bTwoLines
=
bSet
;
pImpl
->
bTwoLines
=
bSet
;
}
}
void
SvxFontPrevWindow
::
SetNoLines
(
sal_Bool
bSet
)
{
pImpl
->
bNoLines
=
bSet
;
}
void
SvxFontPrevWindow
::
SetBrackets
(
sal_Unicode
cStart
,
sal_Unicode
cEnd
)
void
SvxFontPrevWindow
::
SetBrackets
(
sal_Unicode
cStart
,
sal_Unicode
cEnd
)
{
{
pImpl
->
cStartBracket
=
cStart
;
pImpl
->
cStartBracket
=
cStart
;
...
...
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