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
e240f5dc
Kaydet (Commit)
e240f5dc
authored
Eki 05, 2000
tarafından
jp
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
should change: remove image
üst
85f0d1fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
49 deletions
+7
-49
grfsh.hxx
sw/source/ui/inc/grfsh.hxx
+2
-3
grfsh.cxx
sw/source/ui/shells/grfsh.cxx
+5
-46
No files found.
sw/source/ui/inc/grfsh.hxx
Dosyayı görüntüle @
e240f5dc
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: grfsh.hxx,v $
* $RCSfile: grfsh.hxx,v $
*
*
* $Revision: 1.
1.1.1
$
* $Revision: 1.
2
$
*
*
* last change: $Author:
hr $ $Date: 2000-09-18 17:14:40
$
* last change: $Author:
jp $ $Date: 2000-10-05 11:34:19
$
*
*
* 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
...
@@ -69,7 +69,6 @@ public:
...
@@ -69,7 +69,6 @@ public:
SFX_DECL_INTERFACE
(
SW_GRFSHELL
);
SFX_DECL_INTERFACE
(
SW_GRFSHELL
);
void
Execute
(
SfxRequest
&
);
void
Execute
(
SfxRequest
&
);
void
GetState
(
SfxItemSet
&
);
void
ExecAttr
(
SfxRequest
&
);
void
ExecAttr
(
SfxRequest
&
);
void
GetAttrState
(
SfxItemSet
&
);
void
GetAttrState
(
SfxItemSet
&
);
...
...
sw/source/ui/shells/grfsh.cxx
Dosyayı görüntüle @
e240f5dc
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: grfsh.cxx,v $
* $RCSfile: grfsh.cxx,v $
*
*
* $Revision: 1.
1.1.1
$
* $Revision: 1.
2
$
*
*
* last change: $Author:
hr $ $Date: 2000-09-18 17:14:46
$
* last change: $Author:
jp $ $Date: 2000-10-05 11:35:18
$
*
*
* 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
...
@@ -433,29 +433,6 @@ void SwGrfShell::Execute(SfxRequest &rReq)
...
@@ -433,29 +433,6 @@ void SwGrfShell::Execute(SfxRequest &rReq)
}
}
break
;
break
;
case
SID_SIM_START
:
if
(
SFX_APP
()
->
HasFeature
(
SFX_FEATURE_SIMAGE
))
{
String
sGrfNm
;
rSh
.
GetGrfNms
(
&
sGrfNm
,
0
);
if
(
sGrfNm
.
Len
()
)
{
InfoBox
aAsk
(
GetView
().
GetWindow
(),
SW_RES
(
MSG_REMOVE_LINK
));
if
(
RET_NO
==
aAsk
.
Execute
())
break
;
}
GetView
().
GetEditWin
().
GrfToOle
();
if
(
rSh
.
IsOLEObj
()
)
{
rSh
.
LaunchOLEObj
();
}
else
rSh
.
GetView
().
GetViewFrame
()
->
GetDispatcher
()
->
Execute
(
FN_FORMAT_GRAFIC_DLG
);
}
break
;
case
FN_GRAPHIC_MIRROR_ON_EVEN_PAGES
:
case
FN_GRAPHIC_MIRROR_ON_EVEN_PAGES
:
{
{
SfxItemSet
aSet
(
rSh
.
GetAttrPool
(),
RES_GRFATR_MIRRORGRF
,
RES_GRFATR_MIRRORGRF
);
SfxItemSet
aSet
(
rSh
.
GetAttrPool
(),
RES_GRFATR_MIRRORGRF
,
RES_GRFATR_MIRRORGRF
);
...
@@ -466,12 +443,10 @@ void SwGrfShell::Execute(SfxRequest &rReq)
...
@@ -466,12 +443,10 @@ void SwGrfShell::Execute(SfxRequest &rReq)
}
}
break
;
break
;
default
:
default
:
ASSERT
(
!
this
,
falscher
Dispatcher
);
ASSERT
(
!
this
,
falscher
Dispatcher
);
return
;
return
;
}
}
}
}
...
@@ -585,25 +560,6 @@ void SwGrfShell::ExecAttr( SfxRequest &rReq )
...
@@ -585,25 +560,6 @@ void SwGrfShell::ExecAttr( SfxRequest &rReq )
GetView
().
GetViewFrame
()
->
GetBindings
().
Invalidate
(
rReq
.
GetSlot
());
GetView
().
GetViewFrame
()
->
GetBindings
().
Invalidate
(
rReq
.
GetSlot
());
}
}
void
SwGrfShell
::
GetState
(
SfxItemSet
&
rSet
)
{
// case SID_SIM_START:
if
(
GetShell
().
IsSelObjProtected
(
FLYPROTECT_CONTENT
)
||
!
SFX_APP
()
->
HasFeature
(
SFX_FEATURE_SIMAGE
)
)
{
rSet
.
DisableItem
(
SID_SIM_START
);
}
else
{
SwDocShell
&
rSh
=
*
GetView
().
GetDocShell
();
if
(
rSh
.
GetProtocol
().
IsInPlaceActive
()
||
rSh
.
GetCreateMode
()
==
SFX_CREATE_MODE_EMBEDDED
)
rSet
.
DisableItem
(
SID_SIM_START
);
}
}
void
SwGrfShell
::
GetAttrState
(
SfxItemSet
&
rSet
)
void
SwGrfShell
::
GetAttrState
(
SfxItemSet
&
rSet
)
{
{
SwWrtShell
&
rSh
=
GetShell
();
SwWrtShell
&
rSh
=
GetShell
();
...
@@ -963,6 +919,9 @@ IMPL_LINK( SwTextShell, InitGraphicFrame, Button *, pButton )
...
@@ -963,6 +919,9 @@ IMPL_LINK( SwTextShell, InitGraphicFrame, Button *, pButton )
/*------------------------------------------------------------------------
/*------------------------------------------------------------------------
$Log: not supported by cvs2svn $
$Log: not supported by cvs2svn $
Revision 1.1.1.1 2000/09/18 17:14:46 hr
initial import
Revision 1.134 2000/09/18 16:06:04 willem.vandorp
Revision 1.134 2000/09/18 16:06:04 willem.vandorp
OpenOffice header added.
OpenOffice header added.
...
...
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