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
2ba3b618
Kaydet (Commit)
2ba3b618
authored
Agu 30, 2010
tarafından
Ocke Janssen [oj]
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dba33h: #i114105# fix version number
üst
2a44c316
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
OfficeDocumentReportTarget.java
...tar/report/pentaho/output/OfficeDocumentReportTarget.java
+6
-1
StylesWriter.java
...java/com/sun/star/report/pentaho/output/StylesWriter.java
+2
-1
TextRawReportTarget.java
.../star/report/pentaho/output/text/TextRawReportTarget.java
+2
-1
No files found.
reportbuilder/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java
Dosyayı görüntüle @
2ba3b618
...
@@ -138,6 +138,10 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
...
@@ -138,6 +138,10 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
public
static
final
String
VERTICAL_POS
=
"vertical-pos"
;
public
static
final
String
VERTICAL_POS
=
"vertical-pos"
;
private
static
final
String
ZERO_CM
=
"0cm"
;
private
static
final
String
ZERO_CM
=
"0cm"
;
/** the verison of the ODF specification to which generated documents
* shall conform. */
public
static
final
String
ODF_VERSION
=
"1.2"
;
protected
static
class
BufferState
protected
static
class
BufferState
{
{
...
@@ -376,7 +380,8 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
...
@@ -376,7 +380,8 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
rootAttributes
.
addNamespaceDeclaration
(
"xsd"
,
OfficeNamespaces
.
XSD_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"xsd"
,
OfficeNamespaces
.
XSD_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"xsi"
,
OfficeNamespaces
.
XSI_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"xsi"
,
OfficeNamespaces
.
XSI_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"grddl"
,
OfficeNamespaces
.
GRDDL_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"grddl"
,
OfficeNamespaces
.
GRDDL_NS
);
rootAttributes
.
setAttribute
(
OfficeNamespaces
.
OFFICE_NS
,
"version"
,
"1.2"
);
rootAttributes
.
setAttribute
(
OfficeNamespaces
.
OFFICE_NS
,
"version"
,
ODF_VERSION
);
this
.
rootXmlWriter
.
writeXmlDeclaration
(
"UTF-8"
);
this
.
rootXmlWriter
.
writeXmlDeclaration
(
"UTF-8"
);
this
.
rootXmlWriter
.
writeTag
(
OfficeNamespaces
.
OFFICE_NS
,
"document-content"
,
rootAttributes
,
XmlWriterSupport
.
OPEN
);
this
.
rootXmlWriter
.
writeTag
(
OfficeNamespaces
.
OFFICE_NS
,
"document-content"
,
rootAttributes
,
XmlWriterSupport
.
OPEN
);
...
...
reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter.java
Dosyayı görüntüle @
2ba3b618
...
@@ -374,7 +374,8 @@ public class StylesWriter
...
@@ -374,7 +374,8 @@ public class StylesWriter
rootAttributes
.
addNamespaceDeclaration
(
"xsd"
,
OfficeNamespaces
.
XSD_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"xsd"
,
OfficeNamespaces
.
XSD_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"xsi"
,
OfficeNamespaces
.
XSI_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"xsi"
,
OfficeNamespaces
.
XSI_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"grddl"
,
OfficeNamespaces
.
GRDDL_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"grddl"
,
OfficeNamespaces
.
GRDDL_NS
);
rootAttributes
.
setAttribute
(
OfficeNamespaces
.
OFFICE_NS
,
"version"
,
"1.2"
);
rootAttributes
.
setAttribute
(
OfficeNamespaces
.
OFFICE_NS
,
"version"
,
OfficeDocumentReportTarget
.
ODF_VERSION
);
this
.
xmlWriter
.
writeXmlDeclaration
(
"UTF-8"
);
this
.
xmlWriter
.
writeXmlDeclaration
(
"UTF-8"
);
this
.
xmlWriter
.
writeTag
(
OfficeNamespaces
.
OFFICE_NS
,
this
.
xmlWriter
.
writeTag
(
OfficeNamespaces
.
OFFICE_NS
,
...
...
reportbuilder/java/com/sun/star/report/pentaho/output/text/TextRawReportTarget.java
Dosyayı görüntüle @
2ba3b618
...
@@ -1269,7 +1269,8 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget
...
@@ -1269,7 +1269,8 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget
rootAttributes
.
addNamespaceDeclaration
(
"office"
,
OfficeNamespaces
.
OFFICE_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"office"
,
OfficeNamespaces
.
OFFICE_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"config"
,
OfficeNamespaces
.
CONFIG
);
rootAttributes
.
addNamespaceDeclaration
(
"config"
,
OfficeNamespaces
.
CONFIG
);
rootAttributes
.
addNamespaceDeclaration
(
"ooo"
,
OfficeNamespaces
.
OO2004_NS
);
rootAttributes
.
addNamespaceDeclaration
(
"ooo"
,
OfficeNamespaces
.
OO2004_NS
);
rootAttributes
.
setAttribute
(
OfficeNamespaces
.
OFFICE_NS
,
"version"
,
"1.0"
);
rootAttributes
.
setAttribute
(
OfficeNamespaces
.
OFFICE_NS
,
"version"
,
OfficeDocumentReportTarget
.
ODF_VERSION
);
final
OutputStream
outputStream
=
getOutputRepository
().
createOutputStream
(
"settings.xml"
,
"text/xml"
);
final
OutputStream
outputStream
=
getOutputRepository
().
createOutputStream
(
"settings.xml"
,
"text/xml"
);
final
XmlWriter
xmlWriter
=
new
XmlWriter
(
new
OutputStreamWriter
(
outputStream
,
"UTF-8"
),
createTagDescription
());
final
XmlWriter
xmlWriter
=
new
XmlWriter
(
new
OutputStreamWriter
(
outputStream
,
"UTF-8"
),
createTagDescription
());
xmlWriter
.
setAlwaysAddNamespace
(
true
);
xmlWriter
.
setAlwaysAddNamespace
(
true
);
...
...
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