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
fd5a8dce
Kaydet (Commit)
fd5a8dce
authored
Eki 22, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Visisble->Visible
cosmetic only Change-Id: I9363e4766d6dfdd9327cfa74e5922f3b51c67fd2
üst
8e203f58
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
svdotextdecomposition.cxx
svx/source/svdraw/svdotextdecomposition.cxx
+10
-10
No files found.
svx/source/svdraw/svdotextdecomposition.cxx
Dosyayı görüntüle @
fd5a8dce
...
...
@@ -1206,8 +1206,8 @@ void SdrTextObj::impGetBlinkTextTiming(drawinglayer::animation::AnimationEntryLi
// add stopped state if loop is not endless
if
(
0L
!=
nRepeat
)
{
bool
bVisi
s
bleWhenStopped
(
static_cast
<
const
SdrTextAniStopInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTOPINSIDE
)).
GetValue
());
drawinglayer
::
animation
::
AnimationEntryFixed
aStop
(
ENDLESS_TIME
,
bVisi
s
bleWhenStopped
?
0.0
:
1.0
);
bool
bVisibleWhenStopped
(
static_cast
<
const
SdrTextAniStopInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTOPINSIDE
)).
GetValue
());
drawinglayer
::
animation
::
AnimationEntryFixed
aStop
(
ENDLESS_TIME
,
bVisibleWhenStopped
?
0.0
:
1.0
);
rAnimList
.
append
(
aStop
);
}
}
...
...
@@ -1215,11 +1215,11 @@ void SdrTextObj::impGetBlinkTextTiming(drawinglayer::animation::AnimationEntryLi
void
impCreateScrollTiming
(
const
SfxItemSet
&
rSet
,
drawinglayer
::
animation
::
AnimationEntryList
&
rAnimList
,
bool
bForward
,
double
fTimeFullPath
,
double
fFrequency
)
{
bool
bVisi
s
bleWhenStopped
(
static_cast
<
const
SdrTextAniStopInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTOPINSIDE
)).
GetValue
());
bool
bVisi
s
bleWhenStarted
(
static_cast
<
const
SdrTextAniStartInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTARTINSIDE
)).
GetValue
());
bool
bVisibleWhenStopped
(
static_cast
<
const
SdrTextAniStopInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTOPINSIDE
)).
GetValue
());
bool
bVisibleWhenStarted
(
static_cast
<
const
SdrTextAniStartInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTARTINSIDE
)).
GetValue
());
const
sal_uInt32
nRepeat
(
static_cast
<
const
SdrTextAniCountItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANICOUNT
)).
GetValue
());
if
(
bVisi
s
bleWhenStarted
)
if
(
bVisibleWhenStarted
)
{
// move from center to outside
drawinglayer
::
animation
::
AnimationEntryLinear
aInOut
(
fTimeFullPath
*
0.5
,
fFrequency
,
0.5
,
bForward
?
1.0
:
0.0
);
...
...
@@ -1232,7 +1232,7 @@ void impCreateScrollTiming(const SfxItemSet& rSet, drawinglayer::animation::Anim
aLoop
.
append
(
aThrough
);
rAnimList
.
append
(
aLoop
);
if
(
0L
!=
nRepeat
&&
bVisi
s
bleWhenStopped
)
if
(
0L
!=
nRepeat
&&
bVisibleWhenStopped
)
{
// move from outside to center
drawinglayer
::
animation
::
AnimationEntryLinear
aOutIn
(
fTimeFullPath
*
0.5
,
fFrequency
,
bForward
?
0.0
:
1.0
,
0.5
);
...
...
@@ -1255,10 +1255,10 @@ void impCreateAlternateTiming(const SfxItemSet& rSet, drawinglayer::animation::A
const
double
fStartPosition
(
bForward
?
fRelativeTextLength
:
1.0
-
fRelativeTextLength
);
const
double
fEndPosition
(
bForward
?
1.0
-
fRelativeTextLength
:
fRelativeTextLength
);
bool
bVisi
s
bleWhenStarted
(
static_cast
<
const
SdrTextAniStartInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTARTINSIDE
)).
GetValue
());
bool
bVisibleWhenStarted
(
static_cast
<
const
SdrTextAniStartInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTARTINSIDE
)).
GetValue
());
const
sal_uInt32
nRepeat
(
static_cast
<
const
SdrTextAniCountItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANICOUNT
)).
GetValue
());
if
(
!
bVisi
s
bleWhenStarted
)
if
(
!
bVisibleWhenStarted
)
{
// move from outside to center
drawinglayer
::
animation
::
AnimationEntryLinear
aOutIn
(
fTimeFullPath
*
0.5
,
fFrequency
,
bForward
?
0.0
:
1.0
,
0.5
);
...
...
@@ -1296,8 +1296,8 @@ void impCreateAlternateTiming(const SfxItemSet& rSet, drawinglayer::animation::A
if
(
0L
!=
nRepeat
)
{
bool
bVisi
s
bleWhenStopped
(
static_cast
<
const
SdrTextAniStopInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTOPINSIDE
)).
GetValue
());
if
(
bVisi
s
bleWhenStopped
)
bool
bVisibleWhenStopped
(
static_cast
<
const
SdrTextAniStopInsideItem
&>
(
rSet
.
Get
(
SDRATTR_TEXT_ANISTOPINSIDE
)).
GetValue
());
if
(
bVisibleWhenStopped
)
{
// add timing for staying at the end
drawinglayer
::
animation
::
AnimationEntryFixed
aEnd
(
ENDLESS_TIME
,
0.5
);
...
...
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