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
013a64cc
Kaydet (Commit)
013a64cc
authored
Ara 09, 2003
tarafından
Mikhail Voitenko
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#112923# allow to control storing of visual representation for OLE objects
üst
86ef28fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
EmbedContApp.java
embeddedobj/test/Container1/EmbedContApp.java
+9
-2
No files found.
embeddedobj/test/Container1/EmbedContApp.java
Dosyayı görüntüle @
013a64cc
...
@@ -43,6 +43,8 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
...
@@ -43,6 +43,8 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
{
{
private
XMultiServiceFactory
m_xServiceFactory
;
private
XMultiServiceFactory
m_xServiceFactory
;
private
final
boolean
m_bStoreVisRepl
=
false
;
private
XJob
m_xMainThreadExecutor
;
private
XJob
m_xMainThreadExecutor
;
private
NamedValue
[]
m_pValuesForExecutor
;
private
NamedValue
[]
m_pValuesForExecutor
;
...
@@ -1108,7 +1110,11 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
...
@@ -1108,7 +1110,11 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
Object
oStorage
=
xStorageFactory
.
createInstanceWithArguments
(
aArgs
);
Object
oStorage
=
xStorageFactory
.
createInstanceWithArguments
(
aArgs
);
XStorage
xTargetStorage
=
(
XStorage
)
UnoRuntime
.
queryInterface
(
XStorage
.
class
,
oStorage
);
XStorage
xTargetStorage
=
(
XStorage
)
UnoRuntime
.
queryInterface
(
XStorage
.
class
,
oStorage
);
xPersist
.
storeAsEntry
(
xTargetStorage
,
"EmbedSub"
,
new
PropertyValue
[
0
],
new
PropertyValue
[
0
]
);
PropertyValue
aProps
[]
=
{
new
PropertyValue
()
};
aProps
[
0
].
Name
=
"StoreVisualReplacement"
;
aProps
[
0
].
Value
=
new
Boolean
(
m_bStoreVisRepl
);
xPersist
.
storeAsEntry
(
xTargetStorage
,
"EmbedSub"
,
new
PropertyValue
[
0
],
aProps
);
xPersist
.
saveCompleted
(
true
);
xPersist
.
saveCompleted
(
true
);
// the object must be already based on new storage
// the object must be already based on new storage
...
@@ -1191,7 +1197,8 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
...
@@ -1191,7 +1197,8 @@ public class EmbedContApp extends Applet implements MouseListener, XEmbeddedClie
else
else
oEmbObj
=
xEmbedCreator
.
createInstanceInitFromEntry
(
xTargetStorage
,
oEmbObj
=
xEmbedCreator
.
createInstanceInitFromEntry
(
xTargetStorage
,
"EmbedSub"
,
"EmbedSub"
,
false
);
false
,
new
PropertyValue
[
0
]
);
m_xEmbedObj
=
(
XEmbeddedObject
)
UnoRuntime
.
queryInterface
(
XEmbeddedObject
.
class
,
oEmbObj
);
m_xEmbedObj
=
(
XEmbeddedObject
)
UnoRuntime
.
queryInterface
(
XEmbeddedObject
.
class
,
oEmbObj
);
...
...
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