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
1a4dceca
Kaydet (Commit)
1a4dceca
authored
Mar 23, 2001
tarafından
Thomas Benisch
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
code cleanup
üst
d6d355d1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
203 additions
and
199 deletions
+203
-199
dlgedobj.cxx
basctl/source/dlged/dlgedobj.cxx
+89
-58
dlgedview.cxx
basctl/source/dlged/dlgedview.cxx
+5
-28
propbrw.cxx
basctl/source/dlged/propbrw.cxx
+53
-44
dlgedobj.hxx
basctl/source/inc/dlgedobj.hxx
+43
-51
dlgedview.hxx
basctl/source/inc/dlgedview.hxx
+4
-16
propbrw.hxx
basctl/source/inc/propbrw.hxx
+9
-2
No files found.
basctl/source/dlged/dlgedobj.cxx
Dosyayı görüntüle @
1a4dceca
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: dlgedobj.cxx,v $
* $RCSfile: dlgedobj.cxx,v $
*
*
* $Revision: 1.1
1
$
* $Revision: 1.1
2
$
*
*
* last change: $Author: tbe $ $Date: 2001-03-2
0 14:37:0
7 $
* last change: $Author: tbe $ $Date: 2001-03-2
3 16:12:1
7 $
*
*
* 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
...
@@ -66,22 +66,6 @@
...
@@ -66,22 +66,6 @@
#include "dlgedobj.hxx"
#include "dlgedobj.hxx"
#endif
#endif
#ifndef _TOOLS_RESMGR_HXX
#include <tools/resmgr.hxx>
#endif
#ifndef _SVDIO_HXX //autogen
#include <svx/svdio.hxx>
#endif
#ifndef _SHL_HXX
#include <tools/shl.hxx>
#endif
#ifndef _SVX_FMGLOB_HXX
#include <svx/fmglob.hxx>
#endif
#ifndef _BASCTL_DLGED_HXX
#ifndef _BASCTL_DLGED_HXX
#include "dlged.hxx"
#include "dlged.hxx"
#endif
#endif
...
@@ -102,6 +86,28 @@
...
@@ -102,6 +86,28 @@
#include "dlgedlist.hxx"
#include "dlgedlist.hxx"
#endif
#endif
#ifndef _IDERID_HXX
#include <iderid.hxx>
#endif
#ifndef _BASCTL_DLGRESID_HRC
#include <dlgresid.hrc>
#endif
#include "vcsbxdef.hxx"
#ifndef _TOOLS_RESMGR_HXX
#include <tools/resmgr.hxx>
#endif
#ifndef _SVDIO_HXX //autogen
#include <svx/svdio.hxx>
#endif
#ifndef _SHL_HXX
#include <tools/shl.hxx>
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#endif
#endif
...
@@ -122,13 +128,6 @@
...
@@ -122,13 +128,6 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#endif
#endif
#include <iderid.hxx>
#ifndef _BASCTL_DLGRESID_HRC
#include <dlgresid.hrc>
#endif
#include "vcsbxdef.hxx"
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
uno
;
...
@@ -619,7 +618,6 @@ void DlgEdObj::UpdateStep()
...
@@ -619,7 +618,6 @@ void DlgEdObj::UpdateStep()
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void
SAL_CALL
DlgEdObj
::
TabIndexChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
void
SAL_CALL
DlgEdObj
::
TabIndexChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
{
// stop listening with all childs
// stop listening with all childs
...
@@ -697,7 +695,7 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
...
@@ -697,7 +695,7 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
::
rtl
::
OUString
DlgEdObj
::
GetServiceName
()
::
rtl
::
OUString
DlgEdObj
::
GetServiceName
()
const
{
{
::
rtl
::
OUString
aServiceName
;
::
rtl
::
OUString
aServiceName
;
Reference
<
lang
::
XServiceInfo
>
xServiceInfo
(
GetUnoControlModel
()
,
UNO_QUERY
);
Reference
<
lang
::
XServiceInfo
>
xServiceInfo
(
GetUnoControlModel
()
,
UNO_QUERY
);
...
@@ -714,7 +712,7 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
...
@@ -714,7 +712,7 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
::
rtl
::
OUString
DlgEdObj
::
GetDefaultName
()
::
rtl
::
OUString
DlgEdObj
::
GetDefaultName
()
const
{
{
sal_uInt16
nResId
=
0
;
sal_uInt16
nResId
=
0
;
::
rtl
::
OUString
aDefaultName
;
::
rtl
::
OUString
aDefaultName
;
...
@@ -788,7 +786,7 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
...
@@ -788,7 +786,7 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
::
rtl
::
OUString
DlgEdObj
::
GetUniqueName
()
::
rtl
::
OUString
DlgEdObj
::
GetUniqueName
()
const
{
{
::
rtl
::
OUString
aUniqueName
;
::
rtl
::
OUString
aUniqueName
;
uno
::
Reference
<
container
::
XNameAccess
>
xNameAcc
((
GetDlgEdForm
()
->
GetUnoControlModel
()),
uno
::
UNO_QUERY
);
uno
::
Reference
<
container
::
XNameAccess
>
xNameAcc
((
GetDlgEdForm
()
->
GetUnoControlModel
()),
uno
::
UNO_QUERY
);
...
@@ -811,11 +809,6 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
...
@@ -811,11 +809,6 @@ void SAL_CALL DlgEdObj::TabIndexChange( const ::com::sun::star::beans::Property
sal_uInt32
DlgEdObj
::
GetObjInventor
()
const
sal_uInt32
DlgEdObj
::
GetObjInventor
()
const
{
{
/*
if( GetModel() && ((FmFormModel*)GetModel())->IsStreamingOldVersion() )
return SdrInventor;
return FmFormInventor;
*/
return
VCSbxInventor
;
return
VCSbxInventor
;
}
}
...
@@ -823,23 +816,63 @@ sal_uInt32 DlgEdObj::GetObjInventor() const
...
@@ -823,23 +816,63 @@ sal_uInt32 DlgEdObj::GetObjInventor() const
sal_uInt16
DlgEdObj
::
GetObjIdentifier
()
const
sal_uInt16
DlgEdObj
::
GetObjIdentifier
()
const
{
{
/*
::
rtl
::
OUString
aServiceName
=
GetServiceName
();
if( GetModel() && ((FmFormModel*)GetModel())->IsStreamingOldVersion() )
return OBJ_RECT;
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlDialogModel"
)
))
return OBJ_FM_CONTROL;
{
*/
return
OBJ_DIALOG
;
return
OBJ_FM_CONTROL
;
// change this
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlButtonModel"
)
))
{
return
OBJ_DLG_PUSHBUTTON
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlRadioButtonModel"
)
))
{
return
OBJ_DLG_RADIOBUTTON
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlCheckBoxModel"
)
))
{
return
OBJ_DLG_CHECKBOX
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlListBoxModel"
)
))
{
return
OBJ_DLG_LISTBOX
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlComboBoxModel"
)
))
{
return
OBJ_DLG_COMBOBOX
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlGroupBoxModel"
)
))
{
return
OBJ_DLG_GROUPBOX
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlEditModel"
)
))
{
return
OBJ_DLG_EDIT
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlFixedTextModel"
)
))
{
return
OBJ_DLG_FIXEDTEXT
;
}
else
if
(
aServiceName
.
equalsAsciiL
(
RTL_CONSTASCII_STRINGPARAM
(
"com.sun.star.awt.UnoControlImageControlModel"
)
))
{
return
OBJ_DLG_PREVIEW
;
}
else
{
return
0
;
}
}
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void
DlgEdObj
::
clonedFrom
(
const
DlgEdObj
*
_pSource
)
void
DlgEdObj
::
clonedFrom
(
const
DlgEdObj
*
_pSource
)
// not working yet
{
{
}
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
SdrObject
*
DlgEdObj
::
Clone
()
const
SdrObject
*
DlgEdObj
::
Clone
()
const
// not working yet
{
{
SdrObject
*
pReturn
=
SdrUnoObj
::
Clone
();
SdrObject
*
pReturn
=
SdrUnoObj
::
Clone
();
...
@@ -853,7 +886,7 @@ SdrObject* DlgEdObj::Clone() const
...
@@ -853,7 +886,7 @@ SdrObject* DlgEdObj::Clone() const
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
SdrObject
*
DlgEdObj
::
Clone
(
SdrPage
*
_pPage
,
SdrModel
*
_pModel
)
const
SdrObject
*
DlgEdObj
::
Clone
(
SdrPage
*
_pPage
,
SdrModel
*
_pModel
)
const
// not working yet
{
{
SdrObject
*
pReturn
=
SdrUnoObj
::
Clone
(
_pPage
,
_pModel
);
SdrObject
*
pReturn
=
SdrUnoObj
::
Clone
(
_pPage
,
_pModel
);
if
(
!
pReturn
)
if
(
!
pReturn
)
...
@@ -864,7 +897,7 @@ SdrObject* DlgEdObj::Clone(SdrPage* _pPage, SdrModel* _pModel) const
...
@@ -864,7 +897,7 @@ SdrObject* DlgEdObj::Clone(SdrPage* _pPage, SdrModel* _pModel) const
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void
DlgEdObj
::
operator
=
(
const
SdrObject
&
rObj
)
void
DlgEdObj
::
operator
=
(
const
SdrObject
&
rObj
)
// not working yet
{
{
SdrUnoObj
::
operator
=
(
rObj
);
SdrUnoObj
::
operator
=
(
rObj
);
...
@@ -872,25 +905,14 @@ void DlgEdObj::operator= (const SdrObject& rObj)
...
@@ -872,25 +905,14 @@ void DlgEdObj::operator= (const SdrObject& rObj)
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void
DlgEdObj
::
WriteData
(
SvStream
&
rOut
)
const
void
DlgEdObj
::
WriteData
(
SvStream
&
rOut
)
const
// not working yet
{
{
/*
FmFormModel* pModel = (FmFormModel*)GetModel();
if( pModel && pModel->IsStreamingOldVersion() )
{
SdrLayerID nOld = GetLayer();
((FmFormObj*)this)->NbcSetLayer( pModel->GetControlExportLayerId( *this ) );
SdrUnoObj::WriteData( rOut );
((FmFormObj*)this)->NbcSetLayer( nOld );
return;
}
*/
SdrUnoObj
::
WriteData
(
rOut
);
SdrUnoObj
::
WriteData
(
rOut
);
}
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void
DlgEdObj
::
ReadData
(
const
SdrObjIOHeader
&
rHead
,
SvStream
&
rIn
)
void
DlgEdObj
::
ReadData
(
const
SdrObjIOHeader
&
rHead
,
SvStream
&
rIn
)
// not working yet
{
{
SdrUnoObj
::
ReadData
(
rHead
,
rIn
);
SdrUnoObj
::
ReadData
(
rHead
,
rIn
);
}
}
...
@@ -921,7 +943,7 @@ FASTBOOL DlgEdObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
...
@@ -921,7 +943,7 @@ FASTBOOL DlgEdObj::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
EndListening
(
sal_False
);
EndListening
(
sal_False
);
// set parent form
// set parent form
pDlgEdForm
=
((
DlgEdPage
*
)
GetPage
())
->
GetDlgEd
()
->
GetDlgEd
Form
();
pDlgEdForm
=
((
DlgEdPage
*
)
GetPage
())
->
GetDlgEdForm
();
// add child to parent form
// add child to parent form
pDlgEdForm
->
AddChild
(
this
);
pDlgEdForm
->
AddChild
(
this
);
...
@@ -1337,9 +1359,18 @@ FASTBOOL DlgEdForm::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
...
@@ -1337,9 +1359,18 @@ FASTBOOL DlgEdForm::EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd)
{
{
sal_Bool
bResult
=
SdrUnoObj
::
EndCreate
(
rStat
,
eCmd
);
sal_Bool
bResult
=
SdrUnoObj
::
EndCreate
(
rStat
,
eCmd
);
// stop listening
EndListening
(
sal_False
);
// set geometry properties
// set geometry properties
SetPropsFromRect
();
SetPropsFromRect
();
// dialog model changed
GetDlgEditor
()
->
SetDialogModelChanged
(
TRUE
);
// start listening
StartListening
();
return
bResult
;
return
bResult
;
}
}
...
...
basctl/source/dlged/dlgedview.cxx
Dosyayı görüntüle @
1a4dceca
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: dlgedview.cxx,v $
* $RCSfile: dlgedview.cxx,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change: $Author: tbe $ $Date: 2001-0
2-26 10:48:56
$
* last change: $Author: tbe $ $Date: 2001-0
3-23 16:14:38
$
*
*
* 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
...
@@ -59,41 +59,18 @@
...
@@ -59,41 +59,18 @@
*
*
************************************************************************/
************************************************************************/
#ifndef _SFXITEMPOOL_HXX
#include <svtools/itempool.hxx>
#endif
#ifndef _
SVDVIEW_HXX //autogen
#ifndef _
BASCTL_DLGEDVIEW_HXX
#include
<svx/svdview.hxx>
#include
"dlgedview.hxx"
#endif
#endif
#pragma hdrstop
#include <svx/svdobj.hxx>
#ifndef _SVXIDS_HRC
#ifndef _SVXIDS_HRC
#include <svx/svxids.hrc>
#include <svx/svxids.hrc>
#endif
#endif
#ifndef _SFXVIEWFRM_HXX
#ifndef _SFXVIEWFRM_HXX
#include <sfx2/viewfrm.hxx>
#include <sfx2/viewfrm.hxx>
#endif
#endif
#include <svx/svdlayer.hxx>
#ifndef _BASCTL_DLGED_HXX
#include "dlged.hxx"
#endif
#ifndef _BASCTL_DLGEDFUNC_HXX
#include "dlgedfunc.hxx"
#endif
#ifndef _BASCTL_DLGEDFAC_HXX
#include "dlgedfac.hxx"
#endif
#ifndef _BASCTL_DLGEDVIEW_HXX
#include "dlgedview.hxx"
#endif
#ifndef _BASCTL_PROPBRW_HXX
#ifndef _BASCTL_PROPBRW_HXX
#include "propbrw.hxx"
#include "propbrw.hxx"
...
...
basctl/source/dlged/propbrw.cxx
Dosyayı görüntüle @
1a4dceca
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: propbrw.cxx,v $
* $RCSfile: propbrw.cxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: tbe $ $Date: 2001-03-
16 13:40:30
$
* last change: $Author: tbe $ $Date: 2001-03-
23 16:16:26
$
*
*
* 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
...
@@ -59,22 +59,73 @@
...
@@ -59,22 +59,73 @@
*
*
************************************************************************/
************************************************************************/
#ifndef _BASCTL_PROPBRW_HXX
#include "propbrw.hxx"
#endif
#ifndef _BASCTL_DLGEDOBJ_HXX
#include "dlgedobj.hxx"
#endif
#include "basidesh.hxx"
#ifndef _IDERID_HXX
#include <iderid.hxx>
#endif
#ifndef _BASCTL_DLGRESID_HRC
#include <dlgresid.hrc>
#endif
#ifndef _TOOLS_DEBUG_HXX
#ifndef _TOOLS_DEBUG_HXX
#include <tools/debug.hxx>
#include <tools/debug.hxx>
#endif
#endif
#ifndef _SFX_BINDINGS_HXX
#ifndef _SFX_BINDINGS_HXX
#include <sfx2/bindings.hxx>
#include <sfx2/bindings.hxx>
#endif
#endif
#ifndef _SFX_CHILDWIN_HXX
#ifndef _SFX_CHILDWIN_HXX
#include <sfx2/childwin.hxx>
#include <sfx2/childwin.hxx>
#endif
#endif
#ifndef _SFX_OBJITEM_HXX
#ifndef _SFX_OBJITEM_HXX
#include <sfx2/objitem.hxx>
#include <sfx2/objitem.hxx>
#endif
#endif
#ifndef _SVX_SVXIDS_HRC
#ifndef _SVX_SVXIDS_HRC
#include <svx/svxids.hrc>
#include <svx/svxids.hrc>
#endif
#endif
#ifndef _SHL_HXX
#include <tools/shl.hxx>
#endif
#ifndef _VCL_STDTEXT_HXX
#include <vcl/stdtext.hxx>
#endif
#ifndef _SVDVIEW_HXX //autogen
#include <svx/svdview.hxx>
#endif
#ifndef _SVDOGRP_HXX
#include <svx/svdogrp.hxx>
#endif
#ifndef _SVDPAGE_HXX
#include <svx/svdpage.hxx>
#endif
#ifndef _SVDITER_HXX
#include <svx/svditer.hxx>
#endif
#ifndef _SFXVIEWSH_HXX //autogen
#include <sfx2/viewsh.hxx>
#endif
#ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_
#ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_
#include <toolkit/unohlp.hxx>
#include <toolkit/unohlp.hxx>
#endif
#endif
...
@@ -111,48 +162,6 @@
...
@@ -111,48 +162,6 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/processfactory.hxx>
#endif
#endif
#ifndef _SHL_HXX
#include <tools/shl.hxx>
#endif
#ifndef _SVX_DIALMGR_HXX //autogen
#include <svx/dialmgr.hxx>
#endif
#ifndef _VCL_STDTEXT_HXX
#include <vcl/stdtext.hxx>
#endif
#ifndef _SVDVIEW_HXX //autogen
#include <svx/svdview.hxx>
#endif
#ifndef _SVDOGRP_HXX
#include <svx/svdogrp.hxx>
#endif
#ifndef _SVDPAGE_HXX
#include <svx/svdpage.hxx>
#endif
#ifndef _SVDITER_HXX
#include <svx/svditer.hxx>
#endif
#ifndef _SFXVIEWSH_HXX //autogen
#include <sfx2/viewsh.hxx>
#endif
#ifndef _BASCTL_DLGEDOBJ_HXX
#include "dlgedobj.hxx"
#endif
#ifndef _BASCTL_PROPBRW_HXX
#include "propbrw.hxx"
#endif
#include "basidesh.hxx"
#include <iderid.hxx>
#ifndef _BASCTL_DLGRESID_HRC
#include <dlgresid.hrc>
#endif
//============================================================================
//============================================================================
// PropBrwMgr
// PropBrwMgr
...
...
basctl/source/inc/dlgedobj.hxx
Dosyayı görüntüle @
1a4dceca
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: dlgedobj.hxx,v $
* $RCSfile: dlgedobj.hxx,v $
*
*
* $Revision: 1.
8
$
* $Revision: 1.
9
$
*
*
* last change: $Author: tbe $ $Date: 2001-03-2
0 14:34:4
5 $
* last change: $Author: tbe $ $Date: 2001-03-2
3 16:12:3
5 $
*
*
* 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
...
@@ -88,8 +88,8 @@ class DlgEdForm;
...
@@ -88,8 +88,8 @@ class DlgEdForm;
class
DlgEdObj
:
public
SdrUnoObj
class
DlgEdObj
:
public
SdrUnoObj
{
{
friend
class
VC
DlgEditor
;
friend
class
DlgEditor
;
friend
class
VCDlgEdit
Factory
;
friend
class
DlgEd
Factory
;
friend
class
DlgEdPropListenerImpl
;
friend
class
DlgEdPropListenerImpl
;
friend
class
DlgEdForm
;
friend
class
DlgEdForm
;
...
@@ -99,62 +99,56 @@ private:
...
@@ -99,62 +99,56 @@ private:
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertyChangeListener
>
m_xPropertyChangeListener
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertyChangeListener
>
m_xPropertyChangeListener
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XContainerListener
>
m_xContainerListener
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XContainerListener
>
m_xContainerListener
;
public
:
TYPEINFO
();
protected
:
protected
:
DlgEdObj
();
DlgEdObj
();
DlgEdObj
(
const
::
rtl
::
OUString
&
rModelName
);
DlgEdObj
(
const
::
rtl
::
OUString
&
rModelName
);
DlgEdObj
(
const
::
rtl
::
OUString
&
rModelName
,
DlgEdObj
(
const
::
rtl
::
OUString
&
rModelName
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rxSFac
);
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rxSFac
);
virtual
void
WriteData
(
SvStream
&
rOut
)
const
;
// not working yet
virtual
void
ReadData
(
const
SdrObjIOHeader
&
rHead
,
SvStream
&
rIn
);
// not working yet
virtual
void
NbcMove
(
const
Size
&
rSize
);
virtual
void
NbcResize
(
const
Point
&
rRef
,
const
Fraction
&
xFact
,
const
Fraction
&
yFact
);
virtual
FASTBOOL
EndCreate
(
SdrDragStat
&
rStat
,
SdrCreateCmd
eCmd
);
DECL_LINK
(
OnCreate
,
void
*
);
void
StartListening
();
void
EndListening
(
sal_Bool
bRemoveListener
=
sal_True
);
sal_Bool
isListening
()
const
{
return
bIsListening
;
}
public
:
public
:
TYPEINFO
();
virtual
~
DlgEdObj
();
virtual
~
DlgEdObj
();
virtual
void
SetPage
(
SdrPage
*
pNewPage
);
virtual
void
SetPage
(
SdrPage
*
pNewPage
);
virtual
void
SetDlgEdForm
(
DlgEdForm
*
pForm
)
{
pDlgEdForm
=
pForm
;
}
virtual
void
SetDlgEdForm
(
DlgEdForm
*
pForm
)
{
pDlgEdForm
=
pForm
;
}
virtual
DlgEdForm
*
GetDlgEdForm
()
const
{
return
pDlgEdForm
;
}
virtual
DlgEdForm
*
GetDlgEdForm
()
const
{
return
pDlgEdForm
;
}
virtual
void
SetRectFromProps
();
virtual
void
SetPropsFromRect
();
virtual
void
SAL_CALL
NameChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
sal_Int32
GetStep
()
const
;
virtual
void
SetStep
(
sal_Int32
nStep
);
virtual
void
UpdateStep
();
virtual
void
SAL_CALL
TabIndexChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
rtl
::
OUString
GetServiceName
();
::
rtl
::
OUString
GetDefaultName
();
::
rtl
::
OUString
GetUniqueName
();
virtual
sal_uInt32
GetObjInventor
()
const
;
virtual
sal_uInt32
GetObjInventor
()
const
;
virtual
sal_uInt16
GetObjIdentifier
()
const
;
virtual
sal_uInt16
GetObjIdentifier
()
const
;
virtual
SdrObject
*
Clone
()
const
;
virtual
SdrObject
*
Clone
()
const
;
// not working yet
virtual
SdrObject
*
Clone
(
SdrPage
*
pPage
,
SdrModel
*
pModel
)
const
;
virtual
SdrObject
*
Clone
(
SdrPage
*
pPage
,
SdrModel
*
pModel
)
const
;
// not working yet
virtual
void
operator
=
(
const
SdrObject
&
rObj
);
virtual
void
operator
=
(
const
SdrObject
&
rObj
);
// not working yet
virtual
void
clonedFrom
(
const
DlgEdObj
*
_pSource
);
// not working yet
virtual
void
clonedFrom
(
const
DlgEdObj
*
_pSource
);
protected
:
virtual
::
rtl
::
OUString
GetServiceName
()
const
;
virtual
void
WriteData
(
SvStream
&
rOut
)
const
;
virtual
::
rtl
::
OUString
GetDefaultName
(
)
const
;
virtual
void
ReadData
(
const
SdrObjIOHeader
&
rHead
,
SvStream
&
rIn
)
;
virtual
::
rtl
::
OUString
GetUniqueName
()
const
;
virtual
void
NbcMove
(
const
Size
&
rSize
)
;
virtual
sal_Int32
GetStep
()
const
;
virtual
void
NbcResize
(
const
Point
&
rRef
,
const
Fraction
&
xFact
,
const
Fraction
&
yFact
);
virtual
void
SetStep
(
sal_Int32
nStep
);
virtual
FASTBOOL
EndCreate
(
SdrDragStat
&
rStat
,
SdrCreateCmd
eCmd
);
virtual
void
UpdateStep
(
);
DECL_LINK
(
OnCreate
,
void
*
);
virtual
void
SetRectFromProps
();
virtual
void
SetPropsFromRect
();
// start listening
virtual
void
SAL_CALL
NameChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
void
StartListening
();
virtual
void
SAL_CALL
TabIndexChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// end listening
void
EndListening
(
sal_Bool
bRemoveListener
=
sal_True
);
sal_Bool
isListening
()
const
{
return
bIsListening
;
}
public
:
// PropertyChangeListener
// PropertyChangeListener
virtual
void
SAL_CALL
_propertyChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
virtual
void
SAL_CALL
_propertyChange
(
const
::
com
::
sun
::
star
::
beans
::
PropertyChangeEvent
&
evt
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
...
@@ -171,26 +165,28 @@ public:
...
@@ -171,26 +165,28 @@ public:
class
DlgEdForm
:
public
DlgEdObj
class
DlgEdForm
:
public
DlgEdObj
{
{
friend
class
VC
DlgEditor
;
friend
class
DlgEditor
;
friend
class
VCDlgEdit
Factory
;
friend
class
DlgEd
Factory
;
private
:
private
:
VC
DlgEditor
*
pDlgEditor
;
DlgEditor
*
pDlgEditor
;
::
std
::
vector
<
DlgEdObj
*>
pChilds
;
::
std
::
vector
<
DlgEdObj
*>
pChilds
;
public
:
TYPEINFO
();
protected
:
protected
:
DlgEdForm
(
const
::
rtl
::
OUString
&
rModelName
);
DlgEdForm
(
const
::
rtl
::
OUString
&
rModelName
);
DlgEdForm
(
const
::
rtl
::
OUString
&
rModelName
,
DlgEdForm
(
const
::
rtl
::
OUString
&
rModelName
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rxSFac
);
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
rxSFac
);
DlgEdForm
();
DlgEdForm
();
virtual
FASTBOOL
EndCreate
(
SdrDragStat
&
rStat
,
SdrCreateCmd
eCmd
);
public
:
public
:
TYPEINFO
();
virtual
~
DlgEdForm
();
virtual
~
DlgEdForm
();
virtual
void
SetDlgEditor
(
VCDlgEditor
*
pEditor
)
{
pDlgEditor
=
pEditor
;
}
virtual
VCDlgEditor
*
GetDlgEditor
()
const
{
return
pDlgEditor
;
}
virtual
void
SetDlgEditor
(
DlgEditor
*
pEditor
)
{
pDlgEditor
=
pEditor
;
}
virtual
DlgEditor
*
GetDlgEditor
()
const
{
return
pDlgEditor
;
}
virtual
void
AddChild
(
DlgEdObj
*
pDlgEdObj
);
virtual
void
AddChild
(
DlgEdObj
*
pDlgEdObj
);
virtual
void
RemoveChild
(
DlgEdObj
*
pDlgEdObj
);
virtual
void
RemoveChild
(
DlgEdObj
*
pDlgEdObj
);
...
@@ -200,10 +196,6 @@ public:
...
@@ -200,10 +196,6 @@ public:
virtual
void
SortByTabIndex
();
virtual
void
SortByTabIndex
();
virtual
SdrObject
*
CheckHit
(
const
Point
&
rPnt
,
USHORT
nTol
,
const
SetOfByte
*
)
const
;
virtual
SdrObject
*
CheckHit
(
const
Point
&
rPnt
,
USHORT
nTol
,
const
SetOfByte
*
)
const
;
protected
:
virtual
FASTBOOL
EndCreate
(
SdrDragStat
&
rStat
,
SdrCreateCmd
eCmd
);
};
};
#endif // _BASCTL_DLGEDOBJ_HXX
#endif // _BASCTL_DLGEDOBJ_HXX
...
...
basctl/source/inc/dlgedview.hxx
Dosyayı görüntüle @
1a4dceca
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: dlgedview.hxx,v $
* $RCSfile: dlgedview.hxx,v $
*
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
*
* last change: $Author: tbe $ $Date: 2001-0
2-26 11:09:18
$
* last change: $Author: tbe $ $Date: 2001-0
3-23 16:15:01
$
*
*
* 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
...
@@ -59,25 +59,14 @@
...
@@ -59,25 +59,14 @@
*
*
************************************************************************/
************************************************************************/
#ifndef _BASCTL_DLGEDVIEW_HXX
#ifndef _BASCTL_DLGEDVIEW_HXX
#define _BASCTL_DLGEDVIEW_HXX
#define _BASCTL_DLGEDVIEW_HXX
#ifndef _SVDVIEW_HXX
//autogen
#ifndef _SVDVIEW_HXX
#include <svx/svdview.hxx>
#include <svx/svdview.hxx>
#endif
#endif
#ifndef _SFXITEMPOOL_HXX
#include <svtools/itempool.hxx>
#endif
#pragma hdrstop
#ifndef _SVXIDS_HRC
#include <svx/svxids.hrc>
#endif
#ifndef _SFXVIEWFRM_HXX
#include <sfx2/viewfrm.hxx>
#endif
#include <svx/svdlayer.hxx>
//============================================================================
//============================================================================
// DlgEdView
// DlgEdView
...
@@ -96,4 +85,3 @@ public:
...
@@ -96,4 +85,3 @@ public:
};
};
#endif //_BASCTL_DLGEDVIEW_HXX
#endif //_BASCTL_DLGEDVIEW_HXX
basctl/source/inc/propbrw.hxx
Dosyayı görüntüle @
1a4dceca
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: propbrw.hxx,v $
* $RCSfile: propbrw.hxx,v $
*
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
*
* last change: $Author: tbe $ $Date: 2001-03-
16 13:40:42
$
* last change: $Author: tbe $ $Date: 2001-03-
23 16:16:45
$
*
*
* 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
...
@@ -65,12 +65,15 @@
...
@@ -65,12 +65,15 @@
#ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
#ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#endif
#endif
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
#ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#endif
#endif
#ifndef _COM_SUN_STAR_AWT_XCONTROLCONTAINER_HPP_
#ifndef _COM_SUN_STAR_AWT_XCONTROLCONTAINER_HPP_
#include <com/sun/star/awt/XControlContainer.hpp>
#include <com/sun/star/awt/XControlContainer.hpp>
#endif
#endif
#ifndef _COM_SUN_STAR_FRAME_XFRAME_HPP_
#ifndef _COM_SUN_STAR_FRAME_XFRAME_HPP_
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/frame/XFrame.hpp>
#endif
#endif
...
@@ -82,12 +85,15 @@
...
@@ -82,12 +85,15 @@
#ifndef _BASEDLGS_HXX
#ifndef _BASEDLGS_HXX
#include <sfx2/basedlgs.hxx>
#include <sfx2/basedlgs.hxx>
#endif
#endif
#ifndef _SFXBRDCST_HXX //autogen
#ifndef _SFXBRDCST_HXX //autogen
#include <svtools/brdcst.hxx>
#include <svtools/brdcst.hxx>
#endif
#endif
#ifndef _SFXLSTNER_HXX //autogen
#ifndef _SFXLSTNER_HXX //autogen
#include <svtools/lstner.hxx>
#include <svtools/lstner.hxx>
#endif
#endif
#ifndef _SFX_CHILDWIN_HXX
#ifndef _SFX_CHILDWIN_HXX
#include <sfx2/childwin.hxx>
#include <sfx2/childwin.hxx>
#endif
#endif
...
@@ -120,6 +126,7 @@ class SdrView;
...
@@ -120,6 +126,7 @@ class SdrView;
class
PropBrw
:
public
SfxFloatingWindow
,
public
SfxListener
,
public
SfxBroadcaster
class
PropBrw
:
public
SfxFloatingWindow
,
public
SfxListener
,
public
SfxBroadcaster
{
{
private
:
sal_Bool
m_bInitialStateChange
;
sal_Bool
m_bInitialStateChange
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>
...
...
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