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
c726a8c3
Kaydet (Commit)
c726a8c3
authored
Ock 13, 2005
tarafından
Kurt Zenker
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS notesapi (1.1.150); FILE MERGED
2005/01/07 14:56:05 sw 1.1.150.1: #i36871#
üst
20d77c98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
2 deletions
+32
-2
_DataPilotField.java
qadevOOo/tests/java/ifc/sheet/_DataPilotField.java
+32
-2
No files found.
qadevOOo/tests/java/ifc/sheet/_DataPilotField.java
Dosyayı görüntüle @
c726a8c3
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: _DataPilotField.java,v $
*
* $Revision: 1.
1
$
* $Revision: 1.
2
$
*
* last change:$Date: 200
3-01-27 18:12:39
$
* last change:$Date: 200
5-01-13 17:40:12
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -61,6 +61,7 @@
package
ifc
.
sheet
;
import
com.sun.star.sheet.DataPilotFieldSortInfo
;
import
lib.MultiPropertyTest
;
/**
...
...
@@ -74,6 +75,35 @@ import lib.MultiPropertyTest;
* @see com.sun.star.sheet.DataPilotField
*/
public
class
_DataPilotField
extends
MultiPropertyTest
{
/**
*This class is destined to custom test of property <code>PageStyle</code>.
*/
protected
PropertyTester
infoTester
=
new
PropertyTester
()
{
protected
Object
getNewValue
(
String
propName
,
Object
oldValue
)
{
DataPilotFieldSortInfo
sortInfo
=
new
DataPilotFieldSortInfo
();
sortInfo
.
Mode
=
com
.
sun
.
star
.
sheet
.
DataPilotFieldSortMode
.
MANUAL
;
sortInfo
.
IsAscending
=
false
;
sortInfo
.
Field
=
"COL1"
;
System
.
out
.
println
(
"Having Value and returning a new one"
);
return
sortInfo
.
equals
(
oldValue
)
?
null
:
sortInfo
;
}
};
/**
* Test property <code>PageStyle</code> using custom <code>PropertyTest</code>.
*/
public
void
_SortInfo
()
{
System
.
out
.
println
(
"first trying to get it"
);
Object
getting
=
null
;
try
{
oObj
.
getPropertyValue
(
"SortInfo"
);
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"FAILED"
);
}
System
.
out
.
println
(
"Getting: "
+
getting
.
getClass
().
getName
());
testProperty
(
"SortInfo"
,
infoTester
);
}
}
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