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
0ce1c006
Kaydet (Commit)
0ce1c006
authored
Haz 19, 2006
tarafından
Jens-Heiner Rechtien
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS warnings01 (1.12.220); FILE MERGED
2006/04/26 08:09:31 os 1.12.220.1: warnings removed
üst
44cf72db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
28 deletions
+27
-28
_contdlg.cxx
svx/source/dialog/_contdlg.cxx
+27
-28
No files found.
svx/source/dialog/_contdlg.cxx
Dosyayı görüntüle @
0ce1c006
...
...
@@ -4,9 +4,9 @@
*
* $RCSfile: _contdlg.cxx,v $
*
* $Revision: 1.1
2
$
* $Revision: 1.1
3
$
*
* last change: $Author:
rt $ $Date: 2005-09-08 20:31:36
$
* last change: $Author:
hr $ $Date: 2006-06-19 14:59:11
$
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
...
...
@@ -118,8 +118,8 @@ SFX_IMPL_FLOATINGWINDOW( SvxContourDlgChildWindow, SID_CONTOUR_DLG );
|*
\************************************************************************/
SvxContourDlgItem
::
SvxContourDlgItem
(
USHORT
nId
,
SvxSuperContourDlg
&
rContourDlg
,
SfxBindings
&
rBindings
)
:
SfxControllerItem
(
nId
,
rBindings
),
SvxContourDlgItem
::
SvxContourDlgItem
(
USHORT
_
nId
,
SvxSuperContourDlg
&
rContourDlg
,
SfxBindings
&
rBindings
)
:
SfxControllerItem
(
_
nId
,
rBindings
),
rDlg
(
rContourDlg
)
{
}
...
...
@@ -131,7 +131,7 @@ SvxContourDlgItem::SvxContourDlgItem( USHORT nId, SvxSuperContourDlg& rContourDl
|*
\************************************************************************/
void
SvxContourDlgItem
::
StateChanged
(
USHORT
nSID
,
SfxItemState
eState
,
const
SfxPoolItem
*
pItem
)
void
SvxContourDlgItem
::
StateChanged
(
USHORT
nSID
,
SfxItemState
/*eState*/
,
const
SfxPoolItem
*
pItem
)
{
if
(
pItem
&&
(
SID_CONTOUR_EXEC
==
nSID
)
)
{
...
...
@@ -153,11 +153,11 @@ void SvxContourDlgItem::StateChanged( USHORT nSID, SfxItemState eState, const Sf
|*
\************************************************************************/
SvxContourDlgChildWindow
::
SvxContourDlgChildWindow
(
Window
*
pParent
,
USHORT
nId
,
SvxContourDlgChildWindow
::
SvxContourDlgChildWindow
(
Window
*
_
pParent
,
USHORT
nId
,
SfxBindings
*
pBindings
,
SfxChildWinInfo
*
pInfo
)
:
SfxChildWindow
(
pParent
,
nId
)
SfxChildWindow
(
_
pParent
,
nId
)
{
SvxSuperContourDlg
*
pDlg
=
new
SvxSuperContourDlg
(
pBindings
,
this
,
pParent
,
CONT_RESID
(
RID_SVXDLG_CONTOUR
)
);
SvxSuperContourDlg
*
pDlg
=
new
SvxSuperContourDlg
(
pBindings
,
this
,
_
pParent
,
CONT_RESID
(
RID_SVXDLG_CONTOUR
)
);
pWindow
=
pDlg
;
if
(
pInfo
->
nFlags
&
SFX_CHILDWIN_ZOOMIN
)
...
...
@@ -188,10 +188,10 @@ void SvxContourDlgChildWindow::UpdateContourDlg( const Graphic& rGraphic, BOOL b
|*
\************************************************************************/
SvxContourDlg
::
SvxContourDlg
(
SfxBindings
*
pBindings
,
SfxChildWindow
*
pCW
,
Window
*
pParent
,
const
ResId
&
rResId
)
:
SvxContourDlg
::
SvxContourDlg
(
SfxBindings
*
_
pBindings
,
SfxChildWindow
*
pCW
,
Window
*
_
pParent
,
const
ResId
&
rResId
)
:
SfxFloatingWindow
(
pBindings
,
pCW
,
pParent
,
rResId
)
SfxFloatingWindow
(
_pBindings
,
pCW
,
_
pParent
,
rResId
)
{
}
...
...
@@ -408,16 +408,16 @@ void SvxContourDlg::Update( const Graphic& rGraphic, BOOL bGraphicLinked,
|*
\************************************************************************/
SvxSuperContourDlg
::
SvxSuperContourDlg
(
SfxBindings
*
pBindings
,
SfxChildWindow
*
pCW
,
Window
*
pParent
,
const
ResId
&
rResId
)
:
SvxContourDlg
(
pBindings
,
pCW
,
pParent
,
rResId
),
aContourItem
(
SID_CONTOUR_EXEC
,
*
this
,
*
pBindings
),
SvxSuperContourDlg
::
SvxSuperContourDlg
(
SfxBindings
*
_pBindings
,
SfxChildWindow
*
pCW
,
Window
*
_pParent
,
const
ResId
&
rResId
)
:
SvxContourDlg
(
_pBindings
,
pCW
,
_pParent
,
rResId
),
pCheckObj
(
NULL
),
aContourItem
(
SID_CONTOUR_EXEC
,
*
this
,
*
_pBindings
),
aTbx1
(
this
,
ResId
(
TBX1
)
),
aMtfTolerance
(
this
,
ResId
(
MTF_TOLERANCE
)
),
aContourWnd
(
this
,
ResId
(
CTL_CONTOUR
)
),
aStbStatus
(
this
,
WB_BORDER
|
WB_3DLOOK
|
WB_LEFT
),
nGrfChanged
(
0UL
),
pCheckObj
(
NULL
),
bExecState
(
FALSE
),
bGraphicLinked
(
FALSE
),
maImageList
(
SVX_RES
(
CD_IMAPDLG
)
),
...
...
@@ -493,17 +493,17 @@ void SvxSuperContourDlg::Resize()
if
(
aNewSize
.
Height
()
>=
aMinSize
.
Height
()
)
{
Size
aSize
(
aStbStatus
.
GetSizePixel
()
);
Point
aPoint
(
0
,
aNewSize
.
Height
()
-
aSize
.
Height
()
);
Size
_
aSize
(
aStbStatus
.
GetSizePixel
()
);
Point
aPoint
(
0
,
aNewSize
.
Height
()
-
_
aSize
.
Height
()
);
// StatusBar positionieren
aStbStatus
.
SetPosSizePixel
(
aPoint
,
Size
(
aNewSize
.
Width
(),
aSize
.
Height
()
)
);
aStbStatus
.
SetPosSizePixel
(
aPoint
,
Size
(
aNewSize
.
Width
(),
_
aSize
.
Height
()
)
);
aStbStatus
.
Show
();
// EditWindow positionieren
aSize
.
Width
()
=
aNewSize
.
Width
()
-
18
;
aSize
.
Height
()
=
aPoint
.
Y
()
-
aContourWnd
.
GetPosPixel
().
Y
()
-
6
;
aContourWnd
.
SetSizePixel
(
aSize
);
_
aSize
.
Width
()
=
aNewSize
.
Width
()
-
18
;
_
aSize
.
Height
()
=
aPoint
.
Y
()
-
aContourWnd
.
GetPosPixel
().
Y
()
-
6
;
aContourWnd
.
SetSizePixel
(
_
aSize
);
aLastSize
=
aNewSize
;
}
...
...
@@ -646,11 +646,11 @@ PolyPolygon SvxSuperContourDlg::GetPolyPolygon( BOOL bRescaleToGraphic )
|*
\************************************************************************/
void
SvxSuperContourDlg
::
Update
(
const
Graphic
&
rGraphic
,
BOOL
bGraphicLinked
,
void
SvxSuperContourDlg
::
Update
(
const
Graphic
&
rGraphic
,
BOOL
_
bGraphicLinked
,
const
PolyPolygon
*
pPolyPoly
,
void
*
pEditingObj
)
{
aUpdateGraphic
=
rGraphic
;
bUpdateGraphicLinked
=
bGraphicLinked
;
bUpdateGraphicLinked
=
_
bGraphicLinked
;
pUpdateEditingObject
=
pEditingObj
;
if
(
pPolyPoly
)
...
...
@@ -936,7 +936,7 @@ IMPL_LINK( SvxSuperContourDlg, GraphSizeHdl, ContourWindow*, pWnd )
|*
\************************************************************************/
IMPL_LINK
(
SvxSuperContourDlg
,
UpdateHdl
,
Timer
*
,
pTimer
)
IMPL_LINK
(
SvxSuperContourDlg
,
UpdateHdl
,
Timer
*
,
EMPTYARG
)
{
aUpdateTimer
.
Stop
();
...
...
@@ -969,7 +969,7 @@ IMPL_LINK( SvxSuperContourDlg, UpdateHdl, Timer*, pTimer )
|*
\************************************************************************/
IMPL_LINK
(
SvxSuperContourDlg
,
CreateHdl
,
Timer
*
,
pTimer
)
IMPL_LINK
(
SvxSuperContourDlg
,
CreateHdl
,
Timer
*
,
EMPTYARG
)
{
aCreateTimer
.
Stop
();
...
...
@@ -1093,7 +1093,6 @@ IMPL_LINK( SvxSuperContourDlg, PipetteClickHdl, ContourWindow*, pWnd )
{
Bitmap
aMask
;
const
Color
&
rColor
=
pWnd
->
GetPipetteColor
();
Bitmap
*
pMask
=
NULL
;
EnterWait
();
...
...
@@ -1174,7 +1173,7 @@ void SvxSuperContourDlg::DataChanged( const DataChangedEvent& rDCEvt )
|*
\************************************************************************/
IMPL_LINK
(
SvxSuperContourDlg
,
MiscHdl
,
void
*
,
p
)
IMPL_LINK
(
SvxSuperContourDlg
,
MiscHdl
,
void
*
,
EMPTYARG
)
{
SvtMiscOptions
aMiscOptions
;
aTbx1
.
SetOutStyle
(
aMiscOptions
.
GetToolboxStyle
()
);
...
...
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