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
5c7d86d3
Kaydet (Commit)
5c7d86d3
authored
Tem 02, 2001
tarafından
Daniel Rentz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
paragraph preview improved
üst
df92c866
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
11 deletions
+42
-11
paragrph.cxx
svx/source/dialog/paragrph.cxx
+9
-2
paraprev.cxx
svx/source/dialog/paraprev.cxx
+33
-9
No files found.
svx/source/dialog/paragrph.cxx
Dosyayı görüntüle @
5c7d86d3
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: paragrph.cxx,v $
*
* $Revision: 1.1
7
$
* $Revision: 1.1
8
$
*
* last change: $Author: dr $ $Date: 2001-0
6-21 07:30:09
$
* last change: $Author: dr $ $Date: 2001-0
7-02 10:19:28
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -1053,6 +1053,7 @@ SvxParaAlignTabPage::SvxParaAlignTabPage( Window* pParent, const SfxItemSet& rSe
aRight
.
SetClickHdl
(
aLink
);
aCenter
.
SetClickHdl
(
aLink
);
aJustify
.
SetClickHdl
(
aLink
);
aLastLineLB
.
SetSelectHdl
(
LINK
(
this
,
SvxParaAlignTabPage
,
LastLineHdl_Impl
)
);
}
/*-----------------16.01.97 19.33-------------------
...
...
@@ -1263,6 +1264,12 @@ IMPL_LINK( SvxParaAlignTabPage, AlignHdl_Impl, RadioButton*, pBtn )
return
0
;
}
IMPL_LINK
(
SvxParaAlignTabPage
,
LastLineHdl_Impl
,
ListBox
*
,
pListBox
)
{
UpdateExample_Impl
(
FALSE
);
return
0
;
}
/*-----------------16.01.97 19.34-------------------
--------------------------------------------------*/
...
...
svx/source/dialog/paraprev.cxx
Dosyayı görüntüle @
5c7d86d3
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: paraprev.cxx,v $
*
* $Revision: 1.
5
$
* $Revision: 1.
6
$
*
* last change: $Author: dr $ $Date: 2001-0
5-17 12:29:40
$
* last change: $Author: dr $ $Date: 2001-0
7-02 10:19:28
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -176,9 +176,15 @@ void SvxParaPrevWindow::DrawParagraph( BOOL bAll )
aPnt
.
Y
()
+=
nH
;
if
(
5
==
i
)
if
(
(
3
<=
i
)
&&
(
5
>=
i
)
)
{
long
nLW
=
aLineSiz
.
Width
()
/
2
;
long
nLW
;
switch
(
i
)
{
case
3
:
nLW
=
aLineSiz
.
Width
()
*
8
/
10
;
break
;
case
4
:
nLW
=
aLineSiz
.
Width
()
*
9
/
10
;
break
;
case
5
:
nLW
=
aLineSiz
.
Width
()
/
2
;
break
;
}
if
(
nLW
>
aSiz
.
Width
()
)
nLW
=
aSiz
.
Width
();
...
...
@@ -193,12 +199,30 @@ void SvxParaPrevWindow::DrawParagraph( BOOL bAll )
case
SVX_ADJUST_CENTER
:
aPnt
.
X
()
+=
(
aSiz
.
Width
()
-
nLW
)
/
2
;
break
;
case
SVX_ADJUST_BLOCK
:
break
;
}
if
(
SVX_ADJUST_BLOCK
!=
eAdjust
)
aSiz
.
Width
()
=
nLW
;
if
(
SVX_ADJUST_BLOCK
==
eAdjust
)
{
if
(
5
==
i
)
{
switch
(
eLastLine
)
{
case
SVX_ADJUST_LEFT
:
break
;
case
SVX_ADJUST_RIGHT
:
aPnt
.
X
()
+=
(
aSiz
.
Width
()
-
nLW
);
break
;
case
SVX_ADJUST_CENTER
:
aPnt
.
X
()
+=
(
aSiz
.
Width
()
-
nLW
)
/
2
;
break
;
case
SVX_ADJUST_BLOCK
:
nLW
=
aLineSiz
.
Width
();
break
;
}
}
else
nLW
=
aLineSiz
.
Width
();
}
aSiz
.
Width
()
=
nLW
;
}
Rectangle
aRect
(
aPnt
,
aSiz
);
...
...
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