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
7bcebc31
Kaydet (Commit)
7bcebc31
authored
May 19, 2013
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
java wizard FilterComponent: TODO annotations
Change-Id: I43ce0793306815988e39ba0735abd68f2022eaea
üst
48b29cd4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
FilterComponent.java
wizards/com/sun/star/wizards/ui/FilterComponent.java
+11
-0
No files found.
wizards/com/sun/star/wizards/ui/FilterComponent.java
Dosyayı görüntüle @
7bcebc31
...
...
@@ -270,6 +270,7 @@ public class FilterComponent
case
DataType
.
DATE
:
value
=
((
Double
)
value
)
-
oQueryMetaData
.
getNullDateCorrection
();
break
;
// TODO: TIME case?
}
column
.
removeProperty
(
"Value"
);
final
short
operator
=
currentControlRow
.
getSelectedOperator
();
...
...
@@ -777,10 +778,12 @@ public class FilterComponent
String
sValue
=
AnyConverter
.
toString
(
_filtercondition
.
Value
);
if
(
sValue
.
indexOf
(
"{D '"
)
>
-
1
)
{
// TODO: this seems to never happen?
sValue
=
JavaTools
.
replaceSubString
(
sValue
,
PropertyNames
.
EMPTY_STRING
,
"{D '"
);
sValue
=
JavaTools
.
replaceSubString
(
sValue
,
PropertyNames
.
EMPTY_STRING
,
"' }"
);
try
{
//Helper.setUnoPropertyValue(UnoDialog.getModel(ControlElements[SOTXTVALUE]), "EffectiveValue", );
oQueryMetaData
.
getNumberFormatter
().
convertStringToNumber
(
iDateFormat
,
sValue
);
}
catch
(
java
.
lang
.
Exception
ex
)
...
...
@@ -790,10 +793,12 @@ public class FilterComponent
}
else
if
(
sValue
.
indexOf
(
"{T '"
)
>
-
1
)
{
// TODO: this seems to never happen?
sValue
=
JavaTools
.
replaceSubString
(
sValue
,
PropertyNames
.
EMPTY_STRING
,
"{T '"
);
sValue
=
JavaTools
.
replaceSubString
(
sValue
,
PropertyNames
.
EMPTY_STRING
,
"' }"
);
try
{
//Helper.setUnoPropertyValue(UnoDialog.getModel(ControlElements[SOTXTVALUE]), "EffectiveValue", );
oQueryMetaData
.
getNumberFormatter
().
convertStringToNumber
(
iTimeFormat
,
sValue
);
}
catch
(
java
.
lang
.
Exception
ex
)
...
...
@@ -801,6 +806,12 @@ public class FilterComponent
Logger
.
getLogger
(
FilterComponent
.
class
.
getName
()).
log
(
Level
.
SEVERE
,
null
,
ex
);
}
}
// TODO: TS case?
//TODO: other datetime formats?
else
{
//Helper.setUnoPropertyValue(UnoDialog.getModel(ControlElements[SOTXTVALUE]), "EffectiveValue", sValue);
}
}
else
if
(
AnyConverter
.
isBoolean
(
_filtercondition
.
Value
))
{
...
...
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