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
0b5ca669
Kaydet (Commit)
0b5ca669
authored
Mar 12, 2002
tarafından
Oliver Specht
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#96678##98006# dispatcher execute with slot ids only
üst
a42ac6bc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
svxruler.cxx
svx/source/dialog/svxruler.cxx
+16
-14
No files found.
svx/source/dialog/svxruler.cxx
Dosyayı görüntüle @
0b5ca669
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: svxruler.cxx,v $
* $RCSfile: svxruler.cxx,v $
*
*
* $Revision: 1.1
3
$
* $Revision: 1.1
4
$
*
*
* last change: $Author: os $ $Date: 2002-03-
07 08:53:45
$
* last change: $Author: os $ $Date: 2002-03-
12 16:46:11
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -673,9 +673,9 @@ void SvxRuler::MouseMove( const MouseEvent& rMEvt )
...
@@ -673,9 +673,9 @@ void SvxRuler::MouseMove( const MouseEvent& rMEvt )
pBindings
->
Update
(
SID_ATTR_LONG_ULSPACE
);
pBindings
->
Update
(
SID_ATTR_LONG_ULSPACE
);
pBindings
->
Update
(
SID_ATTR_LONG_LRSPACE
);
pBindings
->
Update
(
SID_ATTR_LONG_LRSPACE
);
pBindings
->
Update
(
SID_RULER_PAGE_POS
);
pBindings
->
Update
(
SID_RULER_PAGE_POS
);
pBindings
->
Update
(
SID_ATTR_TABSTOP
);
pBindings
->
Update
(
bHorz
?
SID_ATTR_TABSTOP
:
SID_ATTR_TABSTOP_VERTICAL
);
pBindings
->
Update
(
SID_ATTR_PARA_LRSPACE
);
pBindings
->
Update
(
bHorz
?
SID_ATTR_PARA_LRSPACE
:
SID_ATTR_PARA_LRSPACE_VERTICAL
);
pBindings
->
Update
(
SID_RULER_BORDERS
);
pBindings
->
Update
(
bHorz
?
SID_RULER_BORDERS
:
SID_RULER_BORDERS_VERTICAL
);
pBindings
->
Update
(
SID_RULER_OBJECT
);
pBindings
->
Update
(
SID_RULER_OBJECT
);
pBindings
->
Update
(
SID_RULER_PROTECT
);
pBindings
->
Update
(
SID_RULER_PROTECT
);
}
}
...
@@ -2174,7 +2174,8 @@ void SvxRuler::ApplyIndents()
...
@@ -2174,7 +2174,8 @@ void SvxRuler::ApplyIndents()
pIndents
[
INDENT_RIGHT_MARGIN
].
nPos
)
-
pIndents
[
INDENT_RIGHT_MARGIN
].
nPos
)
-
lAppNullOffset
,
pParaItem
->
GetRight
()));
lAppNullOffset
,
pParaItem
->
GetRight
()));
pBindings
->
GetDispatcher
()
->
Execute
(
pParaItem
->
Which
(),
SFX_CALLMODE_RECORD
,
pParaItem
,
0L
);
USHORT
nParaId
=
bHorz
?
SID_ATTR_PARA_LRSPACE
:
SID_ATTR_PARA_LRSPACE_VERTICAL
;
pBindings
->
GetDispatcher
()
->
Execute
(
nParaId
,
SFX_CALLMODE_RECORD
,
pParaItem
,
0L
);
UpdateTabs
();
UpdateTabs
();
}
}
...
@@ -2230,7 +2231,8 @@ void SvxRuler::ApplyTabs()
...
@@ -2230,7 +2231,8 @@ void SvxRuler::ApplyTabs()
pTabStopItem
->
Remove
(
nCoreIdx
);
pTabStopItem
->
Remove
(
nCoreIdx
);
pTabStopItem
->
Insert
(
aTabStop
);
pTabStopItem
->
Insert
(
aTabStop
);
}
}
pBindings
->
GetDispatcher
()
->
Execute
(
pTabStopItem
->
Which
(),
SFX_CALLMODE_RECORD
,
pTabStopItem
,
0L
);
USHORT
nTabStopId
=
bHorz
?
SID_ATTR_TABSTOP
:
SID_ATTR_TABSTOP_VERTICAL
;
pBindings
->
GetDispatcher
()
->
Execute
(
nTabStopId
,
SFX_CALLMODE_RECORD
,
pTabStopItem
,
0L
);
UpdateTabs
();
UpdateTabs
();
}
}
...
@@ -2276,7 +2278,8 @@ void SvxRuler::ApplyBorders()
...
@@ -2276,7 +2278,8 @@ void SvxRuler::ApplyBorders()
#endif // DEBUGLIN
#endif // DEBUGLIN
SfxBoolItem
aFlag
(
SID_RULER_ACT_LINE_ONLY
,
SfxBoolItem
aFlag
(
SID_RULER_ACT_LINE_ONLY
,
nDragType
&
DRAG_OBJECT_ACTLINE_ONLY
?
TRUE
:
FALSE
);
nDragType
&
DRAG_OBJECT_ACTLINE_ONLY
?
TRUE
:
FALSE
);
pBindings
->
GetDispatcher
()
->
Execute
(
pColumnItem
->
Which
(),
SFX_CALLMODE_RECORD
,
pColumnItem
,
&
aFlag
,
0L
);
USHORT
nColId
=
bHorz
?
SID_RULER_BORDERS
:
SID_RULER_BORDERS_VERTICAL
;
pBindings
->
GetDispatcher
()
->
Execute
(
nColId
,
SFX_CALLMODE_RECORD
,
pColumnItem
,
&
aFlag
,
0L
);
}
}
void
SvxRuler
::
ApplyObject
()
void
SvxRuler
::
ApplyObject
()
...
@@ -2443,14 +2446,12 @@ void __EXPORT SvxRuler::Click()
...
@@ -2443,14 +2446,12 @@ void __EXPORT SvxRuler::Click()
pBindings
->
Update
(
SID_ATTR_LONG_ULSPACE
);
pBindings
->
Update
(
SID_ATTR_LONG_ULSPACE
);
pBindings
->
Update
(
SID_ATTR_LONG_LRSPACE
);
pBindings
->
Update
(
SID_ATTR_LONG_LRSPACE
);
pBindings
->
Update
(
SID_RULER_PAGE_POS
);
pBindings
->
Update
(
SID_RULER_PAGE_POS
);
pBindings
->
Update
(
SID_ATTR_TABSTOP
);
pBindings
->
Update
(
bHorz
?
SID_ATTR_TABSTOP
:
SID_ATTR_TABSTOP_VERTICAL
);
pBindings
->
Update
(
SID_ATTR_PARA_LRSPACE
);
pBindings
->
Update
(
bHorz
?
SID_ATTR_PARA_LRSPACE
:
SID_ATTR_PARA_LRSPACE_VERTICAL
);
pBindings
->
Update
(
SID_RULER_BORDERS
);
pBindings
->
Update
(
bHorz
?
SID_RULER_BORDERS
:
SID_RULER_BORDERS_VERTICAL
);
pBindings
->
Update
(
SID_RULER_OBJECT
);
pBindings
->
Update
(
SID_RULER_OBJECT
);
pBindings
->
Update
(
SID_RULER_PROTECT
);
pBindings
->
Update
(
SID_RULER_PROTECT
);
pBindings
->
Update
(
SID_ATTR_PARA_LRSPACE_VERTICAL
);
pBindings
->
Update
(
SID_ATTR_PARA_LRSPACE_VERTICAL
);
pBindings
->
Update
(
SID_ATTR_TABSTOP_VERTICAL
);
pBindings
->
Update
(
SID_RULER_BORDERS_VERTICAL
);
}
}
if
(
pTabStopItem
&&
if
(
pTabStopItem
&&
(
nFlags
&
SVXRULER_SUPPORT_TABS
)
==
SVXRULER_SUPPORT_TABS
)
{
(
nFlags
&
SVXRULER_SUPPORT_TABS
)
==
SVXRULER_SUPPORT_TABS
)
{
...
@@ -3214,7 +3215,8 @@ IMPL_LINK( SvxRuler, TabMenuSelect, Menu *, pMenu )
...
@@ -3214,7 +3215,8 @@ IMPL_LINK( SvxRuler, TabMenuSelect, Menu *, pMenu )
aTabStop
.
GetAdjustment
()
=
ToAttrTab_Impl
(
pMenu
->
GetCurItemId
()
-
1
);
aTabStop
.
GetAdjustment
()
=
ToAttrTab_Impl
(
pMenu
->
GetCurItemId
()
-
1
);
pTabStopItem
->
Remove
(
pRuler_Imp
->
nIdx
);
pTabStopItem
->
Remove
(
pRuler_Imp
->
nIdx
);
pTabStopItem
->
Insert
(
aTabStop
);
pTabStopItem
->
Insert
(
aTabStop
);
pBindings
->
GetDispatcher
()
->
Execute
(
pTabStopItem
->
Which
(),
SFX_CALLMODE_RECORD
,
pTabStopItem
,
0L
);
USHORT
nTabStopId
=
bHorz
?
SID_ATTR_TABSTOP
:
SID_ATTR_TABSTOP_VERTICAL
;
pBindings
->
GetDispatcher
()
->
Execute
(
nTabStopId
,
SFX_CALLMODE_RECORD
,
pTabStopItem
,
0L
);
UpdateTabs
();
UpdateTabs
();
pRuler_Imp
->
nIdx
=
0
;
pRuler_Imp
->
nIdx
=
0
;
return
0
;
return
0
;
...
...
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