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
e831fa22
Kaydet (Commit)
e831fa22
authored
Ock 14, 2010
tarafından
Ocke Janssen [oj]
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Automated merge with
file:///net/so-cwsserv01/export/cws/dba33d/DEV300/ooo
üst
97b027a8
89c92656
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
SDBCReportDataFactory.java
...ilder/java/com/sun/star/report/SDBCReportDataFactory.java
+0
-0
PentahoReportJob.java
...er/java/com/sun/star/report/pentaho/PentahoReportJob.java
+6
-1
FormatValueUtility.java
...ar/report/pentaho/layoutprocessor/FormatValueUtility.java
+1
-1
TableCellLayoutController.java
...rt/pentaho/layoutprocessor/TableCellLayoutController.java
+4
-0
No files found.
reportbuilder/java/com/sun/star/report/SDBCReportDataFactory.java
Dosyayı görüntüle @
e831fa22
This diff is collapsed.
Click to expand it.
reportbuilder/java/com/sun/star/report/pentaho/PentahoReportJob.java
Dosyayı görüntüle @
e831fa22
...
...
@@ -257,6 +257,11 @@ public class PentahoReportJob implements ReportJob
if
(
parameters
.
length
>
0
)
{
String
name
=
parameters
[
0
].
toString
();
if
(
parameters
[
0
]
instanceof
ContextLookup
)
{
final
ContextLookup
context
=
(
ContextLookup
)
parameters
[
0
];
name
=
context
.
getName
();
}
for
(
int
j
=
0
;
j
<
reportFunctions
.
length
;
j
++)
{
if
(
reportFunctions
[
j
]
instanceof
FormulaExpression
)
...
...
@@ -370,7 +375,7 @@ public class PentahoReportJob implements ReportJob
catch
(
final
Exception
e
)
{
String
message
=
e
.
getMessage
();
if
(
message
.
length
()
==
0
)
if
(
message
==
null
||
message
.
length
()
==
0
)
{
message
=
"Failed to process the report"
;
}
...
...
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormatValueUtility.java
Dosyayı görüntüle @
e831fa22
...
...
@@ -57,7 +57,7 @@ public class FormatValueUtility
private
static
final
String
BOOLEAN_VALUE
=
"boolean-value"
;
private
static
final
String
STRING_VALUE
=
"string-value"
;
public
static
final
String
VALUE_TYPE
=
"value-type"
;
p
rivate
static
final
String
VALUE
=
"value"
;
p
ublic
static
final
String
VALUE
=
"value"
;
private
static
SimpleDateFormat
dateFormat
;
private
static
SimpleDateFormat
timeFormat
;
...
...
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController.java
Dosyayı görüntüle @
e831fa22
...
...
@@ -80,6 +80,10 @@ public class TableCellLayoutController extends SectionLayoutController
{
FormatValueUtility
.
applyValueForCell
(
value
.
getValue
(),
attributeMap
,
valueType
);
}
else
if
(
"float"
.
equals
(
valueType
))
{
attributeMap
.
setAttribute
(
OfficeNamespaces
.
OFFICE_NS
,
FormatValueUtility
.
VALUE
,
"1.#NAN"
);
}
}
catch
(
Exception
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