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
7afb0644
Kaydet (Commit)
7afb0644
authored
May 27, 2003
tarafından
Vladimir Glazounov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS qadev6 (1.3.4); FILE MERGED
2003/05/21 10:58:26 sg 1.3.4.1: #109819# prepare devide of runner
üst
209aa728
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
SwXMailMerge.java
qadevOOo/tests/java/mod/_sw/SwXMailMerge.java
+6
-5
No files found.
qadevOOo/tests/java/mod/_sw/SwXMailMerge.java
Dosyayı görüntüle @
7afb0644
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: SwXMailMerge.java,v $
* $RCSfile: SwXMailMerge.java,v $
*
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
*
* last change:$Date: 2003-0
3-26 14:55:01
$
* last change:$Date: 2003-0
5-27 13:46:39
$
*
*
* 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
...
@@ -62,6 +62,7 @@
...
@@ -62,6 +62,7 @@
package
mod
.
_sw
;
package
mod
.
_sw
;
import
com.sun.star.uno.XInterface
;
import
com.sun.star.uno.XInterface
;
import
com.sun.star.lang.XMultiServiceFactory
;
import
com.sun.star.uno.UnoRuntime
;
import
com.sun.star.uno.UnoRuntime
;
import
java.io.PrintWriter
;
import
java.io.PrintWriter
;
import
lib.StatusException
;
import
lib.StatusException
;
...
@@ -110,7 +111,7 @@ public class SwXMailMerge extends TestCase {
...
@@ -110,7 +111,7 @@ public class SwXMailMerge extends TestCase {
XJob
Job
=
null
;
XJob
Job
=
null
;
try
{
try
{
oObj
=
(
XInterface
)
Param
.
getMSF
(
).
createInstance
oObj
=
(
XInterface
)
((
XMultiServiceFactory
)
Param
.
getMSF
()
).
createInstance
(
"com.sun.star.text.MailMerge"
);
(
"com.sun.star.text.MailMerge"
);
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
throw
new
StatusException
(
"Can't create object environment"
,
e
)
;
throw
new
StatusException
(
"Can't create object environment"
,
e
)
;
...
@@ -119,7 +120,7 @@ public class SwXMailMerge extends TestCase {
...
@@ -119,7 +120,7 @@ public class SwXMailMerge extends TestCase {
// <set some variables>
// <set some variables>
String
cTestDoc
=
utils
.
getFullTestURL
(
"MailMerge.sxw"
);
String
cTestDoc
=
utils
.
getFullTestURL
(
"MailMerge.sxw"
);
//cMailMerge_DocumentURL = cTestDoc
//cMailMerge_DocumentURL = cTestDoc
String
cOutputURL
=
utils
.
getOfficeTemp
(
Param
.
getMSF
());
String
cOutputURL
=
utils
.
getOfficeTemp
(
(
XMultiServiceFactory
)
Param
.
getMSF
());
String
cDataSourceName
=
"Bibliography"
;
String
cDataSourceName
=
"Bibliography"
;
String
cDataCommand
=
"biblio"
;
String
cDataCommand
=
"biblio"
;
Object
[]
sel
=
new
Object
[
2
];
Object
[]
sel
=
new
Object
[
2
];
...
@@ -129,7 +130,7 @@ public class SwXMailMerge extends TestCase {
...
@@ -129,7 +130,7 @@ public class SwXMailMerge extends TestCase {
// <create XResultSet>
// <create XResultSet>
try
{
try
{
oRowSet
=
(
XInterface
)
Param
.
getMSF
(
).
createInstance
oRowSet
=
(
XInterface
)
((
XMultiServiceFactory
)
Param
.
getMSF
()
).
createInstance
(
"com.sun.star.sdb.RowSet"
);
(
"com.sun.star.sdb.RowSet"
);
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
}
catch
(
com
.
sun
.
star
.
uno
.
Exception
e
)
{
throw
new
StatusException
(
"Can't create com.sun.star.sdb.RowSet"
,
e
);
throw
new
StatusException
(
"Can't create com.sun.star.sdb.RowSet"
,
e
);
...
...
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