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
b2af4b20
Kaydet (Commit)
b2af4b20
authored
May 04, 2012
tarafından
Noel Power
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "reorganise code a little so ole controls are catered for wrt fdo#49430"
This reverts commit
76bab166
.
üst
4d704786
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
vmldrawing.hxx
oox/inc/oox/vml/vmldrawing.hxx
+0
-1
vmldrawing.cxx
oox/source/vml/vmldrawing.cxx
+1
-1
vmlshape.cxx
oox/source/vml/vmlshape.cxx
+1
-1
drawingfragment.cxx
sc/source/filter/oox/drawingfragment.cxx
+6
-6
No files found.
oox/inc/oox/vml/vmldrawing.hxx
Dosyayı görüntüle @
b2af4b20
...
@@ -157,7 +157,6 @@ public:
...
@@ -157,7 +157,6 @@ public:
model into the form, and the shape into the passed UNO shape container. */
model into the form, and the shape into the passed UNO shape container. */
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
createAndInsertXControlShape
(
createAndInsertXControlShape
(
const
ClientData
*
pClientData
,
const
::
oox
::
ole
::
EmbeddedControl
&
rControl
,
const
::
oox
::
ole
::
EmbeddedControl
&
rControl
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>&
rxShapes
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShapes
>&
rxShapes
,
const
::
com
::
sun
::
star
::
awt
::
Rectangle
&
rShapeRect
,
const
::
com
::
sun
::
star
::
awt
::
Rectangle
&
rShapeRect
,
...
...
oox/source/vml/vmldrawing.cxx
Dosyayı görüntüle @
b2af4b20
...
@@ -247,7 +247,7 @@ Reference< XShape > Drawing::createAndInsertXShape( const OUString& rService,
...
@@ -247,7 +247,7 @@ Reference< XShape > Drawing::createAndInsertXShape( const OUString& rService,
return
xShape
;
return
xShape
;
}
}
Reference
<
XShape
>
Drawing
::
createAndInsertXControlShape
(
const
ClientData
*
pClientData
,
const
::
oox
::
ole
::
EmbeddedControl
&
rControl
,
Reference
<
XShape
>
Drawing
::
createAndInsertXControlShape
(
const
::
oox
::
ole
::
EmbeddedControl
&
rControl
,
const
Reference
<
XShapes
>&
rxShapes
,
const
Rectangle
&
rShapeRect
,
sal_Int32
&
rnCtrlIndex
)
const
const
Reference
<
XShapes
>&
rxShapes
,
const
Rectangle
&
rShapeRect
,
sal_Int32
&
rnCtrlIndex
)
const
{
{
Reference
<
XShape
>
xShape
;
Reference
<
XShape
>
xShape
;
...
...
oox/source/vml/vmlshape.cxx
Dosyayı görüntüle @
b2af4b20
...
@@ -557,7 +557,7 @@ Reference< XShape > ComplexShape::implConvertAndInsert( const Reference< XShapes
...
@@ -557,7 +557,7 @@ Reference< XShape > ComplexShape::implConvertAndInsert( const Reference< XShapes
{
{
// create and return the control shape (including control model)
// create and return the control shape (including control model)
sal_Int32
nCtrlIndex
=
-
1
;
sal_Int32
nCtrlIndex
=
-
1
;
Reference
<
XShape
>
xShape
=
mrDrawing
.
createAndInsertXControlShape
(
*
this
,
aControl
,
rxShapes
,
rShapeRect
,
nCtrlIndex
);
Reference
<
XShape
>
xShape
=
mrDrawing
.
createAndInsertXControlShape
(
aControl
,
rxShapes
,
rShapeRect
,
nCtrlIndex
);
// on error, proceed and try to create picture from replacement image
// on error, proceed and try to create picture from replacement image
if
(
xShape
.
is
()
)
if
(
xShape
.
is
()
)
return
xShape
;
return
xShape
;
...
...
sc/source/filter/oox/drawingfragment.cxx
Dosyayı görüntüle @
b2af4b20
...
@@ -614,6 +614,12 @@ Reference< XShape > VmlDrawing::createAndInsertClientXShape( const ::oox::vml::S
...
@@ -614,6 +614,12 @@ Reference< XShape > VmlDrawing::createAndInsertClientXShape( const ::oox::vml::S
getBaseFilter
().
getVbaProject
().
registerMacroAttacher
(
xAttacher
);
getBaseFilter
().
getVbaProject
().
registerMacroAttacher
(
xAttacher
);
}
}
}
}
if
(
!
pClientData
->
maAnchor
.
isEmpty
()
)
{
ShapeAnchor
aAnchor
(
*
this
);
aAnchor
.
importVmlAnchor
(
pClientData
->
maAnchor
);
aAnchor
.
applyToXShape
(
xShape
);
}
return
xShape
;
return
xShape
;
}
}
}
}
...
@@ -631,12 +637,6 @@ void VmlDrawing::notifyXShapeInserted( const Reference< XShape >& rxShape,
...
@@ -631,12 +637,6 @@ void VmlDrawing::notifyXShapeInserted( const Reference< XShape >& rxShape,
// convert settings from VML client data
// convert settings from VML client data
if
(
const
::
oox
::
vml
::
ClientData
*
pClientData
=
rShape
.
getClientData
()
)
if
(
const
::
oox
::
vml
::
ClientData
*
pClientData
=
rShape
.
getClientData
()
)
{
{
if
(
!
pClientData
->
maAnchor
.
isEmpty
()
)
{
ShapeAnchor
aAnchor
(
*
this
);
aAnchor
.
importVmlAnchor
(
pClientData
->
maAnchor
);
aAnchor
.
applyToXShape
(
rxShape
);
}
// specific settings for embedded form controls
// specific settings for embedded form controls
try
try
{
{
...
...
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